Simple Question (Direct)
Simple Question
Q4424089
P495
Q7275
USER
What is the country of origin of The Harms Case ?
(Q4424089,P495,c(Q7275))
action filter_type
action find
entity Q4424089
relation P495
type Q7275
['Q4424089', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q4424089 property:P495 ?f }
The Harms Case
action filter_type
action find
entity The Harms Case
relation country of origin
type state
['The Harms Case', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:The_Harms_Case property:country_of_origin ?f }
[]
state
Q36704
SYSTEM
Yugoslavia
Q36704
(Q4424089,P495,c(Q7275))
action filter_type
action find
entity Q4424089
relation P495
type Q7275
The country of origin of The Harms Case is in [ANSWER]
['Q4424089', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q4424089 property:P495 ?f }
Yugoslavia
The country of origin of The Harms Case is in Yugoslavia
Yugoslavia
action filter_type
action find
entity The Harms Case
relation country of origin
type state
['The Harms Case', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:The_Harms_Case property:country_of_origin ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4424089
P161
Q502895
USER
Which people starred in that work of art ?
(Q36704,P161,c(Q502895))
action filter_type
action find
entity Q4424089
relation P161
type Q502895
['Q36704', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4424089 property:P161 ?j }
The Harms Case
action filter_type
action find
entity The Harms Case
relation cast member
type common name
['Yugoslavia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:The_Harms_Case property:cast_member ?j }
[]
common name
Q1293498 Q299982 Q1563176
SYSTEM
Stevo Žigon, Rahela Ferari, Mima Karadžić
Q1563176 Q299982 Q12756510 Q16081228 Q1293498 Q1264895
(Q36704,P161,c(Q502895))
action filter_type
action find
entity Q4424089
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q36704', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4424089 property:P161 ?j }
Mima Karadžić Rahela Ferari Olivera Viktorovic Branislav Zeremski Stevo Žigon Frano Lasić
Stevo Žigon, Rahela Ferari and Mima Karadžić starred in that work of art
Stevo Žigon Rahela Ferari Mima Karadžić
action filter_type
action find
entity The Harms Case
relation cast member
type common name
['Yugoslavia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:The_Harms_Case property:cast_member ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q215617
P725
Q502895 Q11424
USER
How many films had around the same number of people as the dubbing artist as Sleeping Beauty ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q215617
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { ?q property:P725 ?n . ?q rdf:type ontology:Q11424 . ?n rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:Q11424 . resource:Q215617 property:P725 ?f } } . FILTER ( ?u = ?t ) }
Sleeping Beauty
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Sleeping Beauty
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { ?q property:voice_actor ?n . ?q rdf:type ontology:film . ?n rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:film . resource:Sleeping_Beauty property:voice_actor ?f } } . FILTER ( ?u = ?t ) }
[]
common name film
SYSTEM
52
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q223359 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q1406374 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q3226633
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q215617
relation P725
type Q11424
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { ?q property:P725 ?n . ?q rdf:type ontology:Q11424 . ?n rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:Q11424 . resource:Q215617 property:P725 ?f } } . FILTER ( ?u = ?t ) }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers Piglet's Big Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Renart the Fox
52
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Sleeping Beauty
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { ?q property:voice_actor ?n . ?q rdf:type ontology:film . ?n rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:film . resource:Sleeping_Beauty property:voice_actor ?f } } . FILTER ( ?u = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4424089
P58
Q502895
USER
How many people served as the screenwriter for The Harms Case ?
(Q4424089,P58,c(Q502895))
action count
action filter_type
action find
entity Q4424089
relation P58
type Q502895
['Q4424089', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q4424089 property:P58 ?w . ?w rdf:type ontology:Q502895 }
The Harms Case
action count
action filter_type
action find
entity The Harms Case
relation screenwriter
type common name
['The Harms Case', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:The_Harms_Case property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2732420
(Q4424089,P58,c(Q502895))
action count
action filter_type
action find
entity Q4424089
relation P58
type Q502895
[ANSWER]
['Q4424089', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q4424089 property:P58 ?w . ?w rdf:type ontology:Q502895 }
Aleksandar Ćirić
1
action count
action filter_type
action find
entity The Harms Case
relation screenwriter
type common name
['The Harms Case', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:The_Harms_Case property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7128738
Q502895
USER
And how about Pals of the Golden West?
(Q7128738,P58,c(Q502895))
action count
action filter_type
action find
entity Q7128738
relation P58
type Q502895
['Q7128738', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q7128738 property:P58 ?w }
Pals of the Golden West
action count
action filter_type
action find
entity Pals of the Golden West
relation screenwriter
type common name
['Pals of the Golden West', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:common_name . resource:Pals_of_the_Golden_West property:screenwriter ?w }
[]
common name
SYSTEM
1
(Q7128738,P58,c(Q502895))
action count
action filter_type
action find
entity Q7128738
relation P58
type Q502895
[ANSWER]
['Q7128738', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q7128738 property:P58 ?w }
1
action count
action filter_type
action find
entity Pals of the Golden West
relation screenwriter
type common name
['Pals of the Golden West', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:common_name . resource:Pals_of_the_Golden_West property:screenwriter ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q719012 Q1293498
P161
Q838948
USER
Which works of art stars Stevo Žigon or David Hemblen as actor ?
OR((c(Q838948),P161,Q1293498), (c(Q838948),P161,Q719012))
action filter_type
action union
action find_reverse
entity Q1293498
relation P161
action find_reverse
entity Q719012
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1293498'], [{'concept': 'Q838948'}, 'P161', 'Q719012']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P161 resource:Q719012 } UNION { ?u property:P161 resource:Q1293498 } } . ?u rdf:type ontology:Q838948 }
David Hemblen Stevo Žigon
action filter_type
action union
action find_reverse
entity Stevo Žigon
relation cast member
action find_reverse
entity David Hemblen
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Stevo Žigon'], [{'concept': 'work of art'}, 'cast member', 'David Hemblen']]}
SELECT DISTINCT ?u WHERE { { { ?u property:cast_member resource:David_Hemblen } UNION { ?u property:cast_member resource:Stevo_Žigon } } . ?u rdf:type ontology:work_of_art }
[]
work of art
Q25461798 Q4424089 Q2333181 Q3506290 Q82223 Q7051866 Q6296254 Q12957807 Q3438649 Q2949768
SYSTEM
Some of them are Tople godine, The Harms Case, Occupation in 26 Pictures, Crveni i crni, Walter Defends Sarajevo, Norman's Awesome Experience, Journalist, Kala, The Magic Sword, Idealist
Q7969071 Q7762481 Q12761040 Q12908534 Q82223 Q151848 Q12957807 Q3506290 Q4415155 Q2333181 Q26970559 Q25461798 Q7051866 Q3506183 Q27304494 Q3438649 Q11155190 Q6296254 Q7365562 Q2949768 Q3202932 Q897449 Q4424089 Q4393434
OR((c(Q838948),P161,Q1293498), (c(Q838948),P161,Q719012))
action filter_type
action union
action find_reverse
entity Q1293498
relation P161
action find_reverse
entity Q719012
relation P161
type Q838948
[ANSWERS] star Stevo Žigon or David Hemblen as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1293498'], [{'concept': 'Q838948'}, 'P161', 'Q719012']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P161 resource:Q719012 } UNION { ?u property:P161 resource:Q1293498 } } . ?u rdf:type ontology:Q838948 }
Ward Six The Scene of the Crash Crveni cvet Memento Walter Defends Sarajevo Where the Truth Lies Kala Crveni i crni Family Viewing Occupation in 26 Pictures X-25 javlja Tople godine Norman's Awesome Experience Aloa: Festivity of the Whores Opatica i komesar The Magic Sword The Written Off Return Journalist Rondo Idealist Enclosure Brainscan The Harms Case Replikator
Tople godine, The Harms Case, Occupation in 26 Pictures, Crveni i crni, Walter Defends Sarajevo, Norman's Awesome Experience, Journalist, Kala, The Magic Sword and Idealist star Stevo Žigon or David Hemblen as actor
Tople godine The Harms Case Occupation in 26 Pictures Crveni i crni Walter Defends Sarajevo Norman's Awesome Experience Journalist Kala The Magic Sword Idealist
action filter_type
action union
action find_reverse
entity Stevo Žigon
relation cast member
action find_reverse
entity David Hemblen
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Stevo Žigon'], [{'concept': 'work of art'}, 'cast member', 'David Hemblen']]}
SELECT DISTINCT ?u WHERE { { { ?u property:cast_member resource:David_Hemblen } UNION { ?u property:cast_member resource:Stevo_Žigon } } . ?u rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36704 Q23111
P551
Q502895
USER
How many people live in Yugoslavia or Suffolk ?
(c(Q502895),P551,Q36704) (c(Q502895),P551,Q23111)
action count
action union
action filter_type
action find_reverse
entity Q36704
relation P551
type Q502895
action filter_type
action find_reverse
entity Q23111
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q36704'] [{'concept': 'Q502895'}, 'P551', 'Q23111']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o property:P551 resource:Q36704 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P551 resource:Q23111 . ?o rdf:type ontology:Q502895 } }
Yugoslavia Suffolk
action count
action union
action filter_type
action find_reverse
entity Yugoslavia
relation residence
type common name
action filter_type
action find_reverse
entity Suffolk
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Yugoslavia'] [{'concept': 'common name'}, 'residence', 'Suffolk']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o property:residence resource:Yugoslavia . ?o rdf:type ontology:common_name } UNION { ?o property:residence resource:Suffolk . ?o rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q232260 Q270648 Q16859105 Q21880767 Q1287583
(c(Q502895),P551,Q36704) (c(Q502895),P551,Q23111)
action count
action union
action filter_type
action find_reverse
entity Q36704
relation P551
type Q502895
action filter_type
action find_reverse
entity Q23111
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q36704'] [{'concept': 'Q502895'}, 'P551', 'Q23111']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o property:P551 resource:Q36704 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P551 resource:Q23111 . ?o rdf:type ontology:Q502895 } }
Ruth Rendell P. D. James Elizabeth Smith George Korff Momčilo Đujić
5
action count
action union
action filter_type
action find_reverse
entity Yugoslavia
relation residence
type common name
action filter_type
action find_reverse
entity Suffolk
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Yugoslavia'] [{'concept': 'common name'}, 'residence', 'Suffolk']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o property:residence resource:Yugoslavia . ?o rdf:type ontology:common_name } UNION { ?o property:residence resource:Suffolk . ?o rdf:type ontology:common_name } }
[]