Simple Question (Direct)
Simple Question
Q7523
P40
Q502895
USER
Which people are an offsprings of Kublai Khan ?
(Q7523,P40,c(Q502895))
action filter_type
action find
entity Q7523
relation P40
type Q502895
['Q7523', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7523 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Kublai Khan
action filter_type
action find
entity Kublai Khan
relation child
type common name
['Kublai Khan', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kublai_Khan property:child ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1036575 Q7072194 Q6727705
SYSTEM
Zhenjinandun, Mangala, Togoon
Q7071776 Q18653702 Q6720948 Q7072373 Q7072624 Q7071899 Q7072194 Q7072285 Q19852171 Q6727705 Q7072571 Q1036575 Q7072451 Q19852126 Q19853593 Q7072496 Q19852371
(Q7523,P40,c(Q502895))
action filter_type
action find
entity Q7523
relation P40
type Q502895
[ANSWERS] are an offsprings of Kublai Khan
['Q7523', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7523 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Ayachi Yuelie Chzhuan Muvan Khou Khökhechi Tamachi Dorji Mangala Nomugan Nangjiazhen Togoon Hutulu Temür Zhenjinandun Auruyvci Wuluzhen Yuelun Kuokuochu Wanze
Zhenjinandun, Mangala and Togoon are an offsprings of Kublai Khan
Zhenjinandun Mangala Togoon
action filter_type
action find
entity Kublai Khan
relation child
type common name
['Kublai Khan', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kublai_Khan property:child ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6727705
P25
Q502895
USER
Which person was the mother of that one ?
(Q6727705,P25,c(Q502895))
action filter_type
action find
entity Q6727705
relation P25
type Q502895
['Q6727705', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q6727705 property:P25 ?r }
Togoon
action filter_type
action find
entity Togoon
relation mother
type common name
['Togoon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Togoon property:mother ?r }
[]
common name
Clarification for simple ques.
Q6727705
SYSTEM
Did you mean Togoon ?
Q1036575 Q7072194 Q6727705
(Q1036575,P25,c(Q502895)) (Q7072194,P25,c(Q502895)) (Q6727705,P25,c(Q502895))
[ANSWER]
['Q1036575', 'P25', {'concept': 'Q502895'}] ['Q7072194', 'P25', {'concept': 'Q502895'}] ['Q6727705', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q6727705 property:P25 ?r }
Zhenjinandun Mangala Togoon
Did you mean Togoon ?
Togoon
['Zhenjinandun', 'mother', {'concept': 'common name'}] ['Mangala', 'mother', {'concept': 'common name'}] ['Togoon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Togoon property:mother ?r }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6727705,P25,c(Q502895))
['Q6727705', 'P25', {'concept': 'Q502895'}]
['Togoon', 'mother', {'concept': 'common name'}]
[]
Q7071223
SYSTEM
Bayaujin Khatun
Q7071223
(Q6727705,P25,c(Q502895))
action filter_type
action find
entity Q6727705
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q6727705', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q6727705 property:P25 ?r }
Bayaujin Khatun
Bayaujin Khatun was the mother of that one
Bayaujin Khatun
action filter_type
action find
entity Togoon
relation mother
type common name
['Togoon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Togoon property:mother ?r }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3064478 Q7071223
P161 P26
Q502895
USER
Which people are the spouses of Bayaujin Khatun or were casted in Women are Weak ?
OR((Q7071223,P26,c(Q502895)), (Q3064478,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7071223
relation P26
action find
entity Q3064478
relation P161
type Q502895
{'OR': [['Q7071223', 'P26', {'concept': 'Q502895'}], ['Q3064478', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { resource:Q7071223 property:P26 ?k } UNION { resource:Q3064478 property:P161 ?k } } }
Women are Weak Bayaujin Khatun
action filter_type
action union
action find
entity Bayaujin Khatun
relation spouse
action find
entity Women are Weak
relation cast member
type common name
{'OR': [['Bayaujin Khatun', 'spouse', {'concept': 'common name'}], ['Women are Weak', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { resource:Bayaujin_Khatun property:spouse ?k } UNION { resource:Women_are_Weak property:cast_member ?k } } }
[]
common name
Q1304557 Q3367266 Q3574231 Q3130893 Q3320897 Q533912 Q7523 Q3086578 Q239868 Q3573474
SYSTEM
Some of them are Michel Bardinet, Pascal Aubier, Yvonne Yma, Henri Coutet, Monique Mélinand, Noël Roquevert, Kublai Khan, Françoise Rasquin, Mylène Demongeot, Yves Barsacq
Q3276701 Q533912 Q3086578 Q3367266 Q3320897 Q3130893 Q3573474 Q3574231 Q458631 Q153153 Q461321 Q239868 Q106529 Q2929967 Q2831668 Q3144902 Q3218782 Q738944 Q1304557 Q2848198 Q3265533 Q7523 Q3579848
OR((Q7071223,P26,c(Q502895)), (Q3064478,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7071223
relation P26
action find
entity Q3064478
relation P161
type Q502895
[ANSWERS] are the spouses of Bayaujin Khatun or were casted in Women are Weak
{'OR': [['Q7071223', 'P26', {'concept': 'Q502895'}], ['Q3064478', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { resource:Q7071223 property:P26 ?k } UNION { resource:Q3064478 property:P161 ?k } } }
Magdeleine Bérubet Noël Roquevert Françoise Rasquin Pascal Aubier Monique Mélinand Henri Coutet Yves Barsacq Yvonne Yma Jacqueline Sassard Simone Renant Pascale Petit Mylène Demongeot Alain Delon Bérangère Vattier Albert de Médina Héléna Manson Laure Paillette Pierre Mondy Michel Bardinet André Luguet Lucien Guervil Kublai Khan Édouard Francomme
Michel Bardinet, Pascal Aubier, Yvonne Yma, Henri Coutet, Monique Mélinand, Noël Roquevert, Kublai Khan, Françoise Rasquin, Mylène Demongeot and Yves Barsacq are the spouses of Bayaujin Khatun or were casted in Women are Weak
Michel Bardinet Pascal Aubier Yvonne Yma Henri Coutet Monique Mélinand Noël Roquevert Kublai Khan Françoise Rasquin Mylène Demongeot Yves Barsacq
action filter_type
action union
action find
entity Bayaujin Khatun
relation spouse
action find
entity Women are Weak
relation cast member
type common name
{'OR': [['Bayaujin Khatun', 'spouse', {'concept': 'common name'}], ['Women are Weak', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { resource:Bayaujin_Khatun property:spouse ?k } UNION { resource:Women_are_Weak property:cast_member ?k } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q28640 Q12737077
USER
How many professions or occupations have that person as his/her as a career ?
(Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q1304557,P106,c(Q28640)) (Q1304557,P106,c(Q12737077)) (Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q3574231,P106,c(Q28640)) (Q3574231,P106,c(Q12737077)) (Q3130893,P106,c(Q28640)) (Q3130893,P106,c(Q12737077)) (Q3320897,P106,c(Q28640)) (Q3320897,P106,c(Q12737077)) (Q533912,P106,c(Q28640)) (Q533912,P106,c(Q12737077)) (Q7523,P106,c(Q28640)) (Q7523,P106,c(Q12737077)) (Q3086578,P106,c(Q28640)) (Q3086578,P106,c(Q12737077)) (Q239868,P106,c(Q28640)) (Q239868,P106,c(Q12737077)) (Q3573474,P106,c(Q28640)) (Q3573474,P106,c(Q12737077))
['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q1304557', 'P106', {'concept': 'Q28640'}] ['Q1304557', 'P106', {'concept': 'Q12737077'}] ['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q3574231', 'P106', {'concept': 'Q28640'}] ['Q3574231', 'P106', {'concept': 'Q12737077'}] ['Q3130893', 'P106', {'concept': 'Q28640'}] ['Q3130893', 'P106', {'concept': 'Q12737077'}] ['Q3320897', 'P106', {'concept': 'Q28640'}] ['Q3320897', 'P106', {'concept': 'Q12737077'}] ['Q533912', 'P106', {'concept': 'Q28640'}] ['Q533912', 'P106', {'concept': 'Q12737077'}] ['Q7523', 'P106', {'concept': 'Q28640'}] ['Q7523', 'P106', {'concept': 'Q12737077'}] ['Q3086578', 'P106', {'concept': 'Q28640'}] ['Q3086578', 'P106', {'concept': 'Q12737077'}] ['Q239868', 'P106', {'concept': 'Q28640'}] ['Q239868', 'P106', {'concept': 'Q12737077'}] ['Q3573474', 'P106', {'concept': 'Q28640'}] ['Q3573474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q1304557 property:Q528892 ?z } UNION { resource:Q1304557 property:Q528892 ?y } UNION { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q3574231 property:Q528892 ?z } UNION { resource:Q3574231 property:Q528892 ?y } UNION { resource:Q3130893 property:Q528892 ?z } UNION { resource:Q3130893 property:Q528892 ?y } UNION { resource:Q3320897 property:Q528892 ?z } UNION { resource:Q3320897 property:Q528892 ?y } UNION { resource:Q533912 property:Q528892 ?z } UNION { resource:Q533912 property:Q528892 ?y } UNION { resource:Q7523 property:Q528892 ?z } UNION { resource:Q7523 property:Q528892 ?y } UNION { resource:Q3086578 property:Q528892 ?z } UNION { resource:Q3086578 property:Q528892 ?y } UNION { resource:Q239868 property:Q528892 ?z } UNION { resource:Q239868 property:Q528892 ?y } UNION { resource:Q3573474 property:Q528892 ?z } UNION { resource:Q3573474 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q528892 }
['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Michel Bardinet', 'occupation', {'concept': 'profession'}] ['Michel Bardinet', 'occupation', {'concept': 'occupation'}] ['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Yvonne Yma', 'occupation', {'concept': 'profession'}] ['Yvonne Yma', 'occupation', {'concept': 'occupation'}] ['Henri Coutet', 'occupation', {'concept': 'profession'}] ['Henri Coutet', 'occupation', {'concept': 'occupation'}] ['Monique Mélinand', 'occupation', {'concept': 'profession'}] ['Monique Mélinand', 'occupation', {'concept': 'occupation'}] ['Noël Roquevert', 'occupation', {'concept': 'profession'}] ['Noël Roquevert', 'occupation', {'concept': 'occupation'}] ['Kublai Khan', 'occupation', {'concept': 'profession'}] ['Kublai Khan', 'occupation', {'concept': 'occupation'}] ['Françoise Rasquin', 'occupation', {'concept': 'profession'}] ['Françoise Rasquin', 'occupation', {'concept': 'occupation'}] ['Mylène Demongeot', 'occupation', {'concept': 'profession'}] ['Mylène Demongeot', 'occupation', {'concept': 'occupation'}] ['Yves Barsacq', 'occupation', {'concept': 'profession'}] ['Yves Barsacq', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Michel_Bardinet property:occupation ?z } UNION { resource:Michel_Bardinet property:occupation ?y } UNION { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Yvonne_Yma property:occupation ?z } UNION { resource:Yvonne_Yma property:occupation ?y } UNION { resource:Henri_Coutet property:occupation ?z } UNION { resource:Henri_Coutet property:occupation ?y } UNION { resource:Monique_Mélinand property:occupation ?z } UNION { resource:Monique_Mélinand property:occupation ?y } UNION { resource:Noël_Roquevert property:occupation ?z } UNION { resource:Noël_Roquevert property:occupation ?y } UNION { resource:Kublai_Khan property:occupation ?z } UNION { resource:Kublai_Khan property:occupation ?y } UNION { resource:Françoise_Rasquin property:occupation ?z } UNION { resource:Françoise_Rasquin property:occupation ?y } UNION { resource:Mylène_Demongeot property:occupation ?z } UNION { resource:Mylène_Demongeot property:occupation ?y } UNION { resource:Yves_Barsacq property:occupation ?z } UNION { resource:Yves_Barsacq property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:occupation }
[]
profession occupation
Quantitative|Count|Mult. entity type|Clarification
Q3573474
SYSTEM
Did you mean Yves Barsacq ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q1304557 property:Q528892 ?z } UNION { resource:Q1304557 property:Q528892 ?y } UNION { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q3574231 property:Q528892 ?z } UNION { resource:Q3574231 property:Q528892 ?y } UNION { resource:Q3130893 property:Q528892 ?z } UNION { resource:Q3130893 property:Q528892 ?y } UNION { resource:Q3320897 property:Q528892 ?z } UNION { resource:Q3320897 property:Q528892 ?y } UNION { resource:Q533912 property:Q528892 ?z } UNION { resource:Q533912 property:Q528892 ?y } UNION { resource:Q7523 property:Q528892 ?z } UNION { resource:Q7523 property:Q528892 ?y } UNION { resource:Q3086578 property:Q528892 ?z } UNION { resource:Q3086578 property:Q528892 ?y } UNION { resource:Q239868 property:Q528892 ?z } UNION { resource:Q239868 property:Q528892 ?y } UNION { resource:Q3573474 property:Q528892 ?z } UNION { resource:Q3573474 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q528892 }
Did you mean Yves Barsacq ?
Yves Barsacq
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Michel_Bardinet property:occupation ?z } UNION { resource:Michel_Bardinet property:occupation ?y } UNION { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Yvonne_Yma property:occupation ?z } UNION { resource:Yvonne_Yma property:occupation ?y } UNION { resource:Henri_Coutet property:occupation ?z } UNION { resource:Henri_Coutet property:occupation ?y } UNION { resource:Monique_Mélinand property:occupation ?z } UNION { resource:Monique_Mélinand property:occupation ?y } UNION { resource:Noël_Roquevert property:occupation ?z } UNION { resource:Noël_Roquevert property:occupation ?y } UNION { resource:Kublai_Khan property:occupation ?z } UNION { resource:Kublai_Khan property:occupation ?y } UNION { resource:Françoise_Rasquin property:occupation ?z } UNION { resource:Françoise_Rasquin property:occupation ?y } UNION { resource:Mylène_Demongeot property:occupation ?z } UNION { resource:Mylène_Demongeot property:occupation ?y } UNION { resource:Yves_Barsacq property:occupation ?z } UNION { resource:Yves_Barsacq property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Pascal Aubier. Could you tell me the answer for that?
(Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q1304557,P106,c(Q28640)) (Q1304557,P106,c(Q12737077)) (Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q3574231,P106,c(Q28640)) (Q3574231,P106,c(Q12737077)) (Q3130893,P106,c(Q28640)) (Q3130893,P106,c(Q12737077)) (Q3320897,P106,c(Q28640)) (Q3320897,P106,c(Q12737077)) (Q533912,P106,c(Q28640)) (Q533912,P106,c(Q12737077)) (Q7523,P106,c(Q28640)) (Q7523,P106,c(Q12737077)) (Q3086578,P106,c(Q28640)) (Q3086578,P106,c(Q12737077)) (Q239868,P106,c(Q28640)) (Q239868,P106,c(Q12737077)) (Q3573474,P106,c(Q28640)) (Q3573474,P106,c(Q12737077))
Q3367266
['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q1304557', 'P106', {'concept': 'Q28640'}] ['Q1304557', 'P106', {'concept': 'Q12737077'}] ['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q3574231', 'P106', {'concept': 'Q28640'}] ['Q3574231', 'P106', {'concept': 'Q12737077'}] ['Q3130893', 'P106', {'concept': 'Q28640'}] ['Q3130893', 'P106', {'concept': 'Q12737077'}] ['Q3320897', 'P106', {'concept': 'Q28640'}] ['Q3320897', 'P106', {'concept': 'Q12737077'}] ['Q533912', 'P106', {'concept': 'Q28640'}] ['Q533912', 'P106', {'concept': 'Q12737077'}] ['Q7523', 'P106', {'concept': 'Q28640'}] ['Q7523', 'P106', {'concept': 'Q12737077'}] ['Q3086578', 'P106', {'concept': 'Q28640'}] ['Q3086578', 'P106', {'concept': 'Q12737077'}] ['Q239868', 'P106', {'concept': 'Q28640'}] ['Q239868', 'P106', {'concept': 'Q12737077'}] ['Q3573474', 'P106', {'concept': 'Q28640'}] ['Q3573474', 'P106', {'concept': 'Q12737077'}]
['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Michel Bardinet', 'occupation', {'concept': 'profession'}] ['Michel Bardinet', 'occupation', {'concept': 'occupation'}] ['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Yvonne Yma', 'occupation', {'concept': 'profession'}] ['Yvonne Yma', 'occupation', {'concept': 'occupation'}] ['Henri Coutet', 'occupation', {'concept': 'profession'}] ['Henri Coutet', 'occupation', {'concept': 'occupation'}] ['Monique Mélinand', 'occupation', {'concept': 'profession'}] ['Monique Mélinand', 'occupation', {'concept': 'occupation'}] ['Noël Roquevert', 'occupation', {'concept': 'profession'}] ['Noël Roquevert', 'occupation', {'concept': 'occupation'}] ['Kublai Khan', 'occupation', {'concept': 'profession'}] ['Kublai Khan', 'occupation', {'concept': 'occupation'}] ['Françoise Rasquin', 'occupation', {'concept': 'profession'}] ['Françoise Rasquin', 'occupation', {'concept': 'occupation'}] ['Mylène Demongeot', 'occupation', {'concept': 'profession'}] ['Mylène Demongeot', 'occupation', {'concept': 'occupation'}] ['Yves Barsacq', 'occupation', {'concept': 'profession'}] ['Yves Barsacq', 'occupation', {'concept': 'occupation'}]
[]
SYSTEM
3
Q2526255 Q33999 Q28389
(Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q1304557,P106,c(Q28640)) (Q1304557,P106,c(Q12737077)) (Q3367266,P106,c(Q28640)) (Q3367266,P106,c(Q12737077)) (Q3574231,P106,c(Q28640)) (Q3574231,P106,c(Q12737077)) (Q3130893,P106,c(Q28640)) (Q3130893,P106,c(Q12737077)) (Q3320897,P106,c(Q28640)) (Q3320897,P106,c(Q12737077)) (Q533912,P106,c(Q28640)) (Q533912,P106,c(Q12737077)) (Q7523,P106,c(Q28640)) (Q7523,P106,c(Q12737077)) (Q3086578,P106,c(Q28640)) (Q3086578,P106,c(Q12737077)) (Q239868,P106,c(Q28640)) (Q239868,P106,c(Q12737077)) (Q3573474,P106,c(Q28640)) (Q3573474,P106,c(Q12737077))
[ANSWER]
['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q1304557', 'P106', {'concept': 'Q28640'}] ['Q1304557', 'P106', {'concept': 'Q12737077'}] ['Q3367266', 'P106', {'concept': 'Q28640'}] ['Q3367266', 'P106', {'concept': 'Q12737077'}] ['Q3574231', 'P106', {'concept': 'Q28640'}] ['Q3574231', 'P106', {'concept': 'Q12737077'}] ['Q3130893', 'P106', {'concept': 'Q28640'}] ['Q3130893', 'P106', {'concept': 'Q12737077'}] ['Q3320897', 'P106', {'concept': 'Q28640'}] ['Q3320897', 'P106', {'concept': 'Q12737077'}] ['Q533912', 'P106', {'concept': 'Q28640'}] ['Q533912', 'P106', {'concept': 'Q12737077'}] ['Q7523', 'P106', {'concept': 'Q28640'}] ['Q7523', 'P106', {'concept': 'Q12737077'}] ['Q3086578', 'P106', {'concept': 'Q28640'}] ['Q3086578', 'P106', {'concept': 'Q12737077'}] ['Q239868', 'P106', {'concept': 'Q28640'}] ['Q239868', 'P106', {'concept': 'Q12737077'}] ['Q3573474', 'P106', {'concept': 'Q28640'}] ['Q3573474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q1304557 property:Q528892 ?z } UNION { resource:Q1304557 property:Q528892 ?y } UNION { resource:Q3367266 property:Q528892 ?z } UNION { resource:Q3367266 property:Q528892 ?y } UNION { resource:Q3574231 property:Q528892 ?z } UNION { resource:Q3574231 property:Q528892 ?y } UNION { resource:Q3130893 property:Q528892 ?z } UNION { resource:Q3130893 property:Q528892 ?y } UNION { resource:Q3320897 property:Q528892 ?z } UNION { resource:Q3320897 property:Q528892 ?y } UNION { resource:Q533912 property:Q528892 ?z } UNION { resource:Q533912 property:Q528892 ?y } UNION { resource:Q7523 property:Q528892 ?z } UNION { resource:Q7523 property:Q528892 ?y } UNION { resource:Q3086578 property:Q528892 ?z } UNION { resource:Q3086578 property:Q528892 ?y } UNION { resource:Q239868 property:Q528892 ?z } UNION { resource:Q239868 property:Q528892 ?y } UNION { resource:Q3573474 property:Q528892 ?z } UNION { resource:Q3573474 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q528892 }
film director actor screenwriter
3
['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Michel Bardinet', 'occupation', {'concept': 'profession'}] ['Michel Bardinet', 'occupation', {'concept': 'occupation'}] ['Pascal Aubier', 'occupation', {'concept': 'profession'}] ['Pascal Aubier', 'occupation', {'concept': 'occupation'}] ['Yvonne Yma', 'occupation', {'concept': 'profession'}] ['Yvonne Yma', 'occupation', {'concept': 'occupation'}] ['Henri Coutet', 'occupation', {'concept': 'profession'}] ['Henri Coutet', 'occupation', {'concept': 'occupation'}] ['Monique Mélinand', 'occupation', {'concept': 'profession'}] ['Monique Mélinand', 'occupation', {'concept': 'occupation'}] ['Noël Roquevert', 'occupation', {'concept': 'profession'}] ['Noël Roquevert', 'occupation', {'concept': 'occupation'}] ['Kublai Khan', 'occupation', {'concept': 'profession'}] ['Kublai Khan', 'occupation', {'concept': 'occupation'}] ['Françoise Rasquin', 'occupation', {'concept': 'profession'}] ['Françoise Rasquin', 'occupation', {'concept': 'occupation'}] ['Mylène Demongeot', 'occupation', {'concept': 'profession'}] ['Mylène Demongeot', 'occupation', {'concept': 'occupation'}] ['Yves Barsacq', 'occupation', {'concept': 'profession'}] ['Yves Barsacq', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Michel_Bardinet property:occupation ?z } UNION { resource:Michel_Bardinet property:occupation ?y } UNION { resource:Pascal_Aubier property:occupation ?z } UNION { resource:Pascal_Aubier property:occupation ?y } UNION { resource:Yvonne_Yma property:occupation ?z } UNION { resource:Yvonne_Yma property:occupation ?y } UNION { resource:Henri_Coutet property:occupation ?z } UNION { resource:Henri_Coutet property:occupation ?y } UNION { resource:Monique_Mélinand property:occupation ?z } UNION { resource:Monique_Mélinand property:occupation ?y } UNION { resource:Noël_Roquevert property:occupation ?z } UNION { resource:Noël_Roquevert property:occupation ?y } UNION { resource:Kublai_Khan property:occupation ?z } UNION { resource:Kublai_Khan property:occupation ?y } UNION { resource:Françoise_Rasquin property:occupation ?z } UNION { resource:Françoise_Rasquin property:occupation ?y } UNION { resource:Mylène_Demongeot property:occupation ?z } UNION { resource:Mylène_Demongeot property:occupation ?y } UNION { resource:Yves_Barsacq property:occupation ?z } UNION { resource:Yves_Barsacq property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21847115
P725
Q502895 Q95074
USER
Which fictional characters have been dubbed by less number of people than Fumihiro ?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847115
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?r ) WHERE { ?k property:P725 ?l . ?k rdf:type ontology:Q95074 . ?l rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q21847115 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?r < ?p ) }
Fumihiro
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Fumihiro
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?r ) WHERE { ?k property:voice_actor ?l . ?k rdf:type ontology:fictional_character . ?l rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Fumihiro property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?r < ?p ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847115
relation P725
type Q502895
[ANSWERS] have been dubbed by less number of people than Fumihiro
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?r ) WHERE { ?k property:P725 ?l . ?k rdf:type ontology:Q95074 . ?l rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q21847115 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?r < ?p ) }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo have been dubbed by less number of people than Fumihiro
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Fumihiro
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?r ) WHERE { ?k property:voice_actor ?l . ?k rdf:type ontology:fictional_character . ?l rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Fumihiro property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?r < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7810
P22
Q95074
USER
Which fictional characters have Homer Simpson as a parent ?
(c(Q95074),P22,Q7810)
action filter_type
action find_reverse
entity Q7810
relation P22
type Q95074
[{'concept': 'Q95074'}, 'P22', 'Q7810']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q95074 . ?v property:P22 resource:Q7810 }
Homer Simpson
action filter_type
action find_reverse
entity Homer Simpson
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'Homer Simpson']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:fictional_character . ?v property:father resource:Homer_Simpson }
[]
fictional character
Q4990628 Q7834 Q5846
SYSTEM
Hugo Simpson, Maggie Simpson, Lisa Simpson
Q4990628 Q7834 Q5846
(c(Q95074),P22,Q7810)
action filter_type
action find_reverse
entity Q7810
relation P22
type Q95074
[ANSWERS] have Homer Simpson as a parent
[{'concept': 'Q95074'}, 'P22', 'Q7810']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q95074 . ?v property:P22 resource:Q7810 }
Hugo Simpson Maggie Simpson Lisa Simpson
Hugo Simpson, Maggie Simpson and Lisa Simpson have Homer Simpson as a parent
Hugo Simpson Maggie Simpson Lisa Simpson
action filter_type
action find_reverse
entity Homer Simpson
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'Homer Simpson']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:fictional_character . ?v property:father resource:Homer_Simpson }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4990628
P25
Q95074
USER
Who was the mother of that one ?
(Q4990628,P25,c(Q95074))
action filter_type
action find
entity Q4990628
relation P25
type Q95074
['Q4990628', 'P25', {'concept': 'Q95074'}]
SELECT DISTINCT ?c WHERE { resource:Q4990628 property:P25 ?c . ?c rdf:type ontology:Q95074 }
Hugo Simpson
action filter_type
action find
entity Hugo Simpson
relation mother
type fictional character
['Hugo Simpson', 'mother', {'concept': 'fictional character'}]
SELECT DISTINCT ?c WHERE { resource:Hugo_Simpson property:mother ?c . ?c rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q5846
SYSTEM
Did you mean Lisa Simpson ?
Q4990628 Q7834 Q5846
(Q4990628,P25,c(Q95074)) (Q7834,P25,c(Q95074)) (Q5846,P25,c(Q95074))
[ANSWER]
['Q4990628', 'P25', {'concept': 'Q95074'}] ['Q7834', 'P25', {'concept': 'Q95074'}] ['Q5846', 'P25', {'concept': 'Q95074'}]
SELECT DISTINCT ?c WHERE { resource:Q4990628 property:P25 ?c . ?c rdf:type ontology:Q95074 }
Hugo Simpson Maggie Simpson Lisa Simpson
Did you mean Lisa Simpson ?
Lisa Simpson
['Hugo Simpson', 'mother', {'concept': 'fictional character'}] ['Maggie Simpson', 'mother', {'concept': 'fictional character'}] ['Lisa Simpson', 'mother', {'concept': 'fictional character'}]
SELECT DISTINCT ?c WHERE { resource:Hugo_Simpson property:mother ?c . ?c rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Hugo Simpson. Could you tell me the answer for that?
(Q4990628,P25,c(Q95074))
Q4990628
['Q4990628', 'P25', {'concept': 'Q95074'}]
['Hugo Simpson', 'mother', {'concept': 'fictional character'}]
[]
Q7828
SYSTEM
Marge Simpson
Q7828
(Q4990628,P25,c(Q95074))
action filter_type
action find
entity Q4990628
relation P25
type Q95074
The mother of that one was the [ANSWER]
['Q4990628', 'P25', {'concept': 'Q95074'}]
SELECT DISTINCT ?c WHERE { resource:Q4990628 property:P25 ?c . ?c rdf:type ontology:Q95074 }
Marge Simpson
The mother of that one was the Marge Simpson
Marge Simpson
action filter_type
action find
entity Hugo Simpson
relation mother
type fictional character
['Hugo Simpson', 'mother', {'concept': 'fictional character'}]
SELECT DISTINCT ?c WHERE { resource:Hugo_Simpson property:mother ?c . ?c rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7828
P170
Q502895
USER
Which person is the creater of that fictional character ?
(Q7828,P170,c(Q502895))
action filter_type
action find
entity Q7828
relation P170
type Q502895
['Q7828', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q7828 property:P170 ?v }
Marge Simpson
action filter_type
action find
entity Marge Simpson
relation creator
type common name
['Marge Simpson', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Marge_Simpson property:creator ?v }
[]
common name
Q43994
SYSTEM
Matt Groening
Q43994
(Q7828,P170,c(Q502895))
action filter_type
action find
entity Q7828
relation P170
type Q502895
[ANSWER] is the creater of that fictional character
['Q7828', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q7828 property:P170 ?v }
Matt Groening
Matt Groening is the creater of that fictional character
Matt Groening
action filter_type
action find
entity Marge Simpson
relation creator
type common name
['Marge Simpson', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Marge_Simpson property:creator ?v }
[]