Test suite
Result : Almost success
Answer :
http://dbpedia.org/resource/Jesus
http://dbpedia.org/resource/Saint_Joseph
http://dbpedia.org/resource/Saint_Joseph
http://dbpedia.org/resource/Mary_(mother_of_Jesus)
http://dbpedia.org/resource/Mary_(mother_of_Jesus)
http://dbpedia.org/resource/Habib_the_Carpenter
http://dbpedia.org/resource/L._Brent_Bozell,_Jr.
http://dbpedia.org/resource/Saint_Peter
Q. 12 Where is the Great Synagogue of Israel ?
empty result
Target query: SELECT ?x WHERE { <http://dbpedia.org/resource/Great_Synagogue_(Jerusalem)> dbp:location ?x.}
select distinct ?x where {
<http://dbpedia.org/resource/Jesus> <http://dbpedia.org/ontology/parent> ?x .
}
Result : empty result → success
Reason: QGM problem (the default query generation does not work) → solved
Correct SPARQL: SELECT ?v2 WHERE { ?v2 ?v9 ?v8 . <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/capital> ?v2 . }
Q4-1. What is the capital of France?
Target query:
select distinct ?x where {
<http://dbpedia.org/resource/France> <http://dbpedia.org/ontology/capital> ?x .
}
Result: empty result
Reason: DM problem ("France" is resolved to dbr:France_2, not to dbr:France)
Correct SPARQL: SELECT ?v2 WHERE { ?v2 ?v9 ?v8 . <http://dbpedia.org/resource/France> <http://dbpedia.org/ontology/capital> ?v2 . }
Q5. Which countries are known for wine production?
Korean: "와인 생산국으로 유명한 나라는 어디인가?" (translated by Younggyun) (parser problem, 와인 --> 와/NNG)
Result : empty result
Reason: TGM problem (slot description)
KB problem:
select * where {
?s dbo:specialist ?o .
}
-> 쿼리 결과에서 wine에 해당하는 정보가 없음.
select * where {
?s dbo:speciality ?o .
}
-> 쿼리 결과 없음
select distinct ?country ?desc where {
?country rdf:type dbo:Country
?country dbp:description ?desc
}
-> 와인에 대한 설명 없음.
Q6. which countries are known for wine?
Korean: "와인으로 유명한 나라는 어디인가?" (translated by Younggyun) (TGM.ko - success)
Result : empty result
Reason1: DM problem (failutre of disambiguation ("wine" entity could not be found)
Reason2: QGM could not handle literals
KB problem:
select * where {
?s dbo:specialist ?o .
}
-> 쿼리 결과에서 wine에 해당하는 정보가 없음.
select * where {
?s dbo:speciality ?o .
}
-> 쿼리 결과 없음
select distinct ?country ?desc where {
?country rdf:type dbo:Country
?country dbp:description ?desc
}
-> 와인에 대한 설명 없음.
Q7. Who was the 16th President of South Korea?
Korean: "한국의 제 16대 대통령은 누구인가?" (translated by Younggyun) (parser problem, 16대 대통령 --> 대/NN)
Result: failed
Reason1: TGM problem (can not parse and set '16th')
영어 디비피디아에서 dbpedia-ko를 사용할 수 없었음.
Golden output:
select * where {
{?president dbpedia-owl:country dbpedia-ko:대한민국 . } UNION
{?president dbpedia-owl:nationality dbpedia-ko:대한민국 .} UNION
{?president prop-ko:국가 dbpedia-ko:대한민국}
?president rdf:type dbpedia-owl:President .
?president dbpedia-owl:wikiPageWikiLink dbpedia-ko:대한민국_제16대_대통령_선거
}
Q8. Who was the Russian physiologist that won the Nobel Prize for Physiology or Medicine in 1904?
Korean: "1904년에 노벨생리의학상을 받은 러시아의 생리학자는 누구인가?" (translated by Younggyun) (TGM.ko have no rules for long sentence)
Result: failed
Reason1: TGM problem (can not parse and set 'Nobel Prize')
Q9. What is the national flower of South Korea ?
Korean: "대한민국의 국화는 무엇인가?" (translated by Younggyun) (TGM.ko - success)
Result:failed
Reason1: property:flower exists, but dbs:Korea dbp:flower dbo:?x do match nothing in dbpedia.
영어 디비피디아에서 dbpedia-ko를 사용할 수 없었음.
select ?flower where {
?flower dbpedia-owl:wikiPageWikiLink dbpedia-ko:국화 .
?flower dbpedia-owl:wikiPageWikiLink <http://ko.dbpedia.org/resource/분류:대한민국의_상징> .
}
Q.10 Who is the mother of Jesus?
Korean: "예수의 어머니는 누구인가?" (translated by Younggyun) (TGM.ko - success)
Result:half success
Answer:
http://dbpedia.org/resource/Jesus
http://dbpedia.org/resource/Saint_Joseph
http://dbpedia.org/resource/Saint_Joseph
http://dbpedia.org/resource/Mary_(mother_of_Jesus)
http://dbpedia.org/resource/Mary_(mother_of_Jesus)
http://dbpedia.org/resource/Habib_the_Carpenter
http://dbpedia.org/resource/L._Brent_Bozell,_Jr.
Q. 11 Who are the parents of Jesus ?
Korean: "예수의 부모는 누구인가?" (translated by Younggyun) (TGM.ko - success)
Target query:
select distinct ?x where {
<http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/capital> ?x .
}
Result : empty result
Reason : TGM problem
Q3. What is the capital of Korea?
Korean: "한국의 수도는 무엇인가?" (translated by Younggyun) (TGM.ko - success)
Target query:
select distinct ?x where {
<http://dbpedia.org/resource/South_Korea> <http://dbpedia.org/ontology/capital> ?x .
}
or
select distinct ?x where {
<http://dbpedia.org/resource/North_Korea> <http://dbpedia.org/ontology/capital> ?x .
}
Result : empty result
Reason : DM problem ('Korea' should not be resolved to dbr:Korea, because dbr:Korea is not a country in DBpedia, so it cannot have a capital)
Q4. What is the capital of USA?
Korean: "미국의 수도는 무엇인가?" (translated by Younggyun) (TGM.ko - success)
Target query:
select distinct ?x where {
?x a <http://dbpedia.org/ontology/Mountain> .
?x <http://dbpedia.org/ontology/elevation> ?e .
}
order by desc(?e)
offset 0
limit 1
test queries are moving into the spread sheet
Test cases (under development)
Q1. Which mountains are in Seoul?
Korean: "서울에 있는 산은 무엇인가?" (translated by Younggyun) (TGM.ko - success)
Result : wrong results
Reason : KB problem (missing link between instances of dbo:Mountain and dbr:Seoul in DBpedia.
Q2. What is the tallest mountain in the world?
Korean: "세계에서 가장 높은 산은 무엇인가?" (translated by Younggyun) (now TGM.ko does not support the quentifiers)
Target query:
x
"Jerusalem, Israel"@en
-> Matching with Great_Synagogue_(Jerusalem) is too hard.
Q. 13 What's the clubs in Paris ?
empty result
Target query: select ?y where { ?x dbp:location dbr:Paris . ?x dbp:club ?y }
-> I think that the matching is possble but it don't match. (dbp:club exist)
Q. 14 What's the soccer clubs in Paris ?
empty result
Target query: select ?x where { ?x dbp:location dbr:Paris . ?x a dbo:SoccerClub . }
-> I think that the matching is possble but it don't match. (dbo:SoccerClub exist)
Q. 15 What's the sports teams in Paris ?
empty result
Target query: select ?x where { ?x dbp:location dbr:Paris . ?x a dbo:SportsTeam . }