Simple Question (Direct)
Simple Question
Q6151235
P1038
Q502895
USER
Who are kins of Jane Cavendish ?
(Q6151235,P1038,c(Q502895))
action filter_type
action find
entity Q6151235
relation P1038
type Q502895
['Q6151235', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6151235 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Jane Cavendish
action filter_type
action find
entity Jane Cavendish
relation relative
type common name
['Jane Cavendish', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Jane_Cavendish property:relative ?w . ?w rdf:type ontology:common_name }
[]
common name
Q242640 Q508447
SYSTEM
Margaret Cavendish, Duchess of Newcastle-upon-Tyne, Bess of Hardwick
Q242640 Q508447
(Q6151235,P1038,c(Q502895))
action filter_type
action find
entity Q6151235
relation P1038
type Q502895
Kins of Jane Cavendish are [ANSWERS]
['Q6151235', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6151235 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Margaret Cavendish, Duchess of Newcastle-upon-Tyne Bess of Hardwick
Kins of Jane Cavendish are Margaret Cavendish, Duchess of Newcastle-upon-Tyne and Bess of Hardwick
Margaret Cavendish, Duchess of Newcastle-upon-Tyne Bess of Hardwick
action filter_type
action find
entity Jane Cavendish
relation relative
type common name
['Jane Cavendish', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Jane_Cavendish property:relative ?w . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q508447
P26
Q502895
USER
Who are married to that one ?
(c(Q502895),P26,Q508447)
action filter_type
action find
entity Q508447
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q508447']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q508447 property:P26 ?u }
Bess of Hardwick
action filter_type
action find
entity Bess of Hardwick
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bess of Hardwick']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bess_of_Hardwick property:spouse ?u }
[]
common name
Clarification for simple ques.
Q242640
SYSTEM
Did you mean Margaret Cavendish, Duchess of Newcastle-upon-Tyne ?
Q242640 Q508447
(c(Q502895),P26,Q242640) (c(Q502895),P26,Q508447)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q242640'] [{'concept': 'Q502895'}, 'P26', 'Q508447']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q508447 property:P26 ?u }
Margaret Cavendish, Duchess of Newcastle-upon-Tyne Bess of Hardwick
Did you mean Margaret Cavendish, Duchess of Newcastle-upon-Tyne ?
Margaret Cavendish, Duchess of Newcastle-upon-Tyne
[{'concept': 'common name'}, 'spouse', 'Margaret Cavendish, Duchess of Newcastle-upon-Tyne'] [{'concept': 'common name'}, 'spouse', 'Bess of Hardwick']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bess_of_Hardwick property:spouse ?u }
[]
Simple Question (Coreferenced)
USER
No, I meant Bess of Hardwick. Could you tell me the answer for that?
(c(Q502895),P26,Q508447)
Q508447
[{'concept': 'Q502895'}, 'P26', 'Q508447']
[{'concept': 'common name'}, 'spouse', 'Bess of Hardwick']
[]
Q8018697 Q80271 Q762439
SYSTEM
William St Loe, George Talbot, 6th Earl of Shrewsbury, William Cavendish
Q8018697 Q80271 Q762439
(c(Q502895),P26,Q508447)
action filter_type
action find
entity Q508447
relation P26
type Q502895
[ANSWERS] are married to that one
[{'concept': 'Q502895'}, 'P26', 'Q508447']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q508447 property:P26 ?u }
William St Loe George Talbot, 6th Earl of Shrewsbury William Cavendish
William St Loe, George Talbot, 6th Earl of Shrewsbury and William Cavendish are married to that one
William St Loe George Talbot, 6th Earl of Shrewsbury William Cavendish
action filter_type
action find
entity Bess of Hardwick
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bess of Hardwick']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bess_of_Hardwick property:spouse ?u }
[]