query-6ad5d5d472628b1607e61ef6bcc488fc

rq turtle/ttl

Articles published in scientific journals that have "social psychology" as a main subject:

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 DISTINCT ?article ?articleLabel ?year ?journal ?journalLabel ?workcited ?workcitedLabel WHERE {
       ?article wdt:P31 wd:Q13442814 .
       ?article wdt:P1433 ?journal .
       ?article wdt:P577 ?year .
       ?article wdt:P1433/wdt:P921 wd:Q161272 .
       OPTIONAL { ?article wdt:P2860 ?workcited }
       SERVICE wikibase:label {
           bd:serviceParam wikibase:language "fr,en" .
       }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?article"):::projected v2("?journal"):::projected v4("?workcited"):::projected v3("?year"):::projected a1((" ")) c2(["wd:Q13442814"]):::iri c6(["wd:Q161272"]):::iri c9(["bd:serviceParam"]):::iri c11(["fr,en"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P1433"--> v2 v1 --"wdt:P577"--> v3 v1 --"wdt:P1433"--> a1 a1 --"wdt:P921"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P2860".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end