Simple Question (Direct)
Simple Question
Q7153443
P241
Q781132
USER
Which military branch is Paul Saunders associated with ?
(Q7153443,P241,c(Q781132))
action filter_type
action find
entity Q7153443
relation P241
type Q781132
['Q7153443', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q7153443 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Paul Saunders
action filter_type
action find
entity Paul Saunders
relation military branch
type military branch
['Paul Saunders', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Saunders property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q7153443,P241,c(Q781132))
action filter_type
action find
entity Q7153443
relation P241
type Q781132
Paul Saunders is associated with [ANSWER]
['Q7153443', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q7153443 property:P241 ?j . ?j rdf:type ontology:Q781132 }
United States Navy
Paul Saunders is associated with United States Navy
United States Navy
action filter_type
action find
entity Paul Saunders
relation military branch
type military branch
['Paul Saunders', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Saunders property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7153443
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q11220,P27,c(Q15617994))
action filter_type
action find
entity Q7153443
relation P27
type Q15617994
['Q11220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7153443 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Paul Saunders
action filter_type
action find
entity Paul Saunders
relation country of citizenship
type designation for an administrative territorial entity
['United States Navy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Paul_Saunders property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q11220,P27,c(Q15617994))
action filter_type
action find
entity Q7153443
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q11220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7153443 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Paul Saunders
relation country of citizenship
type designation for an administrative territorial entity
['United States Navy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Paul_Saunders property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2342494
USER
How many administrative territories did approximately the same number of television programs and collectables originate as that administrative territory ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?u WHERE { { ?u rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15416 . ?p property:P495 ?u } UNION { ?p property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:P495 resource:Q30 . { { ?h rdf:type ontology:Q15416 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?x = ?k ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?u WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:television_program . ?p property:country_of_origin ?u } UNION { ?p property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:country_of_origin resource:United_States_of_America . { { ?h rdf:type ontology:television_program } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?x = ?k ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
1
Q30
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?u WHERE { { ?u rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15416 . ?p property:P495 ?u } UNION { ?p property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:P495 resource:Q30 . { { ?h rdf:type ontology:Q15416 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?x = ?k ) }
United States of America
1
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?u WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:television_program . ?p property:country_of_origin ?u } UNION { ?p property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:country_of_origin resource:United_States_of_America . { { ?h rdf:type ontology:television_program } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?x = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7153443
P19
Q852446
USER
Which US administrative territory is the place of birth of Paul Saunders ?
(Q7153443,P19,c(Q852446))
action filter_type
action find
entity Q7153443
relation P19
type Q852446
['Q7153443', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?d WHERE { resource:Q7153443 property:P19 ?d . ?d rdf:type ontology:Q852446 }
Paul Saunders
action filter_type
action find
entity Paul Saunders
relation place of birth
type administrative territorial entity of the United States
['Paul Saunders', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Saunders property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q43421
SYSTEM
Richmond
Q43421
(Q7153443,P19,c(Q852446))
action filter_type
action find
entity Q7153443
relation P19
type Q852446
[ANSWER] is the place of birth of Paul Saunders
['Q7153443', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?d WHERE { resource:Q7153443 property:P19 ?d . ?d rdf:type ontology:Q852446 }
Richmond
Richmond is the place of birth of Paul Saunders
Richmond
action filter_type
action find
entity Paul Saunders
relation place of birth
type administrative territorial entity of the United States
['Paul Saunders', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Saunders property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7153443
P166
Q618779
USER
What were received by Paul Saunders ?
(Q7153443,P166,c(Q618779))
action filter_type
action find
entity Q7153443
relation P166
type Q618779
['Q7153443', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q7153443 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Paul Saunders
action filter_type
action find
entity Paul Saunders
relation award received
type award
['Paul Saunders', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Saunders property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q852071 Q928314
SYSTEM
Silver Star, Bronze Star Medal
Q852071 Q928314
(Q7153443,P166,c(Q618779))
action filter_type
action find
entity Q7153443
relation P166
type Q618779
The [ANSWERS] were received by Paul Saunders
['Q7153443', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q7153443 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Silver Star Bronze Star Medal
The Silver Star and Bronze Star Medal were received by Paul Saunders
Silver Star Bronze Star Medal
action filter_type
action find
entity Paul Saunders
relation award received
type award
['Paul Saunders', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Saunders property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7153443
P21
Q290
USER
Which sex does that person have ?
(Q852071,P21,c(Q290)) (Q928314,P21,c(Q290))
action filter_type
action find
entity Q7153443
relation P21
type Q290
['Q852071', 'P21', {'concept': 'Q290'}] ['Q928314', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q7153443 property:P21 ?o }
Paul Saunders
action filter_type
action find
entity Paul Saunders
relation gender
type sex
['Silver Star', 'gender', {'concept': 'sex'}] ['Bronze Star Medal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Paul_Saunders property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q852071,P21,c(Q290)) (Q928314,P21,c(Q290))
action filter_type
action find
entity Q7153443
relation P21
type Q290
That person has a [ANSWER]
['Q852071', 'P21', {'concept': 'Q290'}] ['Q928314', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q7153443 property:P21 ?o }
male
That person has a male
male
action filter_type
action find
entity Paul Saunders
relation gender
type sex
['Silver Star', 'gender', {'concept': 'sex'}] ['Bronze Star Medal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Paul_Saunders property:gender ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q176799 Q874405
USER
How many military branches are atleast 5 military units or social groups a component of ?
(c(Q176799)|c(Q874405),P361,c(Q781132))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
action find_reverse_tuple_counts
relation P361
type Q781132
type Q874405
value 5
[[{'concept': 'Q176799'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q176799 ) ( ontology:Q874405 ) } } GROUP BY ?w } . FILTER ( ?c >= 5 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
action find_reverse_tuple_counts
relation part of
type military branch
type social group
value 5
[[{'concept': 'military unit'}, {'concept': 'social group'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:military_unit ) ( ontology:social_group ) } } GROUP BY ?w } . FILTER ( ?c >= 5 ) }
[]
military branch military unit social group
SYSTEM
2
Q889751 Q781360
(c(Q176799)|c(Q874405),P361,c(Q781132))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
action find_reverse_tuple_counts
relation P361
type Q781132
type Q874405
value 5
[ANSWER]
[[{'concept': 'Q176799'}, {'concept': 'Q874405'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q176799 ) ( ontology:Q874405 ) } } GROUP BY ?w } . FILTER ( ?c >= 5 ) }
Japan Ground Self-Defense Force Australian Army
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
action find_reverse_tuple_counts
relation part of
type military branch
type social group
value 5
[[{'concept': 'military unit'}, {'concept': 'social group'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:military_unit ) ( ontology:social_group ) } } GROUP BY ?w } . FILTER ( ?c >= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43421
P127
Q1076486
USER
Which sports venue is owned by Richmond ?
(c(Q1076486),P127,Q43421)
action filter_type
action find_reverse
entity Q43421
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q43421']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q43421 . ?y rdf:type ontology:Q1076486 }
Richmond
action filter_type
action find_reverse
entity Richmond
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Richmond']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Richmond . ?y rdf:type ontology:sports_venue }
[]
sports venue
Q5123443
SYSTEM
City Stadium
Q5123443
(c(Q1076486),P127,Q43421)
action filter_type
action find_reverse
entity Q43421
relation P127
type Q1076486
Richmond [ANSWER] is owned by Richmond
[{'concept': 'Q1076486'}, 'P127', 'Q43421']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q43421 . ?y rdf:type ontology:Q1076486 }
City Stadium
Richmond City Stadium is owned by Richmond
City Stadium
action filter_type
action find_reverse
entity Richmond
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Richmond']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Richmond . ?y rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5123443
P466
Q847017
USER
Which sports club is an occupant of that sports venue ?
(Q5123443,P466,c(Q847017))
action filter_type
action find
entity Q5123443
relation P466
type Q847017
['Q5123443', 'P466', {'concept': 'Q847017'}]
SELECT DISTINCT ?a WHERE { resource:Q5123443 property:P466 ?a . ?a rdf:type ontology:Q847017 }
City Stadium
action filter_type
action find
entity City Stadium
relation occupant
type sports club
['City Stadium', 'occupant', {'concept': 'sports club'}]
SELECT DISTINCT ?a WHERE { resource:City_Stadium property:occupant ?a . ?a rdf:type ontology:sports_club }
[]
sports club
Q7330995
SYSTEM
Richmond Spiders
Q7330995
(Q5123443,P466,c(Q847017))
action filter_type
action find
entity Q5123443
relation P466
type Q847017
[ANSWER] is an occupant of that sports venue
['Q5123443', 'P466', {'concept': 'Q847017'}]
SELECT DISTINCT ?a WHERE { resource:Q5123443 property:P466 ?a . ?a rdf:type ontology:Q847017 }
Richmond Spiders
Richmond Spiders is an occupant of that sports venue
Richmond Spiders
action filter_type
action find
entity City Stadium
relation occupant
type sports club
['City Stadium', 'occupant', {'concept': 'sports club'}]
SELECT DISTINCT ?a WHERE { resource:City_Stadium property:occupant ?a . ?a rdf:type ontology:sports_club }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2381546 Q7153443
P607
Q198
USER
Which wars were Paul Saunders and German submarine U-188 a part of ?
AND((Q7153443,P607,c(Q198)), (Q2381546,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q7153443
relation P607
action find
entity Q2381546
relation P607
type Q198
{'AND': [['Q7153443', 'P607', {'concept': 'Q198'}], ['Q2381546', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?y WHERE { resource:Q2381546 property:P607 ?y . resource:Q7153443 property:P607 ?y . ?y rdf:type ontology:Q198 }
German submarine U-188 Paul Saunders
action filter_type
action intersection
action find
entity Paul Saunders
relation conflict
action find
entity German submarine U-188
relation conflict
type war
{'AND': [['Paul Saunders', 'conflict', {'concept': 'war'}], ['German submarine U-188', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?y WHERE { resource:German_submarine_U-188 property:conflict ?y . resource:Paul_Saunders property:conflict ?y . ?y rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
AND((Q7153443,P607,c(Q198)), (Q2381546,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q7153443
relation P607
action find
entity Q2381546
relation P607
type Q198
[ANSWER] was Paul Saunders and German submarine U-188 a part of
{'AND': [['Q7153443', 'P607', {'concept': 'Q198'}], ['Q2381546', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?y WHERE { resource:Q2381546 property:P607 ?y . resource:Q7153443 property:P607 ?y . ?y rdf:type ontology:Q198 }
World War II
World War II was Paul Saunders and German submarine U-188 a part of
World War II
action filter_type
action intersection
action find
entity Paul Saunders
relation conflict
action find
entity German submarine U-188
relation conflict
type war
{'AND': [['Paul Saunders', 'conflict', {'concept': 'war'}], ['German submarine U-188', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?y WHERE { resource:German_submarine_U-188 property:conflict ?y . resource:Paul_Saunders property:conflict ?y . ?y rdf:type ontology:war }
[]