RCCTD WikiDataCuration04
CNUDH
목차
Contents
연구배경
(내용 서술)
연구목적
(내용 서술)
대상주제
(내용 서술)
쿼리작성
SELECT ?battle ?battleLabel ?date WHERE {
VALUES ?war { wd:Q220984 wd:Q418151 } # 제1아편전쟁, 제2아편전쟁
?battle wdt:P361 ?war ; # 전쟁의 일부
wdt:P585 ?date . # 날짜
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,en". }
}
ORDER BY ?date
아편전쟁과 관련된 전투 목록과 날짜를 모두 나열하라
SELECT ?battle ?battleLabel ?date ?location ?locationLabel
WHERE {
VALUES ?war { wd:Q220984 wd:Q418151 } # 제1아편전쟁, 제2아편전쟁
?battle wdt:P361 ?war ; # 전쟁의 일부
wdt:P585 ?date . # 날짜
OPTIONAL { ?battle wdt:P276 ?location . } # 전투 위치 (있으면 표시)
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,en". }
}
ORDER BY ?date
아편전쟁의 주요 전투 목록을 보여주되, 가능하다면 전투가 일어난 장소도 함께 알려줘라
SELECT ?battle ?battleLabel ?date ?location ?locationLabel ?coord WHERE {
VALUES ?war { wd:Q220984 wd:Q418151 } # 제1아편전쟁, 제2아편전쟁
?battle wdt:P361 ?war ; # 전쟁의 일부
wdt:P585 ?date . # 날짜
OPTIONAL { ?battle wdt:P276 ?location . } # 전투 위치
OPTIONAL { ?battle wdt:P625 ?coord . } # 지도 표시용 좌표
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,en". }
}
ORDER BY ?date
제1·제2 아편전쟁의 모든 전투를 날짜별로 정리하고, 전투 위치와 좌표를 포함해 지도에서 볼 수 있도록 보여줘라
- defaultView:Map
SELECT ?event ?eventLabel ?place ?placeLabel ?coord WHERE {
## 아편전쟁(제1차 아편전쟁: Q8683) 관련 사건·전투
?event wdt:P31 wd:Q178561; # 전투(battle)
wdt:P361 wd:Q191282; # 아편전쟁의 부분 사건
wdt:P710 ?participant; # (선택 가능) 관련된 참가자
wdt:P276 ?place. # 사건 발생 장소 = place
## 장소의 좌표 ?place wdt:P625 ?coord.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,zh,en". }
}
- defaultView:ScatterChart
SELECT ?age ?serviceDuration ?commanderLabel WHERE {
?commander wdt:P607 wd:Q191282; # 아편전쟁 참전자
wdt:P569 ?birth;
wdt:P570 ?death.
# 생애 수명 BIND(YEAR(?death) - YEAR(?birth) AS ?age)
# 군 복무 기간 추정 = 사망연도 - 출생연도 (대략적 예시) BIND(YEAR(?death) - YEAR(?birth) AS ?serviceDuration)
FILTER(?age > 0)
SERVICE wikibase:label { bd:serviceParam wikibase:language "ko,zh,en". }
}
결과해석
(내용 서술)
참고자원
(내용 서술)
주석