query-cbaa4b23c6e9a2dd6ef702f2b06454df

rq turtle/ttl

Open-access journals represented on the focus list, without [[Property:P5115|Directory of Open Access Journals ID (P5115)]] SELECT DISTINCT ?journal ?journalLabel ?publisherLabel

WHERE {?item wdt:P1433 ?journal; wdt:P5008 wd:Q55439927. ?journal wdt:P31 wd:Q773668. OPTIONAL {?journal wdt:P123 ?publisher}

   MINUS {?journal wdt:P5115 [ ]}

  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 wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Open-access journals represented on the focus list, without [[Property:P5115|Directory of Open Access Journals ID&#32;<small>(P5115)</small>]]
SELECT DISTINCT ?journal ?journalLabel ?publisherLabel

WHERE {?item wdt:P1433 ?journal;
             wdt:P5008 wd:Q55439927.
       ?journal wdt:P31 wd:Q773668.
       OPTIONAL {?journal wdt:P123 ?publisher}

       MINUS {?journal wdt:P5115 [ ]}

      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") v2("?journal"):::projected v3("?publisher") a1((" ")) c9(["bd:serviceParam"]):::iri c3(["wd:Q55439927"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q773668"]):::iri v1 --"wdt:P1433"--> v2 v1 --"wdt:P5008"--> c3 v2 --"wdt:P31"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P123".-> v3 end subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P5115"--> a1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end