query-67ca224473a541799ba05a07d6174e57

rq turtle/ttl

Simple intersectThe following is supposed to match items that are an instance of both software and free and open-source software:

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item WHERE {
  ?item wdt:P31 wd:Q7397.
  ?item wdt:P31 wd:Q506883.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected c2(["wd:Q7397"]):::iri c3(["wd:Q506883"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P31"--> c3