Simple Question (Direct)
Simple Question
Q16230177
P21
Q290
USER
What is the sex of Ambrosiy Chachua ?
(Q16230177,P21,c(Q290))
action filter_type
action find
entity Q16230177
relation P21
type Q290
['Q16230177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16230177 property:P21 ?l . ?l rdf:type ontology:Q290 }
Ambrosiy Chachua
action filter_type
action find
entity Ambrosiy Chachua
relation gender
type sex
['Ambrosiy Chachua', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Ambrosiy_Chachua property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16230177,P21,c(Q290))
action filter_type
action find
entity Q16230177
relation P21
type Q290
The sex of Ambrosiy Chachua is the [ANSWER]
['Q16230177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16230177 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of Ambrosiy Chachua is the male
male
action filter_type
action find
entity Ambrosiy Chachua
relation gender
type sex
['Ambrosiy Chachua', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Ambrosiy_Chachua property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16230177
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q16230177
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16230177 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Ambrosiy Chachua
action filter_type
action find
entity Ambrosiy Chachua
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ambrosiy_Chachua property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q16230177
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16230177 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Ukraine
The Ukraine is that person an inhabitant of
Ukraine
action filter_type
action find
entity Ambrosiy Chachua
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ambrosiy_Chachua property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16230177
P641
Q349
USER
Which sport was Ambrosiy Chachua a part of ?
(Q16230177,P641,c(Q349))
action filter_type
action find
entity Q16230177
relation P641
type Q349
['Q16230177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q16230177 property:P641 ?k }
Ambrosiy Chachua
action filter_type
action find
entity Ambrosiy Chachua
relation sport
type sport
['Ambrosiy Chachua', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Ambrosiy_Chachua property:sport ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16230177,P641,c(Q349))
action filter_type
action find
entity Q16230177
relation P641
type Q349
The [ANSWER] was Ambrosiy Chachua a part of
['Q16230177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q16230177 property:P641 ?k }
association football
The association football was Ambrosiy Chachua a part of
association football
action filter_type
action find
entity Ambrosiy Chachua
relation sport
type sport
['Ambrosiy Chachua', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Ambrosiy_Chachua property:sport ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2743108
Q349
USER
And how about 1999–2000 Primera B Nacional?
(Q2743108,P641,c(Q349))
action filter_type
action find
entity Q2743108
relation P641
type Q349
['Q2743108', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q2743108 property:P641 ?u . ?u rdf:type ontology:Q349 }
1999–2000 Primera B Nacional
action filter_type
action find
entity 1999–2000 Primera B Nacional
relation sport
type sport
['1999–2000 Primera B Nacional', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:1999–2000_Primera_B_Nacional property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2743108,P641,c(Q349))
action filter_type
action find
entity Q2743108
relation P641
type Q349
[ANSWER]
['Q2743108', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q2743108 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity 1999–2000 Primera B Nacional
relation sport
type sport
['1999–2000 Primera B Nacional', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:1999–2000_Primera_B_Nacional property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P20
Q502895
USER
Which people have Ukraine as the area of death ?
(c(Q502895),P20,Q212)
action filter_type
action find_reverse
entity Q212
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q212']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q212 . ?k rdf:type ontology:Q502895 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ukraine']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Ukraine . ?k rdf:type ontology:common_name }
[]
common name
Q2032892 Q274763 Q734839
SYSTEM
Mykola Volosyanko, Selma Meerbaum-Eisinger, Grigory Kotovsky
Q7513326 Q263598 Q4060827 Q18812052 Q17090 Q5396155 Q12160003 Q9381916 Q5650655 Q734839 Q1447109 Q5395174 Q1391447 Q18977522 Q4097689 Q1368471 Q1359983 Q2032892 Q1764937 Q274763
(c(Q502895),P20,Q212)
action filter_type
action find_reverse
entity Q212
relation P20
type Q502895
[ANSWERS] have Ukraine as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q212']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q212 . ?k rdf:type ontology:Q502895 }
Sigurt-Horstmar Freiherr von Beaulieu-Marconnay Georgiy Gongadze Mikayil Alakbarov Giorgio Jannicelli Paavo Vierto Erwin Koopmann Vasyl A. Tarasenko Władysław Józef Serwatowski Hans Reimling Grigory Kotovsky Franz Haslberger Ernst Voß Jacob Joseph of Polonne Zoltán Hosszú Alexey Bubyr Alfred Gudelius Ernst Rupprecht Mykola Volosyanko Walter Alfred Rosam Selma Meerbaum-Eisinger
Mykola Volosyanko, Selma Meerbaum-Eisinger and Grigory Kotovsky have Ukraine as the area of death
Mykola Volosyanko Selma Meerbaum-Eisinger Grigory Kotovsky
action filter_type
action find_reverse
entity Ukraine
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ukraine']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Ukraine . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2032892 Q274763 Q734839
P106
Q12737077
USER
Which occupations have Mykola Volosyanko, Selma Meerbaum-Eisinger and Grigory Kotovsky as his/her 's career ?
(Q2032892,P106,c(Q12737077)) (Q274763,P106,c(Q12737077)) (Q734839,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2032892
relation P106
type Q12737077
action filter_type
action find
entity Q274763
relation P106
type Q12737077
action filter_type
action find
entity Q734839
relation P106
type Q12737077
['Q2032892', 'P106', {'concept': 'Q12737077'}] ['Q274763', 'P106', {'concept': 'Q12737077'}] ['Q734839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?h ) { ( resource:Q2032892 ) ( resource:Q274763 ) } . ?h property:P106 ?p }
Mykola Volosyanko Selma Meerbaum-Eisinger Grigory Kotovsky
action union
action filter_type
action find
entity Mykola Volosyanko
relation occupation
type occupation
action filter_type
action find
entity Selma Meerbaum-Eisinger
relation occupation
type occupation
action filter_type
action find
entity Grigory Kotovsky
relation occupation
type occupation
['Mykola Volosyanko', 'occupation', {'concept': 'occupation'}] ['Selma Meerbaum-Eisinger', 'occupation', {'concept': 'occupation'}] ['Grigory Kotovsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?h ) { ( resource:Mykola_Volosyanko ) ( resource:Selma_Meerbaum-Eisinger ) } . ?h property:occupation ?p }
[]
occupation
Q937857 Q822146 Q36180
SYSTEM
association football player, lyricist, writer
Q937857 Q36180 Q333634 Q822146 Q49757 Q1328323
(Q2032892,P106,c(Q12737077)) (Q274763,P106,c(Q12737077)) (Q734839,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2032892
relation P106
type Q12737077
action filter_type
action find
entity Q274763
relation P106
type Q12737077
action filter_type
action find
entity Q734839
relation P106
type Q12737077
As [ANSWERS] have Mykola Volosyanko, Selma Meerbaum-Eisinger and Grigory Kotovsky as his/her 's career
['Q2032892', 'P106', {'concept': 'Q12737077'}] ['Q274763', 'P106', {'concept': 'Q12737077'}] ['Q734839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?h ) { ( resource:Q2032892 ) ( resource:Q274763 ) } . ?h property:P106 ?p }
association football player writer translator lyricist poet functionary
As association football player, lyricist and writer have Mykola Volosyanko, Selma Meerbaum-Eisinger and Grigory Kotovsky as his/her 's career
association football player lyricist writer
action union
action filter_type
action find
entity Mykola Volosyanko
relation occupation
type occupation
action filter_type
action find
entity Selma Meerbaum-Eisinger
relation occupation
type occupation
action filter_type
action find
entity Grigory Kotovsky
relation occupation
type occupation
['Mykola Volosyanko', 'occupation', {'concept': 'occupation'}] ['Selma Meerbaum-Eisinger', 'occupation', {'concept': 'occupation'}] ['Grigory Kotovsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?h ) { ( resource:Mykola_Volosyanko ) ( resource:Selma_Meerbaum-Eisinger ) } . ?h property:occupation ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q734839
P102
Q7278
USER
Which political party is Grigory Kotovsky a member of ?
(Q734839,P102,c(Q7278))
action filter_type
action find
entity Q734839
relation P102
type Q7278
['Q734839', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q734839 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Grigory Kotovsky
action filter_type
action find
entity Grigory Kotovsky
relation member of political party
type political party
['Grigory Kotovsky', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Grigory_Kotovsky property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q734839,P102,c(Q7278))
action filter_type
action find
entity Q734839
relation P102
type Q7278
Party [ANSWER] is Grigory Kotovsky a member of
['Q734839', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q734839 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Party Communist Party of the Soviet Union is Grigory Kotovsky a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Grigory Kotovsky
relation member of political party
type political party
['Grigory Kotovsky', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Grigory_Kotovsky property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q79854 Q1394
P488
Q502895
USER
Did Vladimir Lenin serve as the chairperson of that political party ?
(Q79854,P488,Q1394)
action is_in
entity Q1394
action find
entity Q79854
relation P488
['Q79854', 'P488', 'Q1394']
ASK WHERE { resource:Q79854 property:P488 resource:Q1394 }
Communist Party of the Soviet Union Vladimir Lenin
action is_in
entity Vladimir Lenin
action find
entity Communist Party of the Soviet Union
relation chairperson
['Communist Party of the Soviet Union', 'chairperson', 'Vladimir Lenin']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:chairperson resource:Vladimir_Lenin }
[]
common name
SYSTEM
YES
(Q79854,P488,Q1394)
action is_in
entity Q1394
action find
entity Q79854
relation P488
[ANSWER]
['Q79854', 'P488', 'Q1394']
ASK WHERE { resource:Q79854 property:P488 resource:Q1394 }
Yes
action is_in
entity Vladimir Lenin
action find
entity Communist Party of the Soviet Union
relation chairperson
['Communist Party of the Soviet Union', 'chairperson', 'Vladimir Lenin']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:chairperson resource:Vladimir_Lenin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q838948 Q2160811
USER
How many people commissioned exactly 1 works of art or artistic themes ?
(c(Q838948)|c(Q2160811),P88,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?h WHERE { { ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 . ?x property:P88 ?h } UNION { ?x property:P88 ?h . ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2160811 } } GROUP BY ?h } . FILTER ( ?q = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type work of art
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
value 1
[[{'concept': 'work of art'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?h WHERE { { ?h rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art . ?x property:commissioned_by ?h } UNION { ?x property:commissioned_by ?h . ?h rdf:type ontology:common_name . ?x rdf:type ontology:artistic_theme } } GROUP BY ?h } . FILTER ( ?q = 1 ) }
[]
common name work of art artistic theme
SYSTEM
38
Q21583236 Q1679943 Q18546605 Q1869372 Q1790464 Q7750 Q1391982 Q2960520 Q170398 Q63502 Q506415 Q205779 Q20875 Q21583204 Q2113530 Q3768246 Q115738 Q16004457 Q183226 Q298877 Q1088180 Q177854 Q201143 Q7738 Q29179 Q16846394 Q2542756 Q3524371 Q334108 Q8019995 Q188971 Q77233 Q708011 Q26702 Q132692 Q1289992 Q4889906 Q1405
(c(Q838948)|c(Q2160811),P88,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?h WHERE { { ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 . ?x property:P88 ?h } UNION { ?x property:P88 ?h . ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2160811 } } GROUP BY ?h } . FILTER ( ?q = 1 ) }
Metello Vari James Pourtales-Gorgier John Johnson Alfred Mosselman Krzysztof Wojciechowski Louis XVIII of France Robbie Ross Charles de Beauvau, Prince of Beauvau William I of Württemberg Charles II, Duke of Brunswick Francesco I d'Este, Duke of Modena Camillo Borghese, 6th Prince of Sulmona Edward VII Pietro Paolo Castellani William Bingham Giovanni Tornabuoni Suzanne Curchod Jonathan Tyers Charles IV of Spain Giuliano de' Medici Niccolò Ridolfi Lorenzo de' Medici Anne of Brittany Louis XV of France Francisco Franco Idia Odoardo Farnese Thierry Le Jeune John Ward, 1st Earl of Dudley William Ward, 1st Earl of Dudley Jean-Baptiste Colbert Frederick III, Elector of Saxony Jean-Antoine Chaptal Cardinal Richelieu Gregory XV Chavundaraya Benno C. Schmidt, Jr. Augustus
38
action count
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type work of art
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
value 1
[[{'concept': 'work of art'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?h WHERE { { ?h rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art . ?x property:commissioned_by ?h } UNION { ?x property:commissioned_by ?h . ?h rdf:type ontology:common_name . ?x rdf:type ontology:artistic_theme } } GROUP BY ?h } . FILTER ( ?q = 1 ) }
[]