query-fb5e1bdc2b5dce12c291d08668bd0445
Institutions with double locations P625 revert. I was just adding few hundred P625 based on Commons Institution templates and I wonder if I should perform similar revert on other items as well. The query below shows similar cases thisHi, I am looking at
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?coord1 ?coord2
{
?item wdt:P625 ?coord1.
?item wdt:P1612 ?Inst .
?item p:P159 ?statement .
?statement pq:P625 ?coord2.
}
Query found at
- https://www.wikidata.org/wiki/User:Jarekt/queries
- https://www.wikidata.org/wiki/User_talk:Jklamo/Archive_1
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?Inst")
v2("?coord1"):::projected
v5("?coord2"):::projected
v1("?item"):::projected
v4("?statement")
v1 --"p:direct/P625"--> v2
v1 --"p:direct/P1612"--> v3
v1 --"p:P159"--> v4
v4 --"p:qualifier/P625"--> v5