Simple Question (Direct)
Simple Question
Q26869689
P750
Q2001305
USER
Who distributes Before the Flood ?
(Q26869689,P750,c(Q2001305))
action filter_type
action find
entity Q26869689
relation P750
type Q2001305
['Q26869689', 'P750', {'concept': 'Q2001305'}]
SELECT DISTINCT ?r WHERE { resource:Q26869689 property:P750 ?r . ?r rdf:type ontology:Q2001305 }
Before the Flood
action filter_type
action find
entity Before the Flood
relation distributor
type television channel
['Before the Flood', 'distributor', {'concept': 'television channel'}]
SELECT DISTINCT ?r WHERE { resource:Before_the_Flood property:distributor ?r . ?r rdf:type ontology:television_channel }
[]
television channel
Q157118
SYSTEM
National Geographic Channel
Q157118
(Q26869689,P750,c(Q2001305))
action filter_type
action find
entity Q26869689
relation P750
type Q2001305
[ANSWER] distributes Before the Flood
['Q26869689', 'P750', {'concept': 'Q2001305'}]
SELECT DISTINCT ?r WHERE { resource:Q26869689 property:P750 ?r . ?r rdf:type ontology:Q2001305 }
National Geographic Channel
National Geographic Channel distributes Before the Flood
National Geographic Channel
action filter_type
action find
entity Before the Flood
relation distributor
type television channel
['Before the Flood', 'distributor', {'concept': 'television channel'}]
SELECT DISTINCT ?r WHERE { resource:Before_the_Flood property:distributor ?r . ?r rdf:type ontology:television_channel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26869689
P136
Q1792379
USER
What can be considered as category for Before the Flood ?
(Q26869689,P136,c(Q1792379))
action filter_type
action find
entity Q26869689
relation P136
type Q1792379
['Q26869689', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q26869689 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
Before the Flood
action filter_type
action find
entity Before the Flood
relation genre
type art genre
['Before the Flood', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Before_the_Flood property:genre ?j . ?j rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q26869689,P136,c(Q1792379))
action filter_type
action find
entity Q26869689
relation P136
type Q1792379
The [ANSWER] can be considered as category for Before the Flood
['Q26869689', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q26869689 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
documentary film
The documentary film can be considered as category for Before the Flood
documentary film
action filter_type
action find
entity Before the Flood
relation genre
type art genre
['Before the Flood', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Before_the_Flood property:genre ?j . ?j rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26869689
P462
Q1075
USER
Which color is Before the Flood associated with ?
(Q26869689,P462,c(Q1075))
action filter_type
action find
entity Q26869689
relation P462
type Q1075
['Q26869689', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1075 . resource:Q26869689 property:P462 ?g }
Before the Flood
action filter_type
action find
entity Before the Flood
relation color
type color
['Before the Flood', 'color', {'concept': 'color'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:color . resource:Before_the_Flood property:color ?g }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q26869689,P462,c(Q1075))
action filter_type
action find
entity Q26869689
relation P462
type Q1075
Before the Flood is associated with [ANSWER]
['Q26869689', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1075 . resource:Q26869689 property:P462 ?g }
color
Before the Flood is associated with color
color
action filter_type
action find
entity Before the Flood
relation color
type color
['Before the Flood', 'color', {'concept': 'color'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:color . resource:Before_the_Flood property:color ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1305612
Q1075
USER
And how about A Charming Man?
(Q1305612,P462,c(Q1075))
action filter_type
action find
entity Q1305612
relation P462
type Q1075
['Q1305612', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q1305612 property:P462 ?l . ?l rdf:type ontology:Q1075 }
A Charming Man
action filter_type
action find
entity A Charming Man
relation color
type color
['A Charming Man', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:A_Charming_Man property:color ?l . ?l rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q1305612,P462,c(Q1075))
action filter_type
action find
entity Q1305612
relation P462
type Q1075
[ANSWER]
['Q1305612', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q1305612 property:P462 ?l . ?l rdf:type ontology:Q1075 }
black-and-white film
black-and-white film
action filter_type
action find
entity A Charming Man
relation color
type color
['A Charming Man', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:A_Charming_Man property:color ?l . ?l rdf:type ontology:color }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q157118 Q689325
P159
Q56061
USER
How many administrative territories are the headquarter locations of National Geographic Channel or Armstrong Siddeley ?
(Q157118,P159,c(Q56061)) (Q689325,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q157118
relation P159
type Q56061
action filter_type
action find
entity Q689325
relation P159
type Q56061
['Q157118', 'P159', {'concept': 'Q56061'}] ['Q689325', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:Q56061 . resource:Q689325 property:P159 ?b } UNION { resource:Q157118 property:P159 ?b . ?b rdf:type ontology:Q56061 } }
National Geographic Channel Armstrong Siddeley
action count
action union
action filter_type
action find
entity National Geographic Channel
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Armstrong Siddeley
relation headquarters location
type administrative territorial entity
['National Geographic Channel', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Armstrong Siddeley', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:administrative_territorial_entity . resource:Armstrong_Siddeley property:headquarters_location ?b } UNION { resource:National_Geographic_Channel property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q61 Q6225
(Q157118,P159,c(Q56061)) (Q689325,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q157118
relation P159
type Q56061
action filter_type
action find
entity Q689325
relation P159
type Q56061
[ANSWER]
['Q157118', 'P159', {'concept': 'Q56061'}] ['Q689325', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:Q56061 . resource:Q689325 property:P159 ?b } UNION { resource:Q157118 property:P159 ?b . ?b rdf:type ontology:Q56061 } }
Washington, D.C. Coventry
2
action count
action union
action filter_type
action find
entity National Geographic Channel
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Armstrong Siddeley
relation headquarters location
type administrative territorial entity
['National Geographic Channel', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Armstrong Siddeley', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { ?b rdf:type ontology:administrative_territorial_entity . resource:Armstrong_Siddeley property:headquarters_location ?b } UNION { resource:National_Geographic_Channel property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q26869689
P86
Q502895 Q2088357
USER
How many people and musical ensembles were Before the Flood composed by ?
(Q26869689,P86,c(Q502895)) (Q26869689,P86,c(Q2088357))
action count
action union
action filter_type
action find
entity Q26869689
relation P86
type Q502895
action filter_type
action find
entity Q26869689
relation P86
type Q2088357
['Q26869689', 'P86', {'concept': 'Q502895'}] ['Q26869689', 'P86', {'concept': 'Q2088357'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Q26869689 property:P86 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q26869689 property:P86 ?g . ?g rdf:type ontology:Q2088357 } }
Before the Flood
action count
action union
action filter_type
action find
entity Before the Flood
relation composer
type common name
action filter_type
action find
entity Before the Flood
relation composer
type musical ensemble
['Before the Flood', 'composer', {'concept': 'common name'}] ['Before the Flood', 'composer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Before_the_Flood property:composer ?g . ?g rdf:type ontology:common_name } UNION { resource:Before_the_Flood property:composer ?g . ?g rdf:type ontology:musical_ensemble } }
[]
common name musical ensemble
SYSTEM
3 people and 1 musical ensembles
Q312434 Q645980 Q282722 Q520346
(Q26869689,P86,c(Q502895)) (Q26869689,P86,c(Q2088357))
action count
action union
action filter_type
action find
entity Q26869689
relation P86
type Q502895
action filter_type
action find
entity Q26869689
relation P86
type Q2088357
[ANSWER]
['Q26869689', 'P86', {'concept': 'Q502895'}] ['Q26869689', 'P86', {'concept': 'Q2088357'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Q26869689 property:P86 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q26869689 property:P86 ?g . ?g rdf:type ontology:Q2088357 } }
Gustavo Santaolalla Mogwai Trent Reznor Atticus Ross
3 people and 1 musical ensembles
action count
action union
action filter_type
action find
entity Before the Flood
relation composer
type common name
action filter_type
action find
entity Before the Flood
relation composer
type musical ensemble
['Before the Flood', 'composer', {'concept': 'common name'}] ['Before the Flood', 'composer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { resource:Before_the_Flood property:composer ?g . ?g rdf:type ontology:common_name } UNION { resource:Before_the_Flood property:composer ?g . ?g rdf:type ontology:musical_ensemble } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3667354 Q26869689
P495
Q15617994
USER
Which administrative territories are the countries of origin of Before the Flood or Tenchi Forever! The Movie ?
OR((Q26869689,P495,c(Q15617994)), (Q3667354,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q26869689
relation P495
action find
entity Q3667354
relation P495
type Q15617994
{'OR': [['Q26869689', 'P495', {'concept': 'Q15617994'}], ['Q3667354', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q26869689 property:P495 ?p } UNION { resource:Q3667354 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
Tenchi Forever! The Movie Before the Flood
action filter_type
action union
action find
entity Before the Flood
relation country of origin
action find
entity Tenchi Forever! The Movie
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Before the Flood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Tenchi Forever! The Movie', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Before_the_Flood property:country_of_origin ?p } UNION { resource:Tenchi_Forever!_The_Movie property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q26869689,P495,c(Q15617994)), (Q3667354,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q26869689
relation P495
action find
entity Q3667354
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Before the Flood or Tenchi Forever! The Movie
{'OR': [['Q26869689', 'P495', {'concept': 'Q15617994'}], ['Q3667354', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q26869689 property:P495 ?p } UNION { resource:Q3667354 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
Japan United States of America
Japan and United States of America are the countries of origin of Before the Flood or Tenchi Forever! The Movie
Japan United States of America
action filter_type
action union
action find
entity Before the Flood
relation country of origin
action find
entity Tenchi Forever! The Movie
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Before the Flood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Tenchi Forever! The Movie', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Before_the_Flood property:country_of_origin ?p } UNION { resource:Tenchi_Forever!_The_Movie property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2030808 Q1305612
P161
Q502895
USER
Which people were casted in A Charming Man or Parts: The Clonus Horror ?
OR((Q1305612,P161,c(Q502895)), (Q2030808,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1305612
relation P161
action find
entity Q2030808
relation P161
type Q502895
{'OR': [['Q1305612', 'P161', {'concept': 'Q502895'}], ['Q2030808', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:P161 ?o . VALUES ( ?d ) { ( resource:Q1305612 ) ( resource:Q2030808 ) } } . ?o rdf:type ontology:Q502895 }
Parts: The Clonus Horror A Charming Man
action filter_type
action union
action find
entity A Charming Man
relation cast member
action find
entity Parts: The Clonus Horror
relation cast member
type common name
{'OR': [['A Charming Man', 'cast member', {'concept': 'common name'}], ['Parts: The Clonus Horror', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:cast_member ?o . VALUES ( ?d ) { ( resource:A_Charming_Man ) ( resource:Parts:_The_Clonus_Horror ) } } . ?o rdf:type ontology:common_name }
[]
common name
Q946859 Q456357 Q156532 Q1412648 Q984022 Q436848 Q3082499 Q441356
SYSTEM
Keenan Wynn, Lurene Tuttle, Peter Graves, František Filipovský, Oldřich Nový, Nataša Gollová, Frank Ashmore, Dick Sargent
Q946859 Q456357 Q156532 Q1412648 Q984022 Q436848 Q3082499 Q441356
OR((Q1305612,P161,c(Q502895)), (Q2030808,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1305612
relation P161
action find
entity Q2030808
relation P161
type Q502895
[ANSWERS] were casted in A Charming Man or Parts: The Clonus Horror
{'OR': [['Q1305612', 'P161', {'concept': 'Q502895'}], ['Q2030808', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:P161 ?o . VALUES ( ?d ) { ( resource:Q1305612 ) ( resource:Q2030808 ) } } . ?o rdf:type ontology:Q502895 }
Keenan Wynn Lurene Tuttle Peter Graves František Filipovský Oldřich Nový Nataša Gollová Frank Ashmore Dick Sargent
Keenan Wynn, Lurene Tuttle, Peter Graves, František Filipovský, Oldřich Nový, Nataša Gollová, Frank Ashmore and Dick Sargent were casted in A Charming Man or Parts: The Clonus Horror
Keenan Wynn Lurene Tuttle Peter Graves František Filipovský Oldřich Nový Nataša Gollová Frank Ashmore Dick Sargent
action filter_type
action union
action find
entity A Charming Man
relation cast member
action find
entity Parts: The Clonus Horror
relation cast member
type common name
{'OR': [['A Charming Man', 'cast member', {'concept': 'common name'}], ['Parts: The Clonus Horror', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:cast_member ?o . VALUES ( ?d ) { ( resource:A_Charming_Man ) ( resource:Parts:_The_Clonus_Horror ) } } . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2009
P194
Q701632 Q35749 Q15617994
USER
How many administrative territories have less number of municipal councils and parliaments as their legislative body than Yukon ?
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action count
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q2009
relation P194
type Q701632
type Q35749
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q2009 property:P194 ?g . { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } } } . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?a ) WHERE { { ?s property:P194 ?o . ?o rdf:type ontology:Q35749 . ?s rdf:type ontology:Q15617994 } UNION { ?s property:P194 ?o . ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q701632 } } GROUP BY ?s } }
Yukon
action count
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Yukon
relation legislative body
type municipal council
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Yukon property:legislative_body ?g . { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:municipal_council ) ( ontology:parliament ) } } } } . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?a ) WHERE { { ?s property:legislative_body ?o . ?o rdf:type ontology:parliament . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s property:legislative_body ?o . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:municipal_council } } GROUP BY ?s } }
[]
municipal council parliament designation for an administrative territorial entity
SYSTEM
130
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action count
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q2009
relation P194
type Q701632
type Q35749
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q2009 property:P194 ?g . { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } } } . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?a ) WHERE { { ?s property:P194 ?o . ?o rdf:type ontology:Q35749 . ?s rdf:type ontology:Q15617994 } UNION { ?s property:P194 ?o . ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q701632 } } GROUP BY ?s } }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
130
action count
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Yukon
relation legislative body
type municipal council
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Yukon property:legislative_body ?g . { ?g rdf:type ?v . VALUES ( ?v ) { ( ontology:municipal_council ) ( ontology:parliament ) } } } } . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?a ) WHERE { { ?s property:legislative_body ?o . ?o rdf:type ontology:parliament . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s property:legislative_body ?o . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:municipal_council } } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1904
P194
Q701632 Q35749 Q15617994
USER
And also tell me about Ontario?
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action count
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q1904
relation P194
type Q701632
type Q35749
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?d WHERE { VALUES ( ?i ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } . ?q rdf:type ?i } GROUP BY ?d } . FILTER ( ?r < ?g ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q1904 property:P194 ?x . { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } } } }
Ontario
action count
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Ontario
relation legislative body
type municipal council
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?d WHERE { VALUES ( ?i ) { ( ontology:municipal_council ) ( ontology:parliament ) } . ?q rdf:type ?i } GROUP BY ?d } . FILTER ( ?r < ?g ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Ontario property:legislative_body ?x . { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:municipal_council ) ( ontology:parliament ) } } } } }
[]
municipal council parliament designation for an administrative territorial entity
SYSTEM
130
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action count
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action count
action filter_multi_types
action find
entity Q1904
relation P194
type Q701632
type Q35749
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?d WHERE { VALUES ( ?i ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } . ?q rdf:type ?i } GROUP BY ?d } . FILTER ( ?r < ?g ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q1904 property:P194 ?x . { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } } } }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
130
action count
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action count
action filter_multi_types
action find
entity Ontario
relation legislative body
type municipal council
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?d WHERE { VALUES ( ?i ) { ( ontology:municipal_council ) ( ontology:parliament ) } . ?q rdf:type ?i } GROUP BY ?d } . FILTER ( ?r < ?g ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Ontario property:legislative_body ?x . { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:municipal_council ) ( ontology:parliament ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q178837
P127
Q1269299
USER
Who owns Disney Channel ?
(Q178837,P127,c(Q1269299))
action filter_type
action find
entity Q178837
relation P127
type Q1269299
['Q178837', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?u WHERE { resource:Q178837 property:P127 ?u . ?u rdf:type ontology:Q1269299 }
Disney Channel
action filter_type
action find
entity Disney Channel
relation owned by
type type of business entity
['Disney Channel', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?u WHERE { resource:Disney_Channel property:owned_by ?u . ?u rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q7414
SYSTEM
The Walt Disney Company
Q7414
(Q178837,P127,c(Q1269299))
action filter_type
action find
entity Q178837
relation P127
type Q1269299
[ANSWER] owns Disney Channel
['Q178837', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?u WHERE { resource:Q178837 property:P127 ?u . ?u rdf:type ontology:Q1269299 }
The Walt Disney Company
The Walt Disney Company owns Disney Channel
The Walt Disney Company
action filter_type
action find
entity Disney Channel
relation owned by
type type of business entity
['Disney Channel', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?u WHERE { resource:Disney_Channel property:owned_by ?u . ?u rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7414
P355
Q375336
USER
Which film studio is a subsidiary of that business organization ?
(Q7414,P355,c(Q375336))
action filter_type
action find
entity Q7414
relation P355
type Q375336
['Q7414', 'P355', {'concept': 'Q375336'}]
SELECT DISTINCT ?j WHERE { resource:Q7414 property:P355 ?j . ?j rdf:type ontology:Q375336 }
The Walt Disney Company
action filter_type
action find
entity The Walt Disney Company
relation subsidiary
type film studio
['The Walt Disney Company', 'subsidiary', {'concept': 'film studio'}]
SELECT DISTINCT ?j WHERE { resource:The_Walt_Disney_Company property:subsidiary ?j . ?j rdf:type ontology:film_studio }
[]
film studio
Q127552
SYSTEM
Pixar
Q127552
(Q7414,P355,c(Q375336))
action filter_type
action find
entity Q7414
relation P355
type Q375336
[ANSWER] is a subsidiary of that business organization
['Q7414', 'P355', {'concept': 'Q375336'}]
SELECT DISTINCT ?j WHERE { resource:Q7414 property:P355 ?j . ?j rdf:type ontology:Q375336 }
Pixar
Pixar is a subsidiary of that business organization
Pixar
action filter_type
action find
entity The Walt Disney Company
relation subsidiary
type film studio
['The Walt Disney Company', 'subsidiary', {'concept': 'film studio'}]
SELECT DISTINCT ?j WHERE { resource:The_Walt_Disney_Company property:subsidiary ?j . ?j rdf:type ontology:film_studio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7414
P170
Q15416
USER
Which works were created by The Walt Disney Company ?
(c(Q15416),P170,Q7414)
action filter_type
action find_reverse
entity Q7414
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q7414']
SELECT DISTINCT ?f WHERE { ?f property:P170 resource:Q7414 . ?f rdf:type ontology:Q15416 }
The Walt Disney Company
action filter_type
action find_reverse
entity The Walt Disney Company
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'The Walt Disney Company']
SELECT DISTINCT ?f WHERE { ?f property:creator resource:The_Walt_Disney_Company . ?f rdf:type ontology:television_program }
[]
television program
Q1171651 Q784932 Q7763061
SYSTEM
The Ultimate Christmas Present, Teen Angel, The Secret Of Lost Creek
Q7240600 Q784932 Q7763061 Q1171651 Q5305985 Q550267 Q7240599 Q941517
(c(Q15416),P170,Q7414)
action filter_type
action find_reverse
entity Q7414
relation P170
type Q15416
[ANSWERS] were created by The Walt Disney Company
[{'concept': 'Q15416'}, 'P170', 'Q7414']
SELECT DISTINCT ?f WHERE { ?f property:P170 resource:Q7414 . ?f rdf:type ontology:Q15416 }
Prep & Landing: Operation: Secret Santa Teen Angel The Secret Of Lost Creek The Ultimate Christmas Present Draw Your Own Toons PrankStars Prep & Landing: Naughty vs. Nice Imagination Movers
The Ultimate Christmas Present, Teen Angel and The Secret Of Lost Creek were created by The Walt Disney Company
The Ultimate Christmas Present Teen Angel The Secret Of Lost Creek
action filter_type
action find_reverse
entity The Walt Disney Company
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'The Walt Disney Company']
SELECT DISTINCT ?f WHERE { ?f property:creator resource:The_Walt_Disney_Company . ?f rdf:type ontology:television_program }
[]