ep-facts-qa.sparql 660 Bytes
SELECT ?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 ?field . }
	OPTIONAL {    
		?flow ep-flow:flowIntoOrOutOf ?flowThing . 
		?flowThing npd:name ?FlowInOutName .
		?flowThing npd:id ?FlowInOutNPDId .
		?flowThing a ?what . 
		?what rdfs:label ?FlowInOutType .
 }
}