Simple Question (Direct)
Simple Question
Q159378
P40
Q502895
USER
Who are the children of Isma'il Pasha ?
(Q159378,P40,c(Q502895))
action filter_type
action find
entity Q159378
relation P40
type Q502895
['Q159378', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q159378 property:P40 ?g }
Isma'il Pasha
action filter_type
action find
entity Isma'il Pasha
relation child
type common name
["Isma'il Pasha", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Isma'il_Pasha property:child ?g }
[]
common name
Q374306 Q365930 Q311839
SYSTEM
Tewfik Pasha, Hussein Kamel of Egypt, Fuad I of Egypt
Q374306 Q365930 Q311839
(Q159378,P40,c(Q502895))
action filter_type
action find
entity Q159378
relation P40
type Q502895
The children of Isma 'il Pasha are Muhammad [ANSWERS]
['Q159378', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q159378 property:P40 ?g }
Tewfik Pasha Hussein Kamel of Egypt Fuad I of Egypt
The children of Isma 'il Pasha are Muhammad Tewfik Pasha, Hussein Kamel of Egypt and Fuad I of Egypt
Tewfik Pasha Hussein Kamel of Egypt Fuad I of Egypt
action filter_type
action find
entity Isma'il Pasha
relation child
type common name
["Isma'il Pasha", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Isma'il_Pasha property:child ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311839
P140
Q13414953
USER
Which religious denomination does Fuad I of Egypt relate to ?
(Q311839,P140,c(Q13414953))
action filter_type
action find
entity Q311839
relation P140
type Q13414953
['Q311839', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?c WHERE { resource:Q311839 property:P140 ?c . ?c rdf:type ontology:Q13414953 }
Fuad I of Egypt
action filter_type
action find
entity Fuad I of Egypt
relation religion
type religious denomination
['Fuad I of Egypt', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?c WHERE { resource:Fuad_I_of_Egypt property:religion ?c . ?c rdf:type ontology:religious_denomination }
[]
religious denomination
Q483654
SYSTEM
Sunni Islam
Q483654
(Q311839,P140,c(Q13414953))
action filter_type
action find
entity Q311839
relation P140
type Q13414953
Fuad I of Egypt relates to [ANSWER]
['Q311839', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?c WHERE { resource:Q311839 property:P140 ?c . ?c rdf:type ontology:Q13414953 }
Sunni Islam
Fuad I of Egypt relates to Sunni Islam
Sunni Islam
action filter_type
action find
entity Fuad I of Egypt
relation religion
type religious denomination
['Fuad I of Egypt', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?c WHERE { resource:Fuad_I_of_Egypt property:religion ?c . ?c rdf:type ontology:religious_denomination }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q256506
Q13414953
USER
And how about Rabia Basri?
(Q256506,P140,c(Q13414953))
action filter_type
action find
entity Q256506
relation P140
type Q13414953
['Q256506', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q13414953 . resource:Q256506 property:P140 ?s }
Rabia Basri
action filter_type
action find
entity Rabia Basri
relation religion
type religious denomination
['Rabia Basri', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:religious_denomination . resource:Rabia_Basri property:religion ?s }
[]
religious denomination
Q483654
SYSTEM
Sunni Islam
Q483654
(Q256506,P140,c(Q13414953))
action filter_type
action find
entity Q256506
relation P140
type Q13414953
[ANSWER]
['Q256506', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q13414953 . resource:Q256506 property:P140 ?s }
Sunni Islam
Sunni Islam
action filter_type
action find
entity Rabia Basri
relation religion
type religious denomination
['Rabia Basri', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:religious_denomination . resource:Rabia_Basri property:religion ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365930
P1028
Q193622
USER
Which order is donated by Hussein Kamel of Egypt ?
(c(Q193622),P1028,Q365930)
action filter_type
action find_reverse
entity Q365930
relation P1028
type Q193622
[{'concept': 'Q193622'}, 'P1028', 'Q365930']
SELECT DISTINCT ?p WHERE { ?p property:P1028 resource:Q365930 . ?p rdf:type ontology:Q193622 }
Hussein Kamel of Egypt
action filter_type
action find_reverse
entity Hussein Kamel of Egypt
relation donated by
type order
[{'concept': 'order'}, 'donated by', 'Hussein Kamel of Egypt']
SELECT DISTINCT ?p WHERE { ?p property:donated_by resource:Hussein_Kamel_of_Egypt . ?p rdf:type ontology:order }
[]
order
Q3885362
SYSTEM
Order of the Virtues
Q3885362
(c(Q193622),P1028,Q365930)
action filter_type
action find_reverse
entity Q365930
relation P1028
type Q193622
[ANSWER] is donated by Hussein Kamel of Egypt
[{'concept': 'Q193622'}, 'P1028', 'Q365930']
SELECT DISTINCT ?p WHERE { ?p property:P1028 resource:Q365930 . ?p rdf:type ontology:Q193622 }
Order of the Virtues
Order of the Virtues is donated by Hussein Kamel of Egypt
Order of the Virtues
action filter_type
action find_reverse
entity Hussein Kamel of Egypt
relation donated by
type order
[{'concept': 'order'}, 'donated by', 'Hussein Kamel of Egypt']
SELECT DISTINCT ?p WHERE { ?p property:donated_by resource:Hussein_Kamel_of_Egypt . ?p rdf:type ontology:order }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3885362 Q9685
P166
Q502895
USER
Was Diana, Princess of Wales awarded with that order ?
(Q9685,P166,Q3885362)
action is_in
entity Q3885362
action find
entity Q9685
relation P166
['Q9685', 'P166', 'Q3885362']
ASK WHERE { resource:Q9685 property:P166 resource:Q3885362 }
Order of the Virtues Diana, Princess of Wales
action is_in
entity Order of the Virtues
action find
entity Diana, Princess of Wales
relation award received
['Diana, Princess of Wales', 'award received', 'Order of the Virtues']
ASK WHERE { resource:Diana,_Princess_of_Wales property:award_received resource:Order_of_the_Virtues }
[]
common name
SYSTEM
YES
(Q9685,P166,Q3885362)
action is_in
entity Q3885362
action find
entity Q9685
relation P166
[ANSWER]
['Q9685', 'P166', 'Q3885362']
ASK WHERE { resource:Q9685 property:P166 resource:Q3885362 }
Yes
action is_in
entity Order of the Virtues
action find
entity Diana, Princess of Wales
relation award received
['Diana, Princess of Wales', 'award received', 'Order of the Virtues']
ASK WHERE { resource:Diana,_Princess_of_Wales property:award_received resource:Order_of_the_Virtues }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365930
P7
Q502895
USER
Who are Hussein Kamel of Egypt a sibling of ?
(Q365930,P7,c(Q502895))
action filter_type
action find
entity Q365930
relation P7
type Q502895
['Q365930', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q365930 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Hussein Kamel of Egypt
action filter_type
action find
entity Hussein Kamel of Egypt
relation brother
type common name
['Hussein Kamel of Egypt', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Hussein_Kamel_of_Egypt property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q374306 Q311839
SYSTEM
Tewfik Pasha, Fuad I of Egypt
Q374306 Q311839
(Q365930,P7,c(Q502895))
action filter_type
action find
entity Q365930
relation P7
type Q502895
[ANSWERS] are Hussein Kamel of Egypt a sibling of
['Q365930', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q365930 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Tewfik Pasha Fuad I of Egypt
Tewfik Pasha and Fuad I of Egypt are Hussein Kamel of Egypt a sibling of
Tewfik Pasha Fuad I of Egypt
action filter_type
action find
entity Hussein Kamel of Egypt
relation brother
type common name
['Hussein Kamel of Egypt', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Hussein_Kamel_of_Egypt property:brother ?y . ?y rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as a father ?
(c(Q502895),P22,Q374306)
[{'concept': 'Q502895'}, 'P22', 'Q374306']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q374306 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'father', 'Tewfik Pasha']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Tewfik_Pasha . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q311839
SYSTEM
Did you mean Fuad I of Egypt ?
(c(Q502895),P22,Q374306) (c(Q502895),P22,Q311839)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q374306'] [{'concept': 'Q502895'}, 'P22', 'Q311839']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q374306 . ?z rdf:type ontology:Q502895 }
Did you mean Fuad I of Egypt ?
Fuad I of Egypt
[{'concept': 'common name'}, 'father', 'Tewfik Pasha'] [{'concept': 'common name'}, 'father', 'Fuad I of Egypt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Tewfik_Pasha . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tewfik Pasha. Could you tell me the answer for that?
(c(Q502895),P22,Q374306)
Q374306
[{'concept': 'Q502895'}, 'P22', 'Q374306']
[{'concept': 'common name'}, 'father', 'Tewfik Pasha']
[]
SYSTEM
2
Q3774203 Q157159
(c(Q502895),P22,Q374306)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q374306']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2029179 resource:Q374306 . ?z rdf:type ontology:Q502895 }
Mohammed Ali Tewfik Abbas II
2
[{'concept': 'common name'}, 'father', 'Tewfik Pasha']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:father resource:Tewfik_Pasha . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311839
P25
Q502895
USER
Which person was the mother of Fuad I of Egypt ?
(Q311839,P25,c(Q502895))
action filter_type
action find
entity Q311839
relation P25
type Q502895
['Q311839', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q311839 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Fuad I of Egypt
action filter_type
action find
entity Fuad I of Egypt
relation mother
type common name
['Fuad I of Egypt', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Fuad_I_of_Egypt property:mother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q25983046
SYSTEM
Feriyal Kadinefendi
Q25983046
(Q311839,P25,c(Q502895))
action filter_type
action find
entity Q311839
relation P25
type Q502895
[ANSWER] was the mother of Fuad I of Egypt
['Q311839', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q311839 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Feriyal Kadinefendi
Feriyal Kadinefendi was the mother of Fuad I of Egypt
Feriyal Kadinefendi
action filter_type
action find
entity Fuad I of Egypt
relation mother
type common name
['Fuad I of Egypt', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Fuad_I_of_Egypt property:mother ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15622072
Q502895
USER
And what about Romain Maurras?
(Q15622072,P25,c(Q502895))
action filter_type
action find
entity Q15622072
relation P25
type Q502895
['Q15622072', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q15622072 property:P25 ?a }
Romain Maurras
action filter_type
action find
entity Romain Maurras
relation mother
type common name
['Romain Maurras', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Romain_Maurras property:mother ?a }
[]
common name
Q15622068
SYSTEM
Marie-Pélagie Maurras
Q15622068
(Q15622072,P25,c(Q502895))
action filter_type
action find
entity Q15622072
relation P25
type Q502895
[ANSWER]
['Q15622072', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q15622072 property:P25 ?a }
Marie-Pélagie Maurras
Marie-Pélagie Maurras
action filter_type
action find
entity Romain Maurras
relation mother
type common name
['Romain Maurras', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Romain_Maurras property:mother ?a }
[]