query-eb510057b42bbf4af84766ba03505c4a
Explanation of differences between two queries to limit number of results and because it is the one which generates my problem) : (Q42303748)honorary doctor of the University of Rennes I and have an issue with a query. My first query was a direct one, like that (limited to (Q11415564)honorary doctorate Hello, I am working on subclasses of
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?DHC ?DHCLabel
WHERE
{
VALUES (?DHC) {(wd:Q42303748)}
?item wdt:P166 ?DHC.
?DHC wdt:P279 wd:Q11415564.
?DHC wdt:P17 wd:Q142.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?DHC"):::projected
v2("?item"):::projected
c7(["bd:serviceParam"]):::iri
c3(["wd:Q11415564"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q142"]):::iri
bind0[/VALUES ?DHC/]
bind0-->v1
bind00(["wd:Q42303748"])
bind00 --> bind0
v2 --"wdt:P166"--> v1
v1 --"wdt:P279"--> c3
v1 --"wdt:P17"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end