[auscope-geosciml] Vocabulary service / uri resolver, for CGI 201001
Stephen M Richard
steve.richard at azgs.az.gov
Fri Aug 13 13:25:04 EDT 2010
Agnes--
the proposal on the TWiki would have urn/cgi be uri-cgi
(https://www.seegrid.csiro.au/twiki/bin/view/CGIModel/PersistentIdentifiersInGeoSciMLServices)
http://srvgeosciml.brgm.fr/*uri-cgi/classifierScheme/CGI/SimpleLithology/201001*
which, I would suggest, identifies the same non-information resource as
http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/*uri-cgi/classifierScheme/CGI/SimpleLithology/201001*
These URIs dereference with a browser to different representation instances:
http://srvgeosciml.brgm.fr/eXist2010/rest/db/SKOS/CGI201001uri/SimpleLithology201001.xml
and
http://ngwd-bdnes.cits.nrcan.gc.ca/service/resolver/resolve/classifierScheme/CGI/SimpleLithology/201001.html
one is an xml-encoded OWL/SKOS ontology, the other is an html
representation. Eric's implementation can provide the rdf/owl
representation if the Accept Header is used.
This highlights a couple of aspects of these URI's that we need to
define a policy for--
1. what is the default representation, e.g. the non-information URI is
dereferenced with */* specified for the http Accept value. Discussion
point for Rome.
2. how are particular representations identified, e.g.
https://www.seegrid.csiro.au/subversion/CGI_CDTGVocabulary/tags/SKOSVocabularies/SimpleLithology201001.rdf
and
http://srvgeosciml.brgm.fr/eXist2010/rest/db/SKOS/CGI201001uri/SimpleLithology201001.xml
are different instances of the same representation of the the non
information resource
.../*uri-cgi/classifierScheme/CGI/SimpleLithology/201001*. Should that
representation have a URI like
/*uri-cgi/classifierScheme/CGI/SimpleLithology/201001.skos *?
steve
On 8/13/2010 9:29 AM, Tellez-Arenas Agnes wrote:
> Hi,
> I have created a new set of SKOS vocabularies from CGI201001, using
> uri instead of urn.
> I have also configured a simple urn resolver (based on the
> mod_rewrite, thanks to Allistair examples!)
> the URIs for the vocabularies are
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/SimpleLithology/201001
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/AlterationType/201001>AlterationType/201001
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ContactType
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ContactType/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ContactType/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventEnvironment
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventEnvironment/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventEnvironment/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventProcess
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventProcess/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/EventProcess/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FaultType
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FaultType/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FaultType/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FeatureObservationMethod
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FeatureObservationMethod/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FeatureObservationMethod/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FoliationType
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FoliationType/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/FoliationType/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/GeologicUnitMorphology
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/GeologicUnitMorphology/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/GeologicUnitMorphology/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/LineationType
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/LineationType/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/LineationType/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MappedFeatureObservationMethod
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MappedFeatureObservationMethod/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MappedFeatureObservationMethod/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicFacies
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicFacies/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicFacies/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicGrade
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicGrade/201001>/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicGrade/201001>
> http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ProportionTerm/201001>ProportionTerm/201001
> <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ProportionTerm/201001>
> Examples of URI for a term:
> http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/ProportionTerm/201001/minor
> http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/SimpleLithology/201001/diamictite
> My Apache configuration is (first rule for the terms, second for the
> files)
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteRule ^/urn/cgi/classifier/CGI/(.+)$
> http://srvgeosciml.brgm.fr/eXist2010/brgm/xql/concept.xql?collection=/db/SKOS/CGI201001uri&request=GetConceptByURN&urn=http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/$1
> <http://srvgeosciml.brgm.fr/eXist2010/brgm/xql/concept.xql?collection=/db/SKOS/CGI201001uri&request=GetConceptByURN&urn=http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/$1>
> [NC,L]
> RewriteRule ^/urn/cgi/classifierScheme/CGI/(.+)/(.+)$
> http://srvgeosciml.brgm.fr/eXist2010/rest/db/SKOS/CGI201001uri/$1$2.xml [NC,L]
> </IfModule>
> It is just a test, I guess that the content of the SKOS file should be
> modified
> I have only replaced the old
> urn:cgi:classifier:CGI:SimpleLithology:201001:
> <http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/SimpleLithology/201001/dacite>
> by
> http://srvgeosciml.brgm.fr/urn/cgi/classifier/CGI/SimpleLithology/201001/
> Best regards
> Agnès
>
> P* **Pensez à l'environnement avant d'imprimer ce message*
>
> */Think/**/ Environment before printing/*
>
> Le contenu de ce mél et de ses pièces jointes est destiné à l'usage
> exclusif du (des) destinataire(s) désigné(s) comme tel(s).
>
> En cas de réception par erreur, le signaler à son expéditeur et ne pas
> en divulguer le contenu.
> L'absence de virus a été vérifiée à l'émission, il convient néanmoins
> de s'assurer de l'absence de contamination à sa réception.
>
> The contents of this email and any attachments are confidential. They
> are intended for the named recipient(s) only.
>
> If you have received this email in error please notify the system
> manager or the sender immediately and do not disclose the contents to
> anyone or make copies.
>
> eSafe scanned this email for viruses, vandals and malicious content.
>
>
> _______________________________________________
> auscope-geosciml mailing list
> auscope-geosciml at lists.arcs.org.au
> http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
--
Stephen M. Richard
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701
USA
phone: (520) 770-3500. FAX: (520) 770-3505
email: steve.richard at azgs.az.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20100813/f2b741dc/attachment.htm>
More information about the GeoSciML
mailing list