Simple Question (Direct)
Simple Question
Q26099
P509
Q2057971
USER
What caused the death of Chris Wood ?
(Q26099,P509,c(Q2057971))
action filter_type
action find
entity Q26099
relation P509
type Q2057971
['Q26099', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q26099 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
Chris Wood
action filter_type
action find
entity Chris Wood
relation cause of death
type health problem
['Chris Wood', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:Chris_Wood property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q26099,P509,c(Q2057971))
action filter_type
action find
entity Q26099
relation P509
type Q2057971
[ANSWER] caused the death of Chris Wood
['Q26099', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q26099 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
pneumonia
Pneumonia caused the death of Chris Wood
pneumonia
action filter_type
action find
entity Chris Wood
relation cause of death
type health problem
['Chris Wood', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:Chris_Wood property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26099
P734
Q82799
USER
Who has the surname Chris Wood ?
(Q26099,P734,c(Q82799))
action filter_type
action find
entity Q26099
relation P734
type Q82799
['Q26099', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q26099 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Chris Wood
action filter_type
action find
entity Chris Wood
relation family name
type name
['Chris Wood', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Chris_Wood property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q1158452
SYSTEM
Wood
Q1158452
(Q26099,P734,c(Q82799))
action filter_type
action find
entity Q26099
relation P734
type Q82799
[ANSWER] has the surname Chris [ANSWER]
['Q26099', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q26099 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Wood
Wood has the surname Chris Wood
Wood
action filter_type
action find
entity Chris Wood
relation family name
type name
['Chris Wood', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Chris_Wood property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26099
P1196
Q1931388
USER
What situation did Chris Wood die in ?
(Q26099,P1196,c(Q1931388))
action filter_type
action find
entity Q26099
relation P1196
type Q1931388
['Q26099', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q26099 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
Chris Wood
action filter_type
action find
entity Chris Wood
relation manner of death
type cause of death
['Chris Wood', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Chris_Wood property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q26099,P1196,c(Q1931388))
action filter_type
action find
entity Q26099
relation P1196
type Q1931388
Chris Wood died of [ANSWER]
['Q26099', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q26099 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
natural causes
Chris Wood died of natural causes
natural causes
action filter_type
action find
entity Chris Wood
relation manner of death
type cause of death
['Chris Wood', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Chris_Wood property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26099
P735
Q82799
USER
What is forename of Chris Wood ?
(Q26099,P735,c(Q82799))
action filter_type
action find
entity Q26099
relation P735
type Q82799
['Q26099', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q26099 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Chris Wood
action filter_type
action find
entity Chris Wood
relation given name
type name
['Chris Wood', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Wood property:given_name ?a . ?a rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q26099,P735,c(Q82799))
action filter_type
action find
entity Q26099
relation P735
type Q82799
Forename of [ANSWER] Wood is of [ANSWER]
['Q26099', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q26099 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Chris
Forename of Chris Wood is of Chris
Chris
action filter_type
action find
entity Chris Wood
relation given name
type name
['Chris Wood', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Wood property:given_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q339346
P26
Q502895
USER
Which people are the life partner of that name ?
(c(Q502895),P26,Q339346)
action filter_type
action find_reverse
entity Q339346
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q339346']
SELECT DISTINCT ?p WHERE { ?p property:P26 resource:Q339346 . ?p rdf:type ontology:Q502895 }
Chris
action filter_type
action find_reverse
entity Chris
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Chris']
SELECT DISTINCT ?p WHERE { ?p property:spouse resource:Chris . ?p rdf:type ontology:common_name }
[]
common name
Q6162542 Q16730734
SYSTEM
Jason Gant, Susan Kent
Q6162542 Q16730734
(c(Q502895),P26,Q339346)
action filter_type
action find_reverse
entity Q339346
relation P26
type Q502895
[ANSWERS] are the life partner of that name
[{'concept': 'Q502895'}, 'P26', 'Q339346']
SELECT DISTINCT ?p WHERE { ?p property:P26 resource:Q339346 . ?p rdf:type ontology:Q502895 }
Jason Gant Susan Kent
Jason Gant and Susan Kent are the life partner of that name
Jason Gant Susan Kent
action filter_type
action find_reverse
entity Chris
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Chris']
SELECT DISTINCT ?p WHERE { ?p property:spouse resource:Chris . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q339346
P26 P21
Q502895
USER
Which people have Chris as spouse and have the gender as male ?
AND((c(Q502895),P26,Q339346), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q339346
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q339346'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P26 resource:Q339346 . ?p property:P21 resource:Q6581097 }
male Chris
action filter_type
action intersection
action find_reverse
entity Chris
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Chris'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:spouse resource:Chris . ?p property:gender resource:male }
[]
common name
Q6162542
SYSTEM
Jason Gant
Q6162542
AND((c(Q502895),P26,Q339346), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q339346
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Chris as spouse and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q339346'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P26 resource:Q339346 . ?p property:P21 resource:Q6581097 }
Jason Gant
Jason Gant have Chris as spouse and have the gender as male
Jason Gant
action filter_type
action intersection
action find_reverse
entity Chris
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Chris'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:spouse resource:Chris . ?p property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q17335294
USER
How many names are depicted in approximately 43 works of art or coats of arms ?
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 43
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 . ?a property:P180 ?s } UNION { ?a property:P180 ?s . ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q17335294 } } GROUP BY ?s } . FILTER ( ?w = 43 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 43
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:name . ?a rdf:type ontology:work_of_art . ?a property:depicts ?s } UNION { ?a property:depicts ?s . ?s rdf:type ontology:name . ?a rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?s } . FILTER ( ?w = 43 ) }
[]
name work of art flag or coat of arms
SYSTEM
25
Q13219075 Q5 Q830 Q3736439 Q7368 Q7369 Q2092297 Q144 Q713019 Q201251 Q8331 Q846664 Q3537778 Q1367 Q1192868 Q9394 Q2734060 Q15629245 Q25894 Q43115 Q190294 Q7378 Q123120 Q308841 Q152
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 43
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 . ?a property:P180 ?s } UNION { ?a property:P180 ?s . ?s rdf:type ontology:Q82799 . ?a rdf:type ontology:Q17335294 } } GROUP BY ?s } . FILTER ( ?w = 43 ) }
octopus human cattle duck Ovis aries dolphin eagle dog cannoneer peacock fox hawk donkeys monkey clam rabbit reed lizard antelope saint mouflon elephant vulture snail fish
25
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 43
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:name . ?a rdf:type ontology:work_of_art . ?a property:depicts ?s } UNION { ?a property:depicts ?s . ?s rdf:type ontology:name . ?a rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?s } . FILTER ( ?w = 43 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6162542
P102
Q7210356
USER
Which party does Jason Gant belong to ?
(Q6162542,P102,c(Q7210356))
action filter_type
action find
entity Q6162542
relation P102
type Q7210356
['Q6162542', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q6162542 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Jason Gant
action filter_type
action find
entity Jason Gant
relation member of political party
type political organization
['Jason Gant', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Jason_Gant property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6162542,P102,c(Q7210356))
action filter_type
action find
entity Q6162542
relation P102
type Q7210356
Jason Gant belongs to [ANSWER]
['Q6162542', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q6162542 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Republican Party
Jason Gant belongs to Republican Party
Republican Party
action filter_type
action find
entity Jason Gant
relation member of political party
type political organization
['Jason Gant', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Jason_Gant property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6162542
P69
Q3918
USER
Which university is that person an alumni of ?
(Q29468,P69,c(Q3918))
action filter_type
action find
entity Q6162542
relation P69
type Q3918
['Q29468', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q6162542 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Jason Gant
action filter_type
action find
entity Jason Gant
relation educated at
type university
['Republican Party', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Jason_Gant property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q1305521
SYSTEM
University of South Dakota
Q1305521
(Q29468,P69,c(Q3918))
action filter_type
action find
entity Q6162542
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q29468', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q6162542 property:P69 ?t . ?t rdf:type ontology:Q3918 }
University of South Dakota
University of South Dakota is that person an alumni of
University of South Dakota
action filter_type
action find
entity Jason Gant
relation educated at
type university
['Republican Party', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Jason_Gant property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1305521
P108
Q502895
USER
Which people have that university as their employer ?
(c(Q502895),P108,Q1305521)
action filter_type
action find_reverse
entity Q1305521
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1305521']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q1305521 . ?g rdf:type ontology:Q502895 }
University of South Dakota
action filter_type
action find_reverse
entity University of South Dakota
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of South Dakota']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:University_of_South_Dakota . ?g rdf:type ontology:common_name }
[]
common name
Q433352 Q15438439 Q23684057
SYSTEM
Frances Oldham Kelsey, John R. Milton, Howard Clinton Abbott
Q15438439 Q433352 Q23684057 Q8016272
(c(Q502895),P108,Q1305521)
action filter_type
action find_reverse
entity Q1305521
relation P108
type Q502895
[ANSWERS] have that university as their employer
[{'concept': 'Q502895'}, 'P108', 'Q1305521']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q1305521 . ?g rdf:type ontology:Q502895 }
John R. Milton Frances Oldham Kelsey Howard Clinton Abbott William O. Farber
Frances Oldham Kelsey, John R. Milton and Howard Clinton Abbott have that university as their employer
Frances Oldham Kelsey John R. Milton Howard Clinton Abbott
action filter_type
action find_reverse
entity University of South Dakota
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'University of South Dakota']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:University_of_South_Dakota . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P1303 ?l . ?c rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:instrument ?l . ?c rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P1303 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P1303 ?l . ?c rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:instrument ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:instrument ?l . ?c rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } }
[]