Simple Question (Direct)
Simple Question
Q628020
P1196
Q1931388
USER
What situation did Ángel Cristo die in ?
(Q628020,P1196,c(Q1931388))
action filter_type
action find
entity Q628020
relation P1196
type Q1931388
['Q628020', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q628020 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
Ángel Cristo
action filter_type
action find
entity Ángel Cristo
relation manner of death
type cause of death
['Ángel Cristo', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Ángel_Cristo property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q628020,P1196,c(Q1931388))
action filter_type
action find
entity Q628020
relation P1196
type Q1931388
Ángel Cristo died of [ANSWER]
['Q628020', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q628020 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
Ángel Cristo died of natural causes
natural causes
action filter_type
action find
entity Ángel Cristo
relation manner of death
type cause of death
['Ángel Cristo', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Ángel_Cristo property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17314881
P608
Q667276 Q2668072 Q502895
USER
How many people were exhibited at more number of art exhibitions or collections than René Izaure ?
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q17314881
relation P608
type Q667276
type Q2668072
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } . ?r rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q17314881 property:P608 ?f . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } } } } . FILTER ( ?m > ?x ) }
René Izaure
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity René Izaure
relation exhibition history
type art exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?l WHERE { VALUES ( ?y ) { ( ontology:art_exhibition ) ( ontology:collection ) } . ?r rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:René_Izaure property:exhibition_history ?f . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:art_exhibition ) ( ontology:collection ) } } } } . FILTER ( ?m > ?x ) }
[]
art exhibition collection common name
SYSTEM
7
Q2824894 Q1964408 Q3289592 Q9015308 Q805807 Q16080418 Q15527965
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q17314881
relation P608
type Q667276
type Q2668072
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } . ?r rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q17314881 property:P608 ?f . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } } } } . FILTER ( ?m > ?x ) }
Adolphe Péterelle Nan Hoover Moniek Toebosch Juan Carlos Alom Balto Alyce Frank Margaretha Roosenboom
7
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity René Izaure
relation exhibition history
type art exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?l WHERE { VALUES ( ?y ) { ( ontology:art_exhibition ) ( ontology:collection ) } . ?r rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:René_Izaure property:exhibition_history ?f . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:art_exhibition ) ( ontology:collection ) } } } } . FILTER ( ?m > ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16004451
P608
Q667276 Q2668072 Q502895
USER
And also tell me about Jennifer Bolande?
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q16004451
relation P608
type Q667276
type Q2668072
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q16004451 property:P608 ?i . { { ?i rdf:type ontology:Q667276 } UNION { ?i rdf:type ontology:Q2668072 } } } } . FILTER ( ?y > ?c ) }
Jennifer Bolande
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity Jennifer Bolande
relation exhibition history
type art exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:art_exhibition ) ( ontology:collection ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Jennifer_Bolande property:exhibition_history ?i . { { ?i rdf:type ontology:art_exhibition } UNION { ?i rdf:type ontology:collection } } } } . FILTER ( ?y > ?c ) }
[]
art exhibition collection common name
SYSTEM
7
Q2824894 Q1964408 Q3289592 Q9015308 Q805807 Q16080418 Q15527965
(c(Q502895),P608,c(Q667276)|c(Q2668072))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q16004451
relation P608
type Q667276
type Q2668072
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:Q667276 ) ( ontology:Q2668072 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q16004451 property:P608 ?i . { { ?i rdf:type ontology:Q667276 } UNION { ?i rdf:type ontology:Q2668072 } } } } . FILTER ( ?y > ?c ) }
Adolphe Péterelle Nan Hoover Moniek Toebosch Juan Carlos Alom Balto Alyce Frank Margaretha Roosenboom
7
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity Jennifer Bolande
relation exhibition history
type art exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?l WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:art_exhibition ) ( ontology:collection ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Jennifer_Bolande property:exhibition_history ?i . { { ?i rdf:type ontology:art_exhibition } UNION { ?i rdf:type ontology:collection } } } } . FILTER ( ?y > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q258812 Q16004451
P27
Q15617994
USER
Which administrative territories are Jennifer Bolande or Oludamola Osayomi a civilian of ?
OR((Q16004451,P27,c(Q15617994)), (Q258812,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16004451
relation P27
action find
entity Q258812
relation P27
type Q15617994
{'OR': [['Q16004451', 'P27', {'concept': 'Q15617994'}], ['Q258812', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q258812 property:P27 ?k } UNION { resource:Q16004451 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Oludamola Osayomi Jennifer Bolande
action filter_type
action union
action find
entity Jennifer Bolande
relation country of citizenship
action find
entity Oludamola Osayomi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jennifer Bolande', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oludamola Osayomi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Oludamola_Osayomi property:country_of_citizenship ?k } UNION { resource:Jennifer_Bolande property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1033
SYSTEM
United States of America, Nigeria
Q30 Q1033
OR((Q16004451,P27,c(Q15617994)), (Q258812,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16004451
relation P27
action find
entity Q258812
relation P27
type Q15617994
[ANSWERS] are Jennifer Bolande or Oludamola Osayomi a civilian of
{'OR': [['Q16004451', 'P27', {'concept': 'Q15617994'}], ['Q258812', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q258812 property:P27 ?k } UNION { resource:Q16004451 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America Nigeria
United States of America and Nigeria are Jennifer Bolande or Oludamola Osayomi a civilian of
United States of America Nigeria
action filter_type
action union
action find
entity Jennifer Bolande
relation country of citizenship
action find
entity Oludamola Osayomi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jennifer Bolande', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oludamola Osayomi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Oludamola_Osayomi property:country_of_citizenship ?k } UNION { resource:Jennifer_Bolande property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P1313 ?g . ?g rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?g . ?g rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P1313 ?g . ?g rdf:type ontology:Q895526 }
President of the United States of America
The President of the United States of America serves as the political office that is fulfilled by the head of the government of United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?g . ?g rdf:type ontology:authority_organ }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q858
Q895526
USER
And also tell me about Syria?
(Q858,P1313,c(Q895526))
action filter_type
action find
entity Q858
relation P1313
type Q895526
['Q858', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q858 property:P1313 ?p . ?p rdf:type ontology:Q895526 }
Syria
action filter_type
action find
entity Syria
relation office held by head of government
type authority organ
['Syria', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:Syria property:office_held_by_head_of_government ?p . ?p rdf:type ontology:authority_organ }
[]
authority organ
Q7243302
SYSTEM
Prime Minister of Syria
Q7243302
(Q858,P1313,c(Q895526))
action filter_type
action find
entity Q858
relation P1313
type Q895526
[ANSWER]
['Q858', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q858 property:P1313 ?p . ?p rdf:type ontology:Q895526 }
Prime Minister of Syria
Prime Minister of Syria
action filter_type
action find
entity Syria
relation office held by head of government
type authority organ
['Syria', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:Syria property:office_held_by_head_of_government ?p . ?p rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q858
P112
Q56061
USER
Which administrative territory was founded by that administrative territory ?
(c(Q56061),P112,Q7243302)
action filter_type
action find_reverse
entity Q858
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q7243302']
SELECT DISTINCT ?y WHERE { ?y property:P112 resource:Q858 . ?y rdf:type ontology:Q56061 }
Syria
action filter_type
action find_reverse
entity Syria
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Prime Minister of Syria']
SELECT DISTINCT ?y WHERE { ?y property:founder resource:Syria . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7172
SYSTEM
Arab League
Q7172
(c(Q56061),P112,Q7243302)
action filter_type
action find_reverse
entity Q858
relation P112
type Q56061
[ANSWER] was founded by that administrative territory
[{'concept': 'Q56061'}, 'P112', 'Q7243302']
SELECT DISTINCT ?y WHERE { ?y property:P112 resource:Q858 . ?y rdf:type ontology:Q56061 }
Arab League
Arab League was founded by that administrative territory
Arab League
action filter_type
action find_reverse
entity Syria
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Prime Minister of Syria']
SELECT DISTINCT ?y WHERE { ?y property:founder resource:Syria . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11696
P710
Q1190554
USER
What event did President of the United States of America particiate in ?
(c(Q1190554),P710,Q11696)
action filter_type
action find_reverse
entity Q11696
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q11696']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . ?x property:P710 resource:Q11696 }
President of the United States of America
action filter_type
action find_reverse
entity President of the United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'President of the United States of America']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . ?x property:participant resource:President_of_the_United_States_of_America }
[]
event
Q24030666
SYSTEM
White House Correspondondents' Dinner
Q24030666
(c(Q1190554),P710,Q11696)
action filter_type
action find_reverse
entity Q11696
relation P710
type Q1190554
President of the United States of America particiated the [ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q11696']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . ?x property:P710 resource:Q11696 }
White House Correspondondents' Dinner
President of the United States of America particiated the White House Correspondondents' Dinner
White House Correspondondents' Dinner
action filter_type
action find_reverse
entity President of the United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'President of the United States of America']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . ?x property:participant resource:President_of_the_United_States_of_America }
[]