API & SPARQL
Access the HPDB knowledge graph via SPARQL endpoint or Linked Data URIs.
SPARQL Endpoint
Query the full HPDB dataset using SPARQL 1.1.
Endpoint URL
https://dydra.com/ut-digital-archives/hpdb/sparqlExample Queries
List items (100)全アイテム一覧(100件)
PREFIX hpdb: <https://w3id.org/hpdb/api/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label WHERE {
?item a hpdb:classes/Item ;
rdfs:label ?label .
}
LIMIT 100Signs with Unicode code pointsUnicodeコードポイント付き字形一覧
PREFIX hpdb: <https://w3id.org/hpdb/api/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?mollerNo ?hieroglyphNo WHERE {
?item a hpdb:classes/Item ;
hpdb:properties/möllerNo ?mollerNo .
OPTIONAL { ?item hpdb:properties/hieroglyphNo ?hn .
?hn rdfs:label ?hieroglyphNo . }
}
ORDER BY ?mollerNo
LIMIT 50DESCRIBE a single item単一アイテムの詳細
DESCRIBE <https://w3id.org/hpdb/api/items/201001>
Linked Data URIs
Each item has a persistent URI that resolves to JSON-LD or Turtle.
Item URI pattern
https://w3id.org/hpdb/api/items/{id}Example — item 201001
https://w3id.org/hpdb/api/items/201001JSON-LD Namespaces
| Prefix | URI |
|---|---|
hpdb | https://w3id.org/hpdb/api/ |
rdfs | http://www.w3.org/2000/01/rdf-schema# |
rdf | http://www.w3.org/1999/02/22-rdf-syntax-ns# |
schema | http://schema.org/ |
dct | http://purl.org/dc/terms/ |
xsd | http://www.w3.org/2001/XMLSchema# |