PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?wasDerivedFromValue) as ?prov_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 provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?generatedValue) as ?prov_generated) FROM <$GRAPH_NAME> WHERE { ?result prov:wasGeneratedBy ?activity . ?activity prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?result dcterms:identifier ?generatedValue . ?program dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?wasInformedByValue) as ?prov_wasInformedBy) FROM <$GRAPH_NAME> WHERE { ?activity prov:wasInformedBy ?previousActivity . ?activity dcterms:identifier ?pidValue . ?previousActivity dcterms:identifier ?wasInformedByValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?usedValue) as ?prov_used) FROM <$GRAPH_NAME> WHERE { ?activity prov:used ?data . ?activity prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?program dcterms:identifier ?pidValue . ?data dcterms:identifier ?usedValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?programPidValue) as ?prov_generatedByProgram) FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasGeneratedBy ?execution . ?execution prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?program dcterms:identifier ?programPidValue . ?derived_data dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?executionPidValue) as ?prov_generatedByExecution) FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasGeneratedBy ?execution . ?execution dcterms:identifier ?executionPidValue . ?derived_data dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) ?prov_generatedByUser FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasGeneratedBy ?execution . ?execution prov:qualifiedAssociation ?association . ?association prov:agent ?prov_generatedByUser . ?derived_data dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?programPidValue) as ?prov_usedByProgram) FROM <$GRAPH_NAME> WHERE { ?execution prov:used ?primary_data . ?execution prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?program dcterms:identifier ?programPidValue . ?primary_data dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?executionIdValue) as ?prov_usedByExecution) FROM <$GRAPH_NAME> WHERE { ?execution prov:used ?primary_data . ?primary_data dcterms:identifier ?pidValue . ?execution dcterms:identifier ?executionIdValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) ?prov_usedByUser FROM <$GRAPH_NAME> WHERE { ?execution prov:used ?primary_data . ?execution prov:qualifiedAssociation ?association . ?association prov:agent ?prov_usedByUser . ?primary_data dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) (str(?executionIdValue) as ?prov_wasExecutedByExecution) FROM <$GRAPH_NAME> WHERE { ?execution prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?execution dcterms:identifier ?executionIdValue . ?program dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) ?prov_wasExecutedByUser FROM <$GRAPH_NAME> WHERE { ?execution prov:qualifiedAssociation ?association . ?association prov:hadPlan ?program . ?association prov:agent ?prov_wasExecutedByUser . ?program dcterms:identifier ?pidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: PREFIX cito: SELECT (str(?pidValue) as ?pid) (str(?sourceDataPidValue) as ?prov_hasSources) FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasDerivedFrom ?source_data . ?derived_data cito:documentedBy ?derived_metadata . ?derived_metadata dcterms:identifier ?pidValue . ?source_data dcterms:identifier ?sourceDataPidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: PREFIX cito: SELECT (str(?pidValue) as ?pid) (str(?derivedDataPidValue) as ?prov_hasDerivations) FROM <$GRAPH_NAME> WHERE { ?derived_data prov:wasDerivedFrom ?source_data . ?source_data cito:documentedBy ?source_metadata . ?source_metadata dcterms:identifier ?pidValue . ?derived_data dcterms:identifier ?derivedDataPidValue . } ]]> PREFIX rdfs: PREFIX owl: PREFIX prov: PREFIX provone: PREFIX ore: PREFIX dcterms: SELECT (str(?pidValue) as ?pid) ?prov_instanceOfClass FROM <$GRAPH_NAME> WHERE { ?subject rdf:type ?prov_instanceOfClass . ?subject dcterms:identifier ?pidValue . } ]]>