Simple Question (Direct)
Simple Question
Q3504211
P641
Q349
USER
What did Tommy Lasorda Baseball participate in ?
(Q3504211,P641,c(Q349))
action filter_type
action find
entity Q3504211
relation P641
type Q349
['Q3504211', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q3504211 property:P641 ?m . ?m rdf:type ontology:Q349 }
Tommy Lasorda Baseball
action filter_type
action find
entity Tommy Lasorda Baseball
relation sport
type sport
['Tommy Lasorda Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Tommy_Lasorda_Baseball property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q3504211,P641,c(Q349))
action filter_type
action find
entity Q3504211
relation P641
type Q349
Tommy Lasorda [ANSWER] participated in [ANSWER]
['Q3504211', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q3504211 property:P641 ?m . ?m rdf:type ontology:Q349 }
baseball
Tommy Lasorda Baseball participated in baseball
baseball
action filter_type
action find
entity Tommy Lasorda Baseball
relation sport
type sport
['Tommy Lasorda Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Tommy_Lasorda_Baseball property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3504211
P437
Q340169
USER
What was the method of distribution of that application ?
(Q5369,P437,c(Q340169))
action filter_type
action find
entity Q3504211
relation P437
type Q340169
['Q5369', 'P437', {'concept': 'Q340169'}]
SELECT DISTINCT ?p WHERE { resource:Q3504211 property:P437 ?p . ?p rdf:type ontology:Q340169 }
Tommy Lasorda Baseball
action filter_type
action find
entity Tommy Lasorda Baseball
relation distribution
type media
['baseball', 'distribution', {'concept': 'media'}]
SELECT DISTINCT ?p WHERE { resource:Tommy_Lasorda_Baseball property:distribution ?p . ?p rdf:type ontology:media }
[]
media
Q633454
SYSTEM
ROM cartridge
Q633454
(Q5369,P437,c(Q340169))
action filter_type
action find
entity Q3504211
relation P437
type Q340169
The method of distribution of that application was called [ANSWER]
['Q5369', 'P437', {'concept': 'Q340169'}]
SELECT DISTINCT ?p WHERE { resource:Q3504211 property:P437 ?p . ?p rdf:type ontology:Q340169 }
ROM cartridge
The method of distribution of that application was called ROM cartridge
ROM cartridge
action filter_type
action find
entity Tommy Lasorda Baseball
relation distribution
type media
['baseball', 'distribution', {'concept': 'media'}]
SELECT DISTINCT ?p WHERE { resource:Tommy_Lasorda_Baseball property:distribution ?p . ?p rdf:type ontology:media }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q8047229 Q3504211
P437
Q340169
USER
And also Yakuman
AND((Q3504211,P437,c(Q340169)), (Q8047229,P437,c(Q340169)))
action filter_type
action intersection
action find
entity Q3504211
relation P437
action find
entity Q8047229
relation P437
type Q340169
{'AND': [['Q3504211', 'P437', {'concept': 'Q340169'}], ['Q8047229', 'P437', {'concept': 'Q340169'}]]}
SELECT DISTINCT ?a WHERE { resource:Q3504211 property:P437 ?a . resource:Q8047229 property:P437 ?a . ?a rdf:type ontology:Q340169 }
Yakuman Tommy Lasorda Baseball
action filter_type
action intersection
action find
entity Tommy Lasorda Baseball
relation distribution
action find
entity Yakuman
relation distribution
type media
{'AND': [['Tommy Lasorda Baseball', 'distribution', {'concept': 'media'}], ['Yakuman', 'distribution', {'concept': 'media'}]]}
SELECT DISTINCT ?a WHERE { resource:Tommy_Lasorda_Baseball property:distribution ?a . resource:Yakuman property:distribution ?a . ?a rdf:type ontology:media }
[]
media
Q633454
SYSTEM
ROM cartridge
Q633454
AND((Q3504211,P437,c(Q340169)), (Q8047229,P437,c(Q340169)))
action filter_type
action intersection
action find
entity Q3504211
relation P437
action find
entity Q8047229
relation P437
type Q340169
[ANSWER]
{'AND': [['Q3504211', 'P437', {'concept': 'Q340169'}], ['Q8047229', 'P437', {'concept': 'Q340169'}]]}
SELECT DISTINCT ?a WHERE { resource:Q3504211 property:P437 ?a . resource:Q8047229 property:P437 ?a . ?a rdf:type ontology:Q340169 }
ROM cartridge
ROM cartridge
action filter_type
action intersection
action find
entity Tommy Lasorda Baseball
relation distribution
action find
entity Yakuman
relation distribution
type media
{'AND': [['Tommy Lasorda Baseball', 'distribution', {'concept': 'media'}], ['Yakuman', 'distribution', {'concept': 'media'}]]}
SELECT DISTINCT ?a WHERE { resource:Tommy_Lasorda_Baseball property:distribution ?a . resource:Yakuman property:distribution ?a . ?a rdf:type ontology:media }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8047229
P123
Q7397
USER
Which software released Yakuman ?
(Q633454,P123,c(Q7397))
action filter_type
action find
entity Q8047229
relation P123
type Q7397
['Q633454', 'P123', {'concept': 'Q7397'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7397 . resource:Q8047229 property:P123 ?m }
Yakuman
action filter_type
action find
entity Yakuman
relation publisher
type software
['ROM cartridge', 'publisher', {'concept': 'software'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:software . resource:Yakuman property:publisher ?m }
[]
software
Q8093
SYSTEM
Nintendo
Q8093
(Q633454,P123,c(Q7397))
action filter_type
action find
entity Q8047229
relation P123
type Q7397
[ANSWER] released Yakuman
['Q633454', 'P123', {'concept': 'Q7397'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7397 . resource:Q8047229 property:P123 ?m }
Nintendo
Nintendo released Yakuman
Nintendo
action filter_type
action find
entity Yakuman
relation publisher
type software
['ROM cartridge', 'publisher', {'concept': 'software'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:software . resource:Yakuman property:publisher ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q633454 Q173350
P437
Q166142
USER
How many applications were distributed as ROM cartridge and printed circuit board ?
(c(Q166142),P437,Q633454) (c(Q166142),P437,Q173350)
action count
action intersection
action filter_type
action find_reverse
entity Q633454
relation P437
type Q166142
action filter_type
action find_reverse
entity Q173350
relation P437
type Q166142
[{'concept': 'Q166142'}, 'P437', 'Q633454'] [{'concept': 'Q166142'}, 'P437', 'Q173350']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P437 resource:Q633454 . ?a rdf:type ontology:Q166142 . ?a rdf:type ontology:Q166142 . ?a property:P437 resource:Q173350 }
ROM cartridge printed circuit board
action count
action intersection
action filter_type
action find_reverse
entity ROM cartridge
relation distribution
type application
action filter_type
action find_reverse
entity printed circuit board
relation distribution
type application
[{'concept': 'application'}, 'distribution', 'ROM cartridge'] [{'concept': 'application'}, 'distribution', 'printed circuit board']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:distribution resource:ROM_cartridge . ?a rdf:type ontology:application . ?a rdf:type ontology:application . ?a property:distribution resource:printed_circuit_board }
[]
application
SYSTEM
2
Q1985756 Q1920147
(c(Q166142),P437,Q633454) (c(Q166142),P437,Q173350)
action count
action intersection
action filter_type
action find_reverse
entity Q633454
relation P437
type Q166142
action filter_type
action find_reverse
entity Q173350
relation P437
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P437', 'Q633454'] [{'concept': 'Q166142'}, 'P437', 'Q173350']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P437 resource:Q633454 . ?a rdf:type ontology:Q166142 . ?a rdf:type ontology:Q166142 . ?a property:P437 resource:Q173350 }
RoboCop Super Contra
2
action count
action intersection
action filter_type
action find_reverse
entity ROM cartridge
relation distribution
type application
action filter_type
action find_reverse
entity printed circuit board
relation distribution
type application
[{'concept': 'application'}, 'distribution', 'ROM cartridge'] [{'concept': 'application'}, 'distribution', 'printed circuit board']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:distribution resource:ROM_cartridge . ?a rdf:type ontology:application . ?a rdf:type ontology:application . ?a property:distribution resource:printed_circuit_board }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q8093
P127
Q386724 Q28640
USER
How many works or professions belongs to Nintendo ?
(c(Q386724),P127,Q8093) (c(Q28640),P127,Q8093)
action count
action union
action filter_type
action find_reverse
entity Q8093
relation P127
type Q386724
action filter_type
action find_reverse
entity Q8093
relation P127
type Q28640
[{'concept': 'Q386724'}, 'P127', 'Q8093'] [{'concept': 'Q28640'}, 'P127', 'Q8093']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P127 resource:Q8093 . ?u rdf:type ontology:Q386724 } UNION { ?u property:P127 resource:Q8093 . ?u rdf:type ontology:Q28640 } }
Nintendo
action count
action union
action filter_type
action find_reverse
entity Nintendo
relation owned by
type work
action filter_type
action find_reverse
entity Nintendo
relation owned by
type profession
[{'concept': 'work'}, 'owned by', 'Nintendo'] [{'concept': 'profession'}, 'owned by', 'Nintendo']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:owned_by resource:Nintendo . ?u rdf:type ontology:work } UNION { ?u property:owned_by resource:Nintendo . ?u rdf:type ontology:profession } }
[]
work profession
SYSTEM
13
Q1079748 Q1239326 Q3337438 Q123018 Q512003 Q3877247 Q2054310 Q20972825 Q991149 Q170420 Q531167 Q1068734 Q3407134
(c(Q386724),P127,Q8093) (c(Q28640),P127,Q8093)
action count
action union
action filter_type
action find_reverse
entity Q8093
relation P127
type Q386724
action filter_type
action find_reverse
entity Q8093
relation P127
type Q28640
[ANSWER]
[{'concept': 'Q386724'}, 'P127', 'Q8093'] [{'concept': 'Q28640'}, 'P127', 'Q8093']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P127 resource:Q8093 . ?u rdf:type ontology:Q386724 } UNION { ?u property:P127 resource:Q8093 . ?u rdf:type ontology:Q28640 } }
Pokémon Monolith Soft Nd Cube Nintendo Software Technology Creatures Nintendo Network Service Development Nintendo Software Planning & Development Nintendo Entertainment Planning & Development 1-UP Studio Nintendo Entertainment Analysis & Development Retro Studios HAL Laboratory Project Sora
13
action count
action union
action filter_type
action find_reverse
entity Nintendo
relation owned by
type work
action filter_type
action find_reverse
entity Nintendo
relation owned by
type profession
[{'concept': 'work'}, 'owned by', 'Nintendo'] [{'concept': 'profession'}, 'owned by', 'Nintendo']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:owned_by resource:Nintendo . ?u rdf:type ontology:work } UNION { ?u property:owned_by resource:Nintendo . ?u rdf:type ontology:profession } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q41176 Q6671777
USER
Which sports are considered to be the main utilization of min number of buildings and structures ?
(c(Q41176)|c(Q6671777),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
[[{'concept': 'Q41176'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q41176 ) ( ontology:Q6671777 ) } . ?y rdf:type ?n } GROUP BY ?l } . FILTER ( ?t = ?f ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?g WHERE { { ?b property:P366 ?g . ?g rdf:type ontology:Q349 . ?b rdf:type ontology:Q6671777 } UNION { ?b property:P366 ?g . ?b rdf:type ontology:Q41176 . ?g rdf:type ontology:Q349 } } GROUP BY ?g } } }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type structure
[[{'concept': 'building'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?l WHERE { VALUES ( ?n ) { ( ontology:building ) ( ontology:structure ) } . ?y rdf:type ?n } GROUP BY ?l } . FILTER ( ?t = ?f ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?g WHERE { { ?b property:use ?g . ?g rdf:type ontology:sport . ?b rdf:type ontology:structure } UNION { ?b property:use ?g . ?b rdf:type ontology:building . ?g rdf:type ontology:sport } } GROUP BY ?g } } }
[]
sport building structure
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q1194269 Q41323 Q7291
(c(Q41176)|c(Q6671777),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
[ANSWERS] are considered to be the main utilization of min number of buildings and structures
[[{'concept': 'Q41176'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q41176 ) ( ontology:Q6671777 ) } . ?y rdf:type ?n } GROUP BY ?l } . FILTER ( ?t = ?f ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?g WHERE { { ?b property:P366 ?g . ?g rdf:type ontology:Q349 . ?b rdf:type ontology:Q6671777 } UNION { ?b property:P366 ?g . ?b rdf:type ontology:Q41176 . ?g rdf:type ontology:Q349 } } GROUP BY ?g } } }
rallying basketball handball volleyball shooting sport skating bandy cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis harness racing American football badminton
Floorball, handball and bandy are considered to be the main utilization of min number of buildings and structures
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type structure
[[{'concept': 'building'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?l WHERE { VALUES ( ?n ) { ( ontology:building ) ( ontology:structure ) } . ?y rdf:type ?n } GROUP BY ?l } . FILTER ( ?t = ?f ) . { SELECT DISTINCT ( MIN ( ?v ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?g WHERE { { ?b property:use ?g . ?g rdf:type ontology:sport . ?b rdf:type ontology:structure } UNION { ?b property:use ?g . ?b rdf:type ontology:building . ?g rdf:type ontology:sport } } GROUP BY ?g } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5038440
P641
Q12973014
USER
Does Cardiff MCC University play those sports ?
(Q5038440,P641,Q206763) (Q5038440,P641,Q8418) (Q5038440,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q5038440
relation P641
['Q5038440', 'P641', 'Q206763'] ['Q5038440', 'P641', 'Q8418'] ['Q5038440', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?a ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q5038440 property:P641 ?a }
Cardiff MCC University
action is_in
entity prev_answer
action find
entity Cardiff MCC University
relation sport
['Cardiff MCC University', 'sport', 'floorball'] ['Cardiff MCC University', 'sport', 'handball'] ['Cardiff MCC University', 'sport', 'bandy']
ASK WHERE { VALUES ( ?a ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Cardiff_MCC_University property:sport ?a }
[]
sports team
SYSTEM
NO
(Q5038440,P641,Q206763) (Q5038440,P641,Q8418) (Q5038440,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q5038440
relation P641
[ANSWER]
['Q5038440', 'P641', 'Q206763'] ['Q5038440', 'P641', 'Q8418'] ['Q5038440', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?a ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q5038440 property:P641 ?a }
No
action is_in
entity prev_answer
action find
entity Cardiff MCC University
relation sport
['Cardiff MCC University', 'sport', 'floorball'] ['Cardiff MCC University', 'sport', 'handball'] ['Cardiff MCC University', 'sport', 'bandy']
ASK WHERE { VALUES ( ?a ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Cardiff_MCC_University property:sport ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5369 Q364033
P417
Q502895
USER
Is Adolf Rubi the patron saint of baseball ?
(Q5369,P417,Q364033)
action is_in
entity Q364033
action find
entity Q5369
relation P417
['Q5369', 'P417', 'Q364033']
ASK WHERE { resource:Q5369 property:P417 resource:Q364033 }
baseball Adolf Rubi
action is_in
entity Adolf Rubi
action find
entity baseball
relation patron saint
['baseball', 'patron saint', 'Adolf Rubi']
ASK WHERE { resource:baseball property:patron_saint resource:Adolf_Rubi }
[]
common name
SYSTEM
NO
(Q5369,P417,Q364033)
action is_in
entity Q364033
action find
entity Q5369
relation P417
[ANSWER]
['Q5369', 'P417', 'Q364033']
ASK WHERE { resource:Q5369 property:P417 resource:Q364033 }
No
action is_in
entity Adolf Rubi
action find
entity baseball
relation patron saint
['baseball', 'patron saint', 'Adolf Rubi']
ASK WHERE { resource:baseball property:patron_saint resource:Adolf_Rubi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8093 Q6823854 Q21477194
P355
Q28640
USER
Does Nintendo have Methodist local preacher and contemporary artist as its subsidiary ?
(Q8093,P355,Q6823854) (Q8093,P355,Q21477194)
action is_in
entity Q8093
action intersection
action find_reverse
entity Q6823854
relation P355
action find_reverse
entity Q21477194
relation P355
['Q8093', 'P355', 'Q6823854'] ['Q8093', 'P355', 'Q21477194']
ASK WHERE { resource:Q8093 property:P355 resource:Q6823854 . resource:Q8093 property:P355 resource:Q21477194 }
Nintendo Methodist local preacher contemporary artist
action is_in
entity Nintendo
action intersection
action find_reverse
entity Methodist local preacher
relation subsidiary
action find_reverse
entity contemporary artist
relation subsidiary
['Nintendo', 'subsidiary', 'Methodist local preacher'] ['Nintendo', 'subsidiary', 'contemporary artist']
ASK WHERE { resource:Nintendo property:subsidiary resource:Methodist_local_preacher . resource:Nintendo property:subsidiary resource:contemporary_artist }
[]
profession
SYSTEM
NO
(Q8093,P355,Q6823854) (Q8093,P355,Q21477194)
action is_in
entity Q8093
action intersection
action find_reverse
entity Q6823854
relation P355
action find_reverse
entity Q21477194
relation P355
[ANSWER]
['Q8093', 'P355', 'Q6823854'] ['Q8093', 'P355', 'Q21477194']
ASK WHERE { resource:Q8093 property:P355 resource:Q6823854 . resource:Q8093 property:P355 resource:Q21477194 }
No
action is_in
entity Nintendo
action intersection
action find_reverse
entity Methodist local preacher
relation subsidiary
action find_reverse
entity contemporary artist
relation subsidiary
['Nintendo', 'subsidiary', 'Methodist local preacher'] ['Nintendo', 'subsidiary', 'contemporary artist']
ASK WHERE { resource:Nintendo property:subsidiary resource:Methodist_local_preacher . resource:Nintendo property:subsidiary resource:contemporary_artist }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18685724
P180
Q9332 Q14524493 Q340169
USER
How many medias demonstrate greater number of behaviors and terrains than The White Drake ?
(c(Q340169),P180,c(Q9332)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q340169
type Q9332
action find_tuple_counts
relation P180
type Q340169
type Q14524493
action count
action filter_multi_types
action find
entity Q18685724
relation P180
type Q9332
type Q14524493
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?t ) WHERE { { ?q property:P180 ?d . ?d rdf:type ontology:Q9332 . ?q rdf:type ontology:Q340169 } UNION { ?q property:P180 ?d . ?q rdf:type ontology:Q340169 . ?d rdf:type ontology:Q14524493 } } GROUP BY ?q } . FILTER ( ?t > ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q18685724 property:P180 ?s . { { ?s rdf:type ontology:Q9332 } UNION { ?s rdf:type ontology:Q14524493 } } } } }
The White Drake
action count
action greater
action union
action find_tuple_counts
relation depicts
type media
type behavior
action find_tuple_counts
relation depicts
type media
type terrain
action count
action filter_multi_types
action find
entity The White Drake
relation depicts
type behavior
type terrain
[{'concept': 'media'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?t ) WHERE { { ?q property:depicts ?d . ?d rdf:type ontology:behavior . ?q rdf:type ontology:media } UNION { ?q property:depicts ?d . ?q rdf:type ontology:media . ?d rdf:type ontology:terrain } } GROUP BY ?q } . FILTER ( ?t > ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:The_White_Drake property:depicts ?s . { { ?s rdf:type ontology:behavior } UNION { ?s rdf:type ontology:terrain } } } } }
[]
behavior terrain media
SYSTEM
8
Q18341259 Q19969227 Q21750239 Q20201918 Q20639508 Q19006977 Q19483466 Q20201643
(c(Q340169),P180,c(Q9332)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q340169
type Q9332
action find_tuple_counts
relation P180
type Q340169
type Q14524493
action count
action filter_multi_types
action find
entity Q18685724
relation P180
type Q9332
type Q14524493
[ANSWER]
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?t ) WHERE { { ?q property:P180 ?d . ?d rdf:type ontology:Q9332 . ?q rdf:type ontology:Q340169 } UNION { ?q property:P180 ?d . ?q rdf:type ontology:Q340169 . ?d rdf:type ontology:Q14524493 } } GROUP BY ?q } . FILTER ( ?t > ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q18685724 property:P180 ?s . { { ?s rdf:type ontology:Q9332 } UNION { ?s rdf:type ontology:Q14524493 } } } } }
The Women's Bath Study of Four Women Bathing The Maiden of the Grave. Triptych Mounts Katahdin and Turner from Lake Katahdin, Maine View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Cerberus Devouring a Man Woman masturbating Eagle Lake Viewed from Cadillac Mountain, Mount Desert Island, Maine
8
action count
action greater
action union
action find_tuple_counts
relation depicts
type media
type behavior
action find_tuple_counts
relation depicts
type media
type terrain
action count
action filter_multi_types
action find
entity The White Drake
relation depicts
type behavior
type terrain
[{'concept': 'media'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?t ) WHERE { { ?q property:depicts ?d . ?d rdf:type ontology:behavior . ?q rdf:type ontology:media } UNION { ?q property:depicts ?d . ?q rdf:type ontology:media . ?d rdf:type ontology:terrain } } GROUP BY ?q } . FILTER ( ?t > ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:The_White_Drake property:depicts ?s . { { ?s rdf:type ontology:behavior } UNION { ?s rdf:type ontology:terrain } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3985177
P180
Q9332 Q14524493 Q340169
USER
And what about Head of Leda?
(c(Q340169),P180,c(Q9332)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q340169
type Q9332
action find_tuple_counts
relation P180
type Q340169
type Q14524493
action count
action filter_multi_types
action find
entity Q3985177
relation P180
type Q9332
type Q14524493
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q9332 ) ( ontology:Q14524493 ) } . ?l rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q3985177 property:P180 ?k . { { ?k rdf:type ontology:Q9332 } UNION { ?k rdf:type ontology:Q14524493 } } } } . FILTER ( ?g > ?f ) }
Head of Leda
action count
action greater
action union
action find_tuple_counts
relation depicts
type media
type behavior
action find_tuple_counts
relation depicts
type media
type terrain
action count
action filter_multi_types
action find
entity Head of Leda
relation depicts
type behavior
type terrain
[{'concept': 'media'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?v WHERE { VALUES ( ?m ) { ( ontology:behavior ) ( ontology:terrain ) } . ?l rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Head_of_Leda property:depicts ?k . { { ?k rdf:type ontology:behavior } UNION { ?k rdf:type ontology:terrain } } } } . FILTER ( ?g > ?f ) }
[]
behavior terrain media
SYSTEM
8
Q18341259 Q19969227 Q21750239 Q20201918 Q20639508 Q19006977 Q19483466 Q20201643
(c(Q340169),P180,c(Q9332)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q340169
type Q9332
action find_tuple_counts
relation P180
type Q340169
type Q14524493
action count
action filter_multi_types
action find
entity Q3985177
relation P180
type Q9332
type Q14524493
[ANSWER]
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q9332 ) ( ontology:Q14524493 ) } . ?l rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q3985177 property:P180 ?k . { { ?k rdf:type ontology:Q9332 } UNION { ?k rdf:type ontology:Q14524493 } } } } . FILTER ( ?g > ?f ) }
The Women's Bath Study of Four Women Bathing The Maiden of the Grave. Triptych Mounts Katahdin and Turner from Lake Katahdin, Maine View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Cerberus Devouring a Man Woman masturbating Eagle Lake Viewed from Cadillac Mountain, Mount Desert Island, Maine
8
action count
action greater
action union
action find_tuple_counts
relation depicts
type media
type behavior
action find_tuple_counts
relation depicts
type media
type terrain
action count
action filter_multi_types
action find
entity Head of Leda
relation depicts
type behavior
type terrain
[{'concept': 'media'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?v WHERE { VALUES ( ?m ) { ( ontology:behavior ) ( ontology:terrain ) } . ?l rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Head_of_Leda property:depicts ?k . { { ?k rdf:type ontology:behavior } UNION { ?k rdf:type ontology:terrain } } } } . FILTER ( ?g > ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8093
P176
Q3966
USER
Which computer hardwares were manufactured by Nintendo ?
(c(Q3966),P176,Q8093)
action filter_type
action find_reverse
entity Q8093
relation P176
type Q3966
[{'concept': 'Q3966'}, 'P176', 'Q8093']
SELECT DISTINCT ?q WHERE { ?q property:P176 resource:Q8093 . ?q rdf:type ontology:Q3966 }
Nintendo
action filter_type
action find_reverse
entity Nintendo
relation manufacturer
type computer hardware
[{'concept': 'computer hardware'}, 'manufacturer', 'Nintendo']
SELECT DISTINCT ?q WHERE { ?q property:manufacturer resource:Nintendo . ?q rdf:type ontology:computer_hardware }
[]
computer hardware
Q17157056 Q7391836 Q1190117
SYSTEM
Amiibo, SNES-CD, Super Game Boy
Q7391836 Q1190117 Q17157056 Q963631 Q253044 Q1493056
(c(Q3966),P176,Q8093)
action filter_type
action find_reverse
entity Q8093
relation P176
type Q3966
[ANSWERS] were manufactured by Nintendo
[{'concept': 'Q3966'}, 'P176', 'Q8093']
SELECT DISTINCT ?q WHERE { ?q property:P176 resource:Q8093 . ?q rdf:type ontology:Q3966 }
SNES-CD Super Game Boy Amiibo Game Boy Player Nintendo 64DD Game Boy Camera
Amiibo, SNES-CD and Super Game Boy were manufactured by Nintendo
Amiibo SNES-CD Super Game Boy
action filter_type
action find_reverse
entity Nintendo
relation manufacturer
type computer hardware
[{'concept': 'computer hardware'}, 'manufacturer', 'Nintendo']
SELECT DISTINCT ?q WHERE { ?q property:manufacturer resource:Nintendo . ?q rdf:type ontology:computer_hardware }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8093
P108
Q502895
USER
Which people have Nintendo as their employer ?
(c(Q502895),P108,Q8093)
action filter_type
action find_reverse
entity Q8093
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q8093']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q8093 . ?o rdf:type ontology:Q502895 }
Nintendo
action filter_type
action find_reverse
entity Nintendo
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Nintendo']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Nintendo . ?o rdf:type ontology:common_name }
[]
common name
Q12382 Q316013 Q356782
SYSTEM
Shigeru Miyamoto, Satoru Iwata, Koji Kondo
Q356782 Q932187 Q17194779 Q12382 Q7674380 Q316013 Q3514178 Q20970916 Q6854316
(c(Q502895),P108,Q8093)
action filter_type
action find_reverse
entity Q8093
relation P108
type Q502895
[ANSWERS] have Nintendo as their employer
[{'concept': 'Q502895'}, 'P108', 'Q8093']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q8093 . ?o rdf:type ontology:Q502895 }
Koji Kondo Hajime Wakai Aya Kyogoku Shigeru Miyamoto Tadashi Sugiyama Satoru Iwata Takao Shimizu Tatsumi Kimishima Takaya Imamura
Shigeru Miyamoto, Satoru Iwata and Koji Kondo have Nintendo as their employer
Shigeru Miyamoto Satoru Iwata Koji Kondo
action filter_type
action find_reverse
entity Nintendo
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Nintendo']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Nintendo . ?o rdf:type ontology:common_name }
[]