query-abaf5e17064c34b55082668e21afe7d1
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?item ?p ?aspect ?prop ?value {
?datavalue wikibase:quantityAmount ?value;
wikibase:quantityUpperBound ?value_and_one .
FILTER( ?value_and_one = ?value + 1) .
?statement ?pred ?datavalue .
VALUES ?aspect { wikibase:statementValue wikibase:qualifierValue } .
?prop ?aspect ?pred .
?item ?p ?statement .
} LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?aspect"):::projected
v3("?datavalue")
v8("?item"):::projected
v9("?p"):::projected
v5("?pred")
v7("?prop"):::projected
v4("?statement")
v2("?value"):::projected
v1("?value_and_one")
f0[["?value_and_one = ?value + '1^^xsd:integer'"]]
f0 --> v1
f0 --> v2
v3 --"wikibase:quantityAmount"--> v2
v3 --"wikibase:quantityUpperBound"--> v1
v4 -->v5--> v3
bind1[/VALUES ?aspect/]
bind1-->v6
bind10(["wikibase:statementValue"])
bind10 --> bind1
bind11(["wikibase:qualifierValue"])
bind11 --> bind1
v7 -->v6--> v5
v8 -->v9--> v4