http://www.w3.org/TR/rdf-syntax-grammar
http://www.openarchives.org/ore/terms
PREFIX rdfs:
PREFIX owl:
PREFIX oboe-core:
PREFIX oa:
PREFIX dcterms:
SELECT ?standard_sm ?pid
FROM <$GRAPH_NAME>
WHERE {
?measurement rdf:type oboe-core:Measurement .
?measurement rdf:type ?restriction .
?restriction owl:onProperty oboe-core:usesStandard .
?restriction owl:allValuesFrom ?standard .
?standard rdfs:subClassOf+ ?standard_sm .
?standard_sm rdfs:subClassOf oboe-core:Standard .
?annotation oa:hasBody ?measurement .
?annotation oa:hasTarget ?target .
?target oa:hasSource ?metadata .
?metadata dcterms:identifier ?pid .
}
]]>
PREFIX rdfs:
PREFIX owl:
PREFIX oboe-core:
PREFIX oa:
PREFIX dcterms:
SELECT ?characteristic_sm ?pid
FROM <$GRAPH_NAME>
WHERE {
?measurement rdf:type oboe-core:Measurement .
?measurement rdf:type ?restriction .
?restriction owl:onProperty oboe-core:ofCharacteristic .
?restriction owl:allValuesFrom ?characteristic .
?characteristic rdfs:subClassOf+ ?characteristic_sm .
?characteristic_sm rdfs:subClassOf oboe-core:Characteristic .
?annotation oa:hasBody ?measurement .
?annotation oa:hasTarget ?target .
?target oa:hasSource ?metadata .
?metadata dcterms:identifier ?pid .
}
]]>
PREFIX rdfs:
PREFIX oa:
PREFIX dcterms:
PREFIX prov:
PREFIX foaf:
SELECT ?creator_sm ?pid
FROM <$GRAPH_NAME>
WHERE {
?metadata dcterms:identifier ?pid .
?metadata prov:wasAttributedTo ?person .
?person dcterms:identifier ?creator_sm .
}
]]>