query-61b8b0a83704989a56fb7c0af458a249

rq turtle/ttl

Journals represented on the focus list, neither having Directory of Open Access Journals ID,

nor being hybrid open-access; with an article having license, showing publisher

SELECT DISTINCT ?journal ?journalLabel ?publisherLabel ?licenseLabel

WHERE {?item wdt:P1433 ?journal; wdt:P275 ?license; wdt:P5008 wd:Q55439927. OPTIONAL {?journal wdt:P123 ?publisher} MINUS {?journal wdt:P5115 [ ]}. MINUS {?journal wdt:P31 wd:Q5953270}

  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#>
#Journals represented on the focus list, neither having Directory of Open Access Journals ID, 
#nor being hybrid open-access; with an article having license, showing publisher
SELECT DISTINCT ?journal ?journalLabel ?publisherLabel ?licenseLabel

WHERE {?item wdt:P1433 ?journal;
             wdt:P275 ?license;
             wdt:P5008 wd:Q55439927.
       OPTIONAL {?journal wdt:P123 ?publisher}
       MINUS {?journal wdt:P5115 [ ]}.
       MINUS {?journal wdt:P31 wd:Q5953270}

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