Simple Question (Direct)
Simple Question
Q1620547
P25
Q502895
USER
Which person was the mother of Philip Herbert, 4th Earl of Pembroke ?
(Q1620547,P25,c(Q502895))
action filter_type
action find
entity Q1620547
relation P25
type Q502895
['Q1620547', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1620547 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Philip Herbert, 4th Earl of Pembroke
action filter_type
action find
entity Philip Herbert, 4th Earl of Pembroke
relation mother
type common name
['Philip Herbert, 4th Earl of Pembroke', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Philip_Herbert,_4th_Earl_of_Pembroke property:mother ?u . ?u rdf:type ontology:common_name }
[]
common name
Q469059
SYSTEM
Mary Sidney
Q469059
(Q1620547,P25,c(Q502895))
action filter_type
action find
entity Q1620547
relation P25
type Q502895
Sidney [ANSWER] was the mother of Philip Herbert, 4th Earl of Pembroke
['Q1620547', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1620547 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Mary Sidney
Sidney Mary Sidney was the mother of Philip Herbert, 4th Earl of Pembroke
Mary Sidney
action filter_type
action find
entity Philip Herbert, 4th Earl of Pembroke
relation mother
type common name
['Philip Herbert, 4th Earl of Pembroke', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Philip_Herbert,_4th_Earl_of_Pembroke property:mother ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1620547
P22
Q502895
USER
Which person has Philip Herbert, 4th Earl of Pembroke as a parent ?
(c(Q502895),P22,Q1620547)
action filter_type
action find_reverse
entity Q1620547
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1620547']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q1620547 . ?x rdf:type ontology:Q502895 }
Philip Herbert, 4th Earl of Pembroke
action filter_type
action find_reverse
entity Philip Herbert, 4th Earl of Pembroke
relation father
type common name
[{'concept': 'common name'}, 'father', 'Philip Herbert, 4th Earl of Pembroke']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Philip_Herbert,_4th_Earl_of_Pembroke . ?x rdf:type ontology:common_name }
[]
common name
Q4018412
SYSTEM
Philip Herbert, 5th Earl of Pembroke
Q4018412
(c(Q502895),P22,Q1620547)
action filter_type
action find_reverse
entity Q1620547
relation P22
type Q502895
[ANSWER] has Philip Herbert, 4th Earl of Pembroke as a parent
[{'concept': 'Q502895'}, 'P22', 'Q1620547']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q1620547 . ?x rdf:type ontology:Q502895 }
Philip Herbert, 5th Earl of Pembroke
Philip Herbert, 5th Earl of Pembroke has Philip Herbert, 4th Earl of Pembroke as a parent
Philip Herbert, 5th Earl of Pembroke
action filter_type
action find_reverse
entity Philip Herbert, 4th Earl of Pembroke
relation father
type common name
[{'concept': 'common name'}, 'father', 'Philip Herbert, 4th Earl of Pembroke']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Philip_Herbert,_4th_Earl_of_Pembroke . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4018412
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q4018412)
action filter_type
action find_reverse
entity Q4018412
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4018412']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q4018412 . ?n rdf:type ontology:Q502895 }
Philip Herbert, 5th Earl of Pembroke
action filter_type
action find_reverse
entity Philip Herbert, 5th Earl of Pembroke
relation child
type common name
[{'concept': 'common name'}, 'child', 'Philip Herbert, 5th Earl of Pembroke']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Philip_Herbert,_5th_Earl_of_Pembroke . ?n rdf:type ontology:common_name }
[]
common name
Q3978238 Q1620547
SYSTEM
Susan de Vere, Countess of Montgomery, Philip Herbert, 4th Earl of Pembroke
Q3978238 Q1620547
(c(Q502895),P40,Q4018412)
action filter_type
action find_reverse
entity Q4018412
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q4018412']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q4018412 . ?n rdf:type ontology:Q502895 }
Susan de Vere, Countess of Montgomery Philip Herbert, 4th Earl of Pembroke
Susan de Vere, Countess of Montgomery and Philip Herbert, 4th Earl of Pembroke have that one as an offspring
Susan de Vere, Countess of Montgomery Philip Herbert, 4th Earl of Pembroke
action filter_type
action find_reverse
entity Philip Herbert, 5th Earl of Pembroke
relation child
type common name
[{'concept': 'common name'}, 'child', 'Philip Herbert, 5th Earl of Pembroke']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Philip_Herbert,_5th_Earl_of_Pembroke . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q4018412
P21 P40
Q502895
USER
Which people have Philip Herbert, 5th Earl of Pembroke as an offspring and are a male ?
AND((c(Q502895),P40,Q4018412), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4018412
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q4018412'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P40 resource:Q4018412 . ?f property:P21 resource:Q6581097 }
male Philip Herbert, 5th Earl of Pembroke
action filter_type
action intersection
action find_reverse
entity Philip Herbert, 5th Earl of Pembroke
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Philip Herbert, 5th Earl of Pembroke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:child resource:Philip_Herbert,_5th_Earl_of_Pembroke . ?f property:gender resource:male }
[]
common name
Q1620547
SYSTEM
Philip Herbert, 4th Earl of Pembroke
Q1620547
AND((c(Q502895),P40,Q4018412), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4018412
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Philip Herbert, 5th Earl of Pembroke as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q4018412'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P40 resource:Q4018412 . ?f property:P21 resource:Q6581097 }
Philip Herbert, 4th Earl of Pembroke
Philip Herbert, 4th Earl of Pembroke have Philip Herbert, 5th Earl of Pembroke as an offspring and are a male
Philip Herbert, 4th Earl of Pembroke
action filter_type
action intersection
action find_reverse
entity Philip Herbert, 5th Earl of Pembroke
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Philip Herbert, 5th Earl of Pembroke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:child resource:Philip_Herbert,_5th_Earl_of_Pembroke . ?f property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q1620547
P26 P21
Q502895
USER
Which people are married to Philip Herbert, 4th Earl of Pembroke and are a female ?
AND((c(Q502895),P26,Q1620547), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1620547
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q1620547'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P26 resource:Q1620547 . ?x property:P21 resource:Q6581072 }
female Philip Herbert, 4th Earl of Pembroke
action filter_type
action intersection
action find_reverse
entity Philip Herbert, 4th Earl of Pembroke
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Philip Herbert, 4th Earl of Pembroke'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:spouse resource:Philip_Herbert,_4th_Earl_of_Pembroke . ?x property:gender resource:female }
[]
common name
Q4943112 Q3978238
SYSTEM
Lady Anne Clifford, Susan de Vere, Countess of Montgomery
Q4943112 Q3978238
AND((c(Q502895),P26,Q1620547), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1620547
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q1620547'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P26 resource:Q1620547 . ?x property:P21 resource:Q6581072 }
Lady Anne Clifford Susan de Vere, Countess of Montgomery
And Lady Anne Clifford and Susan de Vere, Countess of Montgomery are married to Philip Herbert, 4th Earl of Pembroke and are a female
Lady Anne Clifford Susan de Vere, Countess of Montgomery
action filter_type
action intersection
action find_reverse
entity Philip Herbert, 4th Earl of Pembroke
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Philip Herbert, 4th Earl of Pembroke'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:spouse resource:Philip_Herbert,_4th_Earl_of_Pembroke . ?x property:gender resource:female }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q438942
P26
Q502895
USER
Are Ulisse Stacchini married to those ones ?
(Q438942,P26,Q4943112) (Q438942,P26,Q3978238)
action is_in
entity prev_answer
action find
entity Q438942
relation P26
['Q438942', 'P26', 'Q4943112'] ['Q438942', 'P26', 'Q3978238']
ASK WHERE { resource:Q438942 property:P26 ?p . VALUES ( ?p ) { ( resource:Q4943112 ) ( resource:Q3978238 ) } }
Ulisse Stacchini
action is_in
entity prev_answer
action find
entity Ulisse Stacchini
relation spouse
['Ulisse Stacchini', 'spouse', 'Lady Anne Clifford'] ['Ulisse Stacchini', 'spouse', 'Susan de Vere, Countess of Montgomery']
ASK WHERE { resource:Ulisse_Stacchini property:spouse ?p . VALUES ( ?p ) { ( resource:Lady_Anne_Clifford ) ( resource:Susan_de_Vere,_Countess_of_Montgomery ) } }
[]
common name
SYSTEM
NO
(Q438942,P26,Q4943112) (Q438942,P26,Q3978238)
action is_in
entity prev_answer
action find
entity Q438942
relation P26
[ANSWER]
['Q438942', 'P26', 'Q4943112'] ['Q438942', 'P26', 'Q3978238']
ASK WHERE { resource:Q438942 property:P26 ?p . VALUES ( ?p ) { ( resource:Q4943112 ) ( resource:Q3978238 ) } }
No
action is_in
entity prev_answer
action find
entity Ulisse Stacchini
relation spouse
['Ulisse Stacchini', 'spouse', 'Lady Anne Clifford'] ['Ulisse Stacchini', 'spouse', 'Susan de Vere, Countess of Montgomery']
ASK WHERE { resource:Ulisse_Stacchini property:spouse ?p . VALUES ( ?p ) { ( resource:Lady_Anne_Clifford ) ( resource:Susan_de_Vere,_Countess_of_Montgomery ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1620547 Q1860
P1412
Q34770
USER
Does English can Philip Herbert, 4th Earl of Pembroke understand ?
(Q1620547,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q1620547
relation P1412
['Q1620547', 'P1412', 'Q1860']
ASK WHERE { resource:Q1620547 property:P1412 resource:Q1860 }
Philip Herbert, 4th Earl of Pembroke English
action is_in
entity English
action find
entity Philip Herbert, 4th Earl of Pembroke
relation languages spoken, written or signed
['Philip Herbert, 4th Earl of Pembroke', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Philip_Herbert,_4th_Earl_of_Pembroke property:languages_spoken,_written_or_signed resource:English }
[]
language
SYSTEM
YES
(Q1620547,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q1620547
relation P1412
[ANSWER]
['Q1620547', 'P1412', 'Q1860']
ASK WHERE { resource:Q1620547 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Philip Herbert, 4th Earl of Pembroke
relation languages spoken, written or signed
['Philip Herbert, 4th Earl of Pembroke', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Philip_Herbert,_4th_Earl_of_Pembroke property:languages_spoken,_written_or_signed resource:English }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1382051 Q3978238
P19 P27
Q15617994
USER
Which administrative territories do Susan de Vere, Countess of Montgomery belong to or are the birthplace of Everhardus Alerdinck ?
OR((Q3978238,P27,c(Q15617994)), (Q1382051,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3978238
relation P27
action find
entity Q1382051
relation P19
type Q15617994
{'OR': [['Q3978238', 'P27', {'concept': 'Q15617994'}], ['Q1382051', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3978238 property:P27 ?y } UNION { resource:Q1382051 property:P19 ?y } } . ?y rdf:type ontology:Q15617994 }
Everhardus Alerdinck Susan de Vere, Countess of Montgomery
action filter_type
action union
action find
entity Susan de Vere, Countess of Montgomery
relation country of citizenship
action find
entity Everhardus Alerdinck
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Susan de Vere, Countess of Montgomery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Everhardus Alerdinck', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Susan_de_Vere,_Countess_of_Montgomery property:country_of_citizenship ?y } UNION { resource:Everhardus_Alerdinck property:place_of_birth ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q2742
SYSTEM
United Kingdom, Münster
Q145 Q2742
OR((Q3978238,P27,c(Q15617994)), (Q1382051,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3978238
relation P27
action find
entity Q1382051
relation P19
type Q15617994
[ANSWERS] Susan de Vere, Countess of Montgomery belong to or are the birthplace of Everhardus Alerdinck
{'OR': [['Q3978238', 'P27', {'concept': 'Q15617994'}], ['Q1382051', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3978238 property:P27 ?y } UNION { resource:Q1382051 property:P19 ?y } } . ?y rdf:type ontology:Q15617994 }
United Kingdom Münster
United Kingdom and Münster Susan de Vere, Countess of Montgomery belong to or are the birthplace of Everhardus Alerdinck
United Kingdom Münster
action filter_type
action union
action find
entity Susan de Vere, Countess of Montgomery
relation country of citizenship
action find
entity Everhardus Alerdinck
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Susan de Vere, Countess of Montgomery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Everhardus Alerdinck', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Susan_de_Vere,_Countess_of_Montgomery property:country_of_citizenship ?y } UNION { resource:Everhardus_Alerdinck property:place_of_birth ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]