mirror of
https://github.com/Babibubebon/lodc2022-culture-art.git
synced 2024-09-22 17:04:21 +09:00
add queries
This commit is contained in:
parent
e8cfd09999
commit
397a887d42
1 changed files with 22 additions and 1 deletions
|
@ -170,6 +170,27 @@ WHERE {
|
|||
{{< / yasgui-query >}}
|
||||
|
||||
|
||||
### 映画とその物語の場所を地図上に {#japanese-movies-narrative-location}
|
||||
- [P840 (物語の舞台)](https://www.wikidata.org/wiki/Property:P840)
|
||||
- [P625 (位置座標)](https://www.wikidata.org/wiki/Property:P625)
|
||||
|
||||
```sparql
|
||||
#defaultView:Map
|
||||
SELECT ?movie ?movieLabel ?narrative_location ?narrative_locationLabel ?coordinates
|
||||
WHERE {
|
||||
?movie wdt:P840 ?narrative_location ;
|
||||
wdt:P495 wd:Q17 ; # 日本
|
||||
wdt:P31 wd:Q11424 . # 映画
|
||||
?narrative_location wdt:P625 ?coordinates .
|
||||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ja,en". }
|
||||
}
|
||||
```
|
||||
|
||||
{{< button href="https://w.wiki/5g7e" >}}Wikidata Query Serviceで実行{{< / button >}}
|
||||
|
||||
Ref. [Wikidata:SPARQLクエリサービス/クエリ/例#映画とその物語の場所を地図上に](https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ja#%E6%98%A0%E7%94%BB%E3%81%A8%E3%81%9D%E3%81%AE%E7%89%A9%E8%AA%9E%E3%81%AE%E5%A0%B4%E6%89%80%E3%82%92%E5%9C%B0%E5%9B%B3%E4%B8%8A%E3%81%AB)より
|
||||
|
||||
|
||||
### SFライトノベル {#love-comedy-lightnovel}
|
||||
- [P31 (分類, instance of)](https://www.wikidata.org/wiki/Property:P31)
|
||||
- [P279 (上位クラス)](https://www.wikidata.org/wiki/Property:P279)
|
||||
|
@ -190,4 +211,4 @@ WHERE {
|
|||
wdt:P136/wdt:P279* wd:Q9326077 . # スペキュレイティブ・フィクション
|
||||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ja,en". }
|
||||
}
|
||||
{{< / yasgui-query >}}
|
||||
{{< / yasgui-query >}}
|
||||
|
|
Loading…
Reference in a new issue