Simple Question (Direct)
Simple Question
Q7797456
P364
Q34770
USER
Which language was used originally for the creation of Three Dollars ?
(Q7797456,P364,c(Q34770))
action filter_type
action find
entity Q7797456
relation P364
type Q34770
['Q7797456', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q7797456 property:P364 ?q . ?q rdf:type ontology:Q34770 }
Three Dollars
action filter_type
action find
entity Three Dollars
relation original language of work
type language
['Three Dollars', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Three_Dollars property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7797456,P364,c(Q34770))
action filter_type
action find
entity Q7797456
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Three Dollars
['Q7797456', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q7797456 property:P364 ?q . ?q rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Three Dollars
English
action filter_type
action find
entity Three Dollars
relation original language of work
type language
['Three Dollars', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Three_Dollars property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7797456
P86
Q502895
USER
Who was Three Dollars composed by ?
(Q7797456,P86,c(Q502895))
action filter_type
action find
entity Q7797456
relation P86
type Q502895
['Q7797456', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q7797456 property:P86 ?s }
Three Dollars
action filter_type
action find
entity Three Dollars
relation composer
type common name
['Three Dollars', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Three_Dollars property:composer ?s }
[]
common name
Q4706975
SYSTEM
Alan John
Q4706975
(Q7797456,P86,c(Q502895))
action filter_type
action find
entity Q7797456
relation P86
type Q502895
Three Dollars was composed by [ANSWER] by
['Q7797456', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q7797456 property:P86 ?s }
Alan John
Three Dollars was composed by Alan John by
Alan John
action filter_type
action find
entity Three Dollars
relation composer
type common name
['Three Dollars', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Three_Dollars property:composer ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4706975
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q4706975,P27,c(Q1048835))
action filter_type
action find
entity Q4706975
relation P27
type Q1048835
['Q4706975', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q4706975 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Alan John
action filter_type
action find
entity Alan John
relation country of citizenship
type political territorial entity
['Alan John', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alan_John property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q4706975,P27,c(Q1048835))
action filter_type
action find
entity Q4706975
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q4706975', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q4706975 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Australia
Australia is the native country of that person
Australia
action filter_type
action find
entity Alan John
relation country of citizenship
type political territorial entity
['Alan John', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alan_John property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4706975 Q115129
P86
Q166142
USER
How many applications have Alan John or Silicon Knights as the melodist ?
(c(Q166142),P86,Q4706975) (c(Q166142),P86,Q115129)
action count
action union
action filter_type
action find_reverse
entity Q4706975
relation P86
type Q166142
action filter_type
action find_reverse
entity Q115129
relation P86
type Q166142
[{'concept': 'Q166142'}, 'P86', 'Q4706975'] [{'concept': 'Q166142'}, 'P86', 'Q115129']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:Q166142 . ?q property:P86 resource:Q4706975 } UNION { ?q property:P86 resource:Q115129 . ?q rdf:type ontology:Q166142 } }
Alan John Silicon Knights
action count
action union
action filter_type
action find_reverse
entity Alan John
relation composer
type application
action filter_type
action find_reverse
entity Silicon Knights
relation composer
type application
[{'concept': 'application'}, 'composer', 'Alan John'] [{'concept': 'application'}, 'composer', 'Silicon Knights']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:application . ?q property:composer resource:Alan_John } UNION { ?q property:composer resource:Silicon_Knights . ?q rdf:type ontology:application } }
[]
application
SYSTEM
2
Q1258080 Q257507
(c(Q166142),P86,Q4706975) (c(Q166142),P86,Q115129)
action count
action union
action filter_type
action find_reverse
entity Q4706975
relation P86
type Q166142
action filter_type
action find_reverse
entity Q115129
relation P86
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P86', 'Q4706975'] [{'concept': 'Q166142'}, 'P86', 'Q115129']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:Q166142 . ?q property:P86 resource:Q4706975 } UNION { ?q property:P86 resource:Q115129 . ?q rdf:type ontology:Q166142 } }
Eternal Darkness: Sanity's Requiem Too Human
2
action count
action union
action filter_type
action find_reverse
entity Alan John
relation composer
type application
action filter_type
action find_reverse
entity Silicon Knights
relation composer
type application
[{'concept': 'application'}, 'composer', 'Alan John'] [{'concept': 'application'}, 'composer', 'Silicon Knights']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q rdf:type ontology:application . ?q property:composer resource:Alan_John } UNION { ?q property:composer resource:Silicon_Knights . ?q rdf:type ontology:application } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q408
P364 P495
Q201658
USER
Which film genres are Australia a country of origin of and were originally created in English language ?
AND((c(Q201658),P495,Q408), (c(Q201658),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q408
relation P495
action find_reverse
entity Q1860
relation P364
type Q201658
{'AND': [[{'concept': 'Q201658'}, 'P495', 'Q408'], [{'concept': 'Q201658'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P364 resource:Q1860 . ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q201658 }
English Australia
action filter_type
action intersection
action find_reverse
entity Australia
relation country of origin
action find_reverse
entity English
relation original language of work
type film genre
{'AND': [[{'concept': 'film genre'}, 'country of origin', 'Australia'], [{'concept': 'film genre'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:original_language_of_work resource:English . ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:film_genre }
[]
film genre
Q8069480 Q6794561 Q5557440 Q7739495 Q5604098 Q7744230 Q15039624 Q7033387 Q612036 Q5247036
SYSTEM
Some of them are Zero, The Saviour, Ghosts of War, The Hero of the Dardanelles, Greenhide, The Kid Stakes, Spider, Night Out, Saw, Death's Requiem
Q17051999 Q8069480 Q15039617 Q504053 Q7045177 Q12126488 Q163205 Q7660245 Q1587974 Q7744230 Q7750059 Q7739495 Q7810237 Q5467144 Q16061106 Q7722359 Q5604098 Q5645613 Q7717668 Q1237158 Q17393962 Q7365447 Q2376390 Q7762815 Q7092546 Q4657008 Q12126057 Q12116728 Q4855146 Q7722268 Q3714858 Q612036 Q7033387 Q12119056 Q15039624 Q4655501 Q7838078 Q4236957 Q7752407 Q12110629 Q5666711 Q7160200 Q7733414 Q5557440 Q1212945 Q1146446 Q6872396 Q7772037 Q7997675 Q7079442 Q6794561 Q5247036
AND((c(Q201658),P495,Q408), (c(Q201658),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q408
relation P495
action find_reverse
entity Q1860
relation P364
type Q201658
[ANSWERS] are Australia a country of origin of and were originally created in English language
{'AND': [[{'concept': 'Q201658'}, 'P495', 'Q408'], [{'concept': 'Q201658'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P364 resource:Q1860 . ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q201658 }
Julian Zero From the Tropics to the Snow Ocean's Twelve No Way to Forget Netherland Dwarf The Mysterious Geographic Explorations of Jasper Morello Sydney – A Story of a City Harvie Krumpet The Kid Stakes The Man from Snowy River The Hero of the Dardanelles Titsiana Booberini For the Term of His Natural Life Cargo The Chess Set Greenhide Hammer Bay The Big House Hospitals Don't Burn Down Inja Ronan's Escape I Love Sarah Jane The Sealed Room One Cup A Girl's Own Story Martin Four Dumpy Goes to the Big Smoke Bangers The Cheaters Dr. Plonk Saw Night Out Ezra White, LL.B. Spider A Black and White World Tremble The Cat Piano The Moth of Moonbi Crossbow Harry's War Peel The Far Paradise Ghosts of War The Story of the Kelly Gang Kokoda Front Line! Miracle Fish The Vanished Whose Was the Hand? Officer 666 The Saviour Death's Requiem
Zero, The Saviour, Ghosts of War, The Hero of the Dardanelles, Greenhide, The Kid Stakes, Spider, Night Out, Saw and Death's Requiem are Australia a country of origin of and were originally created in English language
Zero The Saviour Ghosts of War The Hero of the Dardanelles Greenhide The Kid Stakes Spider Night Out Saw Death's Requiem
action filter_type
action intersection
action find_reverse
entity Australia
relation country of origin
action find_reverse
entity English
relation original language of work
type film genre
{'AND': [[{'concept': 'film genre'}, 'country of origin', 'Australia'], [{'concept': 'film genre'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:original_language_of_work resource:English . ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:film_genre }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P272
Q874405 Q201658
USER
Which social groups were the producers of atmost 2 film genres ?
(c(Q201658),P272,c(Q874405))
action atmost
action find_reverse_tuple_counts
relation P272
type Q874405
type Q201658
value 2
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q201658 . ?d rdf:type ontology:Q874405 . ?u property:P272 ?d } GROUP BY ?d } }
action atmost
action find_reverse_tuple_counts
relation production company
type social group
type film genre
value 2
[{'concept': 'film genre'}, 'production company', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:film_genre . ?d rdf:type ontology:social_group . ?u property:production_company ?d } GROUP BY ?d } }
[]
social group film genre
Q49653 Q960061 Q1146254
SYSTEM
ARD, Radiotelevizija Slovenija, Royal Shakespeare Company
Q922857 Q5463921 Q7058525 Q7720204 Q3232637 Q3546604 Q5448950 Q1282036 Q960061 Q19605713 Q7309238 Q6050606 Q6070740 Q20733344 Q442909 Q7679179 Q6682283 Q3232649 Q1146254 Q5045565 Q10915648 Q2723301 Q13361863 Q3229586 Q781399 Q49653 Q520387 Q2406051 Q6044705 Q7734055 Q5242529 Q14334150 Q44224 Q5059511 Q13416804
(c(Q201658),P272,c(Q874405))
action atmost
action find_reverse_tuple_counts
relation P272
type Q874405
type Q201658
value 2
[ANSWERS] were the producers of atmost 2 film genres
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q201658 . ?d rdf:type ontology:Q874405 . ?u property:P272 ?d } GROUP BY ?d } }
UK Film Council Focus Group Holdings Limited Northern Ireland Screen The British Screen Advisory Council Ariane Films Telefilm Canada Film London VPRO Radiotelevizija Slovenija RVK Studios Regional screen agencies Beşiktaş Kültür Merkezi Irish Film Board Bophana Center Mercury Theatre Talent Associates Los Angeles Newspaper Group Les Films du Carrosse Royal Shakespeare Company Carousel Productions Sony Music Entertainment (Taiwan) VAP DreamWorks Television Roskino Australian Film Institute ARD Pantheon Books Tollin/Robbins Productions Inter-Services Public Relations The Firm, Inc. Dori Media Group MediaCorp Raintree Pictures Ellipse Programmé Center for Asian American Media Warner Bros. Animation
ARD, Radiotelevizija Slovenija and Royal Shakespeare Company were the producers of atmost 2 film genres
ARD Radiotelevizija Slovenija Royal Shakespeare Company
action atmost
action find_reverse_tuple_counts
relation production company
type social group
type film genre
value 2
[{'concept': 'film genre'}, 'production company', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:film_genre . ?d rdf:type ontology:social_group . ?u property:production_company ?d } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q874405 Q4830453 Q43229
USER
Which social groups are exactly 1 business enterprises or organizations the parent company of ?
(c(Q4830453)|c(Q43229),P355,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
social group business enterprise organization
Q1377855 Q15293666 Q82610
SYSTEM
Google.org, Straßenbahn Kleve, Newport News Shipbuilding
Q1114200 Q11788418 Q4929965 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q2543504 Q3913196 Q3435621 Q5892736 Q4698480 Q1377855 Q408396 Q11722823 Q14334150 Q890180 Q15293666 Q10955989 Q2990871
(c(Q4830453)|c(Q43229),P355,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[ANSWERS] are exactly 1 business enterprises or organizations the parent company of
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
Picnik NWR Karbonia Blue Triangle Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan Airbus Operations S.A.S. Google.org Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Boeing Canada Straßenbahn Kleve Media Asia Film Distribution Company Comptoir métallurgique marocain
Google.org, Straßenbahn Kleve and Newport News Shipbuilding are exactly 1 business enterprises or organizations the parent company of
Google.org Straßenbahn Kleve Newport News Shipbuilding
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q612036
P161
Q502895
USER
Which person is in Saw ?
(Q612036,P161,c(Q502895))
action filter_type
action find
entity Q612036
relation P161
type Q502895
['Q612036', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q612036 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Saw
action filter_type
action find
entity Saw
relation cast member
type common name
['Saw', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Saw property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
Q471215
SYSTEM
Leigh Whannell
Q471215
(Q612036,P161,c(Q502895))
action filter_type
action find
entity Q612036
relation P161
type Q502895
[ANSWER] is in Saw
['Q612036', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q612036 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Leigh Whannell
Leigh Whannell is in Saw
Leigh Whannell
action filter_type
action find
entity Saw
relation cast member
type common name
['Saw', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Saw property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19587429 Q6794561
P495
Q1048835
USER
Which political territories are the origin of The Saviour or La tribu de Catalunya Ràdio ?
OR((Q6794561,P495,c(Q1048835)), (Q19587429,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q6794561
relation P495
action find
entity Q19587429
relation P495
type Q1048835
{'OR': [['Q6794561', 'P495', {'concept': 'Q1048835'}], ['Q19587429', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6794561 property:P495 ?x } UNION { resource:Q19587429 property:P495 ?x } } . ?x rdf:type ontology:Q1048835 }
La tribu de Catalunya Ràdio The Saviour
action filter_type
action union
action find
entity The Saviour
relation country of origin
action find
entity La tribu de Catalunya Ràdio
relation country of origin
type political territorial entity
{'OR': [['The Saviour', 'country of origin', {'concept': 'political territorial entity'}], ['La tribu de Catalunya Ràdio', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:The_Saviour property:country_of_origin ?x } UNION { resource:La_tribu_de_Catalunya_Ràdio property:country_of_origin ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q5705
SYSTEM
Australia, Catalonia
Q408 Q5705
OR((Q6794561,P495,c(Q1048835)), (Q19587429,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q6794561
relation P495
action find
entity Q19587429
relation P495
type Q1048835
[ANSWERS]
{'OR': [['Q6794561', 'P495', {'concept': 'Q1048835'}], ['Q19587429', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6794561 property:P495 ?x } UNION { resource:Q19587429 property:P495 ?x } } . ?x rdf:type ontology:Q1048835 }
Australia Catalonia
Which political territories are the origin of The Saviour or La tribu de Catalunya Ràdio
Australia Catalonia
action filter_type
action union
action find
entity The Saviour
relation country of origin
action find
entity La tribu de Catalunya Ràdio
relation country of origin
type political territorial entity
{'OR': [['The Saviour', 'country of origin', {'concept': 'political territorial entity'}], ['La tribu de Catalunya Ràdio', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:The_Saviour property:country_of_origin ?x } UNION { resource:La_tribu_de_Catalunya_Ràdio property:country_of_origin ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]