Simple Question (Direct)
Simple Question
Q21642601
P106
Q12737077
USER
Which occupation is the profession of Jasem Jaihouni ?
(Q21642601,P106,c(Q12737077))
action filter_type
action find
entity Q21642601
relation P106
type Q12737077
['Q21642601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q21642601 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Jasem Jaihouni
action filter_type
action find
entity Jasem Jaihouni
relation occupation
type occupation
['Jasem Jaihouni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jasem_Jaihouni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21642601,P106,c(Q12737077))
action filter_type
action find
entity Q21642601
relation P106
type Q12737077
Player [ANSWER] is the profession of Jasem Jaihouni
['Q21642601', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q21642601 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Jasem Jaihouni
association football player
action filter_type
action find
entity Jasem Jaihouni
relation occupation
type occupation
['Jasem Jaihouni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jasem_Jaihouni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21642601
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q21642601
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q21642601 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Jasem Jaihouni
action filter_type
action find
entity Jasem Jaihouni
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jasem_Jaihouni property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6106
SYSTEM
Portland
Q6106
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q21642601
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q21642601 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Portland
That person was born in Portland
Portland
action filter_type
action find
entity Jasem Jaihouni
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jasem_Jaihouni property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q486972 Q56061
USER
How many human settlements or administrative territories are twin city of that administrative territory ?
(c(Q486972),P190,Q6106) (c(Q56061),P190,Q6106) (c(Q486972),P190,Q6106) (c(Q56061),P190,Q6106)
action count
action union
action filter_type
action find_reverse
entity Q6106
relation P190
type Q486972
action filter_type
action find_reverse
entity Q6106
relation P190
type Q56061
[{'concept': 'Q486972'}, 'P190', 'Q6106'] [{'concept': 'Q56061'}, 'P190', 'Q6106'] [{'concept': 'Q486972'}, 'P190', 'Q6106'] [{'concept': 'Q56061'}, 'P190', 'Q6106']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P190 resource:Q6106 . ?z rdf:type ontology:Q486972 } UNION { ?z property:P190 resource:Q6106 . ?z rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find_reverse
entity Portland
relation sister city
type human settlement
action filter_type
action find_reverse
entity Portland
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Portland'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Portland'] [{'concept': 'human settlement'}, 'sister city', 'Portland'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Portland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:sister_city resource:Portland . ?z rdf:type ontology:human_settlement } UNION { ?z property:sister_city resource:Portland . ?z rdf:type ontology:administrative_territorial_entity } }
[]
human settlement administrative territorial entity
SYSTEM
4
Q60956 Q1780 Q4454 Q9022
(c(Q486972),P190,Q6106) (c(Q56061),P190,Q6106) (c(Q486972),P190,Q6106) (c(Q56061),P190,Q6106)
action count
action union
action filter_type
action find_reverse
entity Q6106
relation P190
type Q486972
action filter_type
action find_reverse
entity Q6106
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q486972'}, 'P190', 'Q6106'] [{'concept': 'Q56061'}, 'P190', 'Q6106'] [{'concept': 'Q486972'}, 'P190', 'Q6106'] [{'concept': 'Q56061'}, 'P190', 'Q6106']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P190 resource:Q6106 . ?z rdf:type ontology:Q486972 } UNION { ?z property:P190 resource:Q6106 . ?z rdf:type ontology:Q56061 } }
Ashkelon Bratislava Khabarovsk Guadalajara
4
action count
action union
action filter_type
action find_reverse
entity Portland
relation sister city
type human settlement
action filter_type
action find_reverse
entity Portland
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Portland'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Portland'] [{'concept': 'human settlement'}, 'sister city', 'Portland'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Portland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:sister_city resource:Portland . ?z rdf:type ontology:human_settlement } UNION { ?z property:sister_city resource:Portland . ?z rdf:type ontology:administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q605278 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or did Antonio Suárez Vázquez participate in ?
OR((Q937857,P425,c(Q349)), (Q605278,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q605278
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q605278', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q937857 property:P425 ?e } UNION { resource:Q605278 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
Antonio Suárez Vázquez association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Antonio Suárez Vázquez
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Antonio Suárez Vázquez', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:association_football_player property:field_of_this_occupation ?e } UNION { resource:Antonio_Suárez_Vázquez property:sport ?e } } . ?e rdf:type ontology:sport }
[]
sport
Q2215841 Q2736
SYSTEM
cycle sport, association football
Q2215841 Q2736
OR((Q937857,P425,c(Q349)), (Q605278,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q605278
relation P641
type Q349
[ANSWERS] are associated with the field of occupation association football player or did Antonio Suárez Vázquez participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q605278', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q937857 property:P425 ?e } UNION { resource:Q605278 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
cycle sport association football
Cycle sport and association football are associated with the field of occupation association football player or did Antonio Suárez Vázquez participate in
cycle sport association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Antonio Suárez Vázquez
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Antonio Suárez Vázquez', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:association_football_player property:field_of_this_occupation ?e } UNION { resource:Antonio_Suárez_Vázquez property:sport ?e } } . ?e rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5810602
P641
Q618123
USER
Does Electoral district of Norfolk play those sports ?
(Q5810602,P641,Q2215841) (Q5810602,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q5810602
relation P641
['Q5810602', 'P641', 'Q2215841'] ['Q5810602', 'P641', 'Q2736']
ASK WHERE { resource:Q5810602 property:P641 ?c . VALUES ( ?c ) { ( resource:Q2215841 ) ( resource:Q2736 ) } }
Electoral district of Norfolk
action is_in
entity prev_answer
action find
entity Electoral district of Norfolk
relation sport
['Electoral district of Norfolk', 'sport', 'cycle sport'] ['Electoral district of Norfolk', 'sport', 'association football']
ASK WHERE { resource:Electoral_district_of_Norfolk property:sport ?c . VALUES ( ?c ) { ( resource:cycle_sport ) ( resource:association_football ) } }
[]
geographical object
SYSTEM
NO
(Q5810602,P641,Q2215841) (Q5810602,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q5810602
relation P641
[ANSWER]
['Q5810602', 'P641', 'Q2215841'] ['Q5810602', 'P641', 'Q2736']
ASK WHERE { resource:Q5810602 property:P641 ?c . VALUES ( ?c ) { ( resource:Q2215841 ) ( resource:Q2736 ) } }
No
action is_in
entity prev_answer
action find
entity Electoral district of Norfolk
relation sport
['Electoral district of Norfolk', 'sport', 'cycle sport'] ['Electoral district of Norfolk', 'sport', 'association football']
ASK WHERE { resource:Electoral_district_of_Norfolk property:sport ?c . VALUES ( ?c ) { ( resource:cycle_sport ) ( resource:association_football ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2309900
P180
Q12737077 Q1792379 Q2342494
USER
How many occupations are expressed in more number of art genres and collectables than helmsman ?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2309900
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1792379 } UNION { ?v property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q2342494 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P180 resource:Q2309900 . { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?c > ?p ) }
helmsman
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity helmsman
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:depicts ?q . ?q rdf:type ontology:occupation . ?v rdf:type ontology:art_genre } UNION { ?v property:depicts ?q . ?q rdf:type ontology:occupation . ?v rdf:type ontology:collectable } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:depicts resource:helmsman . { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:art_genre ) ( ontology:collectable ) } } } } . FILTER ( ?c > ?p ) }
[]
occupation art genre collectable
SYSTEM
6
Q2079936 Q11900058 Q843281 Q4991371 Q2730732 Q170779
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2309900
relation P180
type Q1792379
type Q2342494
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1792379 } UNION { ?v property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q2342494 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P180 resource:Q2309900 . { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?c > ?p ) }
king of marksmen explorer hobo soldier equestrian Kassandra
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity helmsman
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:depicts ?q . ?q rdf:type ontology:occupation . ?v rdf:type ontology:art_genre } UNION { ?v property:depicts ?q . ?q rdf:type ontology:occupation . ?v rdf:type ontology:collectable } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:depicts resource:helmsman . { ?m rdf:type ?d . VALUES ( ?d ) { ( ontology:art_genre ) ( ontology:collectable ) } } } } . FILTER ( ?c > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q774306
P180
Q12737077 Q1792379 Q2342494
USER
And what about surgeon?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q774306
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { VALUES ( ?c ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } . ?j rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P180 resource:Q774306 . { { ?w rdf:type ontology:Q1792379 } UNION { ?w rdf:type ontology:Q2342494 } } } } . FILTER ( ?s > ?b ) }
surgeon
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity surgeon
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { VALUES ( ?c ) { ( ontology:art_genre ) ( ontology:collectable ) } . ?j rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:depicts resource:surgeon . { { ?w rdf:type ontology:art_genre } UNION { ?w rdf:type ontology:collectable } } } } . FILTER ( ?s > ?b ) }
[]
occupation art genre collectable
SYSTEM
6
Q2079936 Q11900058 Q843281 Q4991371 Q2730732 Q170779
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q774306
relation P180
type Q1792379
type Q2342494
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { VALUES ( ?c ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } . ?j rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P180 resource:Q774306 . { { ?w rdf:type ontology:Q1792379 } UNION { ?w rdf:type ontology:Q2342494 } } } } . FILTER ( ?s > ?b ) }
king of marksmen explorer hobo soldier equestrian Kassandra
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity surgeon
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?e WHERE { VALUES ( ?c ) { ( ontology:art_genre ) ( ontology:collectable ) } . ?j rdf:type ?c } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:depicts resource:surgeon . { { ?w rdf:type ontology:art_genre } UNION { ?w rdf:type ontology:collectable } } } } . FILTER ( ?s > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6106
P915
Q838948
USER
Which work of art had Portland as its location of filming ?
(c(Q838948),P915,Q6106)
action filter_type
action find_reverse
entity Q6106
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q6106']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q6106 . ?z rdf:type ontology:Q838948 }
Portland
action filter_type
action find_reverse
entity Portland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Portland']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Portland . ?z rdf:type ontology:work_of_art }
[]
work of art
Q148387
SYSTEM
Feast of Love
Q148387
(c(Q838948),P915,Q6106)
action filter_type
action find_reverse
entity Q6106
relation P915
type Q838948
The [ANSWER] had Portland as its location of filming
[{'concept': 'Q838948'}, 'P915', 'Q6106']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q6106 . ?z rdf:type ontology:Q838948 }
Feast of Love
The Feast of Love had Portland as its location of filming
Feast of Love
action filter_type
action find_reverse
entity Portland
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Portland']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Portland . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148387
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q148387,P86,c(Q502895))
action filter_type
action find
entity Q148387
relation P86
type Q502895
['Q148387', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q148387 property:P86 ?d . ?d rdf:type ontology:Q502895 }
Feast of Love
action filter_type
action find
entity Feast of Love
relation composer
type common name
['Feast of Love', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Feast_of_Love property:composer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q111572
SYSTEM
Stephen Trask
Q111572
(Q148387,P86,c(Q502895))
action filter_type
action find
entity Q148387
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q148387', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q148387 property:P86 ?d . ?d rdf:type ontology:Q502895 }
Stephen Trask
Stephen Trask did the compostion for that work of art
Stephen Trask
action filter_type
action find
entity Feast of Love
relation composer
type common name
['Feast of Love', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Feast_of_Love property:composer ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148387
P272
Q43229
USER
Who produced that work of art ?
(Q111572,P272,c(Q43229))
action filter_type
action find
entity Q148387
relation P272
type Q43229
['Q111572', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q148387 property:P272 ?y . ?y rdf:type ontology:Q43229 }
Feast of Love
action filter_type
action find
entity Feast of Love
relation production company
type organization
['Stephen Trask', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Feast_of_Love property:production_company ?y . ?y rdf:type ontology:organization }
[]
organization
Q7317854
SYSTEM
Revelations Entertainment
Q7317854
(Q111572,P272,c(Q43229))
action filter_type
action find
entity Q148387
relation P272
type Q43229
[ANSWER] produced that work of art
['Q111572', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q148387 property:P272 ?y . ?y rdf:type ontology:Q43229 }
Revelations Entertainment
Revelations Entertainment produced that work of art
Revelations Entertainment
action filter_type
action find
entity Feast of Love
relation production company
type organization
['Stephen Trask', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Feast_of_Love property:production_company ?y . ?y rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P272
Q43229 Q201658 Q838948
USER
Which organizations produce approximately the same number of film genres or works of art as that organization ?
(c(Q201658)|c(Q838948),P272,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7317854
relation P272
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P272 resource:Q7317854 . { VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?i rdf:type ?v } } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?a WHERE { { ?z property:P272 ?a . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q201658 } UNION { ?z property:P272 ?a . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q838948 } } GROUP BY ?a } }
action approx
action union
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action count
action filter_multi_types
action find_reverse
entity Revelations Entertainment
relation production company
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:production_company resource:Revelations_Entertainment . { VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?i rdf:type ?v } } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?a WHERE { { ?z property:production_company ?a . ?a rdf:type ontology:organization . ?z rdf:type ontology:film_genre } UNION { ?z property:production_company ?a . ?a rdf:type ontology:organization . ?z rdf:type ontology:work_of_art } } GROUP BY ?a } }
[]
organization film genre work of art
Q41187 Q54173 Q81965
SYSTEM
Sony, General Electric, General Motors
Q7628187 Q7808967 Q7238322 Q7144163 Q15242616 Q35339 Q1414304 Q5508101 Q5272768 Q3043485 Q7187842 Q3866755 Q5448985 Q297303 Q10890670 Q10696128 Q5677175 Q5439668 Q1163034 Q5597985 Q7907096 Q4746909 Q3352642 Q637164 Q6982536 Q10854572 Q6972663 Q727561 Q5737412 Q7233421 Q4975132 Q7273750 Q8042228 Q7573970 Q1145059 Q7699123 Q3852994 Q7123846 Q5322357 Q2906631 Q23738833 Q6428422 Q980704 Q7824188 Q1418294 Q4688987 Q7392704 Q843629 Q26966387 Q716979 Q843620 Q41187 Q5183500 Q4765762 Q518624 Q4039161 Q5010014 Q836316 Q15943477 Q6499790 Q6087363 Q5455812 Q5333876 Q596139 Q5657167 Q3537670 Q7385357 Q2723181 Q5530669 Q5271725 Q4653431 Q1114301 Q3906420 Q5148553 Q7376074 Q7887543 Q6167312 Q3066286 Q10374807 Q1392453 Q132358 Q2071905 Q149947 Q18572006 Q4632862 Q207936 Q3174592 Q15224941 Q6000338 Q4831520 Q2663746 Q1142348 Q7205343 Q7628112 Q5886050 Q841397 Q2873244 Q4905688 Q7785408 Q683802 Q4354137 Q5513711 Q565594 Q366601 Q179922 Q5120878 Q12580769 Q7073242 Q2715184 Q7077707 Q10301418 Q5163431 Q16950846 Q7876989 Q35919 Q7915761 Q555273 Q3550700 Q2585499 Q5406845 Q215363 Q3118227 Q2412906 Q3349794 Q5288523 Q909044 Q5193457 Q4967477 Q4258728 Q19747898 Q4115940 Q2793505 Q2700070 Q7679723 Q5431462 Q2852650 Q3523273 Q719628 Q4633365 Q4346383 Q2704799 Q32186 Q478577 Q2113855 Q501476 Q3189915 Q570910 Q2418461 Q3107204 Q83723 Q7391860 Q1150832 Q7263282 Q5356388 Q5092421 Q7530851 Q3051909 Q3532045 Q130171 Q7307916 Q7306853 Q6043991 Q47099 Q5062819 Q5139969 Q2820005 Q5324239 Q7113030 Q1003138 Q596060 Q181192 Q8962119 Q5975134 Q4739359 Q203453 Q19600200 Q3648415 Q27300 Q7390026 Q4631061 Q5311479 Q5332700 Q2819232 Q15321792 Q83389 Q3639301 Q5009043 Q7311024 Q11133743 Q5012265 Q5009283 Q4353192 Q3268040 Q4204952 Q1115835 Q3028387 Q7187852 Q278637 Q461761 Q2866005 Q371400 Q883799 Q15210611 Q2891393 Q248 Q21903339 Q2053111 Q3064637 Q1521910 Q7280418 Q5149883 Q7092748 Q5183534 Q7494074 Q726081 Q8000558 Q542767 Q5189388 Q4676621 Q2429494 Q7446555 Q7628195 Q6089452 Q740368 Q625975 Q20973435 Q611115 Q3352944 Q5061074 Q7638437 Q7243670 Q4690493 Q190238 Q54829 Q422260 Q5306817 Q7713838 Q7544227 Q5051635 Q7491150 Q4849853 Q4827572 Q7840490 Q7645776 Q5567045 Q3325728 Q4595694 Q2405352 Q3338476 Q4549949 Q4785581 Q848490 Q6102137 Q2754549 Q5194791 Q4931040 Q1738830 Q7135302 Q5922976 Q4360174 Q4043490 Q3517276 Q7301319 Q2257015 Q3080177 Q7602872 Q2914692 Q1065024 Q7339623 Q7833697 Q388234 Q6457551 Q5518125 Q7495559 Q464767 Q5477854 Q7681997 Q7898381 Q3100842 Q1976172 Q4882800 Q4677110 Q7226171 Q1143147 Q3840610 Q7276644 Q2638120 Q541667 Q26837082 Q6131902 Q5448912 Q615140 Q1816526 Q1852854 Q7929267 Q6407480 Q5028680 Q544560 Q5950024 Q15221267 Q17222692 Q7943939 Q5516982 Q15241938 Q7489279 Q2819002 Q11880282 Q5641909 Q4674554 Q4636579 Q1078203 Q23565 Q5373909 Q5065928 Q4972541 Q2605105 Q20726510 Q54173 Q7410988 Q6373523 Q3540895 Q5089463 Q910541 Q2509498 Q7573523 Q650331 Q7388988 Q3361835 Q4824388 Q5476977 Q8045023 Q2084961 Q1809970 Q2326925 Q7596772 Q9013416 Q7438998 Q4864960 Q7500600 Q17275459 Q4662716 Q520445 Q5173901 Q4863766 Q2822030 Q5530647 Q19380416 Q7600793 Q6676470 Q600527 Q15321663 Q7983208 Q7668047 Q329494 Q5757331 Q7796279 Q7127609 Q15208154 Q4925720 Q18378732 Q17067950 Q5135675 Q5306255 Q504715 Q3480580 Q5323811 Q7577090 Q566857 Q6872285 Q4849846 Q815713 Q7628305 Q15778577 Q7107029 Q8251263 Q4866993 Q20926529 Q5500039 Q6007919 Q7969738 Q4923294 Q5191173 Q12116493 Q7636396 Q3053254 Q114794 Q1643241 Q7532337 Q1771108 Q5448891 Q7641750 Q5448895 Q629998 Q6940434 Q6155948 Q1169075 Q7237232 Q3041974 Q487494 Q3296752 Q214346 Q4955752 Q7907203 Q18162026 Q15242433 Q7503472 Q5529787 Q3498776 Q3082642 Q6820497 Q736464 Q5421045 Q593799 Q4774688 Q846463 Q7988935 Q7395369 Q4354972 Q6007673 Q565566 Q2628487 Q633812 Q5120635 Q7229981 Q2996530 Q10701588 Q5418607 Q7841714 Q7808437 Q6517260 Q958975 Q15242318 Q1189945 Q1135686 Q10941826 Q7824143 Q4430148 Q7916879 Q1040910 Q7157314 Q2295089 Q2931475 Q3700394 Q2701539 Q1783801 Q363022 Q6426591 Q1076724 Q4973498 Q7924434 Q7278390 Q18370014 Q1140147 Q986546 Q5288342 Q828545 Q6794165 Q872586 Q3626661 Q5615727 Q15154276 Q315736 Q3532837 Q3963037 Q7924435 Q7126061 Q501070 Q2621941 Q540590 Q15242622 Q3225114 Q935150 Q4811599 Q7785300 Q5289625 Q3808343 Q7284952 Q5222926 Q7628128 Q1155729 Q7585881 Q7586316 Q6517735 Q8031327 Q4930273 Q621231 Q605233 Q7196290 Q5282242 Q843667 Q6710029 Q2972807 Q5205731 Q7488442 Q2748878 Q368151 Q6941451 Q8023572 Q1515393 Q7675027 Q1146587 Q3339209 Q5529977 Q1796719 Q8036757 Q639923 Q660288 Q5649237 Q4651702 Q1543058 Q959279 Q5446077 Q7570537 Q3565642 Q7503319 Q6917750 Q11682960 Q4646764 Q2701255 Q2576666 Q10854462 Q34755 Q1054765 Q81965 Q7492287 Q2526471 Q6667106 Q6718457 Q26966398 Q734401 Q3481600 Q282967 Q841232 Q6080845 Q6537792 Q2033202 Q2436112 Q7935953 Q6337269 Q5120700 Q3677221 Q1916145 Q7099056 Q5029775 Q15211001 Q5871268 Q8076952 Q750438 Q1188361 Q5421102 Q7554613 Q18343365 Q719998 Q1136885 Q4005797 Q7586324 Q5332686 Q7121139 Q544150 Q1195543 Q384930 Q4878657 Q6073094 Q15227703 Q3531832 Q5021336 Q6379314 Q8563183 Q215901 Q6747844 Q2345853 Q2421484 Q8046161 Q4905858 Q533547 Q7736023 Q7390752 Q6948183 Q3783414 Q10539697 Q2864832 Q7640524 Q3929496 Q2623393 Q623459 Q2612238 Q806252 Q7929249 Q4889752 Q4753681 Q18395520 Q2245650 Q838160 Q5977673 Q6933585 Q11884046 Q738883 Q300323 Q6549129 Q3124776 Q7317854 Q6555926 Q8045705 Q7602485 Q539548 Q7565435 Q4841523 Q2501552 Q6176915 Q4835663 Q32294 Q21022090 Q2425877 Q4929966 Q7296866 Q3296046 Q3088127 Q7841727 Q4746239 Q2381773 Q3772373 Q5155502 Q3987455 Q4838247 Q129110 Q3298971 Q1323594 Q6927081 Q7138835 Q5685696 Q7317794 Q227221 Q5120660 Q7648925 Q3460921 Q10939533 Q6984198 Q1344736 Q5433479 Q4785019 Q4743770 Q5895712 Q7503531 Q2469691 Q3243165 Q7070690 Q1755943 Q3567087 Q7072875 Q8035691 Q3117481 Q4139122
(c(Q201658)|c(Q838948),P272,c(Q43229))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7317854
relation P272
type Q201658
type Q838948
[ANSWERS] produce approximately the same number of film genres or works of art as that organization
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P272 resource:Q7317854 . { VALUES ( ?v ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?i rdf:type ?v } } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?a WHERE { { ?z property:P272 ?a . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q201658 } UNION { ?z property:P272 ?a . ?a rdf:type ontology:Q43229 . ?z rdf:type ontology:Q838948 } } GROUP BY ?a } }
Studio Green Tips Industries Limited Pranavam Arts Patagonik Film Group Scope Pictures WWE Film Booking Offices of America Full Moon Features Dick Clark Productions Imagi Animation Studios Photon Kathaas Mpower Pictures Film Workshop ASCII Enlight Media Group Thelma/Louise Harvey Films Feature Films for Families Cinergi Pictures Gravitas Ventures VIVA Films Amitabh Bachchan Corporation One Race Films The Baby Einstein Company Navodaya Studio HMV Group National Film Finance Corporation Funny or Die Here Media Possibility Pictures Brookstreet Pictures R. K. Films XIX Entertainment Sparx Animation Studios Hellenic Broadcasting Corporation Ten/Four Pictures Maverick Films Padmalaya Studios E1 Entertainment U.S. Blinding Edge Pictures Sheldon Leonard Productions Kommunenes Filmcentral Studio 100 Toonz Entertainment Finos Film Affirm Films SP Entertainments Sapporo Television Broadcasting Los Angeles Media Fund Sumitomo Corporation Chūkyō Television Broadcasting Sony Creative Commercials Anjana Productions Hinduja Group GMM Tai Hub CDT da Anhanguera Olympic Lemming Film Laurel Films Producciones Mandarina Five & Two Pictures Ecosse Films Mattel Hari Om Entertainment Madras Talkies Rysher Entertainment Rajshri Productions Gemini Studios Diantong Film Company APT Entertainment JCE Movies Limited Platinum Studios Color Force Rubicon Group Holding United Broadcasting Company Jay Ward Productions Famous Studios Sunbow Entertainment Disney Television Animation Epoch Co. BBC Worldwide Midway Games Escape Artists 2929 Entertainment China Central Television Rotana Group Noodles Production Illuminati Films Ayngaran International Canal+ Group Yomiuri Telecasting Corporation Plum Pictures StudioCanal UK Atresmedia Corporation Fujisankei Communications Group Avala Film Big Finish Productions Thirupathi Brothers Xilam King World Productions GMA Films Eni B92 Goldwyn Pictures Cinereach S.M. Culture & Contents O Entertainment BRB Internacional Odessa Filmworks Image Entertainment Conspiracy Entertainment Condé Nast Entertainment Udaya Studios Lexus Variance Films Koch Media United Media Nex Entertainment Euforia Film Sveriges Television Atresmedia TF1 Group Red Chillies Entertainment Dogwoof Pictures Nagoya Broadcasting Network Culture Convenience Club Bright Shining City Productions Les' Copaque Production Atlas Entertainment Abu Dhabi Media Company Pictures View Askew Productions Talkback Fake Empire Productions MoonScoop Group The Walt Disney Company India Pvt. Ltd. Amuse 2 Player Productions Bang Zoom! Entertainment Tsuburaya Productions Odd Lot Entertainment Disney Theatrical Productions UFund Hasbro, Inc. Cartoon Pizza Nickelodeon Animation Studio Oceanic Preservation Society Playboy Enterprises A&E Networks SNL Studios Studio Filmowe Kadr Pyramid Saimira Shogakukan-Shueisha Productions Cherry Lips Siskel/Jacobs Productions Maxeda Top Shelf Productions World Championship Wrestling Regal Entertainment Reel FX Creative Studios Intelligent Creatures Televisa Centro Digital Pictures Limited CodeBlack Entertainment Aamir Khan Productions ESPN Films Outspoken Media Fortissimo Films Cineflix Stage Entertainment Fox Television Studios ITV Studios Amalgamated Pictures Westdeutscher Rundfunk Anton Capital Entertainment C2 Pictures Dong Woo Animation SF Norge 21st Century Film Corporation Duck Studios Echo Films AKOM Samsa Film Turkish Radio and Television Corporation BiM Distribuzione CBC Sports Reliance MediaWorks KeyEast CJ E&M Film Division CBS Theatrical Films Carsey-Werner Productions LuxAnimation Soviet Central Television Kyodo Television Dino de Laurentiis Cinematografica Photon factory films Bayerischer Rundfunk CBC Television Artémis Productions Turner Entertainment Blender Foundation Ecce Films Batjac Productions Intel W. Chump & Sons Ltd Infinitum Nihil Shodensha Hallmark Cards Radical Comics Columbia TriStar Television One Hundred Years of Film Creative Power Entertaining Shemaroo Entertainment Kodansha Wild Brain Christian Dior S.A. Crown International Act III Broadcasting Televisió de Catalunya Sei Young Animation Co., Ltd. Studio Lambert Isuma B-Reel LOEN Entertainment Harvey Comics Swarovski Strix Central Films Sun Pictures Primrose Hill Productions After Dark Films Norwegian Broadcasting Corporation Radiotelevisión Española C.O.R.E. Dreamz Unlimited The Animation Picture Company Smash Pictures CatchPlay Shaw Broadcast Services Balaji Telefilms Avalon Group Tribune Entertainment Suresh Productions Glass Eye Pix The Curiosity Company 19 Entertainment ImageMovers Nestor Studios 14 Reels Entertainment Archant Roland Corporation Hydraulx Albafilm-Tirana Curious Pictures BoB and Partners Co. Ltd. Kenner Products Paramount Animation Hoyts Petersburg Animation Studio MTM Enterprises Telescreen Really Useful Group Paradox Entertainment Fox Animation Studios Starz Distribution The Jim Henson Company Hearst Roadrunner Network, Inc. Trans World Entertainment United Plankton Pictures LD Entertainment Galaxy Films Sherwood Pictures American Greetings Frame, Set & Match Tan's Film Uplifting Entertainment Mediapro Hyperion Pictures Believe Pictures Action International Pictures Polybona Films Kansai Telecasting Corporation Lumiq Studios RGB Entertainment Mediaset España Thames Television Preloaded Tele-Communications Inc. Film Australia DR Movie Madman Entertainment Remote Control Productions Vijayalakshmi Art Pictures Killer Films Campus Studios Televisión Española Hustler Video Appaloosa Films CoMix Wave Films Vyjayanthi Movies Gaiam Vivendi Entertainment Grizouille Production Shapiro-Glickenhaus Entertainment ABC Entertainment MTV Oy Telecinco Cinema Acorn Media UK 3ality Technica Stardust Promotion Hessian Broadcasting Corporation Emperor Motion Pictures Cha Cha Cha Films Broadway Video Nihon Ad Systems Indian Paintbrush General Electric Samuel Bronston Productions Kartemquin Films Troublemaker Studios Cheetah Vision Topps Belvision Studios Spanner Films Metro Pictures SBS Contents Hub Pan-Européenne Australian Life Biograph Company Fox Star Studios Xstream Pictures 20th Century Fox Home Entertainment Raging Stallion Studios Overbrook Entertainment Stage 6 Films Hong Kong Television Network Screen Door Bars Media Shooting Star Productions Heaven Sent Gaming Aashirvad Cinemas FremantleMedia Cosgrove Hall Films Barris Industries Absolute Entertainment Gemini Film Circuit Lysthuset Star Magic Five Star Production Slovenská televízia Liaison Cinématographique Werc Werk Works T.O Entertainment Raidió Teilifís Éireann High Treason Pictures Thorn EMI Palisades Tartan Moteur s'il vous plaît Kantana Group N.T.R. Arts Jaaz Multimedia Cloud Nine Movies DreamWorks Classics Cirque du Soleil Sesame Workshop Entertainment One Films Spiderwood Studios Proximus Group Mirabai Films Balaji Motion Pictures Bell Media Studiopolis Radio Frankfurt Oslo Kino Boulder Media Limited Basic Pictures America's Test Kitchen Free Range Studios Improvision Warner Music Vision GMM Grammy Crystal Creek Media FILM.UA Group Sullivan Bluth Studios Walt Disney Studios Home Entertainment Radiotelevisione svizzera di lingua italiana UGC Sivaji Productions Omroepvereniging VARA FilmFair Sunwoo Entertainment FilmNation Entertainment General Mills Muse Entertainment Janus Films Lucasfilm Animation Prabhat Film Company Dynamic Planning Tesco Dualstar Viacom Brain Damage Films VMC Productions Richwater Films Les Films de Pierre Shree Ashtavinayak Cine Vision Ltd Geek & Sundry Stern Miyagi Television Broadcasting Merryland Studio Hanna-Barbera Experience Media Studios Hiroshima Telecasting Antidote Films Sundream Motion Pictures Westinghouse Broadcasting S Pictures China Film Group Corporation Imprint Entertainment Rundfunk der DDR Odessa Film Studio Archie Comics CineTel Films PorchLight Entertainment Cookie Jar Group Tre Vänner Evolution Entertainment Trigger Street Productions Tinopolis Legacy Releasing Asatsu-DK Toloda Dentsu Corus Entertainment Sun Entertainment Culture Toon City Soho Media Vasoon Animation Sahamongkol Film International Peace Arch Entertainment Fox Atomic CHUM Limited DHX Media DePatie-Freleng Enterprises Sony Pictures Imageworks Lucas Entertainment Kokers Films WildStorm Broken Wall Films Viacom 18 Raaj Kamal Films International CBS Productions Cris Morena Group Shanghai Animation Film Studio Dogfish Pictures SeaWorld Parks & Entertainment Maverick Horipro ANPI Guild Home Video Télécip Tokyopop Touchwood Pacific Partners Smokehouse Pictures Viacom 18 Motion Pictures Pakshiraja Studios Channel 4 Belarusfilm Mutual Film Rectangle Productions Le Pacte Reliance Anil Dhirubhai Ambani Group Astron-6 Thirukumaran Entertainment Dolphin Films Pvt. Ltd Jim Henson Home Entertainment Rainstorm Entertainment Darius Films Studio 2000 Scholastic Corporation Sri Lakshmi Prasanna Pictures Sri Venkateswara Cine Chitra Legend Films Women Make Movies Bluebox Limited Apple Corps Tokyo Broadcasting System Holdings Pinnacle Entertainment Disinfo Fukuoka Broadcasting Corporation Lyrick Studios Cineplex Entertainment DNA Productions Shanghai Film Group Corporation A. Film A/S Mediaset S.p.A. Music Box Films Win's Entertainment Nederlandse Omroep Stichting Taft Broadcasting Swedish Film Institute Nexus Factory Geetha Arts Wonderland Sound and Vision Worldview Entertainment Uzbekfilm Viz Media Hannover House AGS Entertainment Sveriges Radio ERTU Fever Media Southern Television Walt Disney Television Showtime Networks Motion Picture Corporation of America Illusion Studios @radical.media Rough Draft Studios CBS Television Studios CJ E&M Kickstarter Kadokawa Shoten General Motors Shed Productions 5pb. Workpoint Entertainment MTI Home Video Intrepid Pictures Sony Pictures Home Entertainment Shaw Media Agnès b. Shanghai Media Group Plural Entertainment Lexington Broadcast Services Company Sandrew Metronome Cruel and Unusual Films Vishesh Films KRU Studios Cinema Center Films Cineriz MediaNews Group Optomen Canadian Bioscope Company Neon Productions HitRecord Ánima Estudios Astral Media Warner Home Video Experimental Cinema of the Philippines Sohail Khan Productions Concord Production Inc. Tallinnfilm Sanrio Universal Studios Home Entertainment Sri Venkateswara Creations Echo Bridge Home Entertainment PVR Pictures Vanguard Animation Television Broadcasts Limited Warner Bros. Cartoons Becker Entertainment Ironbound Films JBA Production Modern Theatres Caligari Corporation Kavithalayaa Productions Final Cut for Real JVC Mandarin Films Distribution Co. Ltd. 2waytraffic Les Films du Poisson Y NOT Studios Big Idea Entertainment Pacific Data Images The Geffen Film Company SLB Films Myriad Pictures Harmony Gold USA Jarowskij La Sept Sunn Classic Pictures Rai Fiction Mirage Studios Silicon Graphics Mega Brands, Inc. Bandai Visual Vijaya Vauhini Studios Dygra Films Andell Holdings Wunderbar Films Kudos Hunan Broadcasting System Mei Ah Entertainment Mukta Arts National-Filmi Loews Cineplex Entertainment A Band Apart Lime Pictures Japan Home Video Revelations Entertainment Lionsgate Home Entertainment Y-Films Start Desenhos Animados MGA Entertainment South African Breweries Bagdasarian Productions Disneynature Jellyfish BIGFlix MPL Communications Edison Manufacturing Company Marvel Animation Blue Underground Raw Feed Marvel Productions Viacom Triggerfish Animation Studios Amigos Creations Kazakhfilm Globomedia Company 3 The Halcyon Company Baby Cow Productions Telewizja Polska Warner Bros.-Seven Arts Walt Disney Studios Motion Pictures Moving Picture Institute Parkwood Entertainment Haxan Films Revel Films 365 Cinecom Sushi Typhoon Sacher Film Teamwork Motion Pictures Neal Street Productions Entertainment One Famous Players Film Company Arc Productions American Film Company Hong Ying Animation Shree Venkatesh Films Benelux Film Distributors HiT Entertainment Nuyorican Productions Ilion Animation Studios Metro-Goldwyn-Mayer cartoon studio OP Eiga World Events Productions M6 Group Glavkino
Sony, General Electric and General Motors produce approximately the same number of film genres or works of art as that organization
Sony General Electric General Motors
action approx
action union
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action count
action filter_multi_types
action find_reverse
entity Revelations Entertainment
relation production company
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:production_company resource:Revelations_Entertainment . { VALUES ( ?v ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?i rdf:type ?v } } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?a WHERE { { ?z property:production_company ?a . ?a rdf:type ontology:organization . ?z rdf:type ontology:film_genre } UNION { ?z property:production_company ?a . ?a rdf:type ontology:organization . ?z rdf:type ontology:work_of_art } } GROUP BY ?a } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P176
Q2424752 Q15142889
USER
How many products or weapon families were built by that organization ?
(c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965) (c(Q2424752),P176,Q41187) (c(Q15142889),P176,Q41187) (c(Q2424752),P176,Q54173) (c(Q15142889),P176,Q54173) (c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965)
[{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965'] [{'concept': 'Q2424752'}, 'P176', 'Q41187'] [{'concept': 'Q15142889'}, 'P176', 'Q41187'] [{'concept': 'Q2424752'}, 'P176', 'Q54173'] [{'concept': 'Q15142889'}, 'P176', 'Q54173'] [{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } UNION { ?z property:P176 resource:Q396898 } UNION { ?y property:P176 resource:Q396898 } UNION { ?z property:P176 resource:Q54173 } UNION { ?y property:P176 resource:Q54173 } UNION { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } } . ?z rdf:type ontology:Q21013285 . ?y rdf:type ontology:Q15142889 }
[{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors'] [{'concept': 'product'}, 'manufacturer', 'Sony'] [{'concept': 'weapon family'}, 'manufacturer', 'Sony'] [{'concept': 'product'}, 'manufacturer', 'General Electric'] [{'concept': 'weapon family'}, 'manufacturer', 'General Electric'] [{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } UNION { ?z property:manufacturer resource:Sony } UNION { ?y property:manufacturer resource:Sony } UNION { ?z property:manufacturer resource:General_Electric } UNION { ?y property:manufacturer resource:General_Electric } UNION { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } } . ?z rdf:type ontology:product . ?y rdf:type ontology:weapon_family }
[]
product weapon family
Quantitative|Count|Mult. entity type|Clarification
Q41187
SYSTEM
Did you mean Sony ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } UNION { ?z property:P176 resource:Q396898 } UNION { ?y property:P176 resource:Q396898 } UNION { ?z property:P176 resource:Q54173 } UNION { ?y property:P176 resource:Q54173 } UNION { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } } . ?z rdf:type ontology:Q21013285 . ?y rdf:type ontology:Q15142889 }
Did you mean Sony ?
Sony
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } UNION { ?z property:manufacturer resource:Sony } UNION { ?y property:manufacturer resource:Sony } UNION { ?z property:manufacturer resource:General_Electric } UNION { ?y property:manufacturer resource:General_Electric } UNION { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } } . ?z rdf:type ontology:product . ?y rdf:type ontology:weapon_family }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant General Motors. Could you tell me the answer for that?
(c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965) (c(Q2424752),P176,Q41187) (c(Q15142889),P176,Q41187) (c(Q2424752),P176,Q54173) (c(Q15142889),P176,Q54173) (c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965)
Q81965
[{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965'] [{'concept': 'Q2424752'}, 'P176', 'Q41187'] [{'concept': 'Q15142889'}, 'P176', 'Q41187'] [{'concept': 'Q2424752'}, 'P176', 'Q54173'] [{'concept': 'Q15142889'}, 'P176', 'Q54173'] [{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965']
[{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors'] [{'concept': 'product'}, 'manufacturer', 'Sony'] [{'concept': 'weapon family'}, 'manufacturer', 'Sony'] [{'concept': 'product'}, 'manufacturer', 'General Electric'] [{'concept': 'weapon family'}, 'manufacturer', 'General Electric'] [{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors']
[]
SYSTEM
7
Q21684969 Q21684991 Q21684987 Q865005 Q21684994 Q21684974 Q21684977
(c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965) (c(Q2424752),P176,Q41187) (c(Q15142889),P176,Q41187) (c(Q2424752),P176,Q54173) (c(Q15142889),P176,Q54173) (c(Q2424752),P176,Q81965) (c(Q15142889),P176,Q81965)
[ANSWER]
[{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965'] [{'concept': 'Q2424752'}, 'P176', 'Q41187'] [{'concept': 'Q15142889'}, 'P176', 'Q41187'] [{'concept': 'Q2424752'}, 'P176', 'Q54173'] [{'concept': 'Q15142889'}, 'P176', 'Q54173'] [{'concept': 'Q2424752'}, 'P176', 'Q81965'] [{'concept': 'Q15142889'}, 'P176', 'Q81965']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } UNION { ?z property:P176 resource:Q396898 } UNION { ?y property:P176 resource:Q396898 } UNION { ?z property:P176 resource:Q54173 } UNION { ?y property:P176 resource:Q54173 } UNION { ?z property:P176 resource:Q81965 } UNION { ?y property:P176 resource:Q81965 } } . ?z rdf:type ontology:Q21013285 . ?y rdf:type ontology:Q15142889 }
TBM-1 Avenger XTBM-3 Avenger TBM-3E Avenger M3 submachine gun XTBM-4 Avenger TBM-1C Avenger TBM-3 Avenger
7
[{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors'] [{'concept': 'product'}, 'manufacturer', 'Sony'] [{'concept': 'weapon family'}, 'manufacturer', 'Sony'] [{'concept': 'product'}, 'manufacturer', 'General Electric'] [{'concept': 'weapon family'}, 'manufacturer', 'General Electric'] [{'concept': 'product'}, 'manufacturer', 'General Motors'] [{'concept': 'weapon family'}, 'manufacturer', 'General Motors']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } UNION { ?z property:manufacturer resource:Sony } UNION { ?y property:manufacturer resource:Sony } UNION { ?z property:manufacturer resource:General_Electric } UNION { ?y property:manufacturer resource:General_Electric } UNION { ?z property:manufacturer resource:General_Motors } UNION { ?y property:manufacturer resource:General_Motors } } . ?z rdf:type ontology:product . ?y rdf:type ontology:weapon_family }
[]