Simple Question (Direct)
Simple Question
Q3879914
P495
Q15617994
USER
What is the origin of Lost in the Wild ?
(Q3879914,P495,c(Q15617994))
action filter_type
action find
entity Q3879914
relation P495
type Q15617994
['Q3879914', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3879914 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Lost in the Wild
action filter_type
action find
entity Lost in the Wild
relation country of origin
type designation for an administrative territorial entity
['Lost in the Wild', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lost_in_the_Wild property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3879914,P495,c(Q15617994))
action filter_type
action find
entity Q3879914
relation P495
type Q15617994
The origin of Lost in the Wild is the [ANSWER]
['Q3879914', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3879914 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
The origin of Lost in the Wild is the United States of America
United States of America
action filter_type
action find
entity Lost in the Wild
relation country of origin
type designation for an administrative territorial entity
['Lost in the Wild', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lost_in_the_Wild property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3879914
P921
Q9332
USER
What was the main subject in the work Lost in the Wild ?
(Q3879914,P921,c(Q9332))
action filter_type
action find
entity Q3879914
relation P921
type Q9332
['Q3879914', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?s WHERE { resource:Q3879914 property:P921 ?s . ?s rdf:type ontology:Q9332 }
Lost in the Wild
action filter_type
action find
entity Lost in the Wild
relation main subject
type behavior
['Lost in the Wild', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?s WHERE { resource:Lost_in_the_Wild property:main_subject ?s . ?s rdf:type ontology:behavior }
[]
behavior
Q765633
SYSTEM
aviation
Q765633
(Q3879914,P921,c(Q9332))
action filter_type
action find
entity Q3879914
relation P921
type Q9332
The main subject in the work Lost in the Wild was the [ANSWER]
['Q3879914', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?s WHERE { resource:Q3879914 property:P921 ?s . ?s rdf:type ontology:Q9332 }
aviation
The main subject in the work Lost in the Wild was the aviation
aviation
action filter_type
action find
entity Lost in the Wild
relation main subject
type behavior
['Lost in the Wild', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?s WHERE { resource:Lost_in_the_Wild property:main_subject ?s . ?s rdf:type ontology:behavior }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q765633 Q586686
P366
Q3249551
USER
Is Cavalieri's principle recognized as the main use of that behavior ?
(Q765633,P366,Q586686)
action is_in
entity Q586686
action find
entity Q765633
relation P366
['Q765633', 'P366', 'Q586686']
ASK WHERE { resource:Q765633 property:P366 resource:Q586686 }
aviation Cavalieri's principle
action is_in
entity Cavalieri's principle
action find
entity aviation
relation use
['aviation', 'use', "Cavalieri's principle"]
ASK WHERE { resource:aviation property:use resource:Cavalieri's_principle }
[]
process
SYSTEM
NO
(Q765633,P366,Q586686)
action is_in
entity Q586686
action find
entity Q765633
relation P366
[ANSWER]
['Q765633', 'P366', 'Q586686']
ASK WHERE { resource:Q765633 property:P366 resource:Q586686 }
No
action is_in
entity Cavalieri's principle
action find
entity aviation
relation use
['aviation', 'use', "Cavalieri's principle"]
ASK WHERE { resource:aviation property:use resource:Cavalieri's_principle }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3879914 Q21510881 Q118763
P161
Q502895
USER
Does Lost in the Wild have William T. Doyle and David Clennon in its star cast ?
(Q3879914,P161,Q21510881) (Q3879914,P161,Q118763)
action is_in
entity Q3879914
action intersection
action find_reverse
entity Q21510881
relation P161
action find_reverse
entity Q118763
relation P161
['Q3879914', 'P161', 'Q21510881'] ['Q3879914', 'P161', 'Q118763']
ASK WHERE { resource:Q3879914 property:P161 resource:Q21510881 . resource:Q3879914 property:P161 resource:Q118763 }
Lost in the Wild William T. Doyle David Clennon
action is_in
entity Lost in the Wild
action intersection
action find_reverse
entity William T. Doyle
relation cast member
action find_reverse
entity David Clennon
relation cast member
['Lost in the Wild', 'cast member', 'William T. Doyle'] ['Lost in the Wild', 'cast member', 'David Clennon']
ASK WHERE { resource:Lost_in_the_Wild property:cast_member resource:William_T._Doyle . resource:Lost_in_the_Wild property:cast_member resource:David_Clennon }
[]
common name
SYSTEM
NO and YES respectively
(Q3879914,P161,Q21510881) (Q3879914,P161,Q118763)
action is_in
entity Q3879914
action intersection
action find_reverse
entity Q21510881
relation P161
action find_reverse
entity Q118763
relation P161
[ANSWER]
['Q3879914', 'P161', 'Q21510881'] ['Q3879914', 'P161', 'Q118763']
ASK WHERE { resource:Q3879914 property:P161 resource:Q21510881 . resource:Q3879914 property:P161 resource:Q118763 }
NO and YES respectively
action is_in
entity Lost in the Wild
action intersection
action find_reverse
entity William T. Doyle
relation cast member
action find_reverse
entity David Clennon
relation cast member
['Lost in the Wild', 'cast member', 'William T. Doyle'] ['Lost in the Wild', 'cast member', 'David Clennon']
ASK WHERE { resource:Lost_in_the_Wild property:cast_member resource:William_T._Doyle . resource:Lost_in_the_Wild property:cast_member resource:David_Clennon }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q765633 Q42240
P366
Q3249551
USER
Is research considered to be the main utilization of that behavior ?
(Q765633,P366,Q42240)
action is_in
entity Q42240
action find
entity Q765633
relation P366
['Q765633', 'P366', 'Q42240']
ASK WHERE { resource:Q765633 property:P366 resource:Q42240 }
aviation research
action is_in
entity research
action find
entity aviation
relation use
['aviation', 'use', 'research']
ASK WHERE { resource:aviation property:use resource:research }
[]
process
SYSTEM
YES
(Q765633,P366,Q42240)
action is_in
entity Q42240
action find
entity Q765633
relation P366
[ANSWER]
['Q765633', 'P366', 'Q42240']
ASK WHERE { resource:Q765633 property:P366 resource:Q42240 }
Yes
action is_in
entity research
action find
entity aviation
relation use
['aviation', 'use', 'research']
ASK WHERE { resource:aviation property:use resource:research }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4350791 Q765633
P366
Q1150070
USER
Which changes are considered to be the main utilization of aviation or river crossing ?
OR((Q765633,P366,c(Q1150070)), (Q4350791,P366,c(Q1150070)))
action filter_type
action union
action find
entity Q765633
relation P366
action find
entity Q4350791
relation P366
type Q1150070
{'OR': [['Q765633', 'P366', {'concept': 'Q1150070'}], ['Q4350791', 'P366', {'concept': 'Q1150070'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q765633 property:P366 ?m } UNION { resource:Q4350791 property:P366 ?m } } . ?m rdf:type ontology:Q1150070 }
river crossing aviation
action filter_type
action union
action find
entity aviation
relation use
action find
entity river crossing
relation use
type change
{'OR': [['aviation', 'use', {'concept': 'change'}], ['river crossing', 'use', {'concept': 'change'}]]}
SELECT DISTINCT ?m WHERE { { { resource:aviation property:use ?m } UNION { resource:river_crossing property:use ?m } } . ?m rdf:type ontology:change }
[]
change
Q7590
SYSTEM
transport
Q7590
OR((Q765633,P366,c(Q1150070)), (Q4350791,P366,c(Q1150070)))
action filter_type
action union
action find
entity Q765633
relation P366
action find
entity Q4350791
relation P366
type Q1150070
[ANSWER] is considered to be the main utilization of aviation or river crossing
{'OR': [['Q765633', 'P366', {'concept': 'Q1150070'}], ['Q4350791', 'P366', {'concept': 'Q1150070'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q765633 property:P366 ?m } UNION { resource:Q4350791 property:P366 ?m } } . ?m rdf:type ontology:Q1150070 }
transport
Transport is considered to be the main utilization of aviation or river crossing
transport
action filter_type
action union
action find
entity aviation
relation use
action find
entity river crossing
relation use
type change
{'OR': [['aviation', 'use', {'concept': 'change'}], ['river crossing', 'use', {'concept': 'change'}]]}
SELECT DISTINCT ?m WHERE { { { resource:aviation property:use ?m } UNION { resource:river_crossing property:use ?m } } . ?m rdf:type ontology:change }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7433714
P101
Q9332 Q21114848 Q502895
USER
Which behaviors do more number of magazine genres or people belong to than Science outreach ?
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q7433714
relation P101
type Q21114848
type Q502895
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { { ?g rdf:type ontology:Q9332 . ?a rdf:type ontology:Q21114848 . ?a property:P101 ?g } UNION { ?a property:P101 ?g . ?g rdf:type ontology:Q9332 . ?a rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P101 resource:Q7433714 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } } } } }
Science outreach
action greater
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action count
action filter_multi_types
action find_reverse
entity Science outreach
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { { ?g rdf:type ontology:behavior . ?a rdf:type ontology:magazine_genre . ?a property:field_of_work ?g } UNION { ?a property:field_of_work ?g . ?g rdf:type ontology:behavior . ?a rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:field_of_work resource:Science_outreach . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:magazine_genre ) ( ontology:common_name ) } } } } }
[]
behavior magazine genre common name
Q765633 Q173799 Q36963
SYSTEM
aviation, entertainment, hunting
Q36963 Q173799 Q165950 Q8434 Q133080 Q877729 Q765633 Q61509 Q27939 Q53121 Q3429919 Q3972943 Q184199 Q4488757 Q867634 Q735 Q11042 Q472328 Q171141 Q336 Q11030
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q7433714
relation P101
type Q21114848
type Q502895
[ANSWERS] do more number of magazine genres or people belong to than Science outreach
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { { ?g rdf:type ontology:Q9332 . ?a rdf:type ontology:Q21114848 . ?a property:P101 ?g } UNION { ?a property:P101 ?g . ?g rdf:type ontology:Q9332 . ?a rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P101 resource:Q7433714 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } } } } }
hunting entertainment espionage education public relations handicraft aviation travel singing cycling screenwriting publishing automation intelligence assessment dream interpretation art culture science communication gastronomy science journalism
Aviation, entertainment and hunting do more number of magazine genres or people belong to than Science outreach
aviation entertainment hunting
action greater
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action count
action filter_multi_types
action find_reverse
entity Science outreach
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { { ?g rdf:type ontology:behavior . ?a rdf:type ontology:magazine_genre . ?a property:field_of_work ?g } UNION { ?a property:field_of_work ?g . ?g rdf:type ontology:behavior . ?a rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:field_of_work resource:Science_outreach . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:magazine_genre ) ( ontology:common_name ) } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q20465 Q4350791
P366
Q1150070
USER
Which changes are the main uses of river crossing and tank truck ?
AND((Q4350791,P366,c(Q1150070)), (Q20465,P366,c(Q1150070)))
action filter_type
action intersection
action find
entity Q4350791
relation P366
action find
entity Q20465
relation P366
type Q1150070
{'AND': [['Q4350791', 'P366', {'concept': 'Q1150070'}], ['Q20465', 'P366', {'concept': 'Q1150070'}]]}
SELECT DISTINCT ?t WHERE { resource:Q4350791 property:P366 ?t . resource:Q20465 property:P366 ?t . ?t rdf:type ontology:Q1150070 }
tank truck river crossing
action filter_type
action intersection
action find
entity river crossing
relation use
action find
entity tank truck
relation use
type change
{'AND': [['river crossing', 'use', {'concept': 'change'}], ['tank truck', 'use', {'concept': 'change'}]]}
SELECT DISTINCT ?t WHERE { resource:river_crossing property:use ?t . resource:tank_truck property:use ?t . ?t rdf:type ontology:change }
[]
change
Q7590
SYSTEM
transport
Q7590
AND((Q4350791,P366,c(Q1150070)), (Q20465,P366,c(Q1150070)))
action filter_type
action intersection
action find
entity Q4350791
relation P366
action find
entity Q20465
relation P366
type Q1150070
[ANSWER] is the main uses of river crossing and tank truck
{'AND': [['Q4350791', 'P366', {'concept': 'Q1150070'}], ['Q20465', 'P366', {'concept': 'Q1150070'}]]}
SELECT DISTINCT ?t WHERE { resource:Q4350791 property:P366 ?t . resource:Q20465 property:P366 ?t . ?t rdf:type ontology:Q1150070 }
transport
Transport is the main uses of river crossing and tank truck
transport
action filter_type
action intersection
action find
entity river crossing
relation use
action find
entity tank truck
relation use
type change
{'AND': [['river crossing', 'use', {'concept': 'change'}], ['tank truck', 'use', {'concept': 'change'}]]}
SELECT DISTINCT ?t WHERE { resource:river_crossing property:use ?t . resource:tank_truck property:use ?t . ?t rdf:type ontology:change }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P921
Q838948
USER
How many works of art are that change a main subject of ?
(c(Q838948),P921,Q7590)
action count
action filter_type
action find_reverse
entity Q7590
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q7590']
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P921 resource:Q7590 . ?m rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity transport
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'transport']
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:main_subject resource:transport . ?m rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
15
Q7959649 Q12117923 Q7733989 Q7548151 Q8034626 Q5363837 Q7702857 Q7548602 Q7283873 Q14954449 Q7773174 Q4929645 Q7717769 Q1026650 Q6221798
(c(Q838948),P921,Q7590)
action count
action filter_type
action find_reverse
entity Q7590
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q7590']
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P921 resource:Q7590 . ?m rdf:type ontology:Q838948 }
Wagon Train The England of Elizabeth The Finishing Line Snow Work in Progress Elizabethan Express Terminus Snowdrift at Bleath Gill Rail Robbie The Wackiest Wagon Train in the West Blue Pullman The Big Road Red Ball Express John Betjeman Goes By Train
15
action count
action filter_type
action find_reverse
entity transport
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'transport']
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:main_subject resource:transport . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1823834 Q3879914
P840 P27
Q15617994
USER
Which administrative territories are the narrative locations of Lost in the Wild or are Danny Mekic' an inhabitant of ?
OR((Q3879914,P840,c(Q15617994)), (Q1823834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3879914
relation P840
action find
entity Q1823834
relation P27
type Q15617994
{'OR': [['Q3879914', 'P840', {'concept': 'Q15617994'}], ['Q1823834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q3879914 property:P840 ?i } UNION { resource:Q1823834 property:P27 ?i } } }
Danny Mekic' Lost in the Wild
action filter_type
action union
action find
entity Lost in the Wild
relation narrative location
action find
entity Danny Mekic'
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lost in the Wild', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ["Danny Mekic'", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lost_in_the_Wild property:narrative_location ?i } UNION { resource:Danny_Mekic' property:country_of_citizenship ?i } } }
[]
designation for an administrative territorial entity
Q96 Q29999
SYSTEM
Mexico, Kingdom of the Netherlands
Q96 Q29999
OR((Q3879914,P840,c(Q15617994)), (Q1823834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3879914
relation P840
action find
entity Q1823834
relation P27
type Q15617994
[ANSWERS] are the narrative locations of Lost in the Wild or are Danny Mekic' an inhabitant of
{'OR': [['Q3879914', 'P840', {'concept': 'Q15617994'}], ['Q1823834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q3879914 property:P840 ?i } UNION { resource:Q1823834 property:P27 ?i } } }
Mexico Kingdom of the Netherlands
Mexico and Kingdom of the Netherlands are the narrative locations of Lost in the Wild or are Danny Mekic' an inhabitant of
Mexico Kingdom of the Netherlands
action filter_type
action union
action find
entity Lost in the Wild
relation narrative location
action find
entity Danny Mekic'
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lost in the Wild', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ["Danny Mekic'", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lost_in_the_Wild property:narrative_location ?i } UNION { resource:Danny_Mekic' property:country_of_citizenship ?i } } }
[]