Simple Question (Direct)
Simple Question
Q721766
P1196
Q1931388
USER
What manner did Thorbjørn Egner die ?
(Q721766,P1196,c(Q1931388))
action filter_type
action find
entity Q721766
relation P1196
type Q1931388
['Q721766', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q721766 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Thorbjørn Egner
action filter_type
action find
entity Thorbjørn Egner
relation manner of death
type cause of death
['Thorbjørn Egner', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Thorbjørn_Egner property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q721766,P1196,c(Q1931388))
action filter_type
action find
entity Q721766
relation P1196
type Q1931388
Thorbjørn Egner died of [ANSWER]
['Q721766', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q721766 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
Thorbjørn Egner died of natural causes
natural causes
action filter_type
action find
entity Thorbjørn Egner
relation manner of death
type cause of death
['Thorbjørn Egner', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Thorbjørn_Egner property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q721766
P58
Q838948
USER
What is that person a screwriter of ?
(c(Q838948),P58,Q3739104)
action filter_type
action find_reverse
entity Q721766
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3739104']
SELECT DISTINCT ?b WHERE { ?b property:P58 resource:Q721766 . ?b rdf:type ontology:Q838948 }
Thorbjørn Egner
action filter_type
action find_reverse
entity Thorbjørn Egner
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'natural causes']
SELECT DISTINCT ?b WHERE { ?b property:screenwriter resource:Thorbjørn_Egner . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3784906
SYSTEM
Karius og Baktus
Q3784906
(c(Q838948),P58,Q3739104)
action filter_type
action find_reverse
entity Q721766
relation P58
type Q838948
That person a screwriter of is [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q3739104']
SELECT DISTINCT ?b WHERE { ?b property:P58 resource:Q721766 . ?b rdf:type ontology:Q838948 }
Karius og Baktus
That person a screwriter of is Karius og Baktus
Karius og Baktus
action filter_type
action find_reverse
entity Thorbjørn Egner
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'natural causes']
SELECT DISTINCT ?b WHERE { ?b property:screenwriter resource:Thorbjørn_Egner . ?b rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3784906 Q17318907 Q21598601
P162
Q502895
USER
Has Karius og Baktus been developed by Joan Martínez i Martínez and Valentin Weinzettl ?
(Q3784906,P162,Q17318907) (Q3784906,P162,Q21598601)
action is_in
entity Q3784906
action intersection
action find_reverse
entity Q17318907
relation P162
action find_reverse
entity Q21598601
relation P162
['Q3784906', 'P162', 'Q17318907'] ['Q3784906', 'P162', 'Q21598601']
ASK WHERE { resource:Q3784906 property:P162 resource:Q17318907 . resource:Q3784906 property:P162 resource:Q21598601 }
Karius og Baktus Joan Martínez i Martínez Valentin Weinzettl
action is_in
entity Karius og Baktus
action intersection
action find_reverse
entity Joan Martínez i Martínez
relation producer
action find_reverse
entity Valentin Weinzettl
relation producer
['Karius og Baktus', 'producer', 'Joan Martínez i Martínez'] ['Karius og Baktus', 'producer', 'Valentin Weinzettl']
ASK WHERE { resource:Karius_og_Baktus property:producer resource:Joan_Martínez_i_Martínez . resource:Karius_og_Baktus property:producer resource:Valentin_Weinzettl }
[]
common name
SYSTEM
NO
(Q3784906,P162,Q17318907) (Q3784906,P162,Q21598601)
action is_in
entity Q3784906
action intersection
action find_reverse
entity Q17318907
relation P162
action find_reverse
entity Q21598601
relation P162
[ANSWER]
['Q3784906', 'P162', 'Q17318907'] ['Q3784906', 'P162', 'Q21598601']
ASK WHERE { resource:Q3784906 property:P162 resource:Q17318907 . resource:Q3784906 property:P162 resource:Q21598601 }
No
action is_in
entity Karius og Baktus
action intersection
action find_reverse
entity Joan Martínez i Martínez
relation producer
action find_reverse
entity Valentin Weinzettl
relation producer
['Karius og Baktus', 'producer', 'Joan Martínez i Martínez'] ['Karius og Baktus', 'producer', 'Valentin Weinzettl']
ASK WHERE { resource:Karius_og_Baktus property:producer resource:Joan_Martínez_i_Martínez . resource:Karius_og_Baktus property:producer resource:Valentin_Weinzettl }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q721766 Q6063
P50
Q2342494
USER
How many collectables have Thorbjørn Egner or Government of the United Kingdom as their author ?
(c(Q2342494),P50,Q721766) (c(Q2342494),P50,Q6063)
action count
action union
action filter_type
action find_reverse
entity Q721766
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q6063
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q721766'] [{'concept': 'Q2342494'}, 'P50', 'Q6063']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P50 resource:Q721766 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P50 resource:Q6063 . ?l rdf:type ontology:Q2342494 } }
Thorbjørn Egner Government of the United Kingdom
action count
action union
action filter_type
action find_reverse
entity Thorbjørn Egner
relation author
type collectable
action filter_type
action find_reverse
entity Government of the United Kingdom
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thorbjørn Egner'] [{'concept': 'collectable'}, 'author', 'Government of the United Kingdom']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:author resource:Thorbjørn_Egner . ?l rdf:type ontology:collectable } UNION { ?l property:author resource:Government_of_the_United_Kingdom . ?l rdf:type ontology:collectable } }
[]
collectable
SYSTEM
4
Q4680660 Q7796166 Q1767054 Q1729647
(c(Q2342494),P50,Q721766) (c(Q2342494),P50,Q6063)
action count
action union
action filter_type
action find_reverse
entity Q721766
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q6063
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q721766'] [{'concept': 'Q2342494'}, 'P50', 'Q6063']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P50 resource:Q721766 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P50 resource:Q6063 . ?l rdf:type ontology:Q2342494 } }
Adaptability and Partnership: Issues for the Strategic Defence Review Thorbjørn Egners lesebøker When the Robbers Came to Cardamom Town Karius and Bactus
4
action count
action union
action filter_type
action find_reverse
entity Thorbjørn Egner
relation author
type collectable
action filter_type
action find_reverse
entity Government of the United Kingdom
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thorbjørn Egner'] [{'concept': 'collectable'}, 'author', 'Government of the United Kingdom']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:author resource:Thorbjørn_Egner . ?l rdf:type ontology:collectable } UNION { ?l property:author resource:Government_of_the_United_Kingdom . ?l rdf:type ontology:collectable } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q721766
P509
Q2057971
USER
What caused the death of Thorbjørn Egner ?
(Q721766,P509,c(Q2057971))
action filter_type
action find
entity Q721766
relation P509
type Q2057971
['Q721766', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q721766 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Thorbjørn Egner
action filter_type
action find
entity Thorbjørn Egner
relation cause of death
type health problem
['Thorbjørn Egner', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Thorbjørn_Egner property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q721766,P509,c(Q2057971))
action filter_type
action find
entity Q721766
relation P509
type Q2057971
L [ANSWER] caused the death of Thorbjørn Egner
['Q721766', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q721766 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
myocardial infarction
L myocardial infarction caused the death of Thorbjørn Egner
myocardial infarction
action filter_type
action find
entity Thorbjørn Egner
relation cause of death
type health problem
['Thorbjørn Egner', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Thorbjørn_Egner property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q3839081
USER
How many disasters do atmost 1 health problem lead to ?
(c(Q3839081),P828,c(Q2057971))
action count
action atmost
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?n ) WHERE { ?f property:P828 ?w . ?f rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?n <= 1 ) }
action count
action atmost
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?n ) WHERE { ?f property:has_cause ?w . ?f rdf:type ontology:disaster . ?w rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?n <= 1 ) }
[]
health problem disaster
SYSTEM
25
Q783597 Q671297 Q1470579 Q1582992 Q18147604 Q5150534 Q3589134 Q4919790 Q3960716 Q3589133 Q251039 Q171178 Q858734 Q2036106 Q7672526 Q977367 Q223288 Q2475745 Q11890853 Q11971365 Q8068 Q381183 Q2035019 Q5587844 Q858145
(c(Q3839081),P828,c(Q2057971))
action count
action atmost
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?n ) WHERE { ?f property:P828 ?w . ?f rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?n <= 1 ) }
American Airlines Flight 1420 1983 West Bank fainting epidemic Otter Valley polio epidemic Tanganyika laughter epidemic Aero Flight 217 Comandante Ferraz Antarctic Base fire measles epidemic France 2008 Thai Airways International Flight 311 Silvertown explosion chikungunya epidemic on Réunion US Airways Flight 1549 Fukushima nuclear accident Superga air disaster Polio Epidemic 1916 TWA Flight 841 chemical accident Tenerife airport disaster Siberia Airlines Flight 1812 1978 Finnish Air Force DC-3 crash Førdesveten plane crash flood Aero Flight 311 1854 Broad Street cholera outbreak Gothenburg discothèque fire Space Shuttle Challenger disaster
25
action count
action atmost
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?n ) WHERE { ?f property:has_cause ?w . ?f rdf:type ontology:disaster . ?w rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?n <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q2057971 Q386724 Q191067
USER
How many health problems were discussed in exactly 1 works or articles ?
(c(Q386724)|c(Q191067),P921,c(Q2057971))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } } GROUP BY ?n } . FILTER ( ?b = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:article ) ( ontology:work ) } } GROUP BY ?n } . FILTER ( ?b = 1 ) }
[]
health problem work article
SYSTEM
3
Q268667 Q11072 Q8282
(c(Q386724)|c(Q191067),P921,c(Q2057971))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
value 1
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } } GROUP BY ?n } . FILTER ( ?b = 1 ) }
atopic dermatitis amnestic disorder Addison's disease
3
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:article ) ( ontology:work ) } } GROUP BY ?n } . FILTER ( ?b = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q721766
P110
Q2342494
USER
Which collectable was illustrated by that person ?
action filter_type
action find_reverse
entity Q721766
relation P110
type Q2342494
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P110 resource:Q721766 }
Thorbjørn Egner
action filter_type
action find_reverse
entity Thorbjørn Egner
relation illustrator
type collectable
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:illustrator resource:Thorbjørn_Egner }
[]
collectable
Q1767054
SYSTEM
When the Robbers Came to Cardamom Town
Q1767054
action filter_type
action find_reverse
entity Q721766
relation P110
type Q2342494
When the Robbers came to Cardamom Town was illustrated by that person
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P110 resource:Q721766 }
When the Robbers Came to Cardamom Town
When the Robbers came to Cardamom Town was illustrated by that person
When the Robbers Came to Cardamom Town
action filter_type
action find_reverse
entity Thorbjørn Egner
relation illustrator
type collectable
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:illustrator resource:Thorbjørn_Egner }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3739104 Q10737
P1196
Q502895
USER
How many people died as natural causes and suicide ?
(c(Q502895),P1196,Q3739104) (c(Q502895),P1196,Q10737)
action count
action intersection
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q502895
action filter_type
action find_reverse
entity Q10737
relation P1196
type Q502895
[{'concept': 'Q502895'}, 'P1196', 'Q3739104'] [{'concept': 'Q502895'}, 'P1196', 'Q10737']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1196 resource:Q10737 . ?n rdf:type ontology:Q502895 . ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q502895 }
natural causes suicide
action count
action intersection
action filter_type
action find_reverse
entity natural causes
relation manner of death
type common name
action filter_type
action find_reverse
entity suicide
relation manner of death
type common name
[{'concept': 'common name'}, 'manner of death', 'natural causes'] [{'concept': 'common name'}, 'manner of death', 'suicide']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:manner_of_death resource:suicide . ?n rdf:type ontology:common_name . ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q69843 Q83855
(c(Q502895),P1196,Q3739104) (c(Q502895),P1196,Q10737)
action count
action intersection
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q502895
action filter_type
action find_reverse
entity Q10737
relation P1196
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1196', 'Q3739104'] [{'concept': 'Q502895'}, 'P1196', 'Q10737']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1196 resource:Q10737 . ?n rdf:type ontology:Q502895 . ?n property:P1196 resource:Q3739104 . ?n rdf:type ontology:Q502895 }
Kurt Neumann Vasili Blokhin
2
action count
action intersection
action filter_type
action find_reverse
entity natural causes
relation manner of death
type common name
action filter_type
action find_reverse
entity suicide
relation manner of death
type common name
[{'concept': 'common name'}, 'manner of death', 'natural causes'] [{'concept': 'common name'}, 'manner of death', 'suicide']
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:manner_of_death resource:suicide . ?n rdf:type ontology:common_name . ?n property:manner_of_death resource:natural_causes . ?n rdf:type ontology:common_name }
[]