Simple Question (Direct)
Simple Question
Q207803
P449
Q4830453
USER
Which network was the first to air Bones ?
(Q207803,P449,c(Q4830453))
action filter_type
action find
entity Q207803
relation P449
type Q4830453
['Q207803', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q207803 property:P449 ?k . ?k rdf:type ontology:Q4830453 }
Bones
action filter_type
action find
entity Bones
relation original network
type business enterprise
['Bones', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Bones property:original_network ?k . ?k rdf:type ontology:business_enterprise }
[]
business enterprise
Q166419
SYSTEM
Fox Broadcasting Company
Q166419
(Q207803,P449,c(Q4830453))
action filter_type
action find
entity Q207803
relation P449
type Q4830453
The [ANSWER] was the first to air Bones
['Q207803', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q207803 property:P449 ?k . ?k rdf:type ontology:Q4830453 }
Fox Broadcasting Company
The Fox Broadcasting Company was the first to air Bones
Fox Broadcasting Company
action filter_type
action find
entity Bones
relation original network
type business enterprise
['Bones', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Bones property:original_network ?k . ?k rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166419
P750
Q838948
USER
Which work of art has that business enterprise as its distributor ?
(c(Q838948),P750,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q166419']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P750 resource:Q166419 }
Fox Broadcasting Company
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Fox Broadcasting Company']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:distributor resource:Fox_Broadcasting_Company }
[]
work of art
Q64146
SYSTEM
Cruel Intentions 2
Q64146
(c(Q838948),P750,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P750
type Q838948
[ANSWER] has that business enterprise as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q166419']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P750 resource:Q166419 }
Cruel Intentions 2
Cruel Intentions 2 has that business enterprise as its distributor
Cruel Intentions 2
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Fox Broadcasting Company']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:distributor resource:Fox_Broadcasting_Company }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64146
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q64146,P136,c(Q1792379))
action filter_type
action find
entity Q64146
relation P136
type Q1792379
['Q64146', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { resource:Q64146 property:P136 ?b . ?b rdf:type ontology:Q1792379 }
Cruel Intentions 2
action filter_type
action find
entity Cruel Intentions 2
relation genre
type art genre
['Cruel Intentions 2', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { resource:Cruel_Intentions_2 property:genre ?b . ?b rdf:type ontology:art_genre }
[]
art genre
Q1146335
SYSTEM
teen film
Q1146335
(Q64146,P136,c(Q1792379))
action filter_type
action find
entity Q64146
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q64146', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { resource:Q64146 property:P136 ?b . ?b rdf:type ontology:Q1792379 }
teen film
Teen film can be considered as category for that work of art
teen film
action filter_type
action find
entity Cruel Intentions 2
relation genre
type art genre
['Cruel Intentions 2', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { resource:Cruel_Intentions_2 property:genre ?b . ?b rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64146
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q1146335,P58,c(Q502895))
action filter_type
action find
entity Q64146
relation P58
type Q502895
['Q1146335', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q64146 property:P58 ?g }
Cruel Intentions 2
action filter_type
action find
entity Cruel Intentions 2
relation screenwriter
type common name
['teen film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Cruel_Intentions_2 property:screenwriter ?g }
[]
common name
Q1374828
SYSTEM
Roger Kumble
Q1374828
(Q1146335,P58,c(Q502895))
action filter_type
action find
entity Q64146
relation P58
type Q502895
[ANSWER] served as the screenwriter for that work of art
['Q1146335', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q64146 property:P58 ?g }
Roger Kumble
Roger Kumble served as the screenwriter for that work of art
Roger Kumble
action filter_type
action find
entity Cruel Intentions 2
relation screenwriter
type common name
['teen film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Cruel_Intentions_2 property:screenwriter ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can exactly 3 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?r = 3 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?r = 3 ) }
[]
musical instrument common name
SYSTEM
2
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?r = 3 ) }
glockenspiel erhu
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?r = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6182794 Q1374828
P69
Q163740
USER
Which nonprofit organizations were Roger Kumble or Jerome L. Greene educated at ?
OR((Q1374828,P69,c(Q163740)), (Q6182794,P69,c(Q163740)))
action filter_type
action union
action find
entity Q1374828
relation P69
action find
entity Q6182794
relation P69
type Q163740
{'OR': [['Q1374828', 'P69', {'concept': 'Q163740'}], ['Q6182794', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1374828 property:P69 ?y } UNION { resource:Q6182794 property:P69 ?y } } . ?y rdf:type ontology:Q163740 }
Jerome L. Greene Roger Kumble
action filter_type
action union
action find
entity Roger Kumble
relation educated at
action find
entity Jerome L. Greene
relation educated at
type nonprofit organization
{'OR': [['Roger Kumble', 'educated at', {'concept': 'nonprofit organization'}], ['Jerome L. Greene', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Roger_Kumble property:educated_at ?y } UNION { resource:Jerome_L._Greene property:educated_at ?y } } . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q309350 Q49088
SYSTEM
Northwestern University, Columbia University
Q309350 Q49088
OR((Q1374828,P69,c(Q163740)), (Q6182794,P69,c(Q163740)))
action filter_type
action union
action find
entity Q1374828
relation P69
action find
entity Q6182794
relation P69
type Q163740
Roger Kumble or Jerome L. Greene were educated at the [ANSWERS]
{'OR': [['Q1374828', 'P69', {'concept': 'Q163740'}], ['Q6182794', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1374828 property:P69 ?y } UNION { resource:Q6182794 property:P69 ?y } } . ?y rdf:type ontology:Q163740 }
Northwestern University Columbia University
Roger Kumble or Jerome L. Greene were educated at the Northwestern University and Columbia University
Northwestern University Columbia University
action filter_type
action union
action find
entity Roger Kumble
relation educated at
action find
entity Jerome L. Greene
relation educated at
type nonprofit organization
{'OR': [['Roger Kumble', 'educated at', {'concept': 'nonprofit organization'}], ['Jerome L. Greene', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Roger_Kumble property:educated_at ?y } UNION { resource:Jerome_L._Greene property:educated_at ?y } } . ?y rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q309350 Q49088
P123
Q21114848
USER
Which magazine genres were published by those nonprofit organizations ?
(c(Q21114848),P123,Q309350) (c(Q21114848),P123,Q49088)
action filter_type
action find_reverse
entity prev_answer
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q309350'] [{'concept': 'Q21114848'}, 'P123', 'Q49088']
SELECT DISTINCT ?f WHERE { ?f property:P123 ?q . ?f rdf:type ontology:Q21114848 . VALUES ( ?q ) { ( resource:Q309350 ) ( resource:Q49088 ) } }
Northwestern University Columbia University
action filter_type
action find_reverse
entity prev_answer
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Northwestern University'] [{'concept': 'magazine genre'}, 'publisher', 'Columbia University']
SELECT DISTINCT ?f WHERE { ?f property:publisher ?q . ?f rdf:type ontology:magazine_genre . VALUES ( ?q ) { ( resource:Northwestern_University ) ( resource:Columbia_University ) } }
[]
magazine genre
Q7839818 Q5149603 Q6295389
SYSTEM
TriQuarterly, Columbia, Journal of International Affairs
Q7839818 Q5149603 Q6295389
(c(Q21114848),P123,Q309350) (c(Q21114848),P123,Q49088)
action filter_type
action find_reverse
entity prev_answer
relation P123
type Q21114848
[ANSWERS] were published by those nonprofit organizations
[{'concept': 'Q21114848'}, 'P123', 'Q309350'] [{'concept': 'Q21114848'}, 'P123', 'Q49088']
SELECT DISTINCT ?f WHERE { ?f property:P123 ?q . ?f rdf:type ontology:Q21114848 . VALUES ( ?q ) { ( resource:Q309350 ) ( resource:Q49088 ) } }
TriQuarterly Columbia Journal of International Affairs
TriQuarterly, Columbia and Journal of International Affairs were published by those nonprofit organizations
TriQuarterly Columbia Journal of International Affairs
action filter_type
action find_reverse
entity prev_answer
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Northwestern University'] [{'concept': 'magazine genre'}, 'publisher', 'Columbia University']
SELECT DISTINCT ?f WHERE { ?f property:publisher ?q . ?f rdf:type ontology:magazine_genre . VALUES ( ?q ) { ( resource:Northwestern_University ) ( resource:Columbia_University ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49088
P159
Q56061
USER
Which administrative territory is the HQ of Columbia University ?
(Q49088,P159,c(Q56061))
action filter_type
action find
entity Q49088
relation P159
type Q56061
['Q49088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q49088 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Columbia University
action filter_type
action find
entity Columbia University
relation headquarters location
type administrative territorial entity
['Columbia University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Columbia_University property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q49088,P159,c(Q56061))
action filter_type
action find
entity Q49088
relation P159
type Q56061
[ANSWER] is the HQ of Columbia University
['Q49088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q49088 property:P159 ?h . ?h rdf:type ontology:Q56061 }
New York City
New York City is the HQ of Columbia University
New York City
action filter_type
action find
entity Columbia University
relation headquarters location
type administrative territorial entity
['Columbia University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Columbia_University property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P36
Q15617994
USER
Which administrative territory consists of that administrative territory as its capital ?
(c(Q15617994),P36,Q60)
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q60']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q60 . ?p rdf:type ontology:Q15617994 }
New York City
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'New York City']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:New_York_City . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(c(Q15617994),P36,Q60)
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
[ANSWER] consists of that administrative territory as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q60']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q60 . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America consists of that administrative territory as its capital
United States of America
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'New York City']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:New_York_City . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 . ?x property:P495 ?f } GROUP BY ?f } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q30 property:P495 ?i . ?i rdf:type ontology:Q15617994 } } }
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release . ?x property:country_of_origin ?f } GROUP BY ?f } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:United_States_of_America property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity release
Q30
SYSTEM
United States of America
Q30
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[ANSWER] is the countries of origin of around the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 . ?x property:P495 ?f } GROUP BY ?f } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q30 property:P495 ?i . ?i rdf:type ontology:Q15617994 } } }
United States of America
United States of America is the countries of origin of around the same number of releases as that administrative territory
United States of America
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release . ?x property:country_of_origin ?f } GROUP BY ?f } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:United_States_of_America property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]