Development‎ > ‎Documentation‎ > ‎

Test suite

Test queries in spread sheet

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:
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
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 {
 <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/capital> ?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/Jesus> <http://dbpedia.org/ontology/parent> ?x .
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.}
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 }
y
http://dbpedia.org/resource/Evian_Thonon_Gaillard_F.C.
http://dbpedia.org/resource/FC_Lorient
http://dbpedia.org/resource/FC_Metz
http://dbpedia.org/resource/FC_Nantes
http://dbpedia.org/resource/RC_Lens
http://dbpedia.org/resource/Stade_Malherbe_Caen
http://dbpedia.org/resource/Stade_Rennais_F.C.
http://dbpedia.org/resource/Stade_de_Reims
http://dbpedia.org/resource/Real_Madrid_C.F.
http://dbpedia.org/resource/En_Avant_de_Guingamp
http://dbpedia.org/resource/Montpellier_HSC
http://dbpedia.org/resource/OGC_Nice
http://dbpedia.org/resource/Toulouse_FC
http://dbpedia.org/resource/FC_Girondins_de_Bordeaux
http://dbpedia.org/resource/FC_Shakhtar_Donetsk
http://dbpedia.org/resource/Gazélec_Ajaccio
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/Olympique_Lyonnais
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/Panathinaikos_F.C.
http://dbpedia.org/resource/Athletic_Bilbao
http://dbpedia.org/resource/Crystal_Palace_F.C.
http://dbpedia.org/resource/FC_Sion
http://dbpedia.org/resource/Swansea_City_A.F.C.
http://dbpedia.org/resource/Aduana_Stars
http://dbpedia.org/resource/Ashanti_Gold_SC
http://dbpedia.org/resource/FC_Lorient
http://dbpedia.org/resource/Roda_JC_Kerkrade
http://dbpedia.org/resource/Columbus_Crew_SC
http://dbpedia.org/resource/Middlesbrough_F.C.
http://dbpedia.org/resource/Leicester_City_F.C.
http://dbpedia.org/resource/Chicago_Fire_Soccer_Club
http://dbpedia.org/resource/Club_Africain
http://dbpedia.org/resource/UD_Las_Palmas
http://dbpedia.org/resource/Shanghai_SIPG_F.C.
http://dbpedia.org/resource/TP_Mazembe
http://dbpedia.org/resource/Boavista_F.C.
http://dbpedia.org/resource/FC_Kairat
http://dbpedia.org/resource/Getafe_CF
http://dbpedia.org/resource/R.S.C._Anderlecht
http://dbpedia.org/resource/Al_Shabab_FC_(Riyadh)
http://dbpedia.org/resource/FC_Kuban_Krasnodar
http://dbpedia.org/resource/Evian_Thonon_Gaillard_F.C.
http://dbpedia.org/resource/F.C._Copenhagen
http://dbpedia.org/resource/U.S._Sassuolo_Calcio
http://dbpedia.org/resource/Chelsea_F.C.
http://dbpedia.org/resource/Juventus_F.C.
http://dbpedia.org/resource/Aston_Villa_F.C.
http://dbpedia.org/resource/Malmö_FF
http://dbpedia.org/resource/Mpumalanga_Black_Aces_F.C.
http://dbpedia.org/resource/Udinese_Calcio
http://dbpedia.org/resource/Sogndal_Fotball
http://dbpedia.org/resource/A.F.C._Bournemouth
http://dbpedia.org/resource/Çaykur_Rizespor
http://dbpedia.org/resource/CS_Don_Bosco
http://dbpedia.org/resource/Córdoba_CF
http://dbpedia.org/resource/Orlando_Pirates
http://dbpedia.org/resource/Torino_F.C.
http://dbpedia.org/resource/Chelsea_F.C.
http://dbpedia.org/resource/Sociedade_Esportiva_Kindermann
http://dbpedia.org/resource/Associação_Ferroviária_de_Esportes_(women)
http://dbpedia.org/resource/Boston_Breakers
http://dbpedia.org/resource/Incheon_Hyundai_Steel_Red_Angels
http://dbpedia.org/resource/São_José_Esporte_Clube_(women)
http://dbpedia.org/resource/Associação_Desportiva_Centro_Olímpico
http://dbpedia.org/resource/FC_Rosengård
http://dbpedia.org/resource/Houston_Dash
http://dbpedia.org/resource/São_Francisco_Futebol_Clube_(AC)
http://dbpedia.org/resource/Olympique_Lyonnais
http://dbpedia.org/resource/AFC_Ajax
http://dbpedia.org/resource/AS_Saint-Étienne
http://dbpedia.org/resource/FC_Girondins_de_Bordeaux
http://dbpedia.org/resource/Paris_Saint-Germain_F.C.
http://dbpedia.org/resource/Toulouse_FC
http://dbpedia.org/resource/FC_Girondins_de_Bordeaux
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/Paris_Saint-Germain_F.C.
http://dbpedia.org/resource/FC_Barcelona
http://dbpedia.org/resource/Paris_Saint-Germain_F.C.
http://dbpedia.org/resource/Paris_Saint-Germain_F.C.
http://dbpedia.org/resource/FC_Dynamo_Kyiv
http://dbpedia.org/resource/São_Paulo_FC
http://dbpedia.org/resource/Galatasaray_S.K._(football)
http://dbpedia.org/resource/Valencia_CF
http://dbpedia.org/resource/Olympiacos_F.C.
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/Olympique_Lyonnais
http://dbpedia.org/resource/SC_Bastia
http://dbpedia.org/resource/Lille_OSC
http://dbpedia.org/resource/S.L._Benfica
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/Galatasaray_S.K._(football)
http://dbpedia.org/resource/S.L._Benfica
http://dbpedia.org/resource/S.L._Benfica
http://dbpedia.org/resource/Borussia_Dortmund
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/VfL_Wolfsburg
http://dbpedia.org/resource/FC_Bayern_Munich
http://dbpedia.org/resource/Paris_Saint-Germain_F.C.
http://dbpedia.org/resource/FC_Bayern_Munich
http://dbpedia.org/resource/Lille_OSC
http://dbpedia.org/resource/S.L._Benfica
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/AS_Monaco_FC
http://dbpedia.org/resource/SC_Bastia
http://dbpedia.org/resource/Arsenal_F.C.
http://dbpedia.org/resource/Arsenal_F.C.
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/Juventus_F.C.
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/FC_Bayern_Munich
http://dbpedia.org/resource/Sporting_Clube_de_Portugal
http://dbpedia.org/resource/S.L._Benfica
http://dbpedia.org/resource/Lille_OSC
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/Olympique_de_Marseille
http://dbpedia.org/resource/Lille_OSC
http://dbpedia.org/resource/FC_Girondins_de_Bordeaux
http://dbpedia.org/resource/SC_Bastia
http://dbpedia.org/resource/AC_Ajaccio
http://dbpedia.org/resource/Lille_OSC
http://dbpedia.org/resource/SC_Bastia
http://dbpedia.org/resource/SC_Bastia_Reserves_and_Academy
http://dbpedia.org/resource/FC_Bayern_Munich
http://dbpedia.org/resource/FC_Porto
http://dbpedia.org/resource/Chelsea_F.C.
http://dbpedia.org/resource/FC_Barcelona
http://dbpedia.org/resource/PFC_CSKA_Moscow
http://dbpedia.org/resource/USM_Alger
http://dbpedia.org/resource/Malmö_FF
-> 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 . }