query-6a8a0a53b37d533f149ca14a3be471ce

rq turtle/ttl

Query listing all the articles from an OMICS journal in WD (using a subquery) :

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#>
SELECT ?revue_p ?revue_pLabel ?article ?articleLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?revue_p wdt:P123 wd:Q7072722.
  ?article wdt:P1433 ?revue_p.
  {SELECT ?article WHERE  { ?article wdt:P31 wd:Q13442814. } }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article"):::projected v1("?revue_p"):::projected c2(["bd:serviceParam"]):::iri c9(["wd:Q13442814"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q7072722"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P123"--> c6 v2 --"wdt:P1433"--> v1 v2 --"wdt:P31"--> c9