-- 一个面向农业研究与发展(ARD)的信息节点与网关(RING)的路径图

Example: Get all datasets available through OAI-PMH

5 十二月 2014 - 5:43下午 -- ring

In order to build this query we need to know the URI of the "OAI-PMH protocol" in the RING, to use it as a filter criteria in the query.

The URI of the OAI-PMH protocol in the RING is http://ring.ciard.net/taxonomy_term/108.

See all URIs of protocols here: http://ring.ciard.net/concept-uris/rdf?vid_1=6)

The query is:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dc: <http://purl.org/dc/terms/> PREFIX dcat: <http://www.w3.org/ns/dcat#> PREFIX adms: <http://www.w3.org/ns/adms#> PREFIX doap: <http://usefulinc.com/ns/doap#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX owl: <http://www.w3.org/2002/07/owl#> DESCRIBE ?dataset ?distro ?owner ?contact ?topic ?standard ?format ?protocol WHERE { ?dataset rdf:type dcat:Dataset . ?dataset dc:title ?title . ?dataset dcat:distribution ?distro . ?dataset dc:publisher ?owner . ?distro dcat:accessURL ?url . ?distro adms:representationTechnique <http://ring.ciard.net/taxonomy_term/108> . OPTIONAL { ?dataset doap:maintainer ?contact } OPTIONAL { ?dataset dcat:theme ?topic } OPTIONAL { ?distro dc:conformsTo ?standard } OPTIONAL { ?distro dc:format ?format } OPTIONAL { ?distro adms:representationTechnique ?protocol } }

And here is a fragment of the response to such a query:
(The query is a DESCRIBE query, so the resulting RDF contains ALL the triples containing the requested entities - dataset, distribution, owner, contact, topic, standard, format, protocol - as subject)

<?xml version="1.0" encoding="UTF-8"?><rdf:rdf xmlns:ns0="http://purl.org/dc/terms/" xmlns:ns1="http://usefulinc.com/ns/doap#" xmlns:ns10="http://www.gvlab.net/aginfra-vocs/dcatext#" xmlns:ns11="http://www.w3.org/2006/vcard/ns#" xmlns:ns12="http://www.w3.org/2004/02/skos/core#" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns14="http://vocabularies.aginfra.eu/dcatext#" xmlns:ns2="http://purl.org/rss/1.0/modules/content/" xmlns:ns3="http://www.w3.org/2000/01/rdf-schema#" xmlns:ns4="http://xmlns.com/foaf/0.1/" xmlns:ns5="http://www.w3.org/ns/dcat#" xmlns:ns6="http://www.w3.org/ns/adms#" xmlns:ns7="http://rdfs.org/sioc/ns#" xmlns:ns8="http://schema.org/" xmlns:ns9="http://rdfs.org/ns/void#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<rdf:description rdf:about="http://ring.ciard.net/node/3703">
<rdf:type rdf:resource="http://rdfs.org/ns/void#Dataset"> <rdf:type rdf:resource="http://schema.org/Dataset"> <rdf:type rdf:resource="http://www.w3.org/ns/adms#Asset"> <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Project"> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"> <rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"> <ns0:title>WorldFish Publications</ns0:title> <ns0:spatial rdf:resource="http://ring.ciard.net/taxonomy_term/365"> <ns0:spatial>Global</ns0:spatial> <ns0:description>Type of repository: it is thematic. 100% of documents is about Agriculture and Related Sciences. </ns0:description> <ns0:rights rdf:resource="http://ring.ciard.net/taxonomy_term/130"> <ns0:conformsto rdf:resource="http://ring.ciard.net/node/19106"> <ns0:conformsto rdf:resource="http://ring.ciard.net/node/19261"> <ns0:conformsto rdf:resource="http://ring.ciard.net/node/19244"> <ns1:implements rdf:resource="http://ring.ciard.net/node/19106"> <ns1:implements rdf:resource="http://ring.ciard.net/node/19261"> <ns1:implements rdf:resource="http://ring.ciard.net/node/19244"> <ns2:encoded>Type of repository: it is thematic. 100% of documents is about Agriculture and Related Sciences. </ns2:encoded> <ns1:description>Type of repository: it is thematic. 100% of documents is about Agriculture and Related Sciences. </ns1:description> <ns3:seealso rdf:resource="http://www.worldfishcenter.org/resource_centre/WFpub.xml"> <ns4:isprimarytopicof rdf:resource="http://www.worldfishcenter.org/resource_centre/WFpub.xml"> <ns5:landingpage rdf:resource="http://www.worldfishcenter.org/resource_centre/WFpub.xml"> <ns1:homepage rdf:resource="http://www.worldfishcenter.org/resource_centre/WFpub.xml"> <ns0:issued rdf:datatype="xsd:gYear">2013</ns0:issued> <ns0:publisher rdf:resource="http://ring.ciard.net/node/3367"> <ns1:vendor rdf:resource="http://ring.ciard.net/node/3367"> <ns0:creator rdf:resource="http://ring.ciard.net/field_collection_item/3714"> <ns1:maintainer rdf:resource="http://ring.ciard.net/field_collection_item/3714"> <ns6:contactpoint rdf:resource="http://ring.ciard.net/field_collection_item/3714"> <ns1:category rdf:resource="http://ring.ciard.net/taxonomy_term/7"> <ns1:category>Global</ns1:category> <ns0:subject rdf:resource="http://ring.ciard.net/taxonomy_term/1326"> <ns0:subject rdf:resource="http://ring.ciard.net/taxonomy_term/1794"> <ns0:subject rdf:resource="http://ring.ciard.net/taxonomy_term/1319"> <ns0:subject rdf:resource="http://ring.ciard.net/taxonomy_term/7"> <ns5:theme rdf:resource="http://ring.ciard.net/taxonomy_term/1326"> <ns5:theme rdf:resource="http://ring.ciard.net/taxonomy_term/1794"> <ns5:theme rdf:resource="http://ring.ciard.net/taxonomy_term/1319"> <ns5:theme rdf:resource="http://ring.ciard.net/taxonomy_term/7"> <ns0:modified rdf:datatype="xsd:dateTime">2014-11-12T15:17:39+01:00</ns0:modified> <ns0:modified rdf:datatype="xsd:gYear"></ns0:modified> <ns1:name>WorldFish Publications</ns1:name> <ns0:identifier></ns0:identifier> <ns0:date rdf:datatype="xsd:dateTime">2010-04-10T17:04:24+02:00</ns0:date> <ns0:created rdf:datatype="xsd:dateTime">2010-04-10T17:04:24+02:00</ns0:created> <ns7:num_replies rdf:datatype="xsd:integer">0</ns7:num_replies> <ns0:type rdf:resource="http://ring.ciard.net/taxonomy_term/92"> <ns0:type rdf:resource="http://ring.ciard.net/taxonomy_term/83"> <ns0:coverage rdf:resource="http://ring.ciard.net/taxonomy_term/22"> <ns0:relation></ns0:relation> <ns0:partof></ns0:partof> <ns5:distribution rdf:resource="http://ring.ciard.net/field_collection_item/4711"> <ns5:distribution rdf:resource="http://ring.ciard.net/field_collection_item/1690"> <ns7:has_creator rdf:resource="http://ring.ciard.net/user/5838"> <ns8:url rdf:resource="http://www.worldfishcenter.org/resource_centre/WFpub.xml"> <ns8:description>Type of repository: it is thematic. 100% of documents is about Agriculture and Related Sciences. </ns8:description> <ns8:name>WorldFish Publications</ns8:name> <ns8:publisher rdf:resource="http://ring.ciard.net/node/3367"> <ns8:datecreated rdf:datatype="xsd:gYear">2013</ns8:datecreated> <ns8:editor rdf:resource="http://ring.ciard.net/field_collection_item/3714"> <ns8:spatial>Global</ns8:spatial> <ns8:catalog></ns8:catalog> <ns8:about rdf:resource="http://ring.ciard.net/taxonomy_term/1326"> <ns8:about rdf:resource="http://ring.ciard.net/taxonomy_term/1794"> <ns8:about rdf:resource="http://ring.ciard.net/taxonomy_term/1319"> <ns8:about rdf:resource="http://ring.ciard.net/taxonomy_term/7"> <ns8:distribution rdf:resource="http://ring.ciard.net/field_collection_item/4711"> <ns8:distribution rdf:resource="http://ring.ciard.net/field_collection_item/1690"> <ns8:contentlocation rdf:resource="http://ring.ciard.net/taxonomy_term/365"> <ns9:triples rdf:datatype="xsd:integer">300</ns9:triples> <ns9:datadump rdf:resource="http://ring.ciard.net/field_collection_item/4711"> <ns9:datadump rdf:resource="http://ring.ciard.net/field_collection_item/1690"> </ns9:datadump></ns9:datadump></ns8:contentlocation></ns8:distribution></ns8:distribution></ns8:about></ns8:about></ns8:about></ns8:about></ns8:editor></ns8:publisher></ns8:url></ns7:has_creator></ns5:distribution></ns5:distribution></ns0:coverage></ns0:type></ns0:type></ns5:theme></ns5:theme></ns5:theme></ns5:theme></ns0:subject></ns0:subject></ns0:subject></ns0:subject></ns1:category></ns6:contactpoint></ns1:maintainer></ns0:creator></ns1:vendor></ns0:publisher></ns1:homepage></ns5:landingpage></ns4:isprimarytopicof></ns3:seealso></ns1:implements></ns1:implements></ns1:implements></ns0:conformsto></ns0:conformsto></ns0:conformsto></ns0:rights></ns0:spatial></rdf:type></rdf:type></rdf:type></rdf:type></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/field_collection_item/1690"> <rdf:type rdf:resource="http://schema.org/DataDownload"> <rdf:type rdf:resource="http://www.w3.org/ns/adms#AssetDistribution"> <rdf:type rdf:resource="http://www.w3.org/ns/dcat#Distribution"> <ns0:title>Distribution [OAI-PMH] of dataset: WorldFish Publications</ns0:title> <ns0:description></ns0:description> <ns0:rights rdf:resource="http://ring.ciard.net/taxonomy_term/131"> <ns0:conformsto rdf:resource="http://ring.ciard.net/taxonomy_term/108"> <ns0:conformsto rdf:resource="http://ring.ciard.net/node/19261"> <ns0:conformsto rdf:resource="http://ring.ciard.net/node/19244"> <ns5:accessurl rdf:resource="http://imlsdcc2.grainger.illinois.edu/gateway.net/oai.aspx"> <ns1:implements rdf:resource="http://ring.ciard.net/taxonomy_term/108"> <ns6:representationtechnique rdf:resource="http://ring.ciard.net/taxonomy_term/108"> <ns0:format></ns0:format> <ns5:mediatype></ns5:mediatype> <ns10:oai-set></ns10:oai-set> <ns10:oai-metadata></ns10:oai-metadata> <ns8:description></ns8:description> <ns8:name>Distribution [OAI-PMH] of dataset: WorldFish Publications</ns8:name> <ns8:contenturl rdf:resource="http://imlsdcc2.grainger.illinois.edu/gateway.net/oai.aspx"> <ns8:encodingformat rdf:resource="http://ring.ciard.net/taxonomy_term/126"> </ns8:encodingformat></ns8:contenturl></ns6:representationtechnique></ns1:implements></ns5:accessurl></ns0:conformsto></ns0:conformsto></ns0:conformsto></ns0:rights></rdf:type></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/field_collection_item/3714"> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"> <rdf:type rdf:resource="http://purl.org/dc/terms/Agent"> <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Individual"> <ns4:name></ns4:name> <ns11:hasname></ns11:hasname> <ns4:mbox>w.ko@cgiar.org</ns4:mbox> <ns11:hasemail>w.ko@cgiar.org</ns11:hasemail> </rdf:type></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/taxonomy_term/1326"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"> <ns3:label>aquaculture</ns3:label> <ns12:preflabel>aquaculture</ns12:preflabel> <ns12:definition></ns12:definition> <ns12:inscheme rdf:resource="http://ring.ciard.net/taxonomy_vocabulary/18"> <ns12:inscheme rdf:resource="http://aims.fao.org/aos/agrovoc/"> <ns13:sameas rdf:resource="http://aims.fao.org/aos/agrovoc/c_"> </ns13:sameas></ns12:inscheme></ns12:inscheme></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/taxonomy_term/108"> <rdf:type rdf:resource="http://purl.org/dc/terms/Standard"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"> <ns3:label>OAI-PMH</ns3:label> <ns12:preflabel>OAI-PMH</ns12:preflabel> <ns12:definition></ns12:definition> <ns12:inscheme rdf:resource="http://ring.ciard.net/taxonomy_vocabulary/6"> </ns12:inscheme></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/node/19261"> <rdf:type rdf:resource="http://purl.org/dc/terms/Standard"> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"> <ns0:title>Dublin Core Metadata Element Set</ns0:title> <ns2:encoded> The Dublin Core (DC) Metadata Element Set is a vocabulary of fifteen properties for use in resource description. The name &quot;Dublin&quot; is due to its origin at a 1995 invitational workshop in Dublin, Ohio; &quot;core&quot; because its elements are broad and generic, usable for describing a wide range of resources. The fifteen element &quot;Dublin Core&quot; described in this standard is part of a larger set of metadata vocabularies and technical specifications maintained by the Dublin Core Metadata Initiative (DCMI). The full set of vocabularies, DCMI Metadata Terms [DCMI-TERMS], also includes sets of resource classes (including the DCMI Type Vocabulary [DCMI-TYPE]), vocabulary encoding schemes, and syntax encoding schemes. The terms in DCMI vocabularies are intended to be used in combination with terms from other, compatible vocabularies in the context of application profiles and on the basis of the DCMI Abstract Model [DCAM].</ns2:encoded> <ns3:seealso rdf:resource="http://www.dublincore.org/documents/dces/"> <ns0:creator>Dublin Core Metadata Initiative (DCMI)</ns0:creator> <ns0:modified rdf:datatype="xsd:dateTime">2014-09-25T16:42:23+02:00</ns0:modified> <ns0:date rdf:datatype="xsd:dateTime">2013-12-06T17:36:27+01:00</ns0:date> <ns0:created rdf:datatype="xsd:dateTime">2013-12-06T17:36:27+01:00</ns0:created> <ns7:num_replies rdf:datatype="xsd:integer">0</ns7:num_replies> <ns4:istopicof rdf:resource="http://www.dublincore.org/documents/dces/"> </ns4:istopicof></ns3:seealso></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/node/19244"> <rdf:type rdf:resource="http://purl.org/dc/terms/Standard"> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"> <ns0:title>AGRIS Application Profile</ns0:title> <ns2:encoded> The AGRIS Application Profile is a standard created specifically to enhance the description, exchange and subsequent retrieval of agricultural Document-Like Information Objects (DLIOs). It is a format that allows sharing of information across dispersed bibliographic systems and is based on well-known and accepted metadata standards.More info Acronym:&Acirc;&nbsp; AGRIS AP Organization (owner / creator):&Acirc;&nbsp; Food and Agriculture Organization of the United Nations (FAO) URL for more info:&Acirc;&nbsp; http://www.fao.org/docrep/008/ae909e/ae909e00.htm Contact email:&Acirc;&nbsp; agris@fao.org </ns2:encoded> <ns3:seealso rdf:resource="http://www.fao.org/docrep/008/ae909e/ae909e00.htm"> <ns0:creator>Food and Agriculture Organization of the United Nations (FAO)</ns0:creator> <ns0:modified rdf:datatype="xsd:dateTime">2014-09-25T16:42:23+02:00</ns0:modified> <ns0:date rdf:datatype="xsd:dateTime">2013-12-06T17:36:27+01:00</ns0:date> <ns0:created rdf:datatype="xsd:dateTime">2013-12-06T17:36:27+01:00</ns0:created> <ns7:num_replies rdf:datatype="xsd:integer">0</ns7:num_replies> <ns4:istopicof rdf:resource="http://www.fao.org/docrep/008/ae909e/ae909e00.htm"> </ns4:istopicof></ns3:seealso></rdf:type></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/taxonomy_term/1794"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"> <ns3:label>Fishing industry</ns3:label> <ns12:preflabel>Fishing industry</ns12:preflabel> <ns12:definition></ns12:definition> <ns12:inscheme rdf:resource="http://ring.ciard.net/taxonomy_vocabulary/18"> <ns12:inscheme rdf:resource="http://aims.fao.org/aos/agrovoc/"> <ns13:sameas rdf:resource="http://aims.fao.org/aos/agrovoc/c_2948"> </ns13:sameas></ns12:inscheme></ns12:inscheme></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/taxonomy_term/1319"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"> <ns3:label>agriculture</ns3:label> <ns12:preflabel>agriculture</ns12:preflabel> <ns12:definition></ns12:definition> <ns12:inscheme rdf:resource="http://ring.ciard.net/taxonomy_vocabulary/18"> <ns12:inscheme rdf:resource="http://aims.fao.org/aos/agrovoc/"> <ns13:sameas rdf:resource="http://aims.fao.org/aos/agrovoc/c_203"> </ns13:sameas></ns12:inscheme></ns12:inscheme></rdf:type></rdf:description> <rdf:description rdf:about="http://ring.ciard.net/taxonomy_term/7"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"> <ns3:label>Fisheries and Aquaculture</ns3:label> <ns12:preflabel>Fisheries and Aquaculture</ns12:preflabel> <ns12:definition></ns12:definition> <ns12:inscheme rdf:resource="http://ring.ciard.net/taxonomy_vocabulary/2"> </ns12:inscheme></rdf:type></rdf:description></rdf:rdf>

 

agINFRA The RING is part of the agINFRA project EC 7th framework program INFRA-2011-1.2.2 - Grant agr. no: 283770