query-89e0566f9f65657c043e56d3d5c5cff8
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
select ?item ?interval where
{
{
select ?item ?interval ?namestring where
{
?item p:P2093 [pq:P1545 ?interval ; ps:P2093 ?namestring; pq:P1932 [] ] .
} } ?item p:P50 [pq:P1545 ?interval ; ps:P50 ?name ] .
?name rdfs:label ?namestring.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?interval"):::projected
v3("?item"):::projected
v4("?name")
v2("?namestring")
a2((" "))
a1((" "))
a3((" "))
a1 --"p:qualifier/P1545"--> v1
a1 --"p:statement/P2093"--> v2
a1 --"p:qualifier/P1932"--> a2
v3 --"p:P2093"--> a1
a3 --"p:qualifier/P1545"--> v1
a3 --"p:statement/P50"--> v4
v3 --"p:P50"--> a3
v4 --"rdfs:label"--> v2