query-b42285c7e6f2b7519118481f9aef9070
Properties with missing labels and/or descriptions). You can put any supported language code into the query. de language ((Q188)German Please note: this is an example for
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?prop ?label ?description ?datatype {
BIND( STRLANG( 'x', 'de' ) AS ?dummy ) .
?prop wikibase:propertyType ?datatype .
OPTIONAL {
?prop rdfs:label ?label .
FILTER( LANG( ?label ) = LANG( ?dummy ) ) .
} .
OPTIONAL {
?prop schema:description ?description .
FILTER( LANG( ?description ) = LANG( ?dummy ) ) .
} .
FILTER( !( BOUND( ?label ) && BOUND( ?description ) ) ) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?datatype"):::projected
v2("?description"):::projected
v4("?dummy")
v1("?label"):::projected
v4("?prop"):::projected
f0[["not bound(?label)bound(?description)"]]
f0 --> v1
f0 --> v2
bind1[/"STRLANG('x','de')"/]
bind1 --as--o v4
v4 --"wikibase:propertyType"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."rdfs:label".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."schema:description".-> v2
end