Simple Question (Direct)
Simple Question
Q1462087
P20
Q56061
USER
Where did the demise of Lajos Várnai occur ?
(Q1462087,P20,c(Q56061))
action filter_type
action find
entity Q1462087
relation P20
type Q56061
['Q1462087', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1462087 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Lajos Várnai
action filter_type
action find
entity Lajos Várnai
relation place of death
type administrative territorial entity
['Lajos Várnai', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Várnai property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3141
SYSTEM
Melbourne
Q3141
(Q1462087,P20,c(Q56061))
action filter_type
action find
entity Q1462087
relation P20
type Q56061
The demise of Lajos Várnai occurred in [ANSWER]
['Q1462087', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1462087 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Melbourne
The demise of Lajos Várnai occurred in Melbourne
Melbourne
action filter_type
action find
entity Lajos Várnai
relation place of death
type administrative territorial entity
['Lajos Várnai', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Várnai property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3141
P1408
Q4830453
USER
Which business enterprises have procured license for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q3141']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4830453 . ?h property:P1408 resource:Q3141 }
Melbourne
action filter_type
action find_reverse
entity Melbourne
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Melbourne']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:business_enterprise . ?h property:licensed_to_broadcast_to resource:Melbourne }
[]
business enterprise
Q7546382 Q4636436 Q4636418
SYSTEM
Smooth 91.5, 3ZZZ, 3UZ
Q7546382 Q4636436 Q4636418 Q3671633 Q6416926
(c(Q4830453),P1408,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P1408
type Q4830453
[ANSWERS] have procured license for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q3141']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4830453 . ?h property:P1408 resource:Q3141 }
Smooth 91.5 3ZZZ 3UZ SBS Radio Kiss FM Australia
Smooth 91.5, 3ZZZ and 3UZ have procured license for broadcasting to that administrative territory
Smooth 91.5 3ZZZ 3UZ
action filter_type
action find_reverse
entity Melbourne
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Melbourne']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:business_enterprise . ?h property:licensed_to_broadcast_to resource:Melbourne }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141
P190
Q56061
USER
Which administrative territories are sister towns of Melbourne ?
(Q3141,P190,c(Q56061))
action filter_type
action find
entity Q3141
relation P190
type Q56061
['Q3141', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3141 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Melbourne
action filter_type
action find
entity Melbourne
relation sister city
type administrative territorial entity
['Melbourne', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Melbourne property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q100 Q17151
SYSTEM
Milan, Boston, Thessaloniki
Q490 Q100 Q17151
(Q3141,P190,c(Q56061))
action filter_type
action find
entity Q3141
relation P190
type Q56061
[ANSWERS] are sister towns of Melbourne
['Q3141', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3141 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Milan Boston Thessaloniki
Milan, Boston and Thessaloniki are sister towns of Melbourne
Milan Boston Thessaloniki
action filter_type
action find
entity Melbourne
relation sister city
type administrative territorial entity
['Melbourne', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Melbourne property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141
P276
Q13219666
USER
What are situated at Melbourne ?
(c(Q13219666),P276,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P276
type Q13219666
[{'concept': 'Q13219666'}, 'P276', 'Q3141']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13219666 . ?c property:P276 resource:Q3141 }
Melbourne
action filter_type
action find_reverse
entity Melbourne
relation location
type tennis tournament
[{'concept': 'tennis tournament'}, 'location', 'Melbourne']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:tennis_tournament . ?c property:location resource:Melbourne }
[]
tennis tournament
Q577107 Q381132 Q476646
SYSTEM
2008 Australian Open, 2011 Australian Open, 2010 Australian Open
Q577107 Q381132 Q476646 Q678730 Q782245 Q330022 Q782192 Q610343 Q598746 Q261898 Q17482052 Q750792 Q626613 Q12780091 Q751802 Q518011 Q21521385
(c(Q13219666),P276,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P276
type Q13219666
[ANSWERS] are situated at Melbourne
[{'concept': 'Q13219666'}, 'P276', 'Q3141']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13219666 . ?c property:P276 resource:Q3141 }
2008 Australian Open 2011 Australian Open 2010 Australian Open 2013 Australian Open 2001 Australian Open 2009 Australian Open 2000 Australian Open 2005 Australian Open 2006 Australian Open 2002 Australian Open 2015 Australian Open 2003 Australian Open 2012 Australian Open 2014 Australian Open 2007 Australian Open 2004 Australian Open 2016 Australian Open
2008 Australian Open, 2011 Australian Open and 2010 Australian Open are situated at Melbourne
2008 Australian Open 2011 Australian Open 2010 Australian Open
action filter_type
action find_reverse
entity Melbourne
relation location
type tennis tournament
[{'concept': 'tennis tournament'}, 'location', 'Melbourne']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:tennis_tournament . ?c property:location resource:Melbourne }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141
P138
Q502895
USER
Which person is the origin of Melbourne ?
(Q3141,P138,c(Q502895))
action filter_type
action find
entity Q3141
relation P138
type Q502895
['Q3141', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3141 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Melbourne
action filter_type
action find
entity Melbourne
relation named after
type common name
['Melbourne', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Melbourne property:named_after ?k . ?k rdf:type ontology:common_name }
[]
common name
Q312567
SYSTEM
William Lamb, 2nd Viscount Melbourne
Q312567
(Q3141,P138,c(Q502895))
action filter_type
action find
entity Q3141
relation P138
type Q502895
[ANSWER] is the origin of Melbourne
['Q3141', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3141 property:P138 ?k . ?k rdf:type ontology:Q502895 }
William Lamb, 2nd Viscount Melbourne
William Lamb, 2nd Viscount Melbourne is the origin of Melbourne
William Lamb, 2nd Viscount Melbourne
action filter_type
action find
entity Melbourne
relation named after
type common name
['Melbourne', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Melbourne property:named_after ?k . ?k rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4874693
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by lesser number of people than Bayonetta ?
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q4874693
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?d property:P725 ?m . ?d rdf:type ontology:Q15619164 . ?m rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q4874693 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?f < ?a ) }
Bayonetta
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Bayonetta
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?d property:voice_actor ?m . ?d rdf:type ontology:abstract_being . ?m rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Bayonetta property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?f < ?a ) }
[]
common name abstract being
SYSTEM
92
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q4874693
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?d property:P725 ?m . ?d rdf:type ontology:Q15619164 . ?m rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q4874693 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?f < ?a ) }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
92
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Bayonetta
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?d property:voice_actor ?m . ?d rdf:type ontology:abstract_being . ?m rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Bayonetta property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?f < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q282514
P725
Q502895 Q15619164
USER
And what about Alucard?
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { ?h property:P725 ?f . ?h rdf:type ontology:Q15619164 . ?f rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q282514 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?p < ?b ) }
Alucard
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { ?h property:voice_actor ?f . ?h rdf:type ontology:abstract_being . ?f rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Alucard property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?p < ?b ) }
[]
common name abstract being
SYSTEM
92
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { ?h property:P725 ?f . ?h rdf:type ontology:Q15619164 . ?f rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q282514 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?p < ?b ) }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
92
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { ?h property:voice_actor ?f . ?h rdf:type ontology:abstract_being . ?f rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Alucard property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?p < ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6650485 Q3141
P17
Q1048835
USER
Which political territories are Melbourne or Little Italy, Winnipeg situated in ?
OR((Q3141,P17,c(Q1048835)), (Q6650485,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3141
relation P17
action find
entity Q6650485
relation P17
type Q1048835
{'OR': [['Q3141', 'P17', {'concept': 'Q1048835'}], ['Q6650485', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3141 property:P17 ?e } UNION { resource:Q6650485 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Little Italy, Winnipeg Melbourne
action filter_type
action union
action find
entity Melbourne
relation country
action find
entity Little Italy, Winnipeg
relation country
type political territorial entity
{'OR': [['Melbourne', 'country', {'concept': 'political territorial entity'}], ['Little Italy, Winnipeg', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Melbourne property:country ?e } UNION { resource:Little_Italy,_Winnipeg property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
OR((Q3141,P17,c(Q1048835)), (Q6650485,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3141
relation P17
action find
entity Q6650485
relation P17
type Q1048835
[ANSWERS] are Melbourne or Little Italy, Winnipeg situated in
{'OR': [['Q3141', 'P17', {'concept': 'Q1048835'}], ['Q6650485', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3141 property:P17 ?e } UNION { resource:Q6650485 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Australia Canada
Australia and Canada are Melbourne or Little Italy, Winnipeg situated in
Australia Canada
action filter_type
action union
action find
entity Melbourne
relation country
action find
entity Little Italy, Winnipeg
relation country
type political territorial entity
{'OR': [['Melbourne', 'country', {'concept': 'political territorial entity'}], ['Little Italy, Winnipeg', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Melbourne property:country ?e } UNION { resource:Little_Italy,_Winnipeg property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5750099
P27
Q502895
USER
Are Carlos Cruz Mendoza a native of those political territories ?
(Q5750099,P27,Q408) (Q5750099,P27,Q16)
action is_in
entity prev_answer
action find
entity Q5750099
relation P27
['Q5750099', 'P27', 'Q408'] ['Q5750099', 'P27', 'Q16']
ASK WHERE { resource:Q5750099 property:P27 ?q . VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q16 ) } }
Carlos Cruz Mendoza
action is_in
entity prev_answer
action find
entity Carlos Cruz Mendoza
relation country of citizenship
['Carlos Cruz Mendoza', 'country of citizenship', 'Australia'] ['Carlos Cruz Mendoza', 'country of citizenship', 'Canada']
ASK WHERE { resource:Carlos_Cruz_Mendoza property:country_of_citizenship ?q . VALUES ( ?q ) { ( resource:Australia ) ( resource:Canada ) } }
[]
common name
SYSTEM
NO
(Q5750099,P27,Q408) (Q5750099,P27,Q16)
action is_in
entity prev_answer
action find
entity Q5750099
relation P27
[ANSWER]
['Q5750099', 'P27', 'Q408'] ['Q5750099', 'P27', 'Q16']
ASK WHERE { resource:Q5750099 property:P27 ?q . VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q16 ) } }
No
action is_in
entity prev_answer
action find
entity Carlos Cruz Mendoza
relation country of citizenship
['Carlos Cruz Mendoza', 'country of citizenship', 'Australia'] ['Carlos Cruz Mendoza', 'country of citizenship', 'Canada']
ASK WHERE { resource:Carlos_Cruz_Mendoza property:country_of_citizenship ?q . VALUES ( ?q ) { ( resource:Australia ) ( resource:Canada ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q913546 Q282514
P1441
Q15416
USER
Which television programs feature Alucard or Fernando Sucre ?
OR((Q282514,P1441,c(Q15416)), (Q913546,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q282514
relation P1441
action find
entity Q913546
relation P1441
type Q15416
{'OR': [['Q282514', 'P1441', {'concept': 'Q15416'}], ['Q913546', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P1441 ?o . VALUES ( ?q ) { ( resource:Q913546 ) ( resource:Q282514 ) } } . ?o rdf:type ontology:Q15416 }
Fernando Sucre Alucard
action filter_type
action union
action find
entity Alucard
relation present in work
action find
entity Fernando Sucre
relation present in work
type television program
{'OR': [['Alucard', 'present in work', {'concept': 'television program'}], ['Fernando Sucre', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:present_in_work ?o . VALUES ( ?q ) { ( resource:Fernando_Sucre ) ( resource:Alucard ) } } . ?o rdf:type ontology:television_program }
[]
television program
Q951078 Q80044
SYSTEM
Hellsing, Prison Break
Q951078 Q80044
OR((Q282514,P1441,c(Q15416)), (Q913546,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q282514
relation P1441
action find
entity Q913546
relation P1441
type Q15416
[ANSWERS] feature Alucard or Fernando Sucre
{'OR': [['Q282514', 'P1441', {'concept': 'Q15416'}], ['Q913546', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P1441 ?o . VALUES ( ?q ) { ( resource:Q913546 ) ( resource:Q282514 ) } } . ?o rdf:type ontology:Q15416 }
Hellsing Prison Break
Hellsing and Prison Break feature Alucard or Fernando Sucre
Hellsing Prison Break
action filter_type
action union
action find
entity Alucard
relation present in work
action find
entity Fernando Sucre
relation present in work
type television program
{'OR': [['Alucard', 'present in work', {'concept': 'television program'}], ['Fernando Sucre', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:present_in_work ?o . VALUES ( ?q ) { ( resource:Fernando_Sucre ) ( resource:Alucard ) } } . ?o rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q80044
P364
Q2472587
USER
Which people was used originally for the creation of that television program ?
(Q80044,P364,c(Q2472587))
action filter_type
action find
entity Q80044
relation P364
type Q2472587
['Q80044', 'P364', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q80044 property:P364 ?k . ?k rdf:type ontology:Q2472587 }
Prison Break
action filter_type
action find
entity Prison Break
relation original language of work
type people
['Prison Break', 'original language of work', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Prison_Break property:original_language_of_work ?k . ?k rdf:type ontology:people }
[]
people
Clarification for simple ques.
Q951078
SYSTEM
Did you mean Hellsing ?
Q951078 Q80044
(Q951078,P364,c(Q2472587)) (Q80044,P364,c(Q2472587))
[ANSWER]
['Q951078', 'P364', {'concept': 'Q2472587'}] ['Q80044', 'P364', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q80044 property:P364 ?k . ?k rdf:type ontology:Q2472587 }
Hellsing Prison Break
Did you mean Hellsing ?
Hellsing
['Hellsing', 'original language of work', {'concept': 'people'}] ['Prison Break', 'original language of work', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Prison_Break property:original_language_of_work ?k . ?k rdf:type ontology:people }
[]
Simple Question (Coreferenced)
USER
No, I meant Prison Break. Could you tell me the answer for that?
(Q80044,P364,c(Q2472587))
Q80044
['Q80044', 'P364', {'concept': 'Q2472587'}]
['Prison Break', 'original language of work', {'concept': 'people'}]
[]
Q160894
SYSTEM
Spaniards
Q160894
(Q80044,P364,c(Q2472587))
action filter_type
action find
entity Q80044
relation P364
type Q2472587
[ANSWER] was used originally for the creation of that television program
['Q80044', 'P364', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q80044 property:P364 ?k . ?k rdf:type ontology:Q2472587 }
Spaniards
Spaniards was used originally for the creation of that television program
Spaniards
action filter_type
action find
entity Prison Break
relation original language of work
type people
['Prison Break', 'original language of work', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Prison_Break property:original_language_of_work ?k . ?k rdf:type ontology:people }
[]