| 1 | PREFIX pbo: <https://ontology.property.local/pbo#> |
| 2 | PREFIX ex: <https://ontology.property.local/pbo/example#> |
| 3 | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
| 4 | PREFIX skos: <http://www.w3.org/2004/02/skos/core#> |
| 5 | PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> |
| 6 | |
| 7 | # CQ-009: data sources supplying attributes for a jurisdiction, with tier, refresh and licence. |
| 8 | SELECT ?dataSource ?publisher ?attribute ?tier ?refresh ?licence WHERE { |
| 9 | ?ds a pbo:DataSource ; rdfs:label ?dataSource ; pbo:publishedBy ?pub ; pbo:suppliesAttribute ?attr ; pbo:accessTier ?tr ; pbo:coversJurisdiction ?j . |
| 10 | ?pub rdfs:label ?publisher . ?attr skos:prefLabel ?attribute . ?tr skos:prefLabel ?tier . |
| 11 | OPTIONAL { ?ds pbo:refreshCadence ?refresh } OPTIONAL { ?ds pbo:licenceNote ?licence } |
| 12 | ?j pbo:withinJurisdiction* ex:QLD . |
| 13 | } ORDER BY ?tier ?dataSource ?attribute |