query-545823b1fcb163ac5031ef2993f607af
SPARQL QueriesThis SPARQL query retrieve the data about all the articles published in the JIRIRI:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?article ?title ?author ?order ?date ?volume ?pages ?url ?language WHERE { { {
SELECT DISTINCT ?article ?title ?author ?order ?date ?volume ?pages ?url ?language WHERE {
?article wdt:P31 wd:Q13442814 .
?article wdt:P1433 wd:Q100418277 .
?article wdt:P1476 ?title .
?article p:P2093 ?author_statement .
?author_statement ps:P2093 ?author
OPTIONAL { ?author_statement pq:P1545 ?order }
?article wdt:P577 ?date .
?article wdt:P478 ?volume .
?article wdt:P304 ?pages .
?article wdt:P953 ?url .
?article wdt:P407/wdt:P424 ?language .
}
}} UNION { {
SELECT DISTINCT ?article ?title ?author ?order ?date ?volume ?pages ?url ?language WHERE {
?article wdt:P31 wd:Q13442814 .
?article wdt:P1433 wd:Q100418277 .
?article wdt:P1476 ?title .
?article wdt:P50 ?author_statement .
OPTIONAL {?author_statement rdfs:label ?author . filter(lang(?author)="en")}
OPTIONAL { ?author_statement pq:P1545 ?order }
?article wdt:P577 ?date .
?article wdt:P478 ?volume .
?article wdt:P304 ?pages .
?article wdt:P953 ?url .
?article wdt:P407/wdt:P424 ?language .
}
}} }
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article"):::projected
v4("?author"):::projected
v3("?author_statement")
v6("?date"):::projected
v10("?language"):::projected
v5("?order"):::projected
v8("?pages"):::projected
v2("?title"):::projected
v9("?url"):::projected
v7("?volume"):::projected
a1((" "))
a2((" "))
c2(["wd:Q13442814"]):::iri
c4(["wd:Q100418277"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P1433"--> c4
v1 --"p:direct/P1476"--> v2
v1 --"p:direct/P50"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P1545".-> v5
end
v1 --"p:direct/P577"--> v6
v1 --"p:direct/P478"--> v7
v1 --"p:direct/P304"--> v8
v1 --"p:direct/P953"--> v9
v1 --"p:direct/P407"--> a2
a2 --"p:direct/P424"--> v10
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P1433"--> c4
v1 --"p:direct/P1476"--> v2
v1 --"p:P2093"--> v3
v3 --"p:statement/P2093"--> v4
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P1545".-> v5
end
v1 --"p:direct/P577"--> v6
v1 --"p:direct/P478"--> v7
v1 --"p:direct/P304"--> v8
v1 --"p:direct/P953"--> v9
v1 --"p:direct/P407"--> a1
a1 --"p:direct/P424"--> v10
end
union0r <== or ==> union0l
end