triple-tools/queries/inm-ws-2026/q11.sparql
2026-10-14 15:16:05 +02:00

18 lines
650 B
SPARQL

# Q11: Show all PIs and the projects they are associated with.
PREFIX dlthings: <https://concepts.datalad.org/s/things/v2/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xyzri: <https://concepts.datalad.org/s/demo-research-information/unreleased/>
SELECT ?title ?given_name ?family_name WHERE {
?project a xyzri:XYZProject .
?project dlthings:title ?title .
?project dlthings:associated_with ?association .
?association a dlthings:Association .
?association rdf:object ?person .
?person a xyzri:XYZPerson .
?person dlthings:given_name ?given_name .
?person dlthings:family_name ?family_name .
}