|
|
| 56번째 줄: |
56번째 줄: |
| | <div align="right">{{button|[[RCCTD_WikiDataCuration05#목차|상단으로 이동]]}}</div><br/> | | <div align="right">{{button|[[RCCTD_WikiDataCuration05#목차|상단으로 이동]]}}</div><br/> |
| | <big> | | <big> |
| − | 1950년 이후에 태어난 중국인 경극배우를 찾아보자<br/>
| |
| − | SELECT ?person ?personLabel
| |
| − | WHERE {
| |
| − | ?person wdt:P106 wd:Q111975768;
| |
| − | wdt:P27 wd:Q148;
| |
| − | wdt:P569 ?birthDate.
| |
| − | FILTER(YEAR(?birthDate)>=1950)
| |
| − | SERVICE wikibase:label {bd:serviceParam wikibase:language "zh, en".}
| |
| − | }<br/> 청나라의 경극 배우를 알아보자<br/>SELECT ?person ?personlabel
| |
| − | WHERE {
| |
| − | ?person wdt:P27 wd:Q8733; #청나라
| |
| − | wdt:P106 wd:Q111975768. #경극 배우
| |
| − | SERVICE wikibase:label {bd:serviceParam wikibase:language "zh, en".}
| |
| − | }<br/>경극 배우들의 출생지를 지도로 알아보자<br/>#defaultView:Map
| |
| − | SELECT ?actor ?actorLabel ?birthplace ?birthplaceLabel ?coord
| |
| − | WHERE {
| |
| − | ?actor wdt:P106 wd:Q111975768. # 경극 배우
| |
| − | ?actor wdt:P19 ?birthplace. # 출생지
| |
| − | ?birthplace wdt:P625 ?coord. # 출생지 좌표
| |
| | | | |
| − | SERVICE wikibase:label { bd:serviceParam wikibase:language "zh,ko,en". }
| |
| − | }<br/>청나라 경극배우를 알려주는데 생일을 알면 그거도 알려줘<br/> SELECT ?person ?personlabel ?birth ?birthlabel
| |
| − | WHERE {
| |
| − |
| |
| − | ?person wdt:P27 wd:Q8733; #청나라
| |
| − | wdt:P106 wd:Q111975768. #경극 배우
| |
| − | OPTIONAL { ?person wdt:P569 ?birth}
| |
| − | SERVICE wikibase:label {bd:serviceParam wikibase:language "zh, en".}
| |
| − | }<br/> “경극 배우들이 어느 지역에서 얼마나 태어났는지를 집계하여, 지도 위에 표시하는 쿼리.”<br/>#defaultView:Map
| |
| − | SELECT ?birthplace ?birthplaceLabel (COUNT(DISTINCT?actor)AS ?count) (SAMPLE (?coord)AS?location)
| |
| − | WHERE {
| |
| − |
| |
| − | ?actor wdt:P106 wd:Q111975768. # 경극 배우
| |
| − | ?actor wdt:P19 ?birthplace. # 출생지
| |
| − | ?birthplace wdt:P625 ?coord. # 출생지 좌표
| |
| − | SERVICE wikibase:label { bd:serviceParam wikibase:language "zh,ko,en". }
| |
| − | }
| |
| − | GROUP BY ?birthplace ?birthplaceLabel
| |
| − | ORDER BY DESC(?count)<br/> 중국의 극장 위치를 지도로 보여줘<br/>#defaultView:Map<br/>
| |
| − | SELECT ?theater ?theaterlabel ?coord
| |
| − | WHERE {
| |
| − | ?theater wdt:P31 wd:Q24354;
| |
| − | wdt:P17 wd:Q148;
| |
| − | wdt:P625 ?coord.
| |
| − | SERVICE wikibase:label { bd:serviceParam wikibase:language "zh,ko,en". }
| |
| − | }<br/> 경극과 관련된 학교나 교육기관을 지도로 보여줘<br/> #defaultView:Map<br/>
| |
| − | SELECT ?school ?schoolLabel ?coord<br/>
| |
| − | WHERE {<br/>
| |
| − | ?school wdt:P17 wd:Q148;
| |
| − | wdt:P31/ wdt:P279 wd:Q7014642;
| |
| − | wdt:P625 ?coord.
| |
| − | SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,en". }
| |
| − | } <br/>경극을 연기하는 배우를 트리맵으로 찾아보자<br/>#defaultView:TreeMap
| |
| − | SELECT ?movieLabel ?actorLabel<br/>
| |
| − | WHERE {<br/>
| |
| − | ?actor wdt:P31 wd:Q5; #인간에 해당한다
| |
| − | wdt:P27 wd:Q148; #국적이 중국이다
| |
| − | wdt:P106 wd:Q111975768; #직업이 경극배우
| |
| − | wdt:P136 ?movie. #해당 경극 제목
| |
| − | SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,zh,en". }
| |
| − | }
| |
| | </big> | | </big> |
| | </font> | | </font> |