Simple Question (Direct)
Simple Question
Q12127540
P58
Q502895
USER
Who wrote the script for A Small Town in Texas ?
(Q12127540,P58,c(Q502895))
action filter_type
action find
entity Q12127540
relation P58
type Q502895
['Q12127540', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q12127540 property:P58 ?l . ?l rdf:type ontology:Q502895 }
A Small Town in Texas
action filter_type
action find
entity A Small Town in Texas
relation screenwriter
type common name
['A Small Town in Texas', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:A_Small_Town_in_Texas property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2580143
SYSTEM
William Norton
Q2580143
(Q12127540,P58,c(Q502895))
action filter_type
action find
entity Q12127540
relation P58
type Q502895
[ANSWER] wrote the script for A Small Town in Texas
['Q12127540', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q12127540 property:P58 ?l . ?l rdf:type ontology:Q502895 }
William Norton
William Norton wrote the script for A Small Town in Texas
William Norton
action filter_type
action find
entity A Small Town in Texas
relation screenwriter
type common name
['A Small Town in Texas', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:A_Small_Town_in_Texas property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12127540
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q2580143,P86,c(Q502895))
action filter_type
action find
entity Q12127540
relation P86
type Q502895
['Q2580143', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q12127540 property:P86 ?v . ?v rdf:type ontology:Q502895 }
A Small Town in Texas
action filter_type
action find
entity A Small Town in Texas
relation composer
type common name
['William Norton', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:A_Small_Town_in_Texas property:composer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1063713
SYSTEM
Charles Bernstein
Q1063713
(Q2580143,P86,c(Q502895))
action filter_type
action find
entity Q12127540
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q2580143', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q12127540 property:P86 ?v . ?v rdf:type ontology:Q502895 }
Charles Bernstein
Charles Bernstein did the compostion for that work of art
Charles Bernstein
action filter_type
action find
entity A Small Town in Texas
relation composer
type common name
['William Norton', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:A_Small_Town_in_Texas property:composer ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12127540
P162
Q502895
USER
Which person produced that work of art ?
(Q1063713,P162,c(Q502895))
action filter_type
action find
entity Q12127540
relation P162
type Q502895
['Q1063713', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q12127540 property:P162 ?z . ?z rdf:type ontology:Q502895 }
A Small Town in Texas
action filter_type
action find
entity A Small Town in Texas
relation producer
type common name
['Charles Bernstein', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:A_Small_Town_in_Texas property:producer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q6212427
SYSTEM
Joe Solomon
Q6212427
(Q1063713,P162,c(Q502895))
action filter_type
action find
entity Q12127540
relation P162
type Q502895
The [ANSWER] produced that work of art
['Q1063713', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q12127540 property:P162 ?z . ?z rdf:type ontology:Q502895 }
Joe Solomon
The Joe Solomon produced that work of art
Joe Solomon
action filter_type
action find
entity A Small Town in Texas
relation producer
type common name
['Charles Bernstein', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:A_Small_Town_in_Texas property:producer ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q25167044
P725
Q502895 Q838948
USER
How many works of art have been dubbed by lesser number of people than Wreck-It Ralph 2 ?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q25167044
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?d ) WHERE { ?k property:P725 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q838948 } GROUP BY ?k } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q25167044 property:P725 ?y . ?y rdf:type ontology:Q502895 } } }
Wreck-It Ralph 2
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Wreck-It Ralph 2
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?d ) WHERE { ?k property:voice_actor ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:work_of_art } GROUP BY ?k } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Wreck-It_Ralph_2 property:voice_actor ?y . ?y rdf:type ontology:common_name } } }
[]
common name work of art
SYSTEM
50
Q4346544 Q13091172 Q3458494 Q8024145 Q15139235 Q890656 Q834799 Q82579 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q25218391 Q4942936 Q1572709 Q640695 Q14540226 Q868048 Q615813 Q4367569 Q180098 Q1100231 Q1368693 Q19776571 Q176198 Q567884 Q1196712 Q15627005 Q5237953 Q1309592 Q890665 Q641315 Q888131 Q1702819 Q4468674 Q4204793 Q587921 Q1810461 Q5694508 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q25167044
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?d ) WHERE { ?k property:P725 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q838948 } GROUP BY ?k } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q25167044 property:P725 ?y . ?y rdf:type ontology:Q502895 } } }
Passport Big Hero 6 A Tree of Palme Windfall Nobunaga the Fool Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Exile Book Girl Pretty Cure All Stars Metropolis Celestial Wives of the Meadow Mari Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Hayate the Combat Butler! Heaven Is a Place on Earth GeGeGe no Kitarō N - The Madness of Reason The Last Unicorn Another Detective Conan: The Phantom of Baker Street Fair Play Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Spirit: Stallion of the Cimarron The Wind Rises Secret of the Wings To Kill a Dragon History of the Arkanar Massacre Garfield: A Tail of Two Kitties Springtime with Roo Heaven's Lost Property the Movie: The Angeloid of Clockwork The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
50
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Wreck-It Ralph 2
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?d ) WHERE { ?k property:voice_actor ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:work_of_art } GROUP BY ?k } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Wreck-It_Ralph_2 property:voice_actor ?y . ?y rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1583966
P725
Q502895 Q838948
USER
And how about Underdog?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1583966
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?v ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q1583966 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?v < ?r ) }
Underdog
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Underdog
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?v ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Underdog property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?v < ?r ) }
[]
common name work of art
SYSTEM
5
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1583966
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?v ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q1583966 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?v < ?r ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
5
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Underdog
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?v ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Underdog property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?v < ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5505633 Q25167044
P57 P175
Q502895
USER
Which people directed Wreck-It Ralph 2 or were performed by From the Dark Side of the Moon ?
OR((Q25167044,P57,c(Q502895)), (Q5505633,P175,c(Q502895)))
action filter_type
action union
action find
entity Q25167044
relation P57
action find
entity Q5505633
relation P175
type Q502895
{'OR': [['Q25167044', 'P57', {'concept': 'Q502895'}], ['Q5505633', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q25167044 property:P57 ?z } UNION { resource:Q5505633 property:P175 ?z } } }
From the Dark Side of the Moon Wreck-It Ralph 2
action filter_type
action union
action find
entity Wreck-It Ralph 2
relation director
action find
entity From the Dark Side of the Moon
relation performer
type common name
{'OR': [['Wreck-It Ralph 2', 'director', {'concept': 'common name'}], ['From the Dark Side of the Moon', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:Wreck-It_Ralph_2 property:director ?z } UNION { resource:From_the_Dark_Side_of_the_Moon property:performer ?z } } }
[]
common name
Q21411187 Q6779512 Q2499079
SYSTEM
Phil Johnston, Mary Fahl, Rich Moore
Q21411187 Q6779512 Q2499079
OR((Q25167044,P57,c(Q502895)), (Q5505633,P175,c(Q502895)))
action filter_type
action union
action find
entity Q25167044
relation P57
action find
entity Q5505633
relation P175
type Q502895
[ANSWERS] directed Wreck-It Ralph 2 or were performed by From the Dark Side of the Moon
{'OR': [['Q25167044', 'P57', {'concept': 'Q502895'}], ['Q5505633', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q25167044 property:P57 ?z } UNION { resource:Q5505633 property:P175 ?z } } }
Phil Johnston Mary Fahl Rich Moore
Phil Johnston, Mary Fahl and Rich Moore directed Wreck-It Ralph 2 or were performed by From the Dark Side of the Moon
Phil Johnston Mary Fahl Rich Moore
action filter_type
action union
action find
entity Wreck-It Ralph 2
relation director
action find
entity From the Dark Side of the Moon
relation performer
type common name
{'OR': [['Wreck-It Ralph 2', 'director', {'concept': 'common name'}], ['From the Dark Side of the Moon', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:Wreck-It_Ralph_2 property:director ?z } UNION { resource:From_the_Dark_Side_of_the_Moon property:performer ?z } } }
[]