query-c13dd63bea659c58118956408bf475b5
Centres educatius de Catalunya - exemple d'ús de data
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?nal ?ladata WHERE {
?item wdt:P31 wd:Q111594067;
p:P2196 ?stat.
?stat ps:P2196 ?nal;
pq:P585 "+2022-00-00T00:00:00Z"^^xsd:dateTime;
pq:P585 ?ladata.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v4("?ladata"):::projected
v3("?nal"):::projected
v2("?stat")
c8(["bd:serviceParam"]):::iri
c2(["wd:Q111594067"]):::iri
c6(["+2022-00-00T00:00:00Z^^xsd:dateTime"]):::literal
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P31"--> c2
v1 --"p:P2196"--> v2
v2 --"p:statement/P2196"--> v3
v2 --"p:qualifier/P585"--> c6
v2 --"p:qualifier/P585"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end