Simple Question (Direct)
Simple Question
Q3295320
P86
Q502895
USER
Who wrote the music for Martin ?
(Q3295320,P86,c(Q502895))
action filter_type
action find
entity Q3295320
relation P86
type Q502895
['Q3295320', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3295320 property:P86 ?j . ?j rdf:type ontology:Q502895 }
Martin
action filter_type
action find
entity Martin
relation composer
type common name
['Martin', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Martin property:composer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q19661752
SYSTEM
Bill Maxwell
Q19661752
(Q3295320,P86,c(Q502895))
action filter_type
action find
entity Q3295320
relation P86
type Q502895
The [ANSWER] wrote the music for Martin
['Q3295320', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3295320 property:P86 ?j . ?j rdf:type ontology:Q502895 }
Bill Maxwell
The Bill Maxwell wrote the music for Martin
Bill Maxwell
action filter_type
action find
entity Martin
relation composer
type common name
['Martin', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Martin property:composer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3295320
P364
Q34770
USER
Which language was used originally for the creation of Martin ?
(Q3295320,P364,c(Q34770))
action filter_type
action find
entity Q3295320
relation P364
type Q34770
['Q3295320', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3295320 property:P364 ?j }
Martin
action filter_type
action find
entity Martin
relation original language of work
type language
['Martin', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Martin property:original_language_of_work ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3295320,P364,c(Q34770))
action filter_type
action find
entity Q3295320
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Martin
['Q3295320', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3295320 property:P364 ?j }
English
In English was used originally for the creation of Martin
English
action filter_type
action find
entity Martin
relation original language of work
type language
['Martin', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Martin property:original_language_of_work ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q946642
Q34770
USER
And what about The Astroduck?
(Q946642,P364,c(Q34770))
action filter_type
action find
entity Q946642
relation P364
type Q34770
['Q946642', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q946642 property:P364 ?j . ?j rdf:type ontology:Q34770 }
The Astroduck
action filter_type
action find
entity The Astroduck
relation original language of work
type language
['The Astroduck', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:The_Astroduck property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q946642,P364,c(Q34770))
action filter_type
action find
entity Q946642
relation P364
type Q34770
[ANSWER]
['Q946642', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q946642 property:P364 ?j . ?j rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity The Astroduck
relation original language of work
type language
['The Astroduck', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:The_Astroduck property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q17008673
P364
Q838948
USER
Does Haseenon Ka Devata have that one as its original language of creation ?
(Q17008673,P364,Q1860)
action is_in
entity Q17008673
action find
entity Q1860
relation P364
['Q17008673', 'P364', 'Q1860']
ASK WHERE { resource:Q1860 property:P364 resource:Q17008673 }
English Haseenon Ka Devata
action is_in
entity Haseenon Ka Devata
action find
entity English
relation original language of work
['Haseenon Ka Devata', 'original language of work', 'English']
ASK WHERE { resource:English property:original_language_of_work resource:Haseenon_Ka_Devata }
[]
work of art
SYSTEM
NO
(Q17008673,P364,Q1860)
action is_in
entity Q17008673
action find
entity Q1860
relation P364
[ANSWER]
['Q17008673', 'P364', 'Q1860']
ASK WHERE { resource:Q1860 property:P364 resource:Q17008673 }
No
action is_in
entity Haseenon Ka Devata
action find
entity English
relation original language of work
['Haseenon Ka Devata', 'original language of work', 'English']
ASK WHERE { resource:English property:original_language_of_work resource:Haseenon_Ka_Devata }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19661752 Q79911 Q1122110
P607
Q198
USER
Did Russian Civil War and Civil war in Tajikistan engage in Bill Maxwell ?
(Q19661752,P607,Q79911) (Q19661752,P607,Q1122110)
action is_in
entity Q19661752
action intersection
action find_reverse
entity Q79911
relation P607
action find_reverse
entity Q1122110
relation P607
['Q19661752', 'P607', 'Q79911'] ['Q19661752', 'P607', 'Q1122110']
ASK WHERE { resource:Q19661752 property:P607 resource:Q79911 . resource:Q19661752 property:P607 resource:Q1122110 }
Bill Maxwell Russian Civil War Civil war in Tajikistan
action is_in
entity Bill Maxwell
action intersection
action find_reverse
entity Russian Civil War
relation conflict
action find_reverse
entity Civil war in Tajikistan
relation conflict
['Bill Maxwell', 'conflict', 'Russian Civil War'] ['Bill Maxwell', 'conflict', 'Civil war in Tajikistan']
ASK WHERE { resource:Bill_Maxwell property:conflict resource:Russian_Civil_War . resource:Bill_Maxwell property:conflict resource:Civil_war_in_Tajikistan }
[]
war
SYSTEM
NO
(Q19661752,P607,Q79911) (Q19661752,P607,Q1122110)
action is_in
entity Q19661752
action intersection
action find_reverse
entity Q79911
relation P607
action find_reverse
entity Q1122110
relation P607
[ANSWER]
['Q19661752', 'P607', 'Q79911'] ['Q19661752', 'P607', 'Q1122110']
ASK WHERE { resource:Q19661752 property:P607 resource:Q79911 . resource:Q19661752 property:P607 resource:Q1122110 }
No
action is_in
entity Bill Maxwell
action intersection
action find_reverse
entity Russian Civil War
relation conflict
action find_reverse
entity Civil war in Tajikistan
relation conflict
['Bill Maxwell', 'conflict', 'Russian Civil War'] ['Bill Maxwell', 'conflict', 'Civil war in Tajikistan']
ASK WHERE { resource:Bill_Maxwell property:conflict resource:Russian_Civil_War . resource:Bill_Maxwell property:conflict resource:Civil_war_in_Tajikistan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3295320 Q166419
P449
Q4830453
USER
Was Fox Broadcasting Company Martin originally aired ?
(Q3295320,P449,Q166419)
action is_in
entity Q166419
action find
entity Q3295320
relation P449
['Q3295320', 'P449', 'Q166419']
ASK WHERE { resource:Q3295320 property:P449 resource:Q166419 }
Martin Fox Broadcasting Company
action is_in
entity Fox Broadcasting Company
action find
entity Martin
relation original network
['Martin', 'original network', 'Fox Broadcasting Company']
ASK WHERE { resource:Martin property:original_network resource:Fox_Broadcasting_Company }
[]
business enterprise
SYSTEM
YES
(Q3295320,P449,Q166419)
action is_in
entity Q166419
action find
entity Q3295320
relation P449
[ANSWER]
['Q3295320', 'P449', 'Q166419']
ASK WHERE { resource:Q3295320 property:P449 resource:Q166419 }
Yes
action is_in
entity Fox Broadcasting Company
action find
entity Martin
relation original network
['Martin', 'original network', 'Fox Broadcasting Company']
ASK WHERE { resource:Martin property:original_network resource:Fox_Broadcasting_Company }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q917543
P1441
Q15961987 Q6619679 Q95074
USER
How many television genres are less number of fictional humanoids and fictional characters shown in than The Garfield Show ?
(c(Q6619679)|c(Q95074),P1441,c(Q15961987))
action count
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q917543
relation P1441
type Q6619679
type Q95074
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q6619679 } UNION { ?s rdf:type ontology:Q95074 } } . ?s property:P1441 resource:Q917543 } } . FILTER ( ?y < ?r ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q6619679 } UNION { ?d property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q95074 } } GROUP BY ?n } }
The Garfield Show
action count
action less
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional character
action count
action filter_multi_types
action find_reverse
entity The Garfield Show
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:fictional_humanoid } UNION { ?s rdf:type ontology:fictional_character } } . ?s property:present_in_work resource:The_Garfield_Show } } . FILTER ( ?y < ?r ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_humanoid } UNION { ?d property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_character } } GROUP BY ?n } }
[]
television genre fictional humanoid fictional character
SYSTEM
20
Q1442293 Q39037 Q501338 Q83279 Q116195 Q13427472 Q18577650 Q347947 Q82617 Q5415 Q249056 Q205683 Q216843 Q323335 Q158869 Q28787 Q602883 Q767850 Q1211225 Q2750339
(c(Q6619679)|c(Q95074),P1441,c(Q15961987))
action count
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q15961987
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q917543
relation P1441
type Q6619679
type Q95074
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q6619679 } UNION { ?s rdf:type ontology:Q95074 } } . ?s property:P1441 resource:Q917543 } } . FILTER ( ?y < ?r ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q6619679 } UNION { ?d property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q95074 } } GROUP BY ?n } }
Sid the Science Kid The Fairly OddParents Teenage Mutant Ninja Turtles SpongeBob SquarePants Total Drama Spirou et Fantasio Darker than Black: Gaiden Iron Man: Armored Adventures Regular Show My Little Pony: Friendship Is Magic Teenage Mutant Ninja Turtles Scooby Doo Oggy and the Cockroaches The Penguins of Madagascar Teenage Mutant Ninja Turtles Star Wars Rebels The Transformers Once Upon a Time... Man The Avengers: Earth's Mightiest Heroes Hellsing Ultimate
20
action count
action less
action union
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type television genre
type fictional character
action count
action filter_multi_types
action find_reverse
entity The Garfield Show
relation present in work
type fictional humanoid
type fictional character
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:fictional_humanoid } UNION { ?s rdf:type ontology:fictional_character } } . ?s property:present_in_work resource:The_Garfield_Show } } . FILTER ( ?y < ?r ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_humanoid } UNION { ?d property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?d rdf:type ontology:fictional_character } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q668740
P37
Q34770 Q56061
USER
How many administrative territories are known to have greater number of languages as their official language than Courtemaîche ?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q668740
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:P37 ?o . ?l rdf:type ontology:Q56061 . ?o rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q668740 property:P37 ?d } } . FILTER ( ?n > ?w ) }
Courtemaîche
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Courtemaîche
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:official_language ?o . ?l rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Courtemaîche property:official_language ?d } } . FILTER ( ?n > ?w ) }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q668740
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:P37 ?o . ?l rdf:type ontology:Q56061 . ?o rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q668740 property:P37 ?d } } . FILTER ( ?n > ?w ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Courtemaîche
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:official_language ?o . ?l rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Courtemaîche property:official_language ?d } } . FILTER ( ?n > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q70485
P37
Q34770 Q56061
USER
And also tell me about Coffrane?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q70485
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z property:P37 ?a . ?z rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q70485 property:P37 ?f . ?f rdf:type ontology:Q56061 } } }
Coffrane
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Coffrane
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z property:official_language ?a . ?z rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Coffrane property:official_language ?f . ?f rdf:type ontology:administrative_territorial_entity } } }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q70485
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z property:P37 ?a . ?z rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q70485 property:P37 ?f . ?f rdf:type ontology:Q56061 } } }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Coffrane
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?d ) WHERE { ?z property:official_language ?a . ?z rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Coffrane property:official_language ?f . ?f rdf:type ontology:administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q169889 Q166419
P449
Q15416
USER
Which television programs were the television programs that were originally telecasted by Fox Broadcasting Company and American Broadcasting Company ?
AND((c(Q15416),P449,Q166419), (c(Q15416),P449,Q169889))
action filter_type
action intersection
action find_reverse
entity Q166419
relation P449
action find_reverse
entity Q169889
relation P449
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P449', 'Q166419'], [{'concept': 'Q15416'}, 'P449', 'Q169889']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P449 resource:Q166419 . ?o property:P449 resource:Q169889 }
American Broadcasting Company Fox Broadcasting Company
action filter_type
action intersection
action find_reverse
entity Fox Broadcasting Company
relation original network
action find_reverse
entity American Broadcasting Company
relation original network
type television program
{'AND': [[{'concept': 'television program'}, 'original network', 'Fox Broadcasting Company'], [{'concept': 'television program'}, 'original network', 'American Broadcasting Company']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:original_network resource:Fox_Broadcasting_Company . ?o property:original_network resource:American_Broadcasting_Company }
[]
television program
Q6899198
SYSTEM
Money Talks News
Q6899198
AND((c(Q15416),P449,Q166419), (c(Q15416),P449,Q169889))
action filter_type
action intersection
action find_reverse
entity Q166419
relation P449
action find_reverse
entity Q169889
relation P449
type Q15416
[ANSWER] was the television programs that was originally telecasted by Fox Broadcasting Company and American Broadcasting Company
{'AND': [[{'concept': 'Q15416'}, 'P449', 'Q166419'], [{'concept': 'Q15416'}, 'P449', 'Q169889']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P449 resource:Q166419 . ?o property:P449 resource:Q169889 }
Money Talks News
Money Talks News was the television programs that was originally telecasted by Fox Broadcasting Company and American Broadcasting Company
Money Talks News
action filter_type
action intersection
action find_reverse
entity Fox Broadcasting Company
relation original network
action find_reverse
entity American Broadcasting Company
relation original network
type television program
{'AND': [[{'concept': 'television program'}, 'original network', 'Fox Broadcasting Company'], [{'concept': 'television program'}, 'original network', 'American Broadcasting Company']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:original_network resource:Fox_Broadcasting_Company . ?o property:original_network resource:American_Broadcasting_Company }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6899198 Q169889 Q5128145
P449
Q4830453
USER
Was that television program originally telecasted by American Broadcasting Company and Classic FM ?
(Q6899198,P449,Q169889) (Q6899198,P449,Q5128145)
action is_in
entity Q6899198
action intersection
action find_reverse
entity Q169889
relation P449
action find_reverse
entity Q5128145
relation P449
['Q6899198', 'P449', 'Q169889'] ['Q6899198', 'P449', 'Q5128145']
ASK WHERE { resource:Q6899198 property:P449 resource:Q169889 . resource:Q6899198 property:P449 resource:Q5128145 }
Money Talks News American Broadcasting Company Classic FM
action is_in
entity Money Talks News
action intersection
action find_reverse
entity American Broadcasting Company
relation original network
action find_reverse
entity Classic FM
relation original network
['Money Talks News', 'original network', 'American Broadcasting Company'] ['Money Talks News', 'original network', 'Classic FM']
ASK WHERE { resource:Money_Talks_News property:original_network resource:American_Broadcasting_Company . resource:Money_Talks_News property:original_network resource:Classic_FM }
[]
business enterprise
SYSTEM
YES and NO respectively
(Q6899198,P449,Q169889) (Q6899198,P449,Q5128145)
action is_in
entity Q6899198
action intersection
action find_reverse
entity Q169889
relation P449
action find_reverse
entity Q5128145
relation P449
[ANSWER]
['Q6899198', 'P449', 'Q169889'] ['Q6899198', 'P449', 'Q5128145']
ASK WHERE { resource:Q6899198 property:P449 resource:Q169889 . resource:Q6899198 property:P449 resource:Q5128145 }
YES and NO respectively
action is_in
entity Money Talks News
action intersection
action find_reverse
entity American Broadcasting Company
relation original network
action find_reverse
entity Classic FM
relation original network
['Money Talks News', 'original network', 'American Broadcasting Company'] ['Money Talks News', 'original network', 'Classic FM']
ASK WHERE { resource:Money_Talks_News property:original_network resource:American_Broadcasting_Company . resource:Money_Talks_News property:original_network resource:Classic_FM }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q1603899 Q1346342
P361
Q5962346
USER
Is English a portion of Makaa–Njem languages and Anglic languages ?
(Q1860,P361,Q1603899) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1603899
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q1603899'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q1603899 }
English Makaa–Njem languages Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Makaa–Njem languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Makaa–Njem languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Makaa–Njem_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q1603899) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1603899
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1603899'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q1603899 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Makaa–Njem languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Makaa–Njem languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Makaa–Njem_languages }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P629
Q571
USER
Which book represents an edition or translation of that language ?
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P629 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:edition_or_translation_of resource:English }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] represents an edition or translation of that language
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P629 resource:Q1860 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony represents an edition or translation of that language
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:edition_or_translation_of resource:English }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24036077
P921
Q180684
USER
Which conflict was the main subject of that book 's work ?
(Q24036077,P921,c(Q180684))
action filter_type
action find
entity Q24036077
relation P921
type Q180684
['Q24036077', 'P921', {'concept': 'Q180684'}]
SELECT DISTINCT ?e WHERE { resource:Q24036077 property:P921 ?e . ?e rdf:type ontology:Q180684 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find
entity Two Addresses from the Governour, Council and Convention of the Massachusets Colony
relation main subject
type conflict
['Two Addresses from the Governour, Council and Convention of the Massachusets Colony', 'main subject', {'concept': 'conflict'}]
SELECT DISTINCT ?e WHERE { resource:Two_Addresses_from_the_Governour,_Council_and_Convention_of_the_Massachusets_Colony property:main_subject ?e . ?e rdf:type ontology:conflict }
[]
conflict
Q3136592
SYSTEM
1689 Boston revolt
Q3136592
(Q24036077,P921,c(Q180684))
action filter_type
action find
entity Q24036077
relation P921
type Q180684
[ANSWER] was the main subject of that book 's work
['Q24036077', 'P921', {'concept': 'Q180684'}]
SELECT DISTINCT ?e WHERE { resource:Q24036077 property:P921 ?e . ?e rdf:type ontology:Q180684 }
1689 Boston revolt
1689 Boston revolt was the main subject of that book 's work
1689 Boston revolt
action filter_type
action find
entity Two Addresses from the Governour, Council and Convention of the Massachusets Colony
relation main subject
type conflict
['Two Addresses from the Governour, Council and Convention of the Massachusets Colony', 'main subject', {'concept': 'conflict'}]
SELECT DISTINCT ?e WHERE { resource:Two_Addresses_from_the_Governour,_Council_and_Convention_of_the_Massachusets_Colony property:main_subject ?e . ?e rdf:type ontology:conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q220713 Q17008673
P161
Q502895
USER
Which people are in Haseenon Ka Devata or American Pie ?
OR((Q17008673,P161,c(Q502895)), (Q220713,P161,c(Q502895)))
action filter_type
action union
action find
entity Q17008673
relation P161
action find
entity Q220713
relation P161
type Q502895
{'OR': [['Q17008673', 'P161', {'concept': 'Q502895'}], ['Q220713', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?q ) { ( resource:Q17008673 ) ( resource:Q220713 ) } . ?q property:P161 ?g } . ?g rdf:type ontology:Q502895 }
American Pie Haseenon Ka Devata
action filter_type
action union
action find
entity Haseenon Ka Devata
relation cast member
action find
entity American Pie
relation cast member
type common name
{'OR': [['Haseenon Ka Devata', 'cast member', {'concept': 'common name'}], ['American Pie', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?q ) { ( resource:Haseenon_Ka_Devata ) ( resource:American_Pie ) } . ?q property:cast_member ?g } . ?g rdf:type ontology:common_name }
[]
common name
Q199927 Q228882 Q362236 Q193212 Q1328845 Q211082 Q223303 Q256884 Q230278 Q7418443
SYSTEM
Some of them are Alyson Hannigan, Shannon Elizabeth, Chris Owen, Seann William Scott, Eli Marienthal, Tara Reid, Mena Suvari, Thomas Ian Nicholas, Jennifer Coolidge, Sanjay Khan
Q193212 Q7418443 Q230501 Q314421 Q1328845 Q1341001 Q228882 Q234207 Q223303 Q211082 Q442298 Q312129 Q343453 Q312705 Q199927 Q230278 Q362236 Q256884 Q350811 Q270730
OR((Q17008673,P161,c(Q502895)), (Q220713,P161,c(Q502895)))
action filter_type
action union
action find
entity Q17008673
relation P161
action find
entity Q220713
relation P161
type Q502895
[ANSWERS] are in Haseenon Ka Devata or American Pie
{'OR': [['Q17008673', 'P161', {'concept': 'Q502895'}], ['Q220713', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?q ) { ( resource:Q17008673 ) ( resource:Q220713 ) } . ?q property:P161 ?g } . ?g rdf:type ontology:Q502895 }
Seann William Scott Sanjay Khan Christina Milian Jason Biggs Eli Marienthal Lawrence Pressman Shannon Elizabeth Natasha Lyonne Mena Suvari Tara Reid Molly Cheek Eugene Levy Chris Klein John Cho Alyson Hannigan Jennifer Coolidge Chris Owen Thomas Ian Nicholas Eddie Kaye Thomas Casey Affleck
Alyson Hannigan, Shannon Elizabeth, Chris Owen, Seann William Scott, Eli Marienthal, Tara Reid, Mena Suvari, Thomas Ian Nicholas, Jennifer Coolidge and Sanjay Khan are in Haseenon Ka Devata or American Pie
Alyson Hannigan Shannon Elizabeth Chris Owen Seann William Scott Eli Marienthal Tara Reid Mena Suvari Thomas Ian Nicholas Jennifer Coolidge Sanjay Khan
action filter_type
action union
action find
entity Haseenon Ka Devata
relation cast member
action find
entity American Pie
relation cast member
type common name
{'OR': [['Haseenon Ka Devata', 'cast member', {'concept': 'common name'}], ['American Pie', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?q ) { ( resource:Haseenon_Ka_Devata ) ( resource:American_Pie ) } . ?q property:cast_member ?g } . ?g rdf:type ontology:common_name }
[]