Simple Question (Direct)
Simple Question
Q1605596
P57
Q502895
USER
Who was the director of Manhattan Night of Murder ?
(Q1605596,P57,c(Q502895))
action filter_type
action find
entity Q1605596
relation P57
type Q502895
['Q1605596', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1605596 property:P57 ?t }
Manhattan Night of Murder
action filter_type
action find
entity Manhattan Night of Murder
relation director
type common name
['Manhattan Night of Murder', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Manhattan_Night_of_Murder property:director ?t }
[]
common name
Q89377
SYSTEM
Harald Philipp
Q89377
(Q1605596,P57,c(Q502895))
action filter_type
action find
entity Q1605596
relation P57
type Q502895
The director of Manhattan Night of Murder was [ANSWER]
['Q1605596', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1605596 property:P57 ?t }
Harald Philipp
The director of Manhattan Night of Murder was Harald Philipp
Harald Philipp
action filter_type
action find
entity Manhattan Night of Murder
relation director
type common name
['Manhattan Night of Murder', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Manhattan_Night_of_Murder property:director ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1605596
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q89377,P58,c(Q502895))
action filter_type
action find
entity Q1605596
relation P58
type Q502895
['Q89377', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1605596 property:P58 ?y . ?y rdf:type ontology:Q502895 }
Manhattan Night of Murder
action filter_type
action find
entity Manhattan Night of Murder
relation screenwriter
type common name
['Harald Philipp', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Manhattan_Night_of_Murder property:screenwriter ?y . ?y rdf:type ontology:common_name }
[]
common name
Q77583
SYSTEM
Herbert Reinecker
Q77583
(Q89377,P58,c(Q502895))
action filter_type
action find
entity Q1605596
relation P58
type Q502895
The screenwriter for that work of art was [ANSWER]
['Q89377', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1605596 property:P58 ?y . ?y rdf:type ontology:Q502895 }
Herbert Reinecker
The screenwriter for that work of art was Herbert Reinecker
Herbert Reinecker
action filter_type
action find
entity Manhattan Night of Murder
relation screenwriter
type common name
['Harald Philipp', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Manhattan_Night_of_Murder property:screenwriter ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q89377
P57 P495
Q838948
USER
Which works of art are Harald Philipp a director of and originated in Germany ?
AND((c(Q838948),P57,Q89377), (c(Q838948),P495,Q183))
action filter_type
action intersection
action find_reverse
entity Q89377
relation P57
action find_reverse
entity Q183
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q89377'], [{'concept': 'Q838948'}, 'P495', 'Q183']]}
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q183 . ?n property:P57 resource:Q89377 . ?n rdf:type ontology:Q838948 }
Germany Harald Philipp
action filter_type
action intersection
action find_reverse
entity Harald Philipp
relation director
action find_reverse
entity Germany
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Harald Philipp'], [{'concept': 'work of art'}, 'country of origin', 'Germany']]}
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:Germany . ?n property:director resource:Harald_Philipp . ?n rdf:type ontology:work_of_art }
[]
work of art
Q4820305 Q785492 Q2890983 Q1605596 Q4956661 Q1784952 Q820951 Q999502
SYSTEM
Auf Wiedersehen, Der Ölprinz, Punishment battalion 999, Manhattan Night of Murder, Brandenburg Division, A Thousand Stars Aglitter, Death Knocks Twice, Um Null Uhr schnappt die Falle zu
Q4820305 Q785492 Q2890983 Q1605596 Q4956661 Q1784952 Q820951 Q999502
AND((c(Q838948),P57,Q89377), (c(Q838948),P495,Q183))
action filter_type
action intersection
action find_reverse
entity Q89377
relation P57
action find_reverse
entity Q183
relation P495
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q89377'], [{'concept': 'Q838948'}, 'P495', 'Q183']]}
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q183 . ?n property:P57 resource:Q89377 . ?n rdf:type ontology:Q838948 }
Auf Wiedersehen Der Ölprinz Punishment battalion 999 Manhattan Night of Murder Brandenburg Division A Thousand Stars Aglitter Death Knocks Twice Um Null Uhr schnappt die Falle zu
A Thousand Stars Aglitter, Death knocks Twice and Um Null Uhr schnappt die Falle zu are Harald Philipp a director of and originated in Germany
Auf Wiedersehen Der Ölprinz Punishment battalion 999 Manhattan Night of Murder Brandenburg Division A Thousand Stars Aglitter Death Knocks Twice Um Null Uhr schnappt die Falle zu
action filter_type
action intersection
action find_reverse
entity Harald Philipp
relation director
action find_reverse
entity Germany
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Harald Philipp'], [{'concept': 'work of art'}, 'country of origin', 'Germany']]}
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:Germany . ?n property:director resource:Harald_Philipp . ?n rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19581945 Q785492
P161
Q502895
USER
Which people starred in Der Ölprinz or Sedige Sedu ?
OR((Q785492,P161,c(Q502895)), (Q19581945,P161,c(Q502895)))
action filter_type
action union
action find
entity Q785492
relation P161
action find
entity Q19581945
relation P161
type Q502895
{'OR': [['Q785492', 'P161', {'concept': 'Q502895'}], ['Q19581945', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { ?z property:P161 ?g . VALUES ( ?z ) { ( resource:Q785492 ) ( resource:Q19581945 ) } } }
Sedige Sedu Der Ölprinz
action filter_type
action union
action find
entity Der Ölprinz
relation cast member
action find
entity Sedige Sedu
relation cast member
type common name
{'OR': [['Der Ölprinz', 'cast member', {'concept': 'common name'}], ['Sedige Sedu', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { ?z property:cast_member ?g . VALUES ( ?z ) { ( resource:Der_Ölprinz ) ( resource:Sedige_Sedu ) } } }
[]
common name
Q103988 Q1744455 Q1658517 Q1268164 Q66370 Q108154 Q84330 Q354223 Q243430 Q2512412
SYSTEM
Some of them are Antje Weisgerber, Walt Barnes, Ilija Ivezić, Dušan Janićijević, Heinz Erhardt, Gerd Frickhöffer, Harald Leipnitz, Milan Srdoč, Terence Hill, Veljko Maričić
Q310150 Q1268164 Q108154 Q243430 Q552681 Q231477 Q515442 Q66370 Q1744455 Q2294329 Q103988 Q2512412 Q84330 Q275066 Q354223 Q455877 Q1911921 Q898714 Q1658517 Q7877031
OR((Q785492,P161,c(Q502895)), (Q19581945,P161,c(Q502895)))
action filter_type
action union
action find
entity Q785492
relation P161
action find
entity Q19581945
relation P161
type Q502895
[ANSWERS] starred in Der Ölprinz or Sedige Sedu
{'OR': [['Q785492', 'P161', {'concept': 'Q502895'}], ['Q19581945', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { ?z property:P161 ?g . VALUES ( ?z ) { ( resource:Q785492 ) ( resource:Q19581945 ) } } }
Stewart Granger Dušan Janićijević Gerd Frickhöffer Terence Hill Pierre Brice Zvonimir Črnko Antun Nalis Heinz Erhardt Walt Barnes Slobodan Dimitrijević Antje Weisgerber Veljko Maričić Harald Leipnitz Macha Méril Milan Srdoč Stole Aranđelović Milivoje Popović-Mavid Branko Supek Ilija Ivezić Udaykumar
Antje Weisgerber, Walt Barnes, Ilija Ivezić, Dušan Janićijević, Heinz Erhardt, Gerd Frickhöffer, Harald Leipnitz, Milan Srdoč, Terence Hill and Veljko Maričić starred in Der Ölprinz or Sedige Sedu
Antje Weisgerber Walt Barnes Ilija Ivezić Dušan Janićijević Heinz Erhardt Gerd Frickhöffer Harald Leipnitz Milan Srdoč Terence Hill Veljko Maričić
action filter_type
action union
action find
entity Der Ölprinz
relation cast member
action find
entity Sedige Sedu
relation cast member
type common name
{'OR': [['Der Ölprinz', 'cast member', {'concept': 'common name'}], ['Sedige Sedu', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { ?z property:cast_member ?g . VALUES ( ?z ) { ( resource:Der_Ölprinz ) ( resource:Sedige_Sedu ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744455
P1196
Q1931388
USER
What manner did Walt Barnes die ?
(Q1744455,P1196,c(Q1931388))
action filter_type
action find
entity Q1744455
relation P1196
type Q1931388
['Q1744455', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q1744455 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
Walt Barnes
action filter_type
action find
entity Walt Barnes
relation manner of death
type cause of death
['Walt Barnes', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Walt_Barnes property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1744455,P1196,c(Q1931388))
action filter_type
action find
entity Q1744455
relation P1196
type Q1931388
Walt Barnes died of [ANSWER]
['Q1744455', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q1744455 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
natural causes
Walt Barnes died of natural causes
natural causes
action filter_type
action find
entity Walt Barnes
relation manner of death
type cause of death
['Walt Barnes', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Walt_Barnes property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744455
P607
Q198
USER
What was the war that Walt Barnes took part in
(Q1744455,P607,c(Q198))
action filter_type
action find
entity Q1744455
relation P607
type Q198
['Q1744455', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q1744455 property:P607 ?b . ?b rdf:type ontology:Q198 }
Walt Barnes
action filter_type
action find
entity Walt Barnes
relation conflict
type war
['Walt Barnes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Walt_Barnes property:conflict ?b . ?b rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q1744455,P607,c(Q198))
action filter_type
action find
entity Q1744455
relation P607
type Q198
The war that Walt Barnes took part in was during [ANSWER]
['Q1744455', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q1744455 property:P607 ?b . ?b rdf:type ontology:Q198 }
World War II
The war that Walt Barnes took part in was during World War II
World War II
action filter_type
action find
entity Walt Barnes
relation conflict
type war
['Walt Barnes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Walt_Barnes property:conflict ?b . ?b rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744455
P509
Q2057971
USER
What caused the death of Walt Barnes ?
(Q1744455,P509,c(Q2057971))
action filter_type
action find
entity Q1744455
relation P509
type Q2057971
['Q1744455', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . resource:Q1744455 property:P509 ?l }
Walt Barnes
action filter_type
action find
entity Walt Barnes
relation cause of death
type health problem
['Walt Barnes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . resource:Walt_Barnes property:cause_of_death ?l }
[]
health problem
Q12206
SYSTEM
diabetes mellitus
Q12206
(Q1744455,P509,c(Q2057971))
action filter_type
action find
entity Q1744455
relation P509
type Q2057971
[ANSWER] caused the death of Walt Barnes
['Q1744455', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . resource:Q1744455 property:P509 ?l }
diabetes mellitus
Diabetes mellitus caused the death of Walt Barnes
diabetes mellitus
action filter_type
action find
entity Walt Barnes
relation cause of death
type health problem
['Walt Barnes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . resource:Walt_Barnes property:cause_of_death ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q79529 Q2057971
USER
How many chemical substances leads to around 1 health problem ?
(c(Q2057971),P828,c(Q79529))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q79529
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P828 ?y . ?y rdf:type ontology:Q79529 . ?b rdf:type ontology:Q2057971 } GROUP BY ?y } . FILTER ( ?t = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation has cause
type chemical substance
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:has_cause ?y . ?y rdf:type ontology:chemical_substance . ?b rdf:type ontology:health_problem } GROUP BY ?y } . FILTER ( ?t = 1 ) }
[]
chemical substance health problem
SYSTEM
2
Q422549 Q212936
(c(Q2057971),P828,c(Q79529))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q79529
type Q2057971
value 1
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P828 ?y . ?y rdf:type ontology:Q79529 . ?b rdf:type ontology:Q2057971 } GROUP BY ?y } . FILTER ( ?t = 1 ) }
glucocorticoid aflatoxins
2
action count
action approx
action find_reverse_tuple_counts
relation has cause
type chemical substance
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:has_cause ?y . ?y rdf:type ontology:chemical_substance . ?b rdf:type ontology:health_problem } GROUP BY ?y } . FILTER ( ?t = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744455
P106
Q12737077
USER
What are the job of Walt Barnes ?
(Q1744455,P106,c(Q12737077))
action filter_type
action find
entity Q1744455
relation P106
type Q12737077
['Q1744455', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1744455 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Walt Barnes
action filter_type
action find
entity Walt Barnes
relation occupation
type occupation
['Walt Barnes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Walt_Barnes property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q10798782 Q19204627 Q33999
SYSTEM
television actor, American football player, actor
Q10798782 Q19204627 Q33999
(Q1744455,P106,c(Q12737077))
action filter_type
action find
entity Q1744455
relation P106
type Q12737077
The job of Walt Barnes are a [ANSWERS]
['Q1744455', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1744455 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
television actor American football player actor
The job of Walt Barnes are a television actor, American football player and actor
television actor American football player actor
action filter_type
action find
entity Walt Barnes
relation occupation
type occupation
['Walt Barnes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Walt_Barnes property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1744455
P241
Q781132
USER
Which military branch did that person belong to ?
(Q10798782,P241,c(Q781132)) (Q19204627,P241,c(Q781132)) (Q33999,P241,c(Q781132))
action filter_type
action find
entity Q1744455
relation P241
type Q781132
['Q10798782', 'P241', {'concept': 'Q781132'}] ['Q19204627', 'P241', {'concept': 'Q781132'}] ['Q33999', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q1744455 property:P241 ?g . ?g rdf:type ontology:Q781132 }
Walt Barnes
action filter_type
action find
entity Walt Barnes
relation military branch
type military branch
['television actor', 'military branch', {'concept': 'military branch'}] ['American football player', 'military branch', {'concept': 'military branch'}] ['actor', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Walt_Barnes property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q10798782,P241,c(Q781132)) (Q19204627,P241,c(Q781132)) (Q33999,P241,c(Q781132))
action filter_type
action find
entity Q1744455
relation P241
type Q781132
That person belonged a [ANSWER]
['Q10798782', 'P241', {'concept': 'Q781132'}] ['Q19204627', 'P241', {'concept': 'Q781132'}] ['Q33999', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q1744455 property:P241 ?g . ?g rdf:type ontology:Q781132 }
United States Army
That person belonged a United States Army
United States Army
action filter_type
action find
entity Walt Barnes
relation military branch
type military branch
['television actor', 'military branch', {'concept': 'military branch'}] ['American football player', 'military branch', {'concept': 'military branch'}] ['actor', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Walt_Barnes property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q9212 Q5492260
P17
Q15617994
USER
Does that military branch belong to Frankston Independent School District ?
(Q9212,P17,Q5492260)
action is_in
entity Q5492260
action find
entity Q9212
relation P17
['Q9212', 'P17', 'Q5492260']
ASK WHERE { resource:Q9212 property:P17 resource:Q5492260 }
United States Army Frankston Independent School District
action is_in
entity Frankston Independent School District
action find
entity United States Army
relation country
['United States Army', 'country', 'Frankston Independent School District']
ASK WHERE { resource:United_States_Army property:country resource:Frankston_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q9212,P17,Q5492260)
action is_in
entity Q5492260
action find
entity Q9212
relation P17
[ANSWER]
['Q9212', 'P17', 'Q5492260']
ASK WHERE { resource:Q9212 property:P17 resource:Q5492260 }
No
action is_in
entity Frankston Independent School District
action find
entity United States Army
relation country
['United States Army', 'country', 'Frankston Independent School District']
ASK WHERE { resource:United_States_Army property:country resource:Frankston_Independent_School_District }
[]