A read-only SPARQL 1.1 endpoint over the OxiEphemeris astrology vocabulary — 1378 triples, served from the edge.
Send a query to https://sparql.cooljapan.tech/sparql as ?query=… on a GET, or as an
application/sparql-query body on a POST. Content negotiation follows Accept:
| SELECT, ASK | application/sparql-results+json (default), application/sparql-results+xml,
text/csv, text/tab-separated-values |
|---|---|
| CONSTRUCT, DESCRIBE | text/turtle (default), application/n-triples |
| The endpoint itself | text/turtle here returns its SPARQL Service Description and VoID |
curl -H 'accept: application/sparql-results+json' \
--data-urlencode 'query=SELECT * WHERE { ?s ?p ?o } LIMIT 5' \
https://sparql.cooljapan.tech/sparql
Open it in YASGUI, or fetch the stored queries from
/sparql/examples.
The endpoint runs inside a ~10 ms CPU budget per request, so it turns away the query shapes it cannot afford rather than timing out on them:
SERVICE: no federation; answers come from this graph alone.*, +).SELECT without a LIMIT is given LIMIT 1000; a larger one is clamped to it.LIMIT bounds the rows you
get back, not the work done to find them, so patterns are counted as they are joined: write them so that each one
joins to a variable an earlier one bound, and the count stays small.The traditional and the modern ruler of Gemini, with their labels. Both are Mercury — the signs where the two schemes disagree are Scorpio, Aquarius and Pisces.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
SELECT ?traditionalRuler ?modernRuler ?rulerLabel WHERE {
sign:Gemini oxa:traditionalRuler ?traditionalRuler .
sign:Gemini oxa:modernRuler ?modernRuler .
?modernRuler skos:prefLabel ?rulerLabel .
}
The element/modality grid: each of the twelve signs is one of four elements and one of three modalities, and each pair identifies exactly one sign.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
SELECT ?sign ?label WHERE {
?sign oxa:element element:air .
?sign oxa:modality modality:mutable .
?sign skos:prefLabel ?label .
}
The twelve signs and their skos:exactMatch into Wikidata. Only the ten planets and the twelve signs carry an alignment — aspects, elements and modalities have no stable Wikidata counterpart, so they are deliberately left unaligned.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
SELECT ?sign ?label ?wikidata WHERE {
?sign a oxa:ZodiacSign .
?sign skos:prefLabel ?label .
?sign skos:exactMatch ?wikidata .
}
ORDER BY ?sign
A DESCRIBE: every triple whose subject is the concept for Leo.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
DESCRIBE sign:Leo
The ten classical/modern planets with their Japanese preferred label.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
SELECT ?planet ?ja WHERE {
?planet a oxa:Planet .
?planet skos:prefLabel ?ja .
FILTER(lang(?ja) = "ja")
}
ORDER BY ?planet
Rewrites traditional rulership into a graph of `oxa:rules` statements, one per sign.
PREFIX oxa: <https://cooljapan.tech/ns/oxiephemeris/astro#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sign: <https://cooljapan.tech/ns/oxiephemeris/concept/sign/>
PREFIX element: <https://cooljapan.tech/ns/oxiephemeris/concept/element/>
PREFIX modality: <https://cooljapan.tech/ns/oxiephemeris/concept/modality/>
CONSTRUCT { ?planet oxa:rules ?sign }
WHERE {
?sign oxa:traditionalRuler ?planet .
}
The graph is the same canonical dataset that backs the dereferenceable resources under
cooljapan.tech/ns/oxiephemeris, generated by
oxieph vocab. Queries are answered by
oxirs-wasm compiled to WebAssembly. Apache-2.0.