"RCCTD WikiDataCuration07"의 두 판 사이의 차이
CNUDH
(→쿼리작성) |
(→쿼리작성) |
||
| 66번째 줄: | 66번째 줄: | ||
'''OPTIONAL''' { ?festival wdt:P131 ?place. } # 지역 | '''OPTIONAL''' { ?festival wdt:P131 ?place. } # 지역 | ||
'''OPTIONAL''' { ?festival wdt:P837 ?dayinyearforperiodicoccurrence } # 주최되는 날짜</span><br/> | '''OPTIONAL''' { ?festival wdt:P837 ?dayinyearforperiodicoccurrence } # 주최되는 날짜</span><br/> | ||
| − | '''<span style="color:red">SERVICE</span | + | '''<span style="color:red">SERVICE</span>wikibase:label''' { bd:serviceParam wikibase:language "ko,zh,en"</span>. } |
} <br/> | } <br/> | ||
2025년 11월 20일 (목) 14:07 판
목차
Contents
연구배경
(내용 서술)
연구목적
(내용 서술)
대상주제
(내용 서술)
쿼리작성
1. 중국에서 개최되는 축제 찾기
축제중에서 중국에서 개최되는 축제 그 다음 그 축제를 하는 지역이어디인지와 언제 하는지에 대한
SELECT
?festival ?festivalLabel ?place ?placeLabel ?dayinyearforperiodicoccurrence ?dayinyearforperiodicoccurrenceLabel
WHERE {
?festival wdt:P31 wd:Q132241. # 축제(festival)
?festival wdt:P17 wd:Q148. # 중국에서 개최
OPTIONAL { ?festival wdt:P131 ?place. } # 지역
OPTIONAL { ?festival wdt:P837 ?dayinyearforperiodicoccurrence } # 주최되는 날짜
SERVICEwikibase:label { bd:serviceParam wikibase:language "ko,zh,en". }
}
2.전세계 축제중 중국에서 개최되는 축제
SELECT ?country ?countryLabel (COUNT(?festival) AS ?festivalCount)
WHERE {
?festival wdt:P31 wd:Q132241. # 축제(festival)
?festival wdt:P17 ?country. # 개최 국가
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,en". }
} GROUP BY ?country ?countryLabel ORDER BY DESC(?festivalCount)
결과해석
(내용 서술)
참고자원
(내용 서술)
주석