Simple Question (Direct)
Simple Question
Q20641467
P641
Q349
USER
What did Mutaeb Assiri participate in ?
(Q20641467,P641,c(Q349))
action filter_type
action find
entity Q20641467
relation P641
type Q349
['Q20641467', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20641467 property:P641 ?c . ?c rdf:type ontology:Q349 }
Mutaeb Assiri
action filter_type
action find
entity Mutaeb Assiri
relation sport
type sport
['Mutaeb Assiri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Mutaeb_Assiri property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20641467,P641,c(Q349))
action filter_type
action find
entity Q20641467
relation P641
type Q349
Mutaeb Assiri participated in [ANSWER]
['Q20641467', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20641467 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Mutaeb Assiri participated in association football
association football
action filter_type
action find
entity Mutaeb Assiri
relation sport
type sport
['Mutaeb Assiri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Mutaeb_Assiri property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20641467
P21
Q290
USER
Which sex does Mutaeb Assiri belong to ?
(Q20641467,P21,c(Q290))
action filter_type
action find
entity Q20641467
relation P21
type Q290
['Q20641467', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q20641467 property:P21 ?p }
Mutaeb Assiri
action filter_type
action find
entity Mutaeb Assiri
relation gender
type sex
['Mutaeb Assiri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Mutaeb_Assiri property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20641467,P21,c(Q290))
action filter_type
action find
entity Q20641467
relation P21
type Q290
Mutaeb Assiri belongs to [ANSWER]
['Q20641467', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q20641467 property:P21 ?p }
male
Mutaeb Assiri belongs to male
male
action filter_type
action find
entity Mutaeb Assiri
relation gender
type sex
['Mutaeb Assiri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Mutaeb_Assiri property:gender ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20733714
Q290
USER
And also tell me about Gustav Klemens Schmelzeisen?
(Q20733714,P21,c(Q290))
action filter_type
action find
entity Q20733714
relation P21
type Q290
['Q20733714', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q20733714 property:P21 ?w . ?w rdf:type ontology:Q290 }
Gustav Klemens Schmelzeisen
action filter_type
action find
entity Gustav Klemens Schmelzeisen
relation gender
type sex
['Gustav Klemens Schmelzeisen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Gustav_Klemens_Schmelzeisen property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20733714,P21,c(Q290))
action filter_type
action find
entity Q20733714
relation P21
type Q290
[ANSWER]
['Q20733714', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q20733714 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Gustav Klemens Schmelzeisen
relation gender
type sex
['Gustav Klemens Schmelzeisen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Gustav_Klemens_Schmelzeisen property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q464947 Q20733714
P102
Q7210356
USER
Which political organizations do Gustav Klemens Schmelzeisen or Fatima Jinnah belong to ?
OR((Q20733714,P102,c(Q7210356)), (Q464947,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q20733714
relation P102
action find
entity Q464947
relation P102
type Q7210356
{'OR': [['Q20733714', 'P102', {'concept': 'Q7210356'}], ['Q464947', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . { { resource:Q20733714 property:P102 ?y } UNION { resource:Q464947 property:P102 ?y } } }
Fatima Jinnah Gustav Klemens Schmelzeisen
action filter_type
action union
action find
entity Gustav Klemens Schmelzeisen
relation member of political party
action find
entity Fatima Jinnah
relation member of political party
type political organization
{'OR': [['Gustav Klemens Schmelzeisen', 'member of political party', {'concept': 'political organization'}], ['Fatima Jinnah', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . { { resource:Gustav_Klemens_Schmelzeisen property:member_of_political_party ?y } UNION { resource:Fatima_Jinnah property:member_of_political_party ?y } } }
[]
political organization
Q7320 Q223898
SYSTEM
Nazi Party, All India Muslim League
Q7320 Q223898
OR((Q20733714,P102,c(Q7210356)), (Q464947,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q20733714
relation P102
action find
entity Q464947
relation P102
type Q7210356
Gustav Klemens Schmelzeisen or Fatima Jinnah belong to the [ANSWERS]
{'OR': [['Q20733714', 'P102', {'concept': 'Q7210356'}], ['Q464947', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . { { resource:Q20733714 property:P102 ?y } UNION { resource:Q464947 property:P102 ?y } } }
Nazi Party All India Muslim League
Gustav Klemens Schmelzeisen or Fatima Jinnah belong to the Nazi Party and All India Muslim League
Nazi Party All India Muslim League
action filter_type
action union
action find
entity Gustav Klemens Schmelzeisen
relation member of political party
action find
entity Fatima Jinnah
relation member of political party
type political organization
{'OR': [['Gustav Klemens Schmelzeisen', 'member of political party', {'concept': 'political organization'}], ['Fatima Jinnah', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . { { resource:Gustav_Klemens_Schmelzeisen property:member_of_political_party ?y } UNION { resource:Fatima_Jinnah property:member_of_political_party ?y } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q223898
P1142
Q7257
USER
Which ideology does that political organization believe in ?
(Q223898,P1142,c(Q7257))
action filter_type
action find
entity Q223898
relation P1142
type Q7257
['Q223898', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7257 . resource:Q223898 property:P1142 ?m }
All India Muslim League
action filter_type
action find
entity All India Muslim League
relation political ideology
type ideology
['All India Muslim League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:ideology . resource:All_India_Muslim_League property:political_ideology ?m }
[]
ideology
Clarification for simple ques.
Q7320
SYSTEM
Did you mean Nazi Party ?
Q7320 Q223898
(Q7320,P1142,c(Q7257)) (Q223898,P1142,c(Q7257))
[ANSWER]
['Q7320', 'P1142', {'concept': 'Q7257'}] ['Q223898', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7257 . resource:Q223898 property:P1142 ?m }
Nazi Party All India Muslim League
Did you mean Nazi Party ?
Nazi Party
['Nazi Party', 'political ideology', {'concept': 'ideology'}] ['All India Muslim League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:ideology . resource:All_India_Muslim_League property:political_ideology ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant All India Muslim League. Could you tell me the answer for that?
(Q223898,P1142,c(Q7257))
Q223898
['Q223898', 'P1142', {'concept': 'Q7257'}]
['All India Muslim League', 'political ideology', {'concept': 'ideology'}]
[]
Q430032
SYSTEM
Pan-Islamism
Q430032
(Q223898,P1142,c(Q7257))
action filter_type
action find
entity Q223898
relation P1142
type Q7257
That political organization believes in [ANSWER]
['Q223898', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7257 . resource:Q223898 property:P1142 ?m }
Pan-Islamism
That political organization believes in Pan-Islamism
Pan-Islamism
action filter_type
action find
entity All India Muslim League
relation political ideology
type ideology
['All India Muslim League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:ideology . resource:All_India_Muslim_League property:political_ideology ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q223898
P102
Q502895
USER
How many people are members of All India Muslim League ?
(c(Q502895),P102,Q223898)
action count
action filter_type
action find_reverse
entity Q223898
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q223898']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P102 resource:Q223898 . ?j rdf:type ontology:Q502895 }
All India Muslim League
action count
action filter_type
action find_reverse
entity All India Muslim League
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'All India Muslim League']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:member_of_political_party resource:All_India_Muslim_League . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
17
Q4502515 Q23944574 Q8047219 Q2644748 Q1392127 Q3155254 Q4517248 Q781138 Q160554 Q6214713 Q4207395 Q464947 Q888063 Q3242246 Q2373844 Q4665608 Q6837171
(c(Q502895),P102,Q223898)
action count
action filter_type
action find_reverse
entity Q223898
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q223898']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P102 resource:Q223898 . ?j rdf:type ontology:Q502895 }
Mian Arshad Hussain Abdul Mateen Chauhdry Yakub Hasan Sait Muhammad Ismail Malik Ghulam Muhammad Ishaq Dar Hamidul Huq Choudhury Muhammad Zafarullah Khan Muhammad Ali Jinnah Jogendra Nath Mandal Manzur Qadir Fatima Jinnah Fazal Ilahi Chaudhry A.K. Fazlul Huq Syed Sharifuddin Pirzada Abdul Qayyum Khan M. D. Taseer
17
action count
action filter_type
action find_reverse
entity All India Muslim League
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'All India Muslim League']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:member_of_political_party resource:All_India_Muslim_League . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q223898
P159
Q515
USER
Where is the headquarter of All India Muslim League located ?
(Q223898,P159,c(Q515))
action filter_type
action find
entity Q223898
relation P159
type Q515
['Q223898', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q223898 property:P159 ?j . ?j rdf:type ontology:Q515 }
All India Muslim League
action filter_type
action find
entity All India Muslim League
relation headquarters location
type city
['All India Muslim League', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:All_India_Muslim_League property:headquarters_location ?j . ?j rdf:type ontology:city }
[]
city
Q47916
SYSTEM
Lucknow
Q47916
(Q223898,P159,c(Q515))
action filter_type
action find
entity Q223898
relation P159
type Q515
Is the headquarter of All India Muslim League located in [ANSWER]
['Q223898', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q223898 property:P159 ?j . ?j rdf:type ontology:Q515 }
Lucknow
Is the headquarter of All India Muslim League located in Lucknow
Lucknow
action filter_type
action find
entity All India Muslim League
relation headquarters location
type city
['All India Muslim League', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:All_India_Muslim_League property:headquarters_location ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47916
P937
Q502895
USER
Which person have that city as their work location ?
(c(Q502895),P937,Q47916)
action filter_type
action find_reverse
entity Q47916
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q47916']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q47916 }
Lucknow
action filter_type
action find_reverse
entity Lucknow
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Lucknow']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:Lucknow }
[]
common name
Q417657
SYSTEM
Akhilesh Yadav
Q417657
(c(Q502895),P937,Q47916)
action filter_type
action find_reverse
entity Q47916
relation P937
type Q502895
[ANSWER] have that city as their work location
[{'concept': 'Q502895'}, 'P937', 'Q47916']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q47916 }
Akhilesh Yadav
Akhilesh Yadav have that city as their work location
Akhilesh Yadav
action filter_type
action find_reverse
entity Lucknow
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Lucknow']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:Lucknow }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47916
P119
Q502895
USER
Which person has that city as resting place ?
(c(Q502895),P119,Q417657)
action filter_type
action find_reverse
entity Q47916
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q417657']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q47916 . ?t rdf:type ontology:Q502895 }
Lucknow
action filter_type
action find_reverse
entity Lucknow
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Akhilesh Yadav']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Lucknow . ?t rdf:type ontology:common_name }
[]
common name
Q6967203
SYSTEM
Nasir-ud-Din Haidar Shah
Q6967203
(c(Q502895),P119,Q417657)
action filter_type
action find_reverse
entity Q47916
relation P119
type Q502895
[ANSWER] has that city as resting place
[{'concept': 'Q502895'}, 'P119', 'Q417657']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q47916 . ?t rdf:type ontology:Q502895 }
Nasir-ud-Din Haidar Shah
Nasir-ud-Din Haidar Shah has that city as resting place
Nasir-ud-Din Haidar Shah
action filter_type
action find_reverse
entity Lucknow
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Akhilesh Yadav']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Lucknow . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6967203 Q18115382
P40
Q502895
USER
Does Léopold Laluyé have that one as an offspring ?
(Q18115382,P40,Q6967203)
action is_in
entity Q18115382
action find
entity Q6967203
relation P40
['Q18115382', 'P40', 'Q6967203']
ASK WHERE { resource:Q6967203 property:P40 resource:Q18115382 }
Nasir-ud-Din Haidar Shah Léopold Laluyé
action is_in
entity Léopold Laluyé
action find
entity Nasir-ud-Din Haidar Shah
relation child
['Léopold Laluyé', 'child', 'Nasir-ud-Din Haidar Shah']
ASK WHERE { resource:Nasir-ud-Din_Haidar_Shah property:child resource:Léopold_Laluyé }
[]
common name
SYSTEM
NO
(Q18115382,P40,Q6967203)
action is_in
entity Q18115382
action find
entity Q6967203
relation P40
[ANSWER]
['Q18115382', 'P40', 'Q6967203']
ASK WHERE { resource:Q6967203 property:P40 resource:Q18115382 }
No
action is_in
entity Léopold Laluyé
action find
entity Nasir-ud-Din Haidar Shah
relation child
['Léopold Laluyé', 'child', 'Nasir-ud-Din Haidar Shah']
ASK WHERE { resource:Nasir-ud-Din_Haidar_Shah property:child resource:Léopold_Laluyé }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1102410
P725
Q502895 Q11424
USER
Which films have been dubbed by less number of people than Johnny Corncob ?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1102410
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?s property:P725 ?n . ?s rdf:type ontology:Q11424 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q1102410 property:P725 ?d . ?d rdf:type ontology:Q502895 } } }
Johnny Corncob
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Johnny Corncob
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?s property:voice_actor ?n . ?s rdf:type ontology:film . ?n rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Johnny_Corncob property:voice_actor ?d . ?d rdf:type ontology:common_name } } }
[]
common name film
Q4341553 Q1494230 Q842306
SYSTEM
Pinocchio, Garfield Gets Real, Saludos Amigos
Q1235519 Q4499813 Q3038714 Q1138751 Q6296387 Q713543 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q156401 Q811980 Q254671 Q2918397 Q44817 Q29355 Q9019373 Q223359 Q2898231 Q1418615 Q785363 Q869741 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q4189838 Q943192 Q1361113 Q736731 Q318428 Q19703751 Q1513926 Q336012 Q2299779 Q1494230 Q1406374 Q2068444 Q1634740 Q3190021 Q543486 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1102410
relation P725
type Q502895
[ANSWERS] have been dubbed by less number of people than Johnny Corncob
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?s property:P725 ?n . ?s rdf:type ontology:Q11424 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q1102410 property:P725 ?d . ?d rdf:type ontology:Q502895 } } }
Panda and the Magic Serpent Home Lucky Luke: The Daltons on the Run The Plague Dogs Rio 2 Cat City The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Chicken Run The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie The Little Fox Space Dogs The Legend of the North Wind Rio The Real Shlemiel Fritz the Cat The Time Masters Melody Time Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Starchaser: The Legend of Orin Fantasia Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Garfield Gets Real Piglet's Big Movie Felix the Cat: The Movie Jungledyret Hugo Jungledyret Hugo - den store filmhelt Daisy Town Havoc in Heaven FernGully: The Last Rainforest
Pinocchio, Garfield Gets Real and Saludos Amigos have been dubbed by less number of people than Johnny Corncob
Pinocchio Garfield Gets Real Saludos Amigos
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Johnny Corncob
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?s property:voice_actor ?n . ?s rdf:type ontology:film . ?n rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Johnny_Corncob property:voice_actor ?d . ?d rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q736731
P725
Q502895 Q11424
USER
And also tell me about The Three Caballeros?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q736731
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?o ) WHERE { ?y property:P725 ?q . ?y rdf:type ontology:Q11424 . ?q rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q736731 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?o < ?c ) }
The Three Caballeros
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Three Caballeros
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?o ) WHERE { ?y property:voice_actor ?q . ?y rdf:type ontology:film . ?q rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:The_Three_Caballeros property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?o < ?c ) }
[]
common name film
Q1494230 Q842306 Q869741
SYSTEM
Garfield Gets Real, Saludos Amigos, Melody Time
Q1235519 Q3038714 Q1138751 Q713543 Q449917 Q909740 Q842306 Q254671 Q2918397 Q29355 Q9019373 Q2898231 Q1418615 Q785363 Q869741 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q4189838 Q943192 Q1361113 Q19703751 Q1513926 Q336012 Q2299779 Q1494230 Q2068444 Q1634740 Q3190021 Q543486 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q736731
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?o ) WHERE { ?y property:P725 ?q . ?y rdf:type ontology:Q11424 . ?q rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q736731 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?o < ?c ) }
Panda and the Magic Serpent Lucky Luke: The Daltons on the Run The Plague Dogs Cat City The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Coonskin The Bugs Bunny/Road Runner Movie Space Dogs The Legend of the North Wind The Real Shlemiel Fritz the Cat The Time Masters Melody Time Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Starchaser: The Legend of Orin Fantasia Pooh's Heffalump Movie Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Garfield Gets Real Felix the Cat: The Movie Jungledyret Hugo Jungledyret Hugo - den store filmhelt Daisy Town Havoc in Heaven FernGully: The Last Rainforest
Garfield Gets Real Saludos Amigos Melody Time
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Three Caballeros
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?o ) WHERE { ?y property:voice_actor ?q . ?y rdf:type ontology:film . ?q rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:The_Three_Caballeros property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?o < ?c ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1494230
P272
Q502895
USER
Which person was the production company of that film ?
(Q1494230,P272,c(Q502895))
action filter_type
action find
entity Q1494230
relation P272
type Q502895
['Q1494230', 'P272', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1494230 property:P272 ?o }
Garfield Gets Real
action filter_type
action find
entity Garfield Gets Real
relation production company
type common name
['Garfield Gets Real', 'production company', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Garfield_Gets_Real property:production_company ?o }
[]
common name
Clarification for simple ques.
Q869741
SYSTEM
Did you mean Melody Time ?
Q1494230 Q842306 Q869741
(Q1494230,P272,c(Q502895)) (Q842306,P272,c(Q502895)) (Q869741,P272,c(Q502895))
[ANSWER]
['Q1494230', 'P272', {'concept': 'Q502895'}] ['Q842306', 'P272', {'concept': 'Q502895'}] ['Q869741', 'P272', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1494230 property:P272 ?o }
Garfield Gets Real Saludos Amigos Melody Time
Did you mean Melody Time ?
Melody Time
['Garfield Gets Real', 'production company', {'concept': 'common name'}] ['Saludos Amigos', 'production company', {'concept': 'common name'}] ['Melody Time', 'production company', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Garfield_Gets_Real property:production_company ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Garfield Gets Real. Could you tell me the answer for that?
(Q1494230,P272,c(Q502895))
Q1494230
['Q1494230', 'P272', {'concept': 'Q502895'}]
['Garfield Gets Real', 'production company', {'concept': 'common name'}]
[]
Q318953
SYSTEM
Jim Davis
Q318953
(Q1494230,P272,c(Q502895))
action filter_type
action find
entity Q1494230
relation P272
type Q502895
[ANSWER] was the production company of that film
['Q1494230', 'P272', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1494230 property:P272 ?o }
Jim Davis
Jim Davis was the production company of that film
Jim Davis
action filter_type
action find
entity Garfield Gets Real
relation production company
type common name
['Garfield Gets Real', 'production company', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Garfield_Gets_Real property:production_company ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318953
P1412
Q34770
USER
Which language is spoken by that person ?
(Q318953,P1412,c(Q34770))
action filter_type
action find
entity Q318953
relation P1412
type Q34770
['Q318953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q318953 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Jim Davis
action filter_type
action find
entity Jim Davis
relation languages spoken, written or signed
type language
['Jim Davis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jim_Davis property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q318953,P1412,c(Q34770))
action filter_type
action find
entity Q318953
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q318953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q318953 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity Jim Davis
relation languages spoken, written or signed
type language
['Jim Davis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jim_Davis property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]