Simple Question (Direct)
Simple Question
Q89751
P21
Q290
USER
Which sex does Friedrich Haase have ?
(Q89751,P21,c(Q290))
action filter_type
action find
entity Q89751
relation P21
type Q290
['Q89751', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q89751 property:P21 ?x }
Friedrich Haase
action filter_type
action find
entity Friedrich Haase
relation gender
type sex
['Friedrich Haase', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Friedrich_Haase property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q89751,P21,c(Q290))
action filter_type
action find
entity Q89751
relation P21
type Q290
Friedrich Haase has a [ANSWER]
['Q89751', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q89751 property:P21 ?x }
male
Friedrich Haase has a male
male
action filter_type
action find
entity Friedrich Haase
relation gender
type sex
['Friedrich Haase', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Friedrich_Haase property:gender ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has career as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has career as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q24877298 Q5088722 Q4858407
P19
Q486972
USER
Was that person born at Chałupki, Zawiercie County and Baranowo, Kuyavian-Pomeranian Voivodeship ?
(Q24877298,P19,Q5088722) (Q24877298,P19,Q4858407)
action is_in
entity Q24877298
action intersection
action find_reverse
entity Q5088722
relation P19
action find_reverse
entity Q4858407
relation P19
['Q24877298', 'P19', 'Q5088722'] ['Q24877298', 'P19', 'Q4858407']
ASK WHERE { resource:Q24877298 property:P19 resource:Q5088722 . resource:Q24877298 property:P19 resource:Q4858407 }
Antonín Straka Chałupki, Zawiercie County Baranowo, Kuyavian-Pomeranian Voivodeship
action is_in
entity Antonín Straka
action intersection
action find_reverse
entity Chałupki, Zawiercie County
relation place of birth
action find_reverse
entity Baranowo, Kuyavian-Pomeranian Voivodeship
relation place of birth
['Antonín Straka', 'place of birth', 'Chałupki, Zawiercie County'] ['Antonín Straka', 'place of birth', 'Baranowo, Kuyavian-Pomeranian Voivodeship']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Chałupki,_Zawiercie_County . resource:Antonín_Straka property:place_of_birth resource:Baranowo,_Kuyavian-Pomeranian_Voivodeship }
[]
human settlement
SYSTEM
NO
(Q24877298,P19,Q5088722) (Q24877298,P19,Q4858407)
action is_in
entity Q24877298
action intersection
action find_reverse
entity Q5088722
relation P19
action find_reverse
entity Q4858407
relation P19
[ANSWER]
['Q24877298', 'P19', 'Q5088722'] ['Q24877298', 'P19', 'Q4858407']
ASK WHERE { resource:Q24877298 property:P19 resource:Q5088722 . resource:Q24877298 property:P19 resource:Q4858407 }
No
action is_in
entity Antonín Straka
action intersection
action find_reverse
entity Chałupki, Zawiercie County
relation place of birth
action find_reverse
entity Baranowo, Kuyavian-Pomeranian Voivodeship
relation place of birth
['Antonín Straka', 'place of birth', 'Chałupki, Zawiercie County'] ['Antonín Straka', 'place of birth', 'Baranowo, Kuyavian-Pomeranian Voivodeship']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Chałupki,_Zawiercie_County . resource:Antonín_Straka property:place_of_birth resource:Baranowo,_Kuyavian-Pomeranian_Voivodeship }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q89751 Q5104722
P27
Q1048835
USER
Is Chontali District the native country of Friedrich Haase ?
(Q89751,P27,Q5104722)
action is_in
entity Q5104722
action find
entity Q89751
relation P27
['Q89751', 'P27', 'Q5104722']
ASK WHERE { resource:Q89751 property:P27 resource:Q5104722 }
Friedrich Haase Chontali District
action is_in
entity Chontali District
action find
entity Friedrich Haase
relation country of citizenship
['Friedrich Haase', 'country of citizenship', 'Chontali District']
ASK WHERE { resource:Friedrich_Haase property:country_of_citizenship resource:Chontali_District }
[]
political territorial entity
SYSTEM
NO
(Q89751,P27,Q5104722)
action is_in
entity Q5104722
action find
entity Q89751
relation P27
[ANSWER]
['Q89751', 'P27', 'Q5104722']
ASK WHERE { resource:Q89751 property:P27 resource:Q5104722 }
No
action is_in
entity Chontali District
action find
entity Friedrich Haase
relation country of citizenship
['Friedrich Haase', 'country of citizenship', 'Chontali District']
ASK WHERE { resource:Friedrich_Haase property:country_of_citizenship resource:Chontali_District }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q593995
P1303
Q34379 Q502895
USER
Which musical instruments are played by lesser number of people than player piano ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q593995
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?r ) WHERE { ?c rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P1303 resource:Q593995 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?r < ?m ) }
player piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?r ) WHERE { ?c rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:instrument resource:player_piano . ?i rdf:type ontology:common_name } } . FILTER ( ?r < ?m ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q593995
relation P1303
type Q502895
[ANSWERS] are played by lesser number of people than player piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?r ) WHERE { ?c rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P1303 resource:Q593995 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?r < ?m ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by lesser number of people than player piano
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?r ) WHERE { ?c rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:instrument resource:player_piano . ?i rdf:type ontology:common_name } } . FILTER ( ?r < ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q89751
P1196
Q1931388
USER
What situation did Friedrich Haase die in ?
(Q89751,P1196,c(Q1931388))
action filter_type
action find
entity Q89751
relation P1196
type Q1931388
['Q89751', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q89751 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
Friedrich Haase
action filter_type
action find
entity Friedrich Haase
relation manner of death
type cause of death
['Friedrich Haase', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Haase property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q89751,P1196,c(Q1931388))
action filter_type
action find
entity Q89751
relation P1196
type Q1931388
Friedrich Haase died in [ANSWER]
['Q89751', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q89751 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
natural causes
Friedrich Haase died in natural causes
natural causes
action filter_type
action find
entity Friedrich Haase
relation manner of death
type cause of death
['Friedrich Haase', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Haase property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3739104
P509
Q502895
USER
Which people had that cause of death as the reason for fatality ?
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?a WHERE { ?a property:P509 resource:Q3739104 . ?a rdf:type ontology:Q502895 }
natural causes
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?a WHERE { ?a property:cause_of_death resource:natural_causes . ?a rdf:type ontology:common_name }
[]
common name
Q185007 Q170256 Q1057003
SYSTEM
Rita Levi-Montalcini, Chris Marker, The Rev
Q20748116 Q185007 Q316859 Q172928 Q3106793 Q1148054 Q774948 Q170256 Q5560590 Q1042915 Q168355 Q55391 Q3086496 Q381234 Q314929 Q1057003 Q3276795
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[ANSWERS] had that cause of death as the reason for fatality
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?a WHERE { ?a property:P509 resource:Q3739104 . ?a rdf:type ontology:Q502895 }
Maria Cristina Villanova de Árbenz Rita Levi-Montalcini Ferdinand IV of Castile Clement IV Ginny Tyler William J. Tuttle Vesna Rožič Chris Marker Gil Perkins Carlos Franqui Don Beddoe Robert Bresson Françoise Giret Luis g berlanga Dick Francis The Rev James B. Clark
Rita Levi-Montalcini, Chris Marker and The Rev had that cause of death as the reason for fatality
Rita Levi-Montalcini Chris Marker The Rev
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?a WHERE { ?a property:cause_of_death resource:natural_causes . ?a rdf:type ontology:common_name }
[]