726
edits
Line 1,480: | Line 1,480: | ||
ORDER BY ?itemLabel | ORDER BY ?itemLabel | ||
</sparql> | |||
===All uses of <unknown value>=== | |||
<sparql tryit="1"> | |||
# Query to look for uses of <unknown value> | |||
PREFIX bnwd: <https://beyond-notability.wikibase.cloud/entity/> | |||
PREFIX bnwds: <https://beyond-notability.wikibase.cloud/entity/statement/> | |||
PREFIX bnwdv: <https://beyond-notability.wikibase.cloud/value/> | |||
PREFIX bnwdt: <https://beyond-notability.wikibase.cloud/prop/direct/> | |||
PREFIX bnp: <https://beyond-notability.wikibase.cloud/prop/> | |||
PREFIX bnps: <https://beyond-notability.wikibase.cloud/prop/statement/> | |||
PREFIX bnpq: <https://beyond-notability.wikibase.cloud/prop/qualifier/> | |||
SELECT distinct ?name ?unknown_value_for ?type ?item | |||
WHERE | |||
{ | |||
?item ?p ?s. | |||
FILTER isBLANK(?s) . # get ?s that are <unknown value> | |||
?item rdfs:label ?name. filter(lang(?name)= "en-gb") . | |||
?prop wikibase:directClaim ?p. | |||
?prop wikibase:propertyType ?type. | |||
?prop rdfs:label ?unknown_value_for. filter(lang(?unknown_value_for)= "en-gb") . | |||
} | |||
order by ?unknown_value_for ?name | |||
</sparql> | </sparql> |
edits