Overview

The Media Arts Database was officially released on 2024/1/31.

https://mediaarts-db.artmuseums.go.jp/

This article introduces usage examples of the Media Arts Database SPARQL endpoint with Yasgui. I hope the following article about Yasgui is also helpful.

Usage Examples

  • Time-series changes in the number of published manga tankoubon (collected volumes)

https://api.triplydb.com/s/AqIH1InmC

  • Time-series changes in the number of published game packages

https://api.triplydb.com/s/L2REuOshZ

  • Time-series changes in the number of published manga tankoubon containing “isekai” (another world) or “tensei” (reincarnation)

https://api.triplydb.com/s/4ciTNJGb2

  • Time-series changes (by genre) of publications containing “kappa”

https://api.triplydb.com/s/LbzMGMo-O

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <https://schema.org/>
PREFIX neptune-fts: <http://aws.amazon.com/neptune/vocab/v01/services/fts#>
SELECT ?公開年 ?genre (COUNT(DISTINCT ?resource) AS ?node)
WHERE {
  SERVICE neptune-fts:search {
    neptune-fts:config neptune-fts:endpoint "https://vpc-mediaarts-db-blue-gob5vblr7tbjai7huexqntpq4i.ap-northeast-1.es.amazonaws.com" .
    neptune-fts:config neptune-fts:field schema:name .
    neptune-fts:config neptune-fts:queryType "query_string" .
    neptune-fts:config neptune-fts:query '"かっぱ"' .
    neptune-fts:config neptune-fts:return ?resource .
  }
  ?resource schema:genre ?genre ;
            schema:datePublished ?公開年月日 .
  BIND (SUBSTR(?公開年月日, 1, 4) AS ?公開年)
}
GROUP BY ?公開年 ?genre
ORDER BY DESC(?公開年)

Summary

I hope this is helpful as a usage example of the Media Arts Database SPARQL endpoint.