| 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-006: strategies with the accommodation types, operating models and tenant segments they rely on. |
| 8 | SELECT ?strategy (GROUP_CONCAT(DISTINCT ?at; separator=" | ") AS ?accommodationTypes) (GROUP_CONCAT(DISTINCT ?om; separator=" | ") AS ?operatingModels) (GROUP_CONCAT(DISTINCT COALESCE(?seg, ""); separator=" | ") AS ?segments) WHERE { |
| 9 | ?s a pbo:InvestmentStrategy ; skos:prefLabel ?strategy ; pbo:strategyUsesAccommodationType ?a ; pbo:strategyUsesOperatingModel ?o . |
| 10 | ?a skos:prefLabel ?at . ?o skos:prefLabel ?om . |
| 11 | OPTIONAL { ?s pbo:targetsTenantSegment ?sg . ?sg skos:prefLabel ?seg } |
| 12 | } GROUP BY ?strategy ORDER BY ?strategy |