query-51c00e66d1f2b8780f34253a2685a37c

rq turtle/ttl

11:49, 7 June 2017 (UTC) Talk SharkDIs this formed properly? It returns zero results, so I am not sure, since that could be for other reasons. Thanks. 11:51, 7 June 2017 (UTC) Talk SharkDAlso, I'm not sure if "blank" is the same as "undefined". In an earlier query I ran into an issue where the query behaved differently in the two cases.

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?game {
  ?game wdt:P31 wd:Q7889 .
  OPTIONAL {
    ?game rdfs:label ?gameLabel.
    FILTER(LANG(?gameLabel) = "en") .
  }
  FILTER(!BOUND(?gameLabel)) .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?game"):::projected v1("?gameLabel") c3(["wd:Q7889"]):::iri f0[["not bound(?gameLabel)"]] f0 --> v1 v2 --"wdt:P31"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."rdfs:label".-> v1 end