ep-facts-qa.sparql
728 Bytes
SELECT ?Field ?Flowuid ?FlowInOutNPDId ?FlowInOutName ?FlowInOutType ?Kind ?Purpose
WHERE {
?flow rdf:type ep-flow:WholeLifeProductionFlow .
?flow erh:id ?Flowuid .
OPTIONAL {
?flow rdf:type ?pt .
?pt rdf:type ep-flow:ProductionFlowPurposeType .
?pt rdfs:label ?Purpose }
OPTIONAL {
?flow rdf:type ?defn .
?defn rdf:type ep-flow:ProductionFlowDefinitionType .
?defn rdfs:label ?Kind .}
OPTIONAL {
?flow ep-core:partOf ?fielduri .
?fielduri npd:name ?Field .}
OPTIONAL {
?flow ep-flow:flowIntoOrOutOf ?flowThing .
?flowThing npd:name|ep-core:name ?FlowInOutName .
OPTIONAL { ?flowThing npd:id ?FlowInOutNPDId . }
?flowThing a ?what .
?what rdfs:label ?FlowInOutType .
}
}