query-70e2fd890ea813f8bab723d645669d7f
List of item with P380 = somevalueHi, : novalue = (P380)Mérimée ID I know how to get all the items with
Use at
- https://query.wikidata.org/sparql
 
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P17 wd:Q142 ; rdf:type wdno:P380 .
  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("?item"):::projected 
  c6(["bd:serviceParam"]):::iri 
  c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal 
  c4(["wdno:P380"]):::iri 
  c2(["wd:Q142"]):::iri 
  v1 --"wdt:P17"-->  c2
  v1 --"a"-->  c4
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c6 --"wikibase:language"-->  c8
  end