[auscope-geosciml] Vocabulary service / uri resolver, for CGI 201001
Tellez-Arenas Agnes
a.tellez-arenas at brgm.fr
Mon Aug 16 05:04:02 EDT 2010
OK,
urls are now
http://srvgeosciml.brgm.fr/uri-cgi/classifierScheme/CGI/MetamorphicGrade <http://srvgeosciml.brgm.fr/uri-cgi/classifierScheme/CGI/MetamorphicGrade> /201001 <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/MetamorphicGrade/201001>
http://srvgeosciml.brgm.fr/uri-cgi/classifierScheme/CGI/ <http://srvgeosciml.brgm.fr/uri-cgi/classifierScheme/CGI/> ProportionTerm/201001 <http://srvgeosciml.brgm.fr/urn/cgi/classifierScheme/CGI/ProportionTerm/201001>
Examples of URI for a term:
http://srvgeosciml.brgm.fr/uri-cgi/classifier/CGI/ProportionTerm/201001/minor <http://srvgeosciml.brgm.fr/uri-cgi/classifier/CGI/ProportionTerm/201001/minor>
http://srvgeosciml.brgm.fr/uri-cgi/classifier/CGI/SimpleLithology/201001/diamictite <http://srvgeosciml.brgm.fr/uri-cgi/classifier/CGI/SimpleLithology/201001/diamictite>
And the redirect code is 303
Agnès
________________________________
De : auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] De la part de Boisvert, Eric
Envoyé : vendredi 13 août 2010 19:35
À : auscope-geosciml at lists.arcs.org.au
Objet : Re: [auscope-geosciml] Vocabulary service / uri resolver,for CGI 201001
another question.
if we take ages (that are not in SKOS but in GML)
is
http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/uri-cgi/classifierScheme/ICS/StratChart/2010 <http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/uri-cgi/classifierScheme/ICS/StratChart/2010> #gce.169
equivalent to
<http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/uri-cgi/classifierScheme/ICS/StratChart/2010> http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/uri-cgi/classifier/ICS/StratChart/2010 <http://ngwd-bdnes.cits.nrcan.gc.ca:8080/Reference/uri-cgi/classifier/ICS/StratChart/2010/PH> /PH
?
The first syntax uses a anchor to an gml:id inside the document (this is what # is supposed to do right, since this is how we do it xlink:href). The second uses the full name of the fragment we want to get. They point to the same thing, but are crafted differently. Should we prescribe which one we must use ?
also, Agnès, I think you are suppose to use 303 ([R=303]) as redirect code.
Shall we use the brgm URI as official ones ?
Eric
________________________________
De : auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] De la part de Stephen M Richard
Envoyé : 13 août 2010 13:25
À : auscope-geosciml at lists.arcs.org.au
Objet : Re: [auscope-geosciml] Vocabulary service / uri resolver, for CGI 201001
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 [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
**********************************************************************************************
Pensez a l'environnement avant d'imprimer ce message
Think Environment before printing
Le contenu de ce mel et de ses pieces jointes est destine a l'usage exclusif du (des) destinataire(s) designe
(s) comme tel(s).
En cas de reception par erreur, le signaler e son expediteur et ne pas en divulguer le contenu.
L'absence de virus a ete verifiee e l'emission, il convient neanmoins de s'assurer de l'absence de
contamination a sa reception.
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.
**********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20100816/deca2954/attachment.htm>
More information about the GeoSciML
mailing list