Asking the graph in SPARQL
Twelve example questions for the query service, each with a link that runs it.
Two of them join the atlas with Wikidata, to add when and where the authors Jung cites were born and on how many Wikimedia sites each has an article.
Address for programs: sparql.symbolicworld.observer/query. It answers SPARQL queries sent by GET or POST, with results as JSON, CSV or XML.
It holds release v3.0.1. A link run after the next release may return other rows.
It is read-only. A query stops after 30 seconds, and the first query after a quiet spell waits a few seconds while the service starts. The Zenodo record is the permanent copy of the data, and this service may change or pause.
About the graph
In the Rosarium commentary (CW 16, paragraphs 402 to 539), who is speaking: Jung, a tradition he reports, or a source he quotes?
The number of claims in each voice, with the source named where Jung reports or quotes one.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?voice ?source (STR(COUNT(?claim)) AS ?claims) WHERE {
?ref sw:volume "16" ; sw:paragraph ?par .
FILTER(?par >= 402 && ?par <= 539)
?claim sw:hasEvidence ?ref ; sw:voice ?voice .
OPTIONAL { ?claim sw:voiceSource ?source }
}
GROUP BY ?voice ?source
ORDER BY ?voice DESC(COUNT(?claim)) ?sourceWhich named authors stand behind what Jung says about Mercurius, and where?
Each author with the number of claims, the volumes and paragraphs, and the author's Wikidata item where one is linked.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?author ?wikidata (STR(COUNT(DISTINCT ?claim)) AS ?claims)
(GROUP_CONCAT(DISTINCT CONCAT("CW ", ?vol, " par. ", STR(?par)); separator="; ") AS ?places)
WHERE {
{ ?edge rdf:subject swn:mercurius } UNION { ?edge rdf:object swn:mercurius }
?claim sw:ofRelation ?edge ; sw:sourceAuthor ?a ; sw:hasEvidence ?ref .
?a rdfs:label ?author .
OPTIONAL { ?a skos:closeMatch ?wikidata }
?ref sw:volume ?vol ; sw:paragraph ?par .
}
GROUP BY ?author ?wikidata
ORDER BY DESC(COUNT(DISTINCT ?claim)) ?authorHow is the Self spread over the volumes?
The number of claims about the Self in each volume.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?vol (STR(COUNT(DISTINCT ?claim)) AS ?claims) (STR(COUNT(DISTINCT ?other)) AS ?partners)
(STR(SUM(IF(?voice = sw:JungAsserts, 0, 1))) AS ?notInJungsOwnVoice)
WHERE {
{ ?edge rdf:subject swn:the-self ; rdf:object ?other }
UNION
{ ?edge rdf:object swn:the-self ; rdf:subject ?other }
?claim sw:ofRelation ?edge ; sw:voice ?voice ; sw:hasEvidence ?ref .
?ref sw:volume ?vol .
}
GROUP BY ?vol
ORDER BY DESC(COUNT(DISTINCT ?claim)) ?volWhich alchemical substances and operations does Jung read as which psychological concepts?
Pairs of an alchemical term and a psychological concept, with the number of claims, counted in the four alchemical volumes, CW 12, 13, 14 and 16.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?alchemicalTerm ?relation ?concept (STR(COUNT(DISTINCT ?claim)) AS ?claims)
(GROUP_CONCAT(DISTINCT ?vol; separator=", ") AS ?volumes)
WHERE {
?edge rdf:subject ?s ; rdf:predicate ?p ; rdf:object ?o ; sw:family ?family .
FILTER(?family IN (swf:symbolization, swf:correspondence, swf:projection))
?s sw:nodeType ?type ; rdfs:label ?alchemicalTerm .
FILTER(?type IN ("Substance", "Operation"))
?o sw:nodeType "Concept" ; rdfs:label ?concept .
?p rdfs:label ?relation .
?claim sw:ofRelation ?edge ; sw:hasEvidence ?ref .
?ref sw:volume ?vol .
FILTER(?vol IN ("12", "13", "14", "16"))
}
GROUP BY ?alchemicalTerm ?relation ?concept
ORDER BY DESC(COUNT(DISTINCT ?claim)) ?alchemicalTerm ?concept
LIMIT 20In which kinds of relation does Jung speak for himself, and in which does he report others?
For each relation family, the number of its claims in Jung's own voice and the number that report others.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?family (STR(COUNT(?claim)) AS ?claims)
(STR(SUM(IF(?voice = sw:JungAsserts, 1, 0))) AS ?jungAsserts)
(STR(SUM(IF(?voice = sw:JungReportsParallel, 1, 0))) AS ?reportsParallel)
(STR(SUM(IF(?voice = sw:JungQuotesSource, 1, 0))) AS ?quotesSource)
(STR(SUM(IF(?commitment = sw:CommitmentHigh, 0, 1))) AS ?belowHighCommitment)
WHERE {
?claim sw:ofRelation ?edge ; sw:voice ?voice ; sw:commitment ?commitment .
?edge sw:family ?f .
?f rdfs:label ?family .
}
GROUP BY ?family
ORDER BY DESC(COUNT(?claim)) ?familyWhat happened to each claim behind "the Lapis symbolizes the Self" on its way into the graph?
Each claim with its stages: the proposal, the gate check and the audit, with the model, the date and the verdict.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?vol (STR(?paragraph) AS ?par) ?step ?agent (STR(?when) AS ?date) ?detail WHERE {
?edge rdf:subject swn:lapis ; rdf:predicate swr:symbolizes ; rdf:object swn:the-self .
?claim sw:ofRelation ?edge ; sw:hasEvidence ?ref .
?ref sw:volume ?vol ; sw:paragraph ?paragraph .
{ ?claim prov:wasGeneratedBy ?stage } UNION { ?claim sw:checkedBy ?stage }
?stage a ?type .
BIND(REPLACE(STR(?type), "^.*#", "") AS ?step)
OPTIONAL { ?stage prov:wasAssociatedWith ?a . ?a rdfs:label ?agent }
OPTIONAL { ?stage dcterms:date ?when }
OPTIONAL { ?stage sw:verdict ?verdict }
OPTIONAL { ?stage sw:proposerAsRecorded ?proposer }
BIND(COALESCE(?verdict, ?proposer, "") AS ?detail)
}
ORDER BY ?vol ?paragraph ?when ?stepWhich claims did the second auditor find wrong or only partly supported?
Each claim the cross-vendor audit marked WRONG or PARTIAL, with its volume and paragraph.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?subject ?relation ?object ?vol (STR(?paragraph) AS ?par) ?verdict ?auditor (STR(?when) AS ?date) WHERE {
?audit a sw:CrossVendorAudit ; sw:verdict ?verdict ; prov:used ?claim .
FILTER(?verdict IN ("WRONG", "PARTIAL"))
OPTIONAL { ?audit prov:wasAssociatedWith ?a . ?a rdfs:label ?auditor }
OPTIONAL { ?audit dcterms:date ?when }
?claim sw:ofRelation ?edge ; sw:hasEvidence ?ref .
?ref sw:volume ?vol ; sw:paragraph ?paragraph .
?edge rdf:subject ?s ; rdf:predicate ?p ; rdf:object ?o .
?s rdfs:label ?subject . ?o rdfs:label ?object . ?p rdfs:label ?relation .
}
ORDER BY DESC(?verdict) ?vol ?paragraph ?subjectWhat does Jung say Mercurius does, and where?
The first six relations from Mercurius, each with its volume and paragraph.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?rel ?other ?vol (STR(?paragraph) AS ?par) WHERE {
?e rdf:subject swn:mercurius ; rdf:predicate ?p ; rdf:object ?o .
?c sw:ofRelation ?e ; sw:hasEvidence ?r . ?r sw:volume ?vol ; sw:paragraph ?paragraph .
?o rdfs:label ?other . BIND(REPLACE(STR(?p), "^.*/", "") AS ?rel)
} ORDER BY ?vol ?paragraph LIMIT 6Which concepts does the graph link to both Sol and Luna?
The concepts that have a relation to Sol and a relation to Luna, the first twelve.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT DISTINCT ?l WHERE {
{ ?a rdf:subject ?x ; rdf:object swn:sol } UNION { ?a rdf:subject swn:sol ; rdf:object ?x }
{ ?b rdf:subject ?x ; rdf:object swn:luna } UNION { ?b rdf:subject swn:luna ; rdf:object ?x }
?x rdfs:label ?l } ORDER BY ?l LIMIT 12What symbolizes the Self, and with how many references?
The concepts said to symbolize the Self, ordered by their number of references.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?l (STR(COUNT(?c)) AS ?n) WHERE {
?e rdf:subject ?s ; rdf:predicate swr:symbolizes ; rdf:object swn:the-self .
?c sw:ofRelation ?e . ?s rdfs:label ?l } GROUP BY ?l ORDER BY DESC(COUNT(?c)) LIMIT 6With Wikidata
These ask Wikidata live, through its query service at query.wikidata.org, so they depend on it being up. They were last checked on 2026-11-28. Wikidata is moving to a new query service, which this one cannot yet read, and plans to close the old one by June 2027, so these may need rewriting then.
When and where were the authors born whom Jung cites?
Each linked author's dates and place of birth, asked live from Wikidata, with the number of claims that rest on them.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?author (STR(?n) AS ?claims) (STR(?b1) AS ?born) (STR(?d1) AS ?died) ?birthplace WHERE {
SERVICE <https://query.wikidata.org/sparql> {
SELECT ?wd (MIN(?b) AS ?b1) (MIN(?d) AS ?d1) (SAMPLE(?placeName) AS ?birthplace) WHERE {
VALUES ?wd {
wd:Q111738 wd:Q120588948 wd:Q122863751 wd:Q170472 wd:Q182123 wd:Q182128 wd:Q192358 wd:Q193660
wd:Q201484 wd:Q207113 wd:Q226868 wd:Q2753613 wd:Q2853512 wd:Q313922 wd:Q3147460 wd:Q3180527
wd:Q3216690 wd:Q3351663 wd:Q3377681 wd:Q3523646 wd:Q364379 wd:Q367422 wd:Q3801927 wd:Q4165518
wd:Q552684 wd:Q57330 wd:Q580267 wd:Q60059 wd:Q631738 wd:Q63484 wd:Q73366 wd:Q740989 wd:Q7499
wd:Q76568 wd:Q77017 wd:Q8011 wd:Q8018 wd:Q810169 wd:Q83428 wd:Q900717 wd:Q901303 wd:Q93265708
}
?wd wdt:P569 ?b .
OPTIONAL { ?wd wdt:P570 ?d . FILTER(isLiteral(?d)) }
OPTIONAL { ?wd wdt:P19 ?place . ?place rdfs:label ?placeName . FILTER(LANG(?placeName) = "en") }
}
GROUP BY ?wd
}
{
SELECT ?wd ?author (COUNT(?claim) AS ?n) WHERE {
?a a prov:Agent ; skos:closeMatch ?wd ; rdfs:label ?author .
?claim sw:sourceAuthor ?a .
}
GROUP BY ?wd ?author
}
}
ORDER BY ?b1Which of Jung's sources does Wikipedia cover poorly, compared with how much he draws on them?
Each linked author with the number of claims and the number of Wikimedia sites that have an article on them, asked live from Wikidata.
The query
PREFIX sw: <https://w3id.org/symbolicworld/ns#>
PREFIX swn: <https://w3id.org/symbolicworld/node/>
PREFIX swr: <https://w3id.org/symbolicworld/relation/>
PREFIX swf: <https://w3id.org/symbolicworld/family/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?author (STR(?n) AS ?claims) (STR(?links) AS ?sitelinks) WHERE {
SERVICE <https://query.wikidata.org/sparql> {
VALUES ?wd {
wd:Q111738 wd:Q120588948 wd:Q122863751 wd:Q170472 wd:Q182123 wd:Q182128 wd:Q192358 wd:Q193660
wd:Q201484 wd:Q207113 wd:Q226868 wd:Q2753613 wd:Q2853512 wd:Q313922 wd:Q3147460 wd:Q3180527
wd:Q3216690 wd:Q3351663 wd:Q3377681 wd:Q3523646 wd:Q364379 wd:Q367422 wd:Q3801927 wd:Q4165518
wd:Q552684 wd:Q57330 wd:Q580267 wd:Q60059 wd:Q631738 wd:Q63484 wd:Q73366 wd:Q740989 wd:Q7499
wd:Q76568 wd:Q77017 wd:Q8011 wd:Q8018 wd:Q810169 wd:Q83428 wd:Q900717 wd:Q901303 wd:Q93265708
}
?wd wikibase:sitelinks ?links .
}
{
SELECT ?wd ?author (COUNT(?claim) AS ?n) WHERE {
?a a prov:Agent ; skos:closeMatch ?wd ; rdfs:label ?author .
?claim sw:sourceAuthor ?a .
}
GROUP BY ?wd ?author
}
}
ORDER BY ?links DESC(?n)