query-57558e2403675adfb36afaa950b209af

rq turtle/ttl

Request all operons, their regulators, and their products SELECT ?organism_name ?organism_item WHERE {
?organism_item wdt:P2974 wd:Q5880 ; rdfs:label ?organism_name . ?gene wdt:P703 ?organism_item ; wdt:P1056 wd:Q319541 . FILTER (LANG(?organism_name) = "en") .
}

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#>
#Request all operons, their regulators, and their products
SELECT ?organism_name ?organism_item WHERE {   
  ?organism_item wdt:P2974 wd:Q5880 ;
    rdfs:label ?organism_name . 
  ?gene wdt:P703 ?organism_item ; 
    wdt:P1056 wd:Q319541 . 
  FILTER (LANG(?organism_name) = "en") .    
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?gene") v2("?organism_item"):::projected v1("?organism_name"):::projected c7(["wd:Q319541"]):::iri c3(["wd:Q5880"]):::iri f0[["?organism_name = 'en'"]] f0 --> v1 v2 --"wdt:P2974"--> c3 v2 --"rdfs:label"--> v1 v3 --"wdt:P703"--> v2 v3 --"wdt:P1056"--> c7