Simple Question (Direct)
Simple Question
Q980768
P937
Q56061
USER
Which administrative territory is the work location of Joan Alcover ?
(Q980768,P937,c(Q56061))
action filter_type
action find
entity Q980768
relation P937
type Q56061
['Q980768', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q980768 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Joan Alcover
action filter_type
action find
entity Joan Alcover
relation work location
type administrative territorial entity
['Joan Alcover', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Joan_Alcover property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q980768,P937,c(Q56061))
action filter_type
action find
entity Q980768
relation P937
type Q56061
[ANSWER] is the work location of Joan Alcover
['Q980768', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q980768 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Madrid
Madrid is the work location of Joan Alcover
Madrid
action filter_type
action find
entity Joan Alcover
relation work location
type administrative territorial entity
['Joan Alcover', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Joan_Alcover property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q980768
P20
Q271669
USER
Where did that person die ?
(Q2807,P20,c(Q271669))
action filter_type
action find
entity Q980768
relation P20
type Q271669
['Q2807', 'P20', {'concept': 'Q271669'}]
SELECT DISTINCT ?e WHERE { resource:Q980768 property:P20 ?e . ?e rdf:type ontology:Q271669 }
Joan Alcover
action filter_type
action find
entity Joan Alcover
relation place of death
type landform
['Madrid', 'place of death', {'concept': 'landform'}]
SELECT DISTINCT ?e WHERE { resource:Joan_Alcover property:place_of_death ?e . ?e rdf:type ontology:landform }
[]
landform
Q8828
SYSTEM
Majorca
Q8828
(Q2807,P20,c(Q271669))
action filter_type
action find
entity Q980768
relation P20
type Q271669
That person died in [ANSWER]
['Q2807', 'P20', {'concept': 'Q271669'}]
SELECT DISTINCT ?e WHERE { resource:Q980768 property:P20 ?e . ?e rdf:type ontology:Q271669 }
Majorca
That person died in Majorca
Majorca
action filter_type
action find
entity Joan Alcover
relation place of death
type landform
['Madrid', 'place of death', {'concept': 'landform'}]
SELECT DISTINCT ?e WHERE { resource:Joan_Alcover property:place_of_death ?e . ?e rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8828
P19
Q502895
USER
Which people have birthplace at that landform ?
(c(Q502895),P19,Q8828)
action filter_type
action find_reverse
entity Q8828
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q8828']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q8828 . ?d rdf:type ontology:Q502895 }
Majorca
action filter_type
action find_reverse
entity Majorca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Majorca']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Majorca . ?d rdf:type ontology:common_name }
[]
common name
Q17385257 Q10928303 Q234841
SYSTEM
Xavier Ginard Torres, Ruben Bover Izquierdo, Nuria Llagostera Vives
Q20006581 Q11944660 Q17300748 Q20006213 Q6003739 Q20002781 Q20000662 Q20003353 Q19997858 Q23906882 Q9011109 Q1809256 Q5697526 Q11927686 Q21707399 Q1290841 Q11705517 Q234841 Q16633300 Q5483980 Q20876970 Q2551187 Q26885480 Q20006202 Q18580711 Q20101703 Q20101662 Q5990194 Q5931042 Q20003346 Q17385257 Q11905935 Q9028765 Q1686582 Q22280614 Q3651379 Q16181467 Q18223270 Q16179329 Q11924899 Q11906597 Q3823964 Q10928303 Q16176889 Q16183442 Q24887821 Q10853426 Q16233451 Q4170233 Q21856364 Q4957091 Q11927355
(c(Q502895),P19,Q8828)
action filter_type
action find_reverse
entity Q8828
relation P19
type Q502895
[ANSWERS] have birthplace at that landform
[{'concept': 'Q502895'}, 'P19', 'Q8828']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q8828 . ?d rdf:type ontology:Q502895 }
Samuel Corcós Ramon Vivot Guillem de Torroella Pere Horrach María España Almendro Guillem Colom Francesc Colom Jaume d'Olesa i Sanglada Antoni Juan i Alemany Maria Escalas i Bernat Jaume Ferrer Ramon Despuig Antoni Caimari Caldés Joan Crespí Jaume Antoni Fiol i Manera Eduardo Bonnín Álex Hernández Nuria Llagostera Vives Mårten Nilsson Francisco Javier Sánchez Parra Joan Morey Anselm Turmeda Jaume Olives Pere de Pacs Joan Ventallol Ròmia Rovira Reina de Mallorca Maitane López Millán Hugh Hardy Jaume Cadell Xavier Ginard Torres Antoni Píris Margalida Font Aguiló Jehuda Cresques Biel Ballester Guillem Soler Ramon Burgues-Safortesa Pacs-Fuster de Vilallonga i Nét Francisco Reynés Jaume Bonet i Moll Guillem Morei Arnau Descós Juan de Salas Ruben Bover Izquierdo Jaume Joan de Berga i de Sales Josep Antoni Calvo Femenies Vincent Dean Alberto Fortes Max Olivier Al-Humaydī Joaquín Togores y Fábregues Brandon Thomas Llamas Jaume Roig i Arbona
Xavier Ginard Torres, Ruben Bover Izquierdo and Nuria Llagostera Vives have birthplace at that landform
Xavier Ginard Torres Ruben Bover Izquierdo Nuria Llagostera Vives
action filter_type
action find_reverse
entity Majorca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Majorca']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Majorca . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17385257
P641
Q349
USER
What did that person participate in ?
(Q17385257,P641,c(Q349))
action filter_type
action find
entity Q17385257
relation P641
type Q349
['Q17385257', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q17385257 property:P641 ?f }
Xavier Ginard Torres
action filter_type
action find
entity Xavier Ginard Torres
relation sport
type sport
['Xavier Ginard Torres', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Xavier_Ginard_Torres property:sport ?f }
[]
sport
Clarification for simple ques.
Q10928303
SYSTEM
Did you mean Ruben Bover Izquierdo ?
Q17385257 Q10928303 Q234841
(Q17385257,P641,c(Q349)) (Q10928303,P641,c(Q349)) (Q234841,P641,c(Q349))
[ANSWER]
['Q17385257', 'P641', {'concept': 'Q349'}] ['Q10928303', 'P641', {'concept': 'Q349'}] ['Q234841', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q17385257 property:P641 ?f }
Xavier Ginard Torres Ruben Bover Izquierdo Nuria Llagostera Vives
Did you mean Ruben Bover Izquierdo ?
Ruben Bover Izquierdo
['Xavier Ginard Torres', 'sport', {'concept': 'sport'}] ['Ruben Bover Izquierdo', 'sport', {'concept': 'sport'}] ['Nuria Llagostera Vives', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Xavier_Ginard_Torres property:sport ?f }
[]
Simple Question (Coreferenced)
USER
No, I meant Xavier Ginard Torres. Could you tell me the answer for that?
(Q17385257,P641,c(Q349))
Q17385257
['Q17385257', 'P641', {'concept': 'Q349'}]
['Xavier Ginard Torres', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q17385257,P641,c(Q349))
action filter_type
action find
entity Q17385257
relation P641
type Q349
That person participated in [ANSWER]
['Q17385257', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q17385257 property:P641 ?f }
association football
That person participated in association football
association football
action filter_type
action find
entity Xavier Ginard Torres
relation sport
type sport
['Xavier Ginard Torres', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Xavier_Ginard_Torres property:sport ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2807 Q161885
P237
Q17335294
USER
How many coats of arms are the coat of arms for Madrid or Kingdom of Great Britain ?
(Q2807,P237,c(Q17335294)) (Q161885,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q2807
relation P237
type Q17335294
action filter_type
action find
entity Q161885
relation P237
type Q17335294
['Q2807', 'P237', {'concept': 'Q17335294'}] ['Q161885', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { ?o rdf:type ontology:Q17335294 . resource:Q161885 property:P237 ?o } UNION { resource:Q2807 property:P237 ?o . ?o rdf:type ontology:Q17335294 } }
Madrid Kingdom of Great Britain
action count
action union
action filter_type
action find
entity Madrid
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Kingdom of Great Britain
relation coat of arms
type flag or coat of arms
['Madrid', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Kingdom of Great Britain', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { ?o rdf:type ontology:flag_or_coat_of_arms . resource:Kingdom_of_Great_Britain property:coat_of_arms ?o } UNION { resource:Madrid property:coat_of_arms ?o . ?o rdf:type ontology:flag_or_coat_of_arms } }
[]
flag or coat of arms
SYSTEM
2
Q3775707 Q7375053
(Q2807,P237,c(Q17335294)) (Q161885,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q2807
relation P237
type Q17335294
action filter_type
action find
entity Q161885
relation P237
type Q17335294
[ANSWER]
['Q2807', 'P237', {'concept': 'Q17335294'}] ['Q161885', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { ?o rdf:type ontology:Q17335294 . resource:Q161885 property:P237 ?o } UNION { resource:Q2807 property:P237 ?o . ?o rdf:type ontology:Q17335294 } }
Coat of arms of Madrid Royal coat of arms of Great Britain
2
action count
action union
action filter_type
action find
entity Madrid
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Kingdom of Great Britain
relation coat of arms
type flag or coat of arms
['Madrid', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Kingdom of Great Britain', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { ?o rdf:type ontology:flag_or_coat_of_arms . resource:Kingdom_of_Great_Britain property:coat_of_arms ?o } UNION { resource:Madrid property:coat_of_arms ?o . ?o rdf:type ontology:flag_or_coat_of_arms } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17385257
P1412
Q34770
USER
Which language can Xavier Ginard Torres read ?
(Q17385257,P1412,c(Q34770))
action filter_type
action find
entity Q17385257
relation P1412
type Q34770
['Q17385257', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q17385257 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Xavier Ginard Torres
action filter_type
action find
entity Xavier Ginard Torres
relation languages spoken, written or signed
type language
['Xavier Ginard Torres', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Xavier_Ginard_Torres property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q17385257,P1412,c(Q34770))
action filter_type
action find
entity Q17385257
relation P1412
type Q34770
Xavier Ginard Torres can read in [ANSWER]
['Q17385257', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q17385257 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Xavier Ginard Torres can read in Spanish
Spanish
action filter_type
action find
entity Xavier Ginard Torres
relation languages spoken, written or signed
type language
['Xavier Ginard Torres', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Xavier_Ginard_Torres property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17385257
P21
Q290
USER
Which sex does that person possess ?
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q17385257
relation P21
type Q290
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q17385257 property:P21 ?h . ?h rdf:type ontology:Q290 }
Xavier Ginard Torres
action filter_type
action find
entity Xavier Ginard Torres
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Xavier_Ginard_Torres property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q17385257
relation P21
type Q290
That person possesses a [ANSWER]
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q17385257 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Xavier Ginard Torres
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Xavier_Ginard_Torres property:gender ?h . ?h rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q401714
P21
Q502895
USER
Does Dickson Chumba have the gender as that sex ?
(Q401714,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q401714
relation P21
['Q401714', 'P21', 'Q6581097']
ASK WHERE { resource:Q401714 property:P21 resource:Q6581097 }
male Dickson Chumba
action is_in
entity male
action find
entity Dickson Chumba
relation gender
['Dickson Chumba', 'gender', 'male']
ASK WHERE { resource:Dickson_Chumba property:gender resource:male }
[]
common name
SYSTEM
YES
(Q401714,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q401714
relation P21
[ANSWER]
['Q401714', 'P21', 'Q6581097']
ASK WHERE { resource:Q401714 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Dickson Chumba
relation gender
['Dickson Chumba', 'gender', 'male']
ASK WHERE { resource:Dickson_Chumba property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2807 Q1486
P190
Q515
USER
Is Buenos Aires sister town of Madrid ?
(Q2807,P190,Q1486)
action is_in
entity Q1486
action find
entity Q2807
relation P190
['Q2807', 'P190', 'Q1486']
ASK WHERE { resource:Q2807 property:P190 resource:Q1486 }
Madrid Buenos Aires
action is_in
entity Buenos Aires
action find
entity Madrid
relation sister city
['Madrid', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Madrid property:sister_city resource:Buenos_Aires }
[]
city
SYSTEM
YES
(Q2807,P190,Q1486)
action is_in
entity Q1486
action find
entity Q2807
relation P190
[ANSWER]
['Q2807', 'P190', 'Q1486']
ASK WHERE { resource:Q2807 property:P190 resource:Q1486 }
Yes
action is_in
entity Buenos Aires
action find
entity Madrid
relation sister city
['Madrid', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Madrid property:sister_city resource:Buenos_Aires }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q234841 Q8826
P19
Q56061
USER
Was Nuria Llagostera Vives born at Palma ?
(Q234841,P19,Q8826)
action is_in
entity Q8826
action find
entity Q234841
relation P19
['Q234841', 'P19', 'Q8826']
ASK WHERE { resource:Q234841 property:P19 resource:Q8826 }
Nuria Llagostera Vives Palma
action is_in
entity Palma
action find
entity Nuria Llagostera Vives
relation place of birth
['Nuria Llagostera Vives', 'place of birth', 'Palma']
ASK WHERE { resource:Nuria_Llagostera_Vives property:place_of_birth resource:Palma }
[]
administrative territorial entity
SYSTEM
YES
(Q234841,P19,Q8826)
action is_in
entity Q8826
action find
entity Q234841
relation P19
[ANSWER]
['Q234841', 'P19', 'Q8826']
ASK WHERE { resource:Q234841 property:P19 resource:Q8826 }
Yes
action is_in
entity Palma
action find
entity Nuria Llagostera Vives
relation place of birth
['Nuria Llagostera Vives', 'place of birth', 'Palma']
ASK WHERE { resource:Nuria_Llagostera_Vives property:place_of_birth resource:Palma }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q257634
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for greater number of languages than Ge'ez script ?
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P282 ?b . ?b rdf:type ontology:Q8192 . ?f rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q257634 property:P282 ?r . ?r rdf:type ontology:Q8192 } } }
Ge'ez script
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:writing_system ?b . ?b rdf:type ontology:writing_system . ?f rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Ge'ez_script property:writing_system ?r . ?r rdf:type ontology:writing_system } } }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[ANSWERS] are used as the alphabet set for greater number of languages than Ge'ez script
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P282 ?b . ?b rdf:type ontology:Q8192 . ?f rdf:type ontology:Q34770 } GROUP BY ?b } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q257634 property:P282 ?r . ?r rdf:type ontology:Q8192 } } }
katakana Linear A hiragana
Katakana, Linear A and hiragana are used as the alphabet set for greater number of languages than Ge'ez script
katakana Linear A hiragana
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:writing_system ?b . ?b rdf:type ontology:writing_system . ?f rdf:type ontology:language } GROUP BY ?b } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Ge'ez_script property:writing_system ?r . ?r rdf:type ontology:writing_system } } }
[]