Simple Question (Direct)
Simple Question
Q2479480
P26
Q502895
USER
Which person is the spouse of George Keppel, 3rd Earl of Albemarle ?
(Q2479480,P26,c(Q502895))
action filter_type
action find
entity Q2479480
relation P26
type Q502895
['Q2479480', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2479480 property:P26 ?t . ?t rdf:type ontology:Q502895 }
George Keppel, 3rd Earl of Albemarle
action filter_type
action find
entity George Keppel, 3rd Earl of Albemarle
relation spouse
type common name
['George Keppel, 3rd Earl of Albemarle', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:George_Keppel,_3rd_Earl_of_Albemarle property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q17363785
SYSTEM
Anne Keppel
Q17363785
(Q2479480,P26,c(Q502895))
action filter_type
action find
entity Q2479480
relation P26
type Q502895
The [ANSWER] is the spouse of George Keppel, 3rd Earl of Albemarle
['Q2479480', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2479480 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Anne Keppel
The Anne Keppel is the spouse of George Keppel, 3rd Earl of Albemarle
Anne Keppel
action filter_type
action find
entity George Keppel, 3rd Earl of Albemarle
relation spouse
type common name
['George Keppel, 3rd Earl of Albemarle', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:George_Keppel,_3rd_Earl_of_Albemarle property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2479480
P1412
Q34770
USER
Which language is spoken by George Keppel, 3rd Earl of Albemarle ?
(Q2479480,P1412,c(Q34770))
action filter_type
action find
entity Q2479480
relation P1412
type Q34770
['Q2479480', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q2479480 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
George Keppel, 3rd Earl of Albemarle
action filter_type
action find
entity George Keppel, 3rd Earl of Albemarle
relation languages spoken, written or signed
type language
['George Keppel, 3rd Earl of Albemarle', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:George_Keppel,_3rd_Earl_of_Albemarle property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2479480,P1412,c(Q34770))
action filter_type
action find
entity Q2479480
relation P1412
type Q34770
[ANSWER] is spoken by George Keppel, 3rd Earl of Albemarle
['Q2479480', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q2479480 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
English is spoken by George Keppel, 3rd Earl of Albemarle
English
action filter_type
action find
entity George Keppel, 3rd Earl of Albemarle
relation languages spoken, written or signed
type language
['George Keppel, 3rd Earl of Albemarle', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:George_Keppel,_3rd_Earl_of_Albemarle property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q17363785
P25 P106
Q502895
USER
Which people have Anne Keppel as mom and have career as politician ?
AND((c(Q502895),P25,Q17363785), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q17363785
relation P25
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q17363785'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q17363785 . ?z property:P106 resource:Q82955 . ?z rdf:type ontology:Q502895 }
politician Anne Keppel
action filter_type
action intersection
action find_reverse
entity Anne Keppel
relation mother
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Anne Keppel'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Anne_Keppel . ?z property:occupation resource:politician . ?z rdf:type ontology:common_name }
[]
common name
Q652281 Q8013960
SYSTEM
George Keppel, 6th Earl of Albemarle, William Keppel, 4th Earl of Albemarle
Q652281 Q8013960
AND((c(Q502895),P25,Q17363785), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q17363785
relation P25
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q17363785'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q17363785 . ?z property:P106 resource:Q82955 . ?z rdf:type ontology:Q502895 }
George Keppel, 6th Earl of Albemarle William Keppel, 4th Earl of Albemarle
George Keppel, 6th Earl of Albemarle and William Keppel, 4th Earl of Albemarle have Anne Keppel as mom and have career as politician
George Keppel, 6th Earl of Albemarle William Keppel, 4th Earl of Albemarle
action filter_type
action intersection
action find_reverse
entity Anne Keppel
relation mother
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Anne Keppel'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Anne_Keppel . ?z property:occupation resource:politician . ?z rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P40
Q502895
USER
How many people have that person as an offspring ?
(c(Q502895),P40,Q652281)
[{'concept': 'Q502895'}, 'P40', 'Q652281']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q652281 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'child', 'George Keppel, 6th Earl of Albemarle']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:George_Keppel,_6th_Earl_of_Albemarle . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q8013960
SYSTEM
Did you mean William Keppel, 4th Earl of Albemarle ?
(c(Q502895),P40,Q652281) (c(Q502895),P40,Q8013960)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q652281'] [{'concept': 'Q502895'}, 'P40', 'Q8013960']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q652281 . ?z rdf:type ontology:Q502895 }
Did you mean William Keppel, 4th Earl of Albemarle ?
William Keppel, 4th Earl of Albemarle
[{'concept': 'common name'}, 'child', 'George Keppel, 6th Earl of Albemarle'] [{'concept': 'common name'}, 'child', 'William Keppel, 4th Earl of Albemarle']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:George_Keppel,_6th_Earl_of_Albemarle . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant George Keppel, 6th Earl of Albemarle. Could you tell me the answer for that?
(c(Q502895),P40,Q652281)
Q652281
[{'concept': 'Q502895'}, 'P40', 'Q652281']
[{'concept': 'common name'}, 'child', 'George Keppel, 6th Earl of Albemarle']
[]
SYSTEM
2
Q8013960 Q17363785
(c(Q502895),P40,Q652281)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q652281']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q652281 . ?z rdf:type ontology:Q502895 }
William Keppel, 4th Earl of Albemarle Anne Keppel
2
[{'concept': 'common name'}, 'child', 'George Keppel, 6th Earl of Albemarle']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:George_Keppel,_6th_Earl_of_Albemarle . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q8013960
P21 P7
Q502895
USER
Which people are William Keppel, 4th Earl of Albemarle a brother of and are a male ?
AND((c(Q502895),P7,Q8013960), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8013960
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q8013960'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P7 resource:Q8013960 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
male William Keppel, 4th Earl of Albemarle
action filter_type
action intersection
action find_reverse
entity William Keppel, 4th Earl of Albemarle
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'William Keppel, 4th Earl of Albemarle'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:brother resource:William_Keppel,_4th_Earl_of_Albemarle . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
common name
Q652281
SYSTEM
George Keppel, 6th Earl of Albemarle
Q652281
AND((c(Q502895),P7,Q8013960), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8013960
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
The [ANSWER] is William Keppel, 4th Earl of Albemarle a brother of and is a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q8013960'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P7 resource:Q8013960 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
George Keppel, 6th Earl of Albemarle
The George Keppel, 6th Earl of Albemarle is William Keppel, 4th Earl of Albemarle a brother of and is a male
George Keppel, 6th Earl of Albemarle
action filter_type
action intersection
action find_reverse
entity William Keppel, 4th Earl of Albemarle
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'William Keppel, 4th Earl of Albemarle'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:brother resource:William_Keppel,_4th_Earl_of_Albemarle . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q652281 Q145
P27
Q15617994
USER
Is United Kingdom the native country of George Keppel, 6th Earl of Albemarle ?
(Q652281,P27,Q145)
action is_in
entity Q145
action find
entity Q652281
relation P27
['Q652281', 'P27', 'Q145']
ASK WHERE { resource:Q652281 property:P27 resource:Q145 }
George Keppel, 6th Earl of Albemarle United Kingdom
action is_in
entity United Kingdom
action find
entity George Keppel, 6th Earl of Albemarle
relation country of citizenship
['George Keppel, 6th Earl of Albemarle', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:George_Keppel,_6th_Earl_of_Albemarle property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q652281,P27,Q145)
action is_in
entity Q145
action find
entity Q652281
relation P27
[ANSWER]
['Q652281', 'P27', 'Q145']
ASK WHERE { resource:Q652281 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity George Keppel, 6th Earl of Albemarle
relation country of citizenship
['George Keppel, 6th Earl of Albemarle', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:George_Keppel,_6th_Earl_of_Albemarle property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17363785 Q4752176
P26
Q502895
USER
Is Anatoliy Tynynyk married to Anne Keppel ?
(Q17363785,P26,Q4752176)
action is_in
entity Q4752176
action find
entity Q17363785
relation P26
['Q17363785', 'P26', 'Q4752176']
ASK WHERE { resource:Q17363785 property:P26 resource:Q4752176 }
Anne Keppel Anatoliy Tynynyk
action is_in
entity Anatoliy Tynynyk
action find
entity Anne Keppel
relation spouse
['Anne Keppel', 'spouse', 'Anatoliy Tynynyk']
ASK WHERE { resource:Anne_Keppel property:spouse resource:Anatoliy_Tynynyk }
[]
common name
SYSTEM
NO
(Q17363785,P26,Q4752176)
action is_in
entity Q4752176
action find
entity Q17363785
relation P26
[ANSWER]
['Q17363785', 'P26', 'Q4752176']
ASK WHERE { resource:Q17363785 property:P26 resource:Q4752176 }
No
action is_in
entity Anatoliy Tynynyk
action find
entity Anne Keppel
relation spouse
['Anne Keppel', 'spouse', 'Anatoliy Tynynyk']
ASK WHERE { resource:Anne_Keppel property:spouse resource:Anatoliy_Tynynyk }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17363785
P40
Q502895
USER
Which people are an offsprings of Anne Keppel ?
action filter_type
action find
entity Q17363785
relation P40
type Q502895
SELECT DISTINCT ?e WHERE { resource:Q17363785 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Anne Keppel
action filter_type
action find
entity Anne Keppel
relation child
type common name
SELECT DISTINCT ?e WHERE { resource:Anne_Keppel property:child ?e . ?e rdf:type ontology:common_name }
[]
common name
Q652281 Q8013960
SYSTEM
George Keppel, 6th Earl of Albemarle, William Keppel, 4th Earl of Albemarle
Q652281 Q8013960
action filter_type
action find
entity Q17363785
relation P40
type Q502895
[ANSWERS]
SELECT DISTINCT ?e WHERE { resource:Q17363785 property:P40 ?e . ?e rdf:type ontology:Q502895 }
George Keppel, 6th Earl of Albemarle William Keppel, 4th Earl of Albemarle
And George Keppel, 6th Earl of Albemarle and William Keppel, 4th Earl of Albemarle are an offsprings of Anne Keppel
George Keppel, 6th Earl of Albemarle William Keppel, 4th Earl of Albemarle
action filter_type
action find
entity Anne Keppel
relation child
type common name
SELECT DISTINCT ?e WHERE { resource:Anne_Keppel property:child ?e . ?e rdf:type ontology:common_name }
[]