Find list of places where Location or Address or Maps Link is missing #16
Answered
by
adarshmadrecha
adarshmadrecha
asked this question in
Q&A
-
|
This is to identify bad data |
Beta Was this translation helpful? Give feedback.
Answered by
adarshmadrecha
Oct 6, 2025
Replies: 2 comments
-
A Simple QueryPREFIX yq: <https://data.jain.wiki/entity/>
PREFIX yp: <https://data.jain.wiki/prop/direct/>
SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
?item yp:P1 ?p1Value .
?p1Value yp:P1 yq:Q8238 .
# Where location (i.e. Lattitude and Longitude) not added.
FILTER NOT EXISTS { ?item yp:P2 ?loc . }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
?item rdfs:label ?itemLabel .
?item schema:description ?itemDescription .
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adarshmadrecha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Complex Query with all the fields identified.