Simple Question (Direct)
Simple Question
Q1896608
P641
Q31629
USER
Which type of sport was Mariam Kevkhishvili a part of ?
(Q1896608,P641,c(Q31629))
action filter_type
action find
entity Q1896608
relation P641
type Q31629
['Q1896608', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q1896608 property:P641 ?k . ?k rdf:type ontology:Q31629 }
Mariam Kevkhishvili
action filter_type
action find
entity Mariam Kevkhishvili
relation sport
type type of sport
['Mariam Kevkhishvili', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Mariam_Kevkhishvili property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q1896608,P641,c(Q31629))
action filter_type
action find
entity Q1896608
relation P641
type Q31629
The [ANSWER] was Mariam Kevkhishvili a part of
['Q1896608', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q1896608 property:P641 ?k . ?k rdf:type ontology:Q31629 }
athletics
The athletics was Mariam Kevkhishvili a part of
athletics
action filter_type
action find
entity Mariam Kevkhishvili
relation sport
type type of sport
['Mariam Kevkhishvili', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Mariam_Kevkhishvili property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q542 Q5499296
P641
Q502895
USER
Does Frederik Krabbe play that type of sport ?
(Q5499296,P641,Q542)
action is_in
entity Q5499296
action find
entity Q542
relation P641
['Q5499296', 'P641', 'Q542']
ASK WHERE { resource:Q542 property:P641 resource:Q5499296 }
athletics Frederik Krabbe
action is_in
entity Frederik Krabbe
action find
entity athletics
relation sport
['Frederik Krabbe', 'sport', 'athletics']
ASK WHERE { resource:athletics property:sport resource:Frederik_Krabbe }
[]
common name
SYSTEM
NO
(Q5499296,P641,Q542)
action is_in
entity Q5499296
action find
entity Q542
relation P641
[ANSWER]
['Q5499296', 'P641', 'Q542']
ASK WHERE { resource:Q542 property:P641 resource:Q5499296 }
No
action is_in
entity Frederik Krabbe
action find
entity athletics
relation sport
['Frederik Krabbe', 'sport', 'athletics']
ASK WHERE { resource:athletics property:sport resource:Frederik_Krabbe }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q272460
P641
Q31629 Q13406554 Q502895
USER
Which types of sport did more number of sport competitions or people participate in than Pilates ?
(c(Q13406554)|c(Q502895),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q272460
relation P641
type Q13406554
type Q502895
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q502895 } } . ?p property:P641 resource:Q272460 } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } GROUP BY ?e } }
Pilates
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity Pilates
relation sport
type sport competition
type common name
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:common_name } } . ?p property:sport resource:Pilates } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:common_name ) } } GROUP BY ?e } }
[]
type of sport sport competition common name
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q170004 Q1154336 Q243264 Q472827 Q10980 Q164731 Q11706688 Q14085739 Q631004 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q917562 Q164761 Q542 Q1798044 Q718 Q179687 Q1707432 Q352749 Q1075998 Q1141850 Q159354 Q1629556 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q2261949 Q11020 Q163892 Q1156722 Q273285 Q50620 Q31987 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q5300110
(c(Q13406554)|c(Q502895),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q272460
relation P641
type Q13406554
type Q502895
[ANSWERS] more number of sport competitions or people participated in than Pilates
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q502895 } } . ?p property:P641 resource:Q272460 } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } GROUP BY ?e } }
800 metres 110 metres hurdles rock climbing heptathlon waterskiing triathlon 100 metres hurdles sprinting sailing open water swimming draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting carom billiards 100 metres athletics Olympic skeet chess cross-country skiing roller skating sprint ski mountaineering canoe racing rowing 1000 metres road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing para cycling pool 10,000 metres Sport aerobics luge Telemark skiing freestyle swimming equestrianism wheelchair basketball diving snooker ski-orienteering college basketball double trap
Nordic skiing, high jump and marathon more number of sport competitions or people participated in than Pilates
Nordic skiing high jump marathon
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity Pilates
relation sport
type sport competition
type common name
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:common_name } } . ?p property:sport resource:Pilates } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:common_name ) } } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q179687
P641
Q31629 Q13406554 Q502895
USER
And what about cross-country skiing?
(c(Q13406554)|c(Q502895),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q179687
relation P641
type Q13406554
type Q502895
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:P641 ?h . ?h rdf:type ontology:Q31629 . ?x rdf:type ontology:Q13406554 } UNION { ?x property:P641 ?h . ?h rdf:type ontology:Q31629 . ?x rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P641 resource:Q179687 . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } } } }
cross-country skiing
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity cross-country skiing
relation sport
type sport competition
type common name
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:sport ?h . ?h rdf:type ontology:type_of_sport . ?x rdf:type ontology:sport_competition } UNION { ?x property:sport ?h . ?h rdf:type ontology:type_of_sport . ?x rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:sport resource:cross-country_skiing . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:sport_competition ) ( ontology:common_name ) } } } } }
[]
type of sport sport competition common name
Q326827 Q3609 Q542
SYSTEM
artistic gymnastics, road bicycle racing, athletics
Q326827 Q542 Q718 Q3609 Q186222
(c(Q13406554)|c(Q502895),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q179687
relation P641
type Q13406554
type Q502895
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:P641 ?h . ?h rdf:type ontology:Q31629 . ?x rdf:type ontology:Q13406554 } UNION { ?x property:P641 ?h . ?h rdf:type ontology:Q31629 . ?x rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P641 resource:Q179687 . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } } } }
artistic gymnastics athletics chess road bicycle racing alpine skiing
artistic gymnastics road bicycle racing athletics
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity cross-country skiing
relation sport
type sport competition
type common name
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:sport ?h . ?h rdf:type ontology:type_of_sport . ?x rdf:type ontology:sport_competition } UNION { ?x property:sport ?h . ?h rdf:type ontology:type_of_sport . ?x rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:sport resource:cross-country_skiing . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:sport_competition ) ( ontology:common_name ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1896608
P19
Q56061
USER
Which administrative territory is the birthplace of Mariam Kevkhishvili ?
(Q1896608,P19,c(Q56061))
action filter_type
action find
entity Q1896608
relation P19
type Q56061
['Q1896608', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1896608 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Mariam Kevkhishvili
action filter_type
action find
entity Mariam Kevkhishvili
relation place of birth
type administrative territorial entity
['Mariam Kevkhishvili', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mariam_Kevkhishvili property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
(Q1896608,P19,c(Q56061))
action filter_type
action find
entity Q1896608
relation P19
type Q56061
[ANSWER] is the birthplace of Mariam Kevkhishvili
['Q1896608', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1896608 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Tbilisi
Tbilisi is the birthplace of Mariam Kevkhishvili
Tbilisi
action filter_type
action find
entity Mariam Kevkhishvili
relation place of birth
type administrative territorial entity
['Mariam Kevkhishvili', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mariam_Kevkhishvili property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q994
P6
Q502895
USER
Which person is the head of government of that administrative territory ?
(Q994,P6,c(Q502895))
action filter_type
action find
entity Q994
relation P6
type Q502895
['Q994', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q994 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Tbilisi
action filter_type
action find
entity Tbilisi
relation head of government
type common name
['Tbilisi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Tbilisi property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q17481730
SYSTEM
Davit Narmania
Q17481730
(Q994,P6,c(Q502895))
action filter_type
action find
entity Q994
relation P6
type Q502895
[ANSWER] is the head of government of that administrative territory
['Q994', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q994 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Davit Narmania
Davit Narmania is the head of government of that administrative territory
Davit Narmania
action filter_type
action find
entity Tbilisi
relation head of government
type common name
['Tbilisi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Tbilisi property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1919237
Q502895
USER
And also tell me about L'Alqueria de la Comtessa?
(Q1919237,P6,c(Q502895))
action filter_type
action find
entity Q1919237
relation P6
type Q502895
['Q1919237', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1919237 property:P6 ?x . ?x rdf:type ontology:Q502895 }
L'Alqueria de la Comtessa
action filter_type
action find
entity L'Alqueria de la Comtessa
relation head of government
type common name
["L'Alqueria de la Comtessa", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:L'Alqueria_de_la_Comtessa property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
Q14134806
SYSTEM
Salvador Femenia Peiró
Q14134806
(Q1919237,P6,c(Q502895))
action filter_type
action find
entity Q1919237
relation P6
type Q502895
[ANSWER]
['Q1919237', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1919237 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Salvador Femenia Peiró
Salvador Femenia Peiró
action filter_type
action find
entity L'Alqueria de la Comtessa
relation head of government
type common name
["L'Alqueria de la Comtessa", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:L'Alqueria_de_la_Comtessa property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P159
Q7210356
USER
Which political organizations have headquarters located at Tbilisi ?
(c(Q7210356),P159,Q994)
action filter_type
action find_reverse
entity Q994
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q994']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q994 . ?c rdf:type ontology:Q7210356 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Tbilisi . ?c rdf:type ontology:political_organization }
[]
political organization
Q46516 Q1057495 Q1429418
SYSTEM
Georgian Dream, United National Movement, Republican Party of Georgia
Q1057495 Q1429418 Q2331103 Q1327025 Q680769 Q183331 Q3646446 Q3103162 Q639395 Q46516
(c(Q7210356),P159,Q994)
action filter_type
action find_reverse
entity Q994
relation P159
type Q7210356
[ANSWERS] have headquarters located at Tbilisi
[{'concept': 'Q7210356'}, 'P159', 'Q994']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q994 . ?c rdf:type ontology:Q7210356 }
United National Movement Republican Party of Georgia National Democratic Party United Communist Party of Georgia Georgia's Way Our Georgia – Free Democrats Conservative Party of Georgia New Rights Union of Citizens of Georgia Georgian Dream
Georgian Dream, United National Movement and Republican Party of Georgia have headquarters located at Tbilisi
Georgian Dream United National Movement Republican Party of Georgia
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Tbilisi . ?c rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46516
P112
Q502895
USER
What is the name of the founder of that political organization ?
(Q46516,P112,c(Q502895))
action filter_type
action find
entity Q46516
relation P112
type Q502895
['Q46516', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q46516 property:P112 ?t . ?t rdf:type ontology:Q502895 }
Georgian Dream
action filter_type
action find
entity Georgian Dream
relation founder
type common name
['Georgian Dream', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Georgian_Dream property:founder ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1057495
SYSTEM
Did you mean United National Movement ?
Q46516 Q1057495 Q1429418
(Q46516,P112,c(Q502895)) (Q1057495,P112,c(Q502895)) (Q1429418,P112,c(Q502895))
[ANSWER]
['Q46516', 'P112', {'concept': 'Q502895'}] ['Q1057495', 'P112', {'concept': 'Q502895'}] ['Q1429418', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q46516 property:P112 ?t . ?t rdf:type ontology:Q502895 }
Georgian Dream United National Movement Republican Party of Georgia
Did you mean United National Movement ?
United National Movement
['Georgian Dream', 'founder', {'concept': 'common name'}] ['United National Movement', 'founder', {'concept': 'common name'}] ['Republican Party of Georgia', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Georgian_Dream property:founder ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Georgian Dream. Could you tell me the answer for that?
(Q46516,P112,c(Q502895))
Q46516
['Q46516', 'P112', {'concept': 'Q502895'}]
['Georgian Dream', 'founder', {'concept': 'common name'}]
[]
Q57794
SYSTEM
Bidzina Ivanishvili
Q57794
(Q46516,P112,c(Q502895))
action filter_type
action find
entity Q46516
relation P112
type Q502895
The name of the founder of that political organization is [ANSWER]
['Q46516', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q46516 property:P112 ?t . ?t rdf:type ontology:Q502895 }
Bidzina Ivanishvili
The name of the founder of that political organization is Bidzina Ivanishvili
Bidzina Ivanishvili
action filter_type
action find
entity Georgian Dream
relation founder
type common name
['Georgian Dream', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Georgian_Dream property:founder ?t . ?t rdf:type ontology:common_name }
[]