Simple Question (Direct)
Simple Question
Q976041
P750
Q375336
USER
Who is the distributor of Crime Wave ?
(Q976041,P750,c(Q375336))
action filter_type
action find
entity Q976041
relation P750
type Q375336
['Q976041', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?s WHERE { resource:Q976041 property:P750 ?s . ?s rdf:type ontology:Q375336 }
Crime Wave
action filter_type
action find
entity Crime Wave
relation distributor
type film studio
['Crime Wave', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?s WHERE { resource:Crime_Wave property:distributor ?s . ?s rdf:type ontology:film_studio }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q976041,P750,c(Q375336))
action filter_type
action find
entity Q976041
relation P750
type Q375336
The distributor of Crime Wave is the [ANSWER]
['Q976041', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?s WHERE { resource:Q976041 property:P750 ?s . ?s rdf:type ontology:Q375336 }
Warner Bros.
The distributor of Crime Wave is the Warner Bros.
Warner Bros.
action filter_type
action find
entity Crime Wave
relation distributor
type film studio
['Crime Wave', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?s WHERE { resource:Crime_Wave property:distributor ?s . ?s rdf:type ontology:film_studio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976041
P58
Q502895
USER
Who was the screenwriter for Crime Wave ?
(Q976041,P58,c(Q502895))
action filter_type
action find
entity Q976041
relation P58
type Q502895
['Q976041', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q976041 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Crime Wave
action filter_type
action find
entity Crime Wave
relation screenwriter
type common name
['Crime Wave', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Crime_Wave property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3002119
SYSTEM
Crane Wilbur
Q3002119
(Q976041,P58,c(Q502895))
action filter_type
action find
entity Q976041
relation P58
type Q502895
The screenwriter for Crime Wave was [ANSWER]
['Q976041', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q976041 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Crane Wilbur
The screenwriter for Crime Wave was Crane Wilbur
Crane Wilbur
action filter_type
action find
entity Crime Wave
relation screenwriter
type common name
['Crime Wave', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Crime_Wave property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976041
P344
Q502895
USER
Who is the director of photography for Crime Wave ?
(Q976041,P344,c(Q502895))
action filter_type
action find
entity Q976041
relation P344
type Q502895
['Q976041', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q976041 property:P344 ?s . ?s rdf:type ontology:Q502895 }
Crime Wave
action filter_type
action find
entity Crime Wave
relation director of photography
type common name
['Crime Wave', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Crime_Wave property:director_of_photography ?s . ?s rdf:type ontology:common_name }
[]
common name
Q778789
SYSTEM
Bert Glennon
Q778789
(Q976041,P344,c(Q502895))
action filter_type
action find
entity Q976041
relation P344
type Q502895
The director of photography for Crime is the [ANSWER]
['Q976041', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q976041 property:P344 ?s . ?s rdf:type ontology:Q502895 }
Bert Glennon
The director of photography for Crime is the Bert Glennon
Bert Glennon
action filter_type
action find
entity Crime Wave
relation director of photography
type common name
['Crime Wave', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Crime_Wave property:director_of_photography ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q778789
P40
Q502895
USER
Who is a child of that one ?
(Q778789,P40,c(Q502895))
action filter_type
action find
entity Q778789
relation P40
type Q502895
['Q778789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q778789 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Bert Glennon
action filter_type
action find
entity Bert Glennon
relation child
type common name
['Bert Glennon', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Bert_Glennon property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1680461
SYSTEM
James Glennon
Q1680461
(Q778789,P40,c(Q502895))
action filter_type
action find
entity Q778789
relation P40
type Q502895
A child of that one is the [ANSWER]
['Q778789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q778789 property:P40 ?f . ?f rdf:type ontology:Q502895 }
James Glennon
A child of that one is the James Glennon
James Glennon
action filter_type
action find
entity Bert Glennon
relation child
type common name
['Bert Glennon', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Bert_Glennon property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q778789
P119
Q43229
USER
Which organization is the tomb of Bert Glennon ?
(Q778789,P119,c(Q43229))
action filter_type
action find
entity Q778789
relation P119
type Q43229
['Q778789', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q778789 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Bert Glennon
action filter_type
action find
entity Bert Glennon
relation place of burial
type organization
['Bert Glennon', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Bert_Glennon property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q7413874
SYSTEM
San Fernando Mission Cemetery
Q7413874
(Q778789,P119,c(Q43229))
action filter_type
action find
entity Q778789
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Bert Glennon
['Q778789', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q778789 property:P119 ?o . ?o rdf:type ontology:Q43229 }
San Fernando Mission Cemetery
Cemetery San Fernando Mission Cemetery is the tomb of Bert Glennon
San Fernando Mission Cemetery
action filter_type
action find
entity Bert Glennon
relation place of burial
type organization
['Bert Glennon', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Bert_Glennon property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5498653
Q43229
USER
And what about Frederick Rodgers?
(Q5498653,P119,c(Q43229))
action filter_type
action find
entity Q5498653
relation P119
type Q43229
['Q5498653', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . resource:Q5498653 property:P119 ?z }
Frederick Rodgers
action filter_type
action find
entity Frederick Rodgers
relation place of burial
type organization
['Frederick Rodgers', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . resource:Frederick_Rodgers property:place_of_burial ?z }
[]
organization
Q7354368
SYSTEM
Rock Creek Cemetery
Q7354368
(Q5498653,P119,c(Q43229))
action filter_type
action find
entity Q5498653
relation P119
type Q43229
[ANSWER]
['Q5498653', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . resource:Q5498653 property:P119 ?z }
Rock Creek Cemetery
Rock Creek Cemetery
action filter_type
action find
entity Frederick Rodgers
relation place of burial
type organization
['Frederick Rodgers', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . resource:Frederick_Rodgers property:place_of_burial ?z }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q3002119
P57 P495
Q201658
USER
Which film genres are Crane Wilbur a director of and originate at United States of America ?
AND((c(Q201658),P57,Q3002119), (c(Q201658),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q3002119
relation P57
action find_reverse
entity Q30
relation P495
type Q201658
{'AND': [[{'concept': 'Q201658'}, 'P57', 'Q3002119'], [{'concept': 'Q201658'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P495 resource:Q30 . ?s property:P57 resource:Q3002119 . ?s rdf:type ontology:Q201658 }
United States of America Crane Wilbur
action filter_type
action intersection
action find_reverse
entity Crane Wilbur
relation director
action find_reverse
entity United States of America
relation country of origin
type film genre
{'AND': [[{'concept': 'film genre'}, 'director', 'Crane Wilbur'], [{'concept': 'film genre'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_origin resource:United_States_of_America . ?s property:director resource:Crane_Wilbur . ?s rdf:type ontology:film_genre }
[]
film genre
Q1596726 Q1506135 Q1246794
SYSTEM
Declaration of Independence, I Won't Play, Swingtime in the Movies
Q1596726 Q1506135 Q1246794
AND((c(Q201658),P57,Q3002119), (c(Q201658),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q3002119
relation P57
action find_reverse
entity Q30
relation P495
type Q201658
[ANSWERS] are Crane Wilbur a director of and originate at United States of America
{'AND': [[{'concept': 'Q201658'}, 'P57', 'Q3002119'], [{'concept': 'Q201658'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P495 resource:Q30 . ?s property:P57 resource:Q3002119 . ?s rdf:type ontology:Q201658 }
Declaration of Independence I Won't Play Swingtime in the Movies
Declaration of Independence, I Won't Play and Swingtime in the Movies are Crane Wilbur a director of and originate at United States of America
Declaration of Independence I Won't Play Swingtime in the Movies
action filter_type
action intersection
action find_reverse
entity Crane Wilbur
relation director
action find_reverse
entity United States of America
relation country of origin
type film genre
{'AND': [[{'concept': 'film genre'}, 'director', 'Crane Wilbur'], [{'concept': 'film genre'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_origin resource:United_States_of_America . ?s property:director resource:Crane_Wilbur . ?s rdf:type ontology:film_genre }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P272
Q375336 Q201658
USER
Which film studios were the production companies of min number of film genres ?
(c(Q201658),P272,Q2090847)
action argmin
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
[{'concept': 'Q201658'}, 'P272', 'Q2090847']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P272 ?j . ?j rdf:type ontology:Q375336 . ?c rdf:type ontology:Q201658 } GROUP BY ?j } } . FILTER ( ?t = ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P272 ?d . ?d rdf:type ontology:Q375336 . ?q rdf:type ontology:Q201658 } GROUP BY ?d } }
action argmin
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
[{'concept': 'film genre'}, 'production company', 'Tezuka Productions']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:production_company ?j . ?j rdf:type ontology:film_studio . ?c rdf:type ontology:film_genre } GROUP BY ?j } } . FILTER ( ?t = ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:production_company ?d . ?d rdf:type ontology:film_studio . ?q rdf:type ontology:film_genre } GROUP BY ?d } }
[]
film studio film genre
Q834328 Q1054807 Q192557
SYSTEM
Gainax, TMS Entertainment, DreamWorks
Q1314323 Q192557 Q3178829 Q557471 Q1744498 Q5205538 Q645476 Q3338432 Q1173719 Q496797 Q7672604 Q7577020 Q3551276 Q960422 Q7389505 Q1054807 Q4928707 Q3062351 Q834328 Q6468235 Q2467538 Q2940649 Q16218225 Q854654 Q1136386 Q6189091 Q1433174 Q611346 Q11231001 Q3033729 Q1469675 Q650867 Q877325 Q421414 Q834471 Q6410686 Q1204821 Q27186707 Q730179 Q307291 Q3857481 Q3018644 Q507806 Q947930 Q2296673 Q182361 Q5275866 Q1203676 Q2295388 Q3544094 Q2424733 Q961397 Q3976290 Q3941755 Q1051884 Q1403298 Q858803 Q3273914 Q11282972 Q10813424 Q277763 Q3998710 Q2296711 Q11289604 Q1323459 Q1137522 Q2528458 Q1150943 Q14508383 Q6824403 Q1584469 Q6514529 Q3532077 Q548166 Q749550 Q813988 Q1087539 Q1414376 Q3782532 Q5183495 Q1377799 Q657931 Q457893 Q4530492 Q4051446 Q2090847
(c(Q201658),P272,Q2090847)
action argmin
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
[ANSWERS] were the production companies of min number of film genres
[{'concept': 'Q201658'}, 'P272', 'Q2090847']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P272 ?j . ?j rdf:type ontology:Q375336 . ?c rdf:type ontology:Q201658 } GROUP BY ?j } } . FILTER ( ?t = ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P272 ?d . ?d rdf:type ontology:Q375336 . ?q rdf:type ontology:Q201658 } GROUP BY ?d } }
Laika DreamWorks Jim Henson's Creature Shop Production Reed Klasky Csupo DLE Manglobe Nest Family Entertainment Studio Comet Folimage TYO Animations Spider Eye Productions Universal Animation Studios Xebec SD Entertainment TMS Entertainment Blue-Zoo Productions Triangle Staff Gainax Lacewood Productions Ordet Cartoon Saloon Production IMS Sunrise Shin-Ei Animation Jetlag Productions Crest Animation Productions Studio Pierrot MAPPA Doga Kobo King Features Syndicate Madhouse Kyoto Animation Silver Link Bones Kinema Citrus Shaft Jumbo Pictures Toei Animation Feel Mike Young Productions David Production Studio Deen OLM, Inc. Gallop Studio 4°C Digital Frontier Khara Ajia-do Animation Works Mook Animation Arms Corporation Group TAC Studio Kajino Rothkirch Cartoon Film Nippon Animation Magic Bus Cartoon Network Studios Mac Guff Actas Trigger A-1 Pictures Trickfilmstudio Artland 8-Bit Tatsunoko Production Gonzo Brain's Base Studio Nue Wit Studio Metro-Goldwyn-Mayer Animation P.A. Works Lee Mendelson Films Topcraft Anime International Company White Fox Bee Train Satelight Filmation Halas and Batchelor Creative Capers Entertainment Mushi Production APPP Amblin Entertainment Studio Ekran Threshold Entertainment Tezuka Productions
Gainax, TMS Entertainment and DreamWorks were the production companies of min number of film genres
Gainax TMS Entertainment DreamWorks
action argmin
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
[{'concept': 'film genre'}, 'production company', 'Tezuka Productions']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:production_company ?j . ?j rdf:type ontology:film_studio . ?c rdf:type ontology:film_genre } GROUP BY ?j } } . FILTER ( ?t = ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:production_company ?d . ?d rdf:type ontology:film_studio . ?q rdf:type ontology:film_genre } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7354368
P17
Q15617994
USER
How many administrative territories do Rock Creek Cemetery belong to ?
(Q7354368,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7354368
relation P17
type Q15617994
['Q7354368', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q7354368 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Rock Creek Cemetery
action count
action filter_type
action find
entity Rock Creek Cemetery
relation country
type designation for an administrative territorial entity
['Rock Creek Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Rock_Creek_Cemetery property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7354368,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7354368
relation P17
type Q15617994
[ANSWER]
['Q7354368', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q7354368 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Rock Creek Cemetery
relation country
type designation for an administrative territorial entity
['Rock Creek Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Rock_Creek_Cemetery property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5812317
P17
Q15617994
USER
And also tell me about Yasti Bulagh?
(Q5812317,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5812317
relation P17
type Q15617994
['Q5812317', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q5812317 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Yasti Bulagh
action count
action filter_type
action find
entity Yasti Bulagh
relation country
type designation for an administrative territorial entity
['Yasti Bulagh', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Yasti_Bulagh property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q794
(Q5812317,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5812317
relation P17
type Q15617994
[ANSWER]
['Q5812317', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q5812317 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Iran
1
action count
action filter_type
action find
entity Yasti Bulagh
relation country
type designation for an administrative territorial entity
['Yasti Bulagh', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Yasti_Bulagh property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2232894
Q15617994
USER
And what about Oberlin?
(Q2232894,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2232894
relation P17
type Q15617994
['Q2232894', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q2232894 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Oberlin
action count
action filter_type
action find
entity Oberlin
relation country
type designation for an administrative territorial entity
['Oberlin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Oberlin property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2232894,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2232894
relation P17
type Q15617994
[ANSWER]
['Q2232894', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q2232894 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Oberlin
relation country
type designation for an administrative territorial entity
['Oberlin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Oberlin property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P272
Q375336 Q15416 Q838948
USER
Which film studios were the production companies of approximately 134 television programs or works of art ?
(c(Q15416)|c(Q838948),P272,c(Q375336))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
value 134
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P272 ?i . ?i rdf:type ontology:Q375336 . ?f rdf:type ontology:Q15416 } UNION { ?f property:P272 ?i . ?i rdf:type ontology:Q375336 . ?f rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?u = 134 ) }
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
value 134
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:production_company ?i . ?i rdf:type ontology:film_studio . ?f rdf:type ontology:television_program } UNION { ?f property:production_company ?i . ?i rdf:type ontology:film_studio . ?f rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?u = 134 ) }
[]
film studio television program work of art
Q192557 Q457893
SYSTEM
DreamWorks, Amblin Entertainment
Q192557 Q457893
(c(Q15416)|c(Q838948),P272,c(Q375336))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
value 134
[ANSWERS] were the production companies of approximately 134 television programs or works of art
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P272 ?i . ?i rdf:type ontology:Q375336 . ?f rdf:type ontology:Q15416 } UNION { ?f property:P272 ?i . ?i rdf:type ontology:Q375336 . ?f rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?u = 134 ) }
DreamWorks Amblin Entertainment
DreamWorks and Amblin Entertainment were the production companies of approximately 134 television programs or works of art
DreamWorks Amblin Entertainment
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
value 134
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:production_company ?i . ?i rdf:type ontology:film_studio . ?f rdf:type ontology:television_program } UNION { ?f property:production_company ?i . ?i rdf:type ontology:film_studio . ?f rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?u = 134 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18147355
P272
Q838948
USER
Did Jean-Baptiste Colbert have those film studios as the production house ?
(Q18147355,P272,Q192557) (Q18147355,P272,Q457893)
action is_in
entity prev_answer
action find
entity Q18147355
relation P272
['Q18147355', 'P272', 'Q192557'] ['Q18147355', 'P272', 'Q457893']
ASK WHERE { resource:Q18147355 property:P272 ?a . VALUES ( ?a ) { ( resource:Q192557 ) ( resource:Q457893 ) } }
Jean-Baptiste Colbert
action is_in
entity prev_answer
action find
entity Jean-Baptiste Colbert
relation production company
['Jean-Baptiste Colbert', 'production company', 'DreamWorks'] ['Jean-Baptiste Colbert', 'production company', 'Amblin Entertainment']
ASK WHERE { resource:Jean-Baptiste_Colbert property:production_company ?a . VALUES ( ?a ) { ( resource:DreamWorks ) ( resource:Amblin_Entertainment ) } }
[]
work of art
SYSTEM
NO
(Q18147355,P272,Q192557) (Q18147355,P272,Q457893)
action is_in
entity prev_answer
action find
entity Q18147355
relation P272
[ANSWER]
['Q18147355', 'P272', 'Q192557'] ['Q18147355', 'P272', 'Q457893']
ASK WHERE { resource:Q18147355 property:P272 ?a . VALUES ( ?a ) { ( resource:Q192557 ) ( resource:Q457893 ) } }
No
action is_in
entity prev_answer
action find
entity Jean-Baptiste Colbert
relation production company
['Jean-Baptiste Colbert', 'production company', 'DreamWorks'] ['Jean-Baptiste Colbert', 'production company', 'Amblin Entertainment']
ASK WHERE { resource:Jean-Baptiste_Colbert property:production_company ?a . VALUES ( ?a ) { ( resource:DreamWorks ) ( resource:Amblin_Entertainment ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q457893 Q4733340 Q30
P17
Q15617994
USER
Is Amblin Entertainment present in Allum Green and United States of America ?
(Q457893,P17,Q4733340) (Q457893,P17,Q30)
action is_in
entity Q457893
action intersection
action find_reverse
entity Q4733340
relation P17
action find_reverse
entity Q30
relation P17
['Q457893', 'P17', 'Q4733340'] ['Q457893', 'P17', 'Q30']
ASK WHERE { resource:Q457893 property:P17 resource:Q4733340 . resource:Q457893 property:P17 resource:Q30 }
Amblin Entertainment Allum Green United States of America
action is_in
entity Amblin Entertainment
action intersection
action find_reverse
entity Allum Green
relation country
action find_reverse
entity United States of America
relation country
['Amblin Entertainment', 'country', 'Allum Green'] ['Amblin Entertainment', 'country', 'United States of America']
ASK WHERE { resource:Amblin_Entertainment property:country resource:Allum_Green . resource:Amblin_Entertainment property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q457893,P17,Q4733340) (Q457893,P17,Q30)
action is_in
entity Q457893
action intersection
action find_reverse
entity Q4733340
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q457893', 'P17', 'Q4733340'] ['Q457893', 'P17', 'Q30']
ASK WHERE { resource:Q457893 property:P17 resource:Q4733340 . resource:Q457893 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Amblin Entertainment
action intersection
action find_reverse
entity Allum Green
relation country
action find_reverse
entity United States of America
relation country
['Amblin Entertainment', 'country', 'Allum Green'] ['Amblin Entertainment', 'country', 'United States of America']
ASK WHERE { resource:Amblin_Entertainment property:country resource:Allum_Green . resource:Amblin_Entertainment property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P272
Q375336 Q201658 Q15416
USER
How many film studios were the production companies of approximately 7 film genres or television programs ?
(c(Q201658)|c(Q15416),P272,c(Q375336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
value 7
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?i } . FILTER ( ?y = 7 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
action find_reverse_tuple_counts
relation production company
type film studio
type television program
value 7
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?i } . FILTER ( ?y = 7 ) }
[]
film studio film genre television program
SYSTEM
20
Q735670 Q192557 Q885885 Q1047410 Q1054807 Q182950 Q877325 Q834471 Q730179 Q264249 Q507806 Q947930 Q500088 Q858803 Q679912 Q1137522 Q301092 Q548166 Q457893 Q4530492
(c(Q201658)|c(Q15416),P272,c(Q375336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
value 7
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?i } . FILTER ( ?y = 7 ) }
Production I.G DreamWorks Blue Sky Studios Walt Disney Animation Studios TMS Entertainment Studio Ghibli Kyoto Animation Bones Toei Animation Pannonia Film Studio Studio Deen OLM, Inc. DreamWorks Animation Cartoon Network Studios Soyuzmultfilm Gonzo Aardman Animations Anime International Company Amblin Entertainment Studio Ekran
20
action count
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
action find_reverse_tuple_counts
relation production company
type film studio
type television program
value 7
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?i } . FILTER ( ?y = 7 ) }
[]