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 . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?wasDerivedFromValue) as ?wasDerivedFrom) FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasDerivedFrom ?primary_data . ?derived_data dcterms:identifier ?pidValue . ?primary_data dcterms:identifier ?wasDerivedFromValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?wasGeneratedByValue) as ?wasGeneratedBy) FROM <$GRAPH_NAME> WHERE { ?result prov:wasGeneratedBy ?activity . ?result dcterms:identifier ?pidValue . ?activity dcterms:identifier ?wasGeneratedByValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?wasInformedByValue) as ?wasInformedBy) FROM <$GRAPH_NAME> WHERE { ?activity prov:wasInformedBy ?previousActivity . ?activity dcterms:identifier ?pidValue . ?previousActivity dcterms:identifier ?wasInformedByValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?usedValue) as ?used) FROM <$GRAPH_NAME> WHERE { ?activity prov:used ?data . ?activity dcterms:identifier ?pidValue . ?data dcterms:identifier ?usedValue . } ]]>