Simple Question (Direct)
Simple Question
Q2392554
P1196
Q1931388
USER
What situation did Iulia Hasdeu die in ?
(Q2392554,P1196,c(Q1931388))
action filter_type
action find
entity Q2392554
relation P1196
type Q1931388
['Q2392554', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q2392554 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Iulia Hasdeu
action filter_type
action find
entity Iulia Hasdeu
relation manner of death
type cause of death
['Iulia Hasdeu', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Iulia_Hasdeu property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2392554,P1196,c(Q1931388))
action filter_type
action find
entity Q2392554
relation P1196
type Q1931388
Iulia Hasdeu died of [ANSWER]
['Q2392554', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q2392554 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
Iulia Hasdeu died of natural causes
natural causes
action filter_type
action find
entity Iulia Hasdeu
relation manner of death
type cause of death
['Iulia Hasdeu', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Iulia_Hasdeu property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 143 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 143
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f >= 143 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 143
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f >= 143 ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q5994 Q81982 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 143
Atleast 143 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f >= 143 ) }
viola bass guitar double bass piano harpsichord trumpet cello violin organ drum kit electronic keyboard
Atleast 143 people know about piano, harpsichord and viola
piano harpsichord viola
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 143
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f >= 143 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q684415
P17
Q1048835
USER
How many political territories are Bavarian Academy of Sciences and Humanities located in ?
(Q684415,P17,c(Q1048835))
action count
action filter_type
action find
entity Q684415
relation P17
type Q1048835
['Q684415', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q684415 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Bavarian Academy of Sciences and Humanities
action count
action filter_type
action find
entity Bavarian Academy of Sciences and Humanities
relation country
type political territorial entity
['Bavarian Academy of Sciences and Humanities', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Bavarian_Academy_of_Sciences_and_Humanities property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q684415,P17,c(Q1048835))
action count
action filter_type
action find
entity Q684415
relation P17
type Q1048835
[ANSWER]
['Q684415', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q684415 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Bavarian Academy of Sciences and Humanities
relation country
type political territorial entity
['Bavarian Academy of Sciences and Humanities', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Bavarian_Academy_of_Sciences_and_Humanities property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21902271
P17
Q1048835
USER
Which political territory is Mount Scabby present in ?
(Q21902271,P17,c(Q1048835))
action filter_type
action find
entity Q21902271
relation P17
type Q1048835
['Q21902271', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q21902271 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Mount Scabby
action filter_type
action find
entity Mount Scabby
relation country
type political territorial entity
['Mount Scabby', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mount_Scabby property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21902271,P17,c(Q1048835))
action filter_type
action find
entity Q21902271
relation P17
type Q1048835
Mount Scabby is of [ANSWER]
['Q21902271', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q21902271 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Australia
Mount Scabby is of Australia
Australia
action filter_type
action find
entity Mount Scabby
relation country
type political territorial entity
['Mount Scabby', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mount_Scabby property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2253369
Q1048835
USER
And what about SV Schwarz-Rot Neustadt?
(Q2253369,P17,c(Q1048835))
action filter_type
action find
entity Q2253369
relation P17
type Q1048835
['Q2253369', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q2253369 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
SV Schwarz-Rot Neustadt
action filter_type
action find
entity SV Schwarz-Rot Neustadt
relation country
type political territorial entity
['SV Schwarz-Rot Neustadt', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:SV_Schwarz-Rot_Neustadt property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2253369,P17,c(Q1048835))
action filter_type
action find
entity Q2253369
relation P17
type Q1048835
[ANSWER]
['Q2253369', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q2253369 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity SV Schwarz-Rot Neustadt
relation country
type political territorial entity
['SV Schwarz-Rot Neustadt', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:SV_Schwarz-Rot_Neustadt property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q20857379
P27
Q502895
USER
Is Nicolaas Charles de Gijselaar a civilian of that political territory ?
(Q20857379,P27,Q183)
action is_in
entity Q20857379
action find
entity Q183
relation P27
['Q20857379', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q20857379 }
Germany Nicolaas Charles de Gijselaar
action is_in
entity Nicolaas Charles de Gijselaar
action find
entity Germany
relation country of citizenship
['Nicolaas Charles de Gijselaar', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Nicolaas_Charles_de_Gijselaar }
[]
common name
SYSTEM
NO
(Q20857379,P27,Q183)
action is_in
entity Q20857379
action find
entity Q183
relation P27
[ANSWER]
['Q20857379', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q20857379 }
No
action is_in
entity Nicolaas Charles de Gijselaar
action find
entity Germany
relation country of citizenship
['Nicolaas Charles de Gijselaar', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Nicolaas_Charles_de_Gijselaar }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q81982 Q5371902 Q26697600
P425
Q12737077
USER
Does harpsichord have harpsichordist and mayor of Pliego as thier field of occupation ?
(Q81982,P425,Q5371902) (Q81982,P425,Q26697600)
action is_in
entity Q81982
action intersection
action find_reverse
entity Q5371902
relation P425
action find_reverse
entity Q26697600
relation P425
['Q81982', 'P425', 'Q5371902'] ['Q81982', 'P425', 'Q26697600']
ASK WHERE { resource:Q81982 property:P425 resource:Q5371902 . resource:Q81982 property:P425 resource:Q26697600 }
harpsichord harpsichordist mayor of Pliego
action is_in
entity harpsichord
action intersection
action find_reverse
entity harpsichordist
relation field of this occupation
action find_reverse
entity mayor of Pliego
relation field of this occupation
['harpsichord', 'field of this occupation', 'harpsichordist'] ['harpsichord', 'field of this occupation', 'mayor of Pliego']
ASK WHERE { resource:harpsichord property:field_of_this_occupation resource:harpsichordist . resource:harpsichord property:field_of_this_occupation resource:mayor_of_Pliego }
[]
occupation
SYSTEM
YES and NO respectively
(Q81982,P425,Q5371902) (Q81982,P425,Q26697600)
action is_in
entity Q81982
action intersection
action find_reverse
entity Q5371902
relation P425
action find_reverse
entity Q26697600
relation P425
[ANSWER]
['Q81982', 'P425', 'Q5371902'] ['Q81982', 'P425', 'Q26697600']
ASK WHERE { resource:Q81982 property:P425 resource:Q5371902 . resource:Q81982 property:P425 resource:Q26697600 }
YES and NO respectively
action is_in
entity harpsichord
action intersection
action find_reverse
entity harpsichordist
relation field of this occupation
action find_reverse
entity mayor of Pliego
relation field of this occupation
['harpsichord', 'field of this occupation', 'harpsichordist'] ['harpsichord', 'field of this occupation', 'mayor of Pliego']
ASK WHERE { resource:harpsichord property:field_of_this_occupation resource:harpsichordist . resource:harpsichord property:field_of_this_occupation resource:mayor_of_Pliego }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3554785
Q207628
USER
And also tell me about Variations and Fugue on a Theme by Mozart?
(Q3554785,P870,c(Q207628))
action filter_type
action find
entity Q3554785
relation P870
type Q207628
['Q3554785', 'P870', {'concept': 'Q207628'}]
SELECT DISTINCT ?o WHERE { resource:Q3554785 property:P870 ?o . ?o rdf:type ontology:Q207628 }
Variations and Fugue on a Theme by Mozart
action filter_type
action find
entity Variations and Fugue on a Theme by Mozart
relation instrumentation
type musical composition
['Variations and Fugue on a Theme by Mozart', 'instrumentation', {'concept': 'musical composition'}]
SELECT DISTINCT ?o WHERE { resource:Variations_and_Fugue_on_a_Theme_by_Mozart property:instrumentation ?o . ?o rdf:type ontology:musical_composition }
[]
musical composition
Q227484
SYSTEM
piano four hands
Q227484
(Q3554785,P870,c(Q207628))
action filter_type
action find
entity Q3554785
relation P870
type Q207628
[ANSWER]
['Q3554785', 'P870', {'concept': 'Q207628'}]
SELECT DISTINCT ?o WHERE { resource:Q3554785 property:P870 ?o . ?o rdf:type ontology:Q207628 }
piano four hands
piano four hands
action filter_type
action find
entity Variations and Fugue on a Theme by Mozart
relation instrumentation
type musical composition
['Variations and Fugue on a Theme by Mozart', 'instrumentation', {'concept': 'musical composition'}]
SELECT DISTINCT ?o WHERE { resource:Variations_and_Fugue_on_a_Theme_by_Mozart property:instrumentation ?o . ?o rdf:type ontology:musical_composition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q227484
P870
Q862597
USER
Which musical forms use that musical composition as a musical instrument ?
(c(Q862597),P870,Q227484)
action filter_type
action find_reverse
entity Q227484
relation P870
type Q862597
[{'concept': 'Q862597'}, 'P870', 'Q227484']
SELECT DISTINCT ?f WHERE { ?f property:P870 resource:Q227484 . ?f rdf:type ontology:Q862597 }
piano four hands
action filter_type
action find_reverse
entity piano four hands
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'piano four hands']
SELECT DISTINCT ?f WHERE { ?f property:instrumentation resource:piano_four_hands . ?f rdf:type ontology:musical_form }
[]
musical form
Q3033966 Q3015689 Q1647640
SYSTEM
Dolly, Symphonic Dances, Jeux d'enfants
Q1647640 Q3032592 Q3015689 Q3033966
(c(Q862597),P870,Q227484)
action filter_type
action find_reverse
entity Q227484
relation P870
type Q862597
[ANSWERS] use that musical composition as a musical instrument
[{'concept': 'Q862597'}, 'P870', 'Q227484']
SELECT DISTINCT ?f WHERE { ?f property:P870 resource:Q227484 . ?f rdf:type ontology:Q862597 }
Jeux d'enfants Legends Symphonic Dances Dolly
Dolly, Symphonic Dances and Jeux d'enfants use that musical composition as a musical instrument
Dolly Symphonic Dances Jeux d'enfants
action filter_type
action find_reverse
entity piano four hands
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'piano four hands']
SELECT DISTINCT ?f WHERE { ?f property:instrumentation resource:piano_four_hands . ?f rdf:type ontology:musical_form }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3033966 Q3015689 Q1647640
P86
Q502895
USER
Who did the compostion for those musical forms ?
(Q3033966,P86,c(Q502895)) (Q3015689,P86,c(Q502895)) (Q1647640,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
['Q3033966', 'P86', {'concept': 'Q502895'}] ['Q3015689', 'P86', {'concept': 'Q502895'}] ['Q1647640', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?r ) { ( resource:Q1647640 ) ( resource:Q3032592 ) ( resource:Q3015689 ) } . ?a rdf:type ontology:Q502895 . ?r property:P86 ?a }
Dolly Symphonic Dances Jeux d'enfants
action filter_type
action find
entity prev_answer
relation composer
type common name
['Dolly', 'composer', {'concept': 'common name'}] ['Symphonic Dances', 'composer', {'concept': 'common name'}] ["Jeux d'enfants", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?r ) { ( resource:Jeux_d'enfants ) ( resource:Legends ) ( resource:Symphonic_Dances ) } . ?a rdf:type ontology:common_name . ?r property:composer ?a }
[]
common name
Q104919 Q80621 Q56158
SYSTEM
Gabriel Fauré, Edvard Grieg, Georges Bizet
Q104919 Q80621 Q56158
(Q3033966,P86,c(Q502895)) (Q3015689,P86,c(Q502895)) (Q1647640,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
[ANSWERS] did the compostion for those musical forms
['Q3033966', 'P86', {'concept': 'Q502895'}] ['Q3015689', 'P86', {'concept': 'Q502895'}] ['Q1647640', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?r ) { ( resource:Q1647640 ) ( resource:Q3032592 ) ( resource:Q3015689 ) } . ?a rdf:type ontology:Q502895 . ?r property:P86 ?a }
Gabriel Fauré Edvard Grieg Georges Bizet
Gabriel Fauré, Edvard Grieg and Georges Bizet did the compostion for those musical forms
Gabriel Fauré Edvard Grieg Georges Bizet
action filter_type
action find
entity prev_answer
relation composer
type common name
['Dolly', 'composer', {'concept': 'common name'}] ['Symphonic Dances', 'composer', {'concept': 'common name'}] ["Jeux d'enfants", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?r ) { ( resource:Jeux_d'enfants ) ( resource:Legends ) ( resource:Symphonic_Dances ) } . ?a rdf:type ontology:common_name . ?r property:composer ?a }
[]