Simple Question (Direct)
Simple Question
Q1621558
P119
Q43229
USER
Which organization is the resting place of Hobart Bosworth ?
(Q1621558,P119,c(Q43229))
action filter_type
action find
entity Q1621558
relation P119
type Q43229
['Q1621558', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q1621558 property:P119 ?r }
Hobart Bosworth
action filter_type
action find
entity Hobart Bosworth
relation place of burial
type organization
['Hobart Bosworth', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:Hobart_Bosworth property:place_of_burial ?r }
[]
organization
Q1437214
SYSTEM
Forest Lawn Memorial Park
Q1437214
(Q1621558,P119,c(Q43229))
action filter_type
action find
entity Q1621558
relation P119
type Q43229
Hobart [ANSWER] is the resting place of Hobart Bosworth
['Q1621558', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q43229 . resource:Q1621558 property:P119 ?r }
Forest Lawn Memorial Park
Hobart Forest Lawn Memorial Park is the resting place of Hobart Bosworth
Forest Lawn Memorial Park
action filter_type
action find
entity Hobart Bosworth
relation place of burial
type organization
['Hobart Bosworth', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:organization . resource:Hobart_Bosworth property:place_of_burial ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21070548
P137
Q43229 Q1875621
USER
How many aircraft classes are the administrator of more number of organizations than Danish F-16 fleet ?
(c(Q1875621),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q1875621
type Q43229
action count
action filter_type
action find
entity Q21070548
relation P137
type Q1875621
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?c ) WHERE { ?h property:P137 ?m . ?h rdf:type ontology:Q1875621 . ?m rdf:type ontology:Q43229 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q21070548 property:P137 ?j . ?j rdf:type ontology:Q1875621 } } . FILTER ( ?c > ?l ) }
Danish F-16 fleet
action count
action greater
action find_tuple_counts
relation operator
type aircraft class
type organization
action count
action filter_type
action find
entity Danish F-16 fleet
relation operator
type aircraft class
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?c ) WHERE { ?h property:operator ?m . ?h rdf:type ontology:aircraft_class . ?m rdf:type ontology:organization } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Danish_F-16_fleet property:operator ?j . ?j rdf:type ontology:aircraft_class } } . FILTER ( ?c > ?l ) }
[]
organization aircraft class
SYSTEM
4
Q24269678 Q21150511 Q24238509 Q24238480
(c(Q1875621),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q1875621
type Q43229
action count
action filter_type
action find
entity Q21070548
relation P137
type Q1875621
[ANSWER]
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?c ) WHERE { ?h property:P137 ?m . ?h rdf:type ontology:Q1875621 . ?m rdf:type ontology:Q43229 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q21070548 property:P137 ?j . ?j rdf:type ontology:Q1875621 } } . FILTER ( ?c > ?l ) }
global military helicopter fleet Johnson Flying Service fleet global military airplane fleet global military aircraft fleet
4
action count
action greater
action find_tuple_counts
relation operator
type aircraft class
type organization
action count
action filter_type
action find
entity Danish F-16 fleet
relation operator
type aircraft class
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?c ) WHERE { ?h property:operator ?m . ?h rdf:type ontology:aircraft_class . ?m rdf:type ontology:organization } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Danish_F-16_fleet property:operator ?j . ?j rdf:type ontology:aircraft_class } } . FILTER ( ?c > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q17485027
P137
Q43229 Q1875621
USER
And what about Armenian Mi-24 fleet?
(c(Q1875621),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q1875621
type Q43229
action count
action filter_type
action find
entity Q17485027
relation P137
type Q1875621
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q17485027 property:P137 ?s . ?s rdf:type ontology:Q1875621 } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?b ) WHERE { ?j property:P137 ?c . ?c rdf:type ontology:Q43229 . ?j rdf:type ontology:Q1875621 } GROUP BY ?j } }
Armenian Mi-24 fleet
action count
action greater
action find_tuple_counts
relation operator
type aircraft class
type organization
action count
action filter_type
action find
entity Armenian Mi-24 fleet
relation operator
type aircraft class
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Armenian_Mi-24_fleet property:operator ?s . ?s rdf:type ontology:aircraft_class } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?b ) WHERE { ?j property:operator ?c . ?c rdf:type ontology:organization . ?j rdf:type ontology:aircraft_class } GROUP BY ?j } }
[]
organization aircraft class
SYSTEM
4
Q24269678 Q21150511 Q24238509 Q24238480
(c(Q1875621),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q1875621
type Q43229
action count
action filter_type
action find
entity Q17485027
relation P137
type Q1875621
[ANSWER]
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q17485027 property:P137 ?s . ?s rdf:type ontology:Q1875621 } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?b ) WHERE { ?j property:P137 ?c . ?c rdf:type ontology:Q43229 . ?j rdf:type ontology:Q1875621 } GROUP BY ?j } }
global military helicopter fleet Johnson Flying Service fleet global military airplane fleet global military aircraft fleet
4
action count
action greater
action find_tuple_counts
relation operator
type aircraft class
type organization
action count
action filter_type
action find
entity Armenian Mi-24 fleet
relation operator
type aircraft class
[{'concept': 'aircraft class'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Armenian_Mi-24_fleet property:operator ?s . ?s rdf:type ontology:aircraft_class } } . FILTER ( ?b > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?b ) WHERE { ?j property:operator ?c . ?c rdf:type ontology:organization . ?j rdf:type ontology:aircraft_class } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1437214
P119
Q16979650 Q15619164
USER
How many sibling groups or abstract beings have Forest Lawn Memorial Park as place of burial ?
(c(Q16979650),P119,Q1437214) (c(Q15619164),P119,Q1437214)
action count
action union
action filter_type
action find_reverse
entity Q1437214
relation P119
type Q16979650
action filter_type
action find_reverse
entity Q1437214
relation P119
type Q15619164
[{'concept': 'Q16979650'}, 'P119', 'Q1437214'] [{'concept': 'Q15619164'}, 'P119', 'Q1437214']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q16979650 ) ( ontology:Q15619164 ) } }
Forest Lawn Memorial Park
action count
action union
action filter_type
action find_reverse
entity Forest Lawn Memorial Park
relation place of burial
type sibling group
action filter_type
action find_reverse
entity Forest Lawn Memorial Park
relation place of burial
type abstract being
[{'concept': 'sibling group'}, 'place of burial', 'Forest Lawn Memorial Park'] [{'concept': 'abstract being'}, 'place of burial', 'Forest Lawn Memorial Park']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:sibling_group ) ( ontology:abstract_being ) } }
[]
sibling group abstract being
SYSTEM
2
Q15999293 Q8704
(c(Q16979650),P119,Q1437214) (c(Q15619164),P119,Q1437214)
action count
action union
action filter_type
action find_reverse
entity Q1437214
relation P119
type Q16979650
action filter_type
action find_reverse
entity Q1437214
relation P119
type Q15619164
[ANSWER]
[{'concept': 'Q16979650'}, 'P119', 'Q1437214'] [{'concept': 'Q15619164'}, 'P119', 'Q1437214']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q16979650 ) ( ontology:Q15619164 ) } }
Duncan Sisters Walt Disney
2
action count
action union
action filter_type
action find_reverse
entity Forest Lawn Memorial Park
relation place of burial
type sibling group
action filter_type
action find_reverse
entity Forest Lawn Memorial Park
relation place of burial
type abstract being
[{'concept': 'sibling group'}, 'place of burial', 'Forest Lawn Memorial Park'] [{'concept': 'abstract being'}, 'place of burial', 'Forest Lawn Memorial Park']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:sibling_group ) ( ontology:abstract_being ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1621558
P106
Q12737077
USER
Which occupations have Hobart Bosworth as his/her 's career ?
(Q1621558,P106,c(Q12737077))
action filter_type
action find
entity Q1621558
relation P106
type Q12737077
['Q1621558', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1621558 property:P106 ?p }
Hobart Bosworth
action filter_type
action find
entity Hobart Bosworth
relation occupation
type occupation
['Hobart Bosworth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Hobart_Bosworth property:occupation ?p }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1621558,P106,c(Q12737077))
action filter_type
action find
entity Q1621558
relation P106
type Q12737077
The [ANSWERS] have Hobart Bosworth as his/her 's career
['Q1621558', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1621558 property:P106 ?p }
actor stage actor
The actor and stage actor have Hobart Bosworth as his/her 's career
actor stage actor
action filter_type
action find
entity Hobart Bosworth
relation occupation
type occupation
['Hobart Bosworth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Hobart_Bosworth property:occupation ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1621558
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q33999,P509,c(Q2057971)) (Q2259451,P509,c(Q2057971))
action filter_type
action find
entity Q1621558
relation P509
type Q2057971
['Q33999', 'P509', {'concept': 'Q2057971'}] ['Q2259451', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q1621558 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
Hobart Bosworth
action filter_type
action find
entity Hobart Bosworth
relation cause of death
type health problem
['actor', 'cause of death', {'concept': 'health problem'}] ['stage actor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Hobart_Bosworth property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q33999,P509,c(Q2057971)) (Q2259451,P509,c(Q2057971))
action filter_type
action find
entity Q1621558
relation P509
type Q2057971
The [ANSWER] was the cause of death of that person
['Q33999', 'P509', {'concept': 'Q2057971'}] ['Q2259451', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q1621558 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
pneumonia
The pneumonia was the cause of death of that person
pneumonia
action filter_type
action find
entity Hobart Bosworth
relation cause of death
type health problem
['actor', 'cause of death', {'concept': 'health problem'}] ['stage actor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Hobart_Bosworth property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12192 Q21080030 Q510494
P2176
Q8386
USER
Does that health problem requires gadobenate dimeglumine and triflupromazine to be prescribed ?
(Q12192,P2176,Q21080030) (Q12192,P2176,Q510494)
action is_in
entity Q12192
action intersection
action find_reverse
entity Q21080030
relation P2176
action find_reverse
entity Q510494
relation P2176
['Q12192', 'P2176', 'Q21080030'] ['Q12192', 'P2176', 'Q510494']
ASK WHERE { resource:Q12192 property:P2176 resource:Q510494 . resource:Q12192 property:P2176 resource:Q21080030 }
pneumonia gadobenate dimeglumine triflupromazine
action is_in
entity pneumonia
action intersection
action find_reverse
entity gadobenate dimeglumine
relation drug used for treatment
action find_reverse
entity triflupromazine
relation drug used for treatment
['pneumonia', 'drug used for treatment', 'gadobenate dimeglumine'] ['pneumonia', 'drug used for treatment', 'triflupromazine']
ASK WHERE { resource:pneumonia property:drug_used_for_treatment resource:triflupromazine . resource:pneumonia property:drug_used_for_treatment resource:gadobenate_dimeglumine }
[]
drug
SYSTEM
NO
(Q12192,P2176,Q21080030) (Q12192,P2176,Q510494)
action is_in
entity Q12192
action intersection
action find_reverse
entity Q21080030
relation P2176
action find_reverse
entity Q510494
relation P2176
[ANSWER]
['Q12192', 'P2176', 'Q21080030'] ['Q12192', 'P2176', 'Q510494']
ASK WHERE { resource:Q12192 property:P2176 resource:Q510494 . resource:Q12192 property:P2176 resource:Q21080030 }
No
action is_in
entity pneumonia
action intersection
action find_reverse
entity gadobenate dimeglumine
relation drug used for treatment
action find_reverse
entity triflupromazine
relation drug used for treatment
['pneumonia', 'drug used for treatment', 'gadobenate dimeglumine'] ['pneumonia', 'drug used for treatment', 'triflupromazine']
ASK WHERE { resource:pneumonia property:drug_used_for_treatment resource:triflupromazine . resource:pneumonia property:drug_used_for_treatment resource:gadobenate_dimeglumine }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12192
P2175
Q8386
USER
Which drugs are used for treatment of that health problem ?
action filter_type
action find_reverse
entity Q12192
relation P2175
type Q8386
SELECT DISTINCT ?p WHERE { ?p property:P2175 resource:Q12192 . ?p rdf:type ontology:Q8386 }
pneumonia
action filter_type
action find_reverse
entity pneumonia
relation medical condition treated
type drug
SELECT DISTINCT ?p WHERE { ?p property:medical_condition_treated resource:pneumonia . ?p rdf:type ontology:drug }
[]
drug
Q670131 Q976559 Q139347
SYSTEM
simvastatin, Sparfloxacin, Cholecalciferol
Q420394 Q139347 Q976559 Q670131 Q420542 Q418546 Q375613 Q424972
action filter_type
action find_reverse
entity Q12192
relation P2175
type Q8386
[ANSWERS] are used for treatment of that health problem
SELECT DISTINCT ?p WHERE { ?p property:P2175 resource:Q12192 . ?p rdf:type ontology:Q8386 }
sucralfate Cholecalciferol Sparfloxacin simvastatin ticagrelor Aztreonam RK-0202 prednisone
Simvastatin, Sparfloxacin and Cholecalciferol are used for treatment of that health problem
simvastatin Sparfloxacin Cholecalciferol
action filter_type
action find_reverse
entity pneumonia
relation medical condition treated
type drug
SELECT DISTINCT ?p WHERE { ?p property:medical_condition_treated resource:pneumonia . ?p rdf:type ontology:drug }
[]