query-b548cc547aa20f7b23b1409dc0a79047

rq turtle/ttl

All scientific works (scholarly articles, academic chapters, and books) that are published in social psychology (not working!):

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 ?worktype ?worktypeLabel ?work ?workLabel ?year ?journal ?journalLabel ?workcited ?workcitedLabel WHERE {
       #VALUES ?worktype { wd:Q13442814 wd:Q21481766 wd:Q571 }
       VALUES ?worktype { wd:Q13442814 wd:Q21481766 }
       #?work wdt:P31/wd:Q11826511* ?worktype.
       ?work wdt:P31 ?worktype .
       ?work wdt:P577 ?year .
       OPTIONAL { ?work wdt:P921 wd:Q161272 }
       OPTIONAL { ?work wdt:P1433/wdt:P921 wd:Q161272 }
       OPTIONAL { ?work wdt:P1433 ?journal }
       OPTIONAL { ?work 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; v4("?journal"):::projected v2("?work"):::projected v5("?workcited"):::projected v1("?worktype"):::projected v3("?year"):::projected a1((" ")) c4(["wd:Q161272"]):::iri c8(["bd:serviceParam"]):::iri c10(["fr,en"]):::literal bind0[/VALUES ?worktype/] bind0-->v1 bind00(["wd:Q13442814"]) bind00 --> bind0 bind01(["wd:Q21481766"]) bind01 --> bind0 v2 --"wdt:P31"--> v1 v2 --"wdt:P577"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P921".-> c4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1433".-> a1 a1 --"wdt:P921"--> c4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1433".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P2860".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end