query-c2f46126dec0a8f4ad5184a284c48df2

rq turtle/ttl

Indian gallantry awardee

SELECT ?item ?itemLabel ?itemDescription ?itemAltLabel { ?item wdt:P6919 ?code . minus { ?item rdfs:label ?il. filter(lang(?il)="ml") } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

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 bd: <http://www.bigdata.com/rdf#>
# Indian gallantry awardee

SELECT ?item  ?itemLabel ?itemDescription ?itemAltLabel
{ ?item wdt:P6919 ?code . minus { ?item rdfs:label ?il. filter(lang(?il)="ml") }
 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; v2("?code") v3("?il") v1("?item"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P6919"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?il = 'ml'"]] f1 --> v3 v1 --"rdfs:label"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end