Simple Question (Direct)
Simple Question
Q2555623
P509
Q2057971
USER
What caused the death of Michael Fox ?
(Q2555623,P509,c(Q2057971))
action filter_type
action find
entity Q2555623
relation P509
type Q2057971
['Q2555623', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q2555623 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
Michael Fox
action filter_type
action find
entity Michael Fox
relation cause of death
type health problem
['Michael Fox', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Michael_Fox property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q2555623,P509,c(Q2057971))
action filter_type
action find
entity Q2555623
relation P509
type Q2057971
[ANSWER] caused the death of Michael Fox
['Q2555623', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q2555623 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
pneumonia
Pneumonia caused the death of Michael Fox
pneumonia
action filter_type
action find
entity Michael Fox
relation cause of death
type health problem
['Michael Fox', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Michael_Fox property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12192
P1995
Q1047113
USER
Which special fields are the medical specialities of that health problem ?
(Q12192,P1995,c(Q1047113))
action filter_type
action find
entity Q12192
relation P1995
type Q1047113
['Q12192', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1047113 . resource:Q12192 property:P1995 ?s }
pneumonia
action filter_type
action find
entity pneumonia
relation medical specialty
type special field
['pneumonia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:special_field . resource:pneumonia property:medical_specialty ?s }
[]
special field
Q203337 Q788926
SYSTEM
pulmonology, Infectious disease
Q203337 Q788926
(Q12192,P1995,c(Q1047113))
action filter_type
action find
entity Q12192
relation P1995
type Q1047113
[ANSWERS] are the medical specialities of that health problem
['Q12192', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1047113 . resource:Q12192 property:P1995 ?s }
pulmonology Infectious disease
Pulmonology and Infectious disease are the medical specialities of that health problem
pulmonology Infectious disease
action filter_type
action find
entity pneumonia
relation medical specialty
type special field
['pneumonia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:special_field . resource:pneumonia property:medical_specialty ?s }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12192
P1995
Q2057971
USER
Do pneumonia have those special fields as the associated medical speciality ?
(Q12192,P1995,Q203337) (Q12192,P1995,Q788926)
action is_in
entity prev_answer
action find
entity Q12192
relation P1995
['Q12192', 'P1995', 'Q203337'] ['Q12192', 'P1995', 'Q788926']
ASK WHERE { resource:Q12192 property:P1995 ?b . VALUES ( ?b ) { ( resource:Q203337 ) ( resource:Q788926 ) } }
pneumonia
action is_in
entity prev_answer
action find
entity pneumonia
relation medical specialty
['pneumonia', 'medical specialty', 'pulmonology'] ['pneumonia', 'medical specialty', 'Infectious disease']
ASK WHERE { resource:pneumonia property:medical_specialty ?b . VALUES ( ?b ) { ( resource:pulmonology ) ( resource:Infectious_disease ) } }
[]
health problem
SYSTEM
YES
(Q12192,P1995,Q203337) (Q12192,P1995,Q788926)
action is_in
entity prev_answer
action find
entity Q12192
relation P1995
[ANSWER]
['Q12192', 'P1995', 'Q203337'] ['Q12192', 'P1995', 'Q788926']
ASK WHERE { resource:Q12192 property:P1995 ?b . VALUES ( ?b ) { ( resource:Q203337 ) ( resource:Q788926 ) } }
Yes
action is_in
entity prev_answer
action find
entity pneumonia
relation medical specialty
['pneumonia', 'medical specialty', 'pulmonology'] ['pneumonia', 'medical specialty', 'Infectious disease']
ASK WHERE { resource:pneumonia property:medical_specialty ?b . VALUES ( ?b ) { ( resource:pulmonology ) ( resource:Infectious_disease ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q788926
P101
Q2057971
USER
Which health problem is the area of Infectious disease ?
(Q788926,P101,c(Q2057971))
action filter_type
action find
entity Q788926
relation P101
type Q2057971
['Q788926', 'P101', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q788926 property:P101 ?w . ?w rdf:type ontology:Q2057971 }
Infectious disease
action filter_type
action find
entity Infectious disease
relation field of work
type health problem
['Infectious disease', 'field of work', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Infectious_disease property:field_of_work ?w . ?w rdf:type ontology:health_problem }
[]
health problem
Q18123741
SYSTEM
infectious disease
Q18123741
(Q788926,P101,c(Q2057971))
action filter_type
action find
entity Q788926
relation P101
type Q2057971
Disease [ANSWER] is the area of [ANSWER]
['Q788926', 'P101', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q788926 property:P101 ?w . ?w rdf:type ontology:Q2057971 }
infectious disease
Disease infectious disease is the area of Infectious disease
infectious disease
action filter_type
action find
entity Infectious disease
relation field of work
type health problem
['Infectious disease', 'field of work', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Infectious_disease property:field_of_work ?w . ?w rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2555623
P161
Q15416
USER
Which television program stars Michael Fox as actor ?
(c(Q15416),P161,Q2555623)
action filter_type
action find_reverse
entity Q2555623
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q2555623']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q2555623 . ?j rdf:type ontology:Q15416 }
Michael Fox
action filter_type
action find_reverse
entity Michael Fox
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Michael Fox']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Michael_Fox . ?j rdf:type ontology:television_program }
[]
television program
Q7751721
SYSTEM
The Missiles of October
Q7751721
(c(Q15416),P161,Q2555623)
action filter_type
action find_reverse
entity Q2555623
relation P161
type Q15416
[ANSWER] stars Michael Fox as actor
[{'concept': 'Q15416'}, 'P161', 'Q2555623']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q2555623 . ?j rdf:type ontology:Q15416 }
The Missiles of October
The Missiles of October stars Michael Fox as actor
The Missiles of October
action filter_type
action find_reverse
entity Michael Fox
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Michael Fox']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Michael_Fox . ?j rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7751721
P1441
Q502895
USER
Which person appears in that television program ?
(c(Q502895),P1441,Q7751721)
action filter_type
action find_reverse
entity Q7751721
relation P1441
type Q502895
[{'concept': 'Q502895'}, 'P1441', 'Q7751721']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q7751721 . ?i rdf:type ontology:Q502895 }
The Missiles of October
action filter_type
action find_reverse
entity The Missiles of October
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', 'The Missiles of October']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:The_Missiles_of_October . ?i rdf:type ontology:common_name }
[]
common name
Q550255
SYSTEM
J. William Fulbright
Q550255
(c(Q502895),P1441,Q7751721)
action filter_type
action find_reverse
entity Q7751721
relation P1441
type Q502895
[ANSWER] appears in that television program
[{'concept': 'Q502895'}, 'P1441', 'Q7751721']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q7751721 . ?i rdf:type ontology:Q502895 }
J. William Fulbright
J. William Fulbright appears in that television program
J. William Fulbright
action filter_type
action find_reverse
entity The Missiles of October
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', 'The Missiles of October']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:The_Missiles_of_October . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7751721
P750
Q4830453
USER
Who is The Missiles of October distributed by ?
(Q7751721,P750,c(Q4830453))
action filter_type
action find
entity Q7751721
relation P750
type Q4830453
['Q7751721', 'P750', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { resource:Q7751721 property:P750 ?h . ?h rdf:type ontology:Q4830453 }
The Missiles of October
action filter_type
action find
entity The Missiles of October
relation distributor
type business enterprise
['The Missiles of October', 'distributor', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { resource:The_Missiles_of_October property:distributor ?h . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Q169889
SYSTEM
American Broadcasting Company
Q169889
(Q7751721,P750,c(Q4830453))
action filter_type
action find
entity Q7751721
relation P750
type Q4830453
The Missiles of October is distributed by the [ANSWER]
['Q7751721', 'P750', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { resource:Q7751721 property:P750 ?h . ?h rdf:type ontology:Q4830453 }
American Broadcasting Company
The Missiles of October is distributed by the American Broadcasting Company
American Broadcasting Company
action filter_type
action find
entity The Missiles of October
relation distributor
type business enterprise
['The Missiles of October', 'distributor', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { resource:The_Missiles_of_October property:distributor ?h . ?h rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q1269299
USER
How many business organizations contains exactly 2 business enterprises as their subordinate ?
(c(Q1269299),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q1269299
type Q4830453
value 2
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?f ) WHERE { ?s property:P355 ?c . ?s rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q4830453 } GROUP BY ?s } . FILTER ( ?f = 2 ) }
action count
action equal
action find_tuple_counts
relation subsidiary
type type of business entity
type business enterprise
value 2
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?f ) WHERE { ?s property:subsidiary ?c . ?s rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:business_enterprise } GROUP BY ?s } . FILTER ( ?f = 2 ) }
[]
business enterprise type of business entity
SYSTEM
1
Q190464
(c(Q1269299),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q1269299
type Q4830453
value 2
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?f ) WHERE { ?s property:P355 ?c . ?s rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q4830453 } GROUP BY ?s } . FILTER ( ?f = 2 ) }
HSBC Holdings
1
action count
action equal
action find_tuple_counts
relation subsidiary
type type of business entity
type business enterprise
value 2
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?f ) WHERE { ?s property:subsidiary ?c . ?s rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:business_enterprise } GROUP BY ?s } . FILTER ( ?f = 2 ) }
[]