Simple Question (Direct)
Simple Question
Q231776
P1196
Q1931388
USER
What situation did Margot Fonteyn die in ?
(Q231776,P1196,c(Q1931388))
action filter_type
action find
entity Q231776
relation P1196
type Q1931388
['Q231776', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { resource:Q231776 property:P1196 ?a . ?a rdf:type ontology:Q1931388 }
Margot Fonteyn
action filter_type
action find
entity Margot Fonteyn
relation manner of death
type cause of death
['Margot Fonteyn', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { resource:Margot_Fonteyn property:manner_of_death ?a . ?a rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q231776,P1196,c(Q1931388))
action filter_type
action find
entity Q231776
relation P1196
type Q1931388
Margot Fonteyn died of [ANSWER]
['Q231776', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { resource:Q231776 property:P1196 ?a . ?a rdf:type ontology:Q1931388 }
natural causes
Margot Fonteyn died of natural causes
natural causes
action filter_type
action find
entity Margot Fonteyn
relation manner of death
type cause of death
['Margot Fonteyn', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { resource:Margot_Fonteyn property:manner_of_death ?a . ?a rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q231776
P27
Q15617994
USER
Which administrative territory is Margot Fonteyn an inhabitant of ?
(Q231776,P27,c(Q15617994))
action filter_type
action find
entity Q231776
relation P27
type Q15617994
['Q231776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q231776 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Margot Fonteyn
action filter_type
action find
entity Margot Fonteyn
relation country of citizenship
type designation for an administrative territorial entity
['Margot Fonteyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Margot_Fonteyn property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q231776,P27,c(Q15617994))
action filter_type
action find
entity Q231776
relation P27
type Q15617994
The [ANSWER] is Margot Fonteyn an inhabitant of
['Q231776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q231776 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Margot Fonteyn an inhabitant of
United Kingdom
action filter_type
action find
entity Margot Fonteyn
relation country of citizenship
type designation for an administrative territorial entity
['Margot Fonteyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Margot_Fonteyn property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q231776
P20
Q56061
USER
Where did the demise of Margot Fonteyn occur ?
(Q231776,P20,c(Q56061))
action filter_type
action find
entity Q231776
relation P20
type Q56061
['Q231776', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q231776 property:P20 ?h }
Margot Fonteyn
action filter_type
action find
entity Margot Fonteyn
relation place of death
type administrative territorial entity
['Margot Fonteyn', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Margot_Fonteyn property:place_of_death ?h }
[]
administrative territorial entity
Q3306
SYSTEM
Panama City
Q3306
(Q231776,P20,c(Q56061))
action filter_type
action find
entity Q231776
relation P20
type Q56061
The demise of Margot Fonteyn occurred in [ANSWER]
['Q231776', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q231776 property:P20 ?h }
Panama City
The demise of Margot Fonteyn occurred in Panama City
Panama City
action filter_type
action find
entity Margot Fonteyn
relation place of death
type administrative territorial entity
['Margot Fonteyn', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Margot_Fonteyn property:place_of_death ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231776
P161
Q838948
USER
Which work of art has that person as actor ?
(c(Q838948),P161,Q3306)
action filter_type
action find_reverse
entity Q231776
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3306']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q231776 . ?z rdf:type ontology:Q838948 }
Margot Fonteyn
action filter_type
action find_reverse
entity Margot Fonteyn
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Panama City']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Margot_Fonteyn . ?z rdf:type ontology:work_of_art }
[]
work of art
Q27118282
SYSTEM
Swan Lake
Q27118282
(c(Q838948),P161,Q3306)
action filter_type
action find_reverse
entity Q231776
relation P161
type Q838948
[ANSWER] has that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q3306']
SELECT DISTINCT ?z WHERE { ?z property:P161 resource:Q231776 . ?z rdf:type ontology:Q838948 }
Swan Lake
Swan Lake has that person as actor
Swan Lake
action filter_type
action find_reverse
entity Margot Fonteyn
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Panama City']
SELECT DISTINCT ?z WHERE { ?z property:cast_member resource:Margot_Fonteyn . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q231776
P106
Q12737077
USER
How many occupations are the professions of Margot Fonteyn ?
(Q231776,P106,c(Q12737077))
action count
action filter_type
action find
entity Q231776
relation P106
type Q12737077
['Q231776', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q231776 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Margot Fonteyn
action count
action filter_type
action find
entity Margot Fonteyn
relation occupation
type occupation
['Margot Fonteyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Margot_Fonteyn property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q2490358 Q805221 Q5716684
(Q231776,P106,c(Q12737077))
action count
action filter_type
action find
entity Q231776
relation P106
type Q12737077
[ANSWER]
['Q231776', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q231776 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
choreographer ballet dancer dancer
3
action count
action filter_type
action find
entity Margot Fonteyn
relation occupation
type occupation
['Margot Fonteyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Margot_Fonteyn property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3568168
Q12737077
USER
And also tell me about Wilf Chadwick?
(Q3568168,P106,c(Q12737077))
action count
action filter_type
action find
entity Q3568168
relation P106
type Q12737077
['Q3568168', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3568168 property:P106 ?x }
Wilf Chadwick
action count
action filter_type
action find
entity Wilf Chadwick
relation occupation
type occupation
['Wilf Chadwick', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x rdf:type ontology:occupation . resource:Wilf_Chadwick property:occupation ?x }
[]
occupation
SYSTEM
1
(Q3568168,P106,c(Q12737077))
action count
action filter_type
action find
entity Q3568168
relation P106
type Q12737077
[ANSWER]
['Q3568168', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3568168 property:P106 ?x }
1
action count
action filter_type
action find
entity Wilf Chadwick
relation occupation
type occupation
['Wilf Chadwick', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x rdf:type ontology:occupation . resource:Wilf_Chadwick property:occupation ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q2342494 Q166142
USER
How many works of art are around 2 collectables or applications adapted from ?
(c(Q2342494)|c(Q166142),P144,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?a WHERE { { ?m property:P144 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q166142 } UNION { ?m property:P144 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?g = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type application
value 2
[[{'concept': 'collectable'}, {'concept': 'application'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?a WHERE { { ?m property:based_on ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:application } UNION { ?m property:based_on ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?g = 2 ) }
[]
work of art collectable application
SYSTEM
6
Q42051 Q165713 Q1138659 Q646389 Q221103 Q103569
(c(Q2342494)|c(Q166142),P144,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q838948
type Q166142
value 2
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?a WHERE { { ?m property:P144 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q166142 } UNION { ?m property:P144 ?a . ?a rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?g = 2 ) }
Star Wars: Episode III – Revenge of the Sith Star Wars: Episode I – The Phantom Menace Street Fighter Hook Halloween Alien
6
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type collectable
action find_reverse_tuple_counts
relation based on
type work of art
type application
value 2
[[{'concept': 'collectable'}, {'concept': 'application'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?a WHERE { { ?m property:based_on ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:application } UNION { ?m property:based_on ?a . ?a rdf:type ontology:work_of_art . ?m rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?g = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1279281 Q3568168
P27
Q15617994
USER
Which administrative territories are the native countriesof Wilf Chadwick or Karel Hoffmann ?
OR((Q3568168,P27,c(Q15617994)), (Q1279281,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3568168
relation P27
action find
entity Q1279281
relation P27
type Q15617994
{'OR': [['Q3568168', 'P27', {'concept': 'Q15617994'}], ['Q1279281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q1279281 property:P27 ?k } UNION { resource:Q3568168 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Karel Hoffmann Wilf Chadwick
action filter_type
action union
action find
entity Wilf Chadwick
relation country of citizenship
action find
entity Karel Hoffmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wilf Chadwick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karel Hoffmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Karel_Hoffmann property:country_of_citizenship ?k } UNION { resource:Wilf_Chadwick property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q145
SYSTEM
Czech Republic, United Kingdom
Q213 Q145
OR((Q3568168,P27,c(Q15617994)), (Q1279281,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3568168
relation P27
action find
entity Q1279281
relation P27
type Q15617994
[ANSWERS] are the native countriesof Wilf Chadwick or Karel Hoffmann
{'OR': [['Q3568168', 'P27', {'concept': 'Q15617994'}], ['Q1279281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q1279281 property:P27 ?k } UNION { resource:Q3568168 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Czech Republic United Kingdom
Czech Republic and United Kingdom are the native countriesof Wilf Chadwick or Karel Hoffmann
Czech Republic United Kingdom
action filter_type
action union
action find
entity Wilf Chadwick
relation country of citizenship
action find
entity Karel Hoffmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wilf Chadwick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karel Hoffmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Karel_Hoffmann property:country_of_citizenship ?k } UNION { resource:Wilf_Chadwick property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P17
Q15617994
USER
Which administrative territory does Czech Republic belong to ?
(Q213,P17,c(Q15617994))
action filter_type
action find
entity Q213
relation P17
type Q15617994
['Q213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q213 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation country
type designation for an administrative territorial entity
['Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Czech_Republic property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q213,P17,c(Q15617994))
action filter_type
action find
entity Q213
relation P17
type Q15617994
[ANSWER] belongs to [ANSWER]
['Q213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q213 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Czech Republic
relation country
type designation for an administrative territorial entity
['Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Czech_Republic property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P276
Q40231
USER
Which election has its location as that administrative territory ?
(c(Q40231),P276,Q213)
action filter_type
action find_reverse
entity Q213
relation P276
type Q40231
[{'concept': 'Q40231'}, 'P276', 'Q213']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q40231 . ?d property:P276 resource:Q213 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation location
type election
[{'concept': 'election'}, 'location', 'Czech Republic']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:election . ?d property:location resource:Czech_Republic }
[]
election
Q14516417
SYSTEM
election to Chamber of Deputies of the Czech parliament
Q14516417
(c(Q40231),P276,Q213)
action filter_type
action find_reverse
entity Q213
relation P276
type Q40231
[ANSWER] has its location as that administrative territory
[{'concept': 'Q40231'}, 'P276', 'Q213']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q40231 . ?d property:P276 resource:Q213 }
election to Chamber of Deputies of the Czech parliament
Election to Chamber of Deputies of the Czech parliament has its location as that administrative territory
election to Chamber of Deputies of the Czech parliament
action filter_type
action find_reverse
entity Czech Republic
relation location
type election
[{'concept': 'election'}, 'location', 'Czech Republic']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:election . ?d property:location resource:Czech_Republic }
[]