query-ded6e726c17dd76fcd5311c3db947413
added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200 added before 2016-10
PREFIX entity: http://www.wikidata.org/entity/
partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture WHERE { hint:Query hint:optimizer 'None' . { BIND(entity:Q42 AS ?valUrl) . BIND("N/A" AS ?propUrl ) . BIND("identity"@en AS ?propLabel ) . } UNION { entity:Q42 ?propUrl ?valUrl . ?property ?ref ?propUrl . ?property rdf:type wikibase:Property . ?property rdfs:label ?propLabel }
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
} ORDER BY ?propUrl ?valUrl LIMIT 200
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
#added before 2016-10
PREFIX entity: <http://www.wikidata.org/entity/>
#partial results
SELECT ?propUrl ?propLabel ?valUrl ?valLabel ?picture
WHERE
{
{ BIND(entity:Q42 AS ?valUrl) .
BIND("N/A" AS ?propUrl ) .
BIND("identity"@en AS ?propLabel ) .
}
UNION
{ entity:Q42 ?propUrl ?valUrl .
?property ?ref ?propUrl .
?property rdf:type wikibase:Property .
?property rdfs:label ?propLabel
}
?valUrl rdfs:label ?valLabel
FILTER (LANG(?valLabel) = 'en') .
OPTIONAL{ ?valUrl wdt:P18 ?picture .}
FILTER (lang(?propLabel) = 'en' )
}
ORDER BY ?propUrl ?valUrl
LIMIT 200
Query found at
- https://www.wikidata.org/wiki/User:Duesentrieb/WDQL
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/tr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/advanced/zh