Simple Question (Direct)
Simple Question
Q453676
P9
Q502895
USER
Who are the sisters of Ecgfrith of Northumbria ?
(Q453676,P9,c(Q502895))
action filter_type
action find
entity Q453676
relation P9
type Q502895
['Q453676', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q453676 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Ecgfrith of Northumbria
action filter_type
action find
entity Ecgfrith of Northumbria
relation sister
type common name
['Ecgfrith of Northumbria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ecgfrith_of_Northumbria property:sister ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2480751 Q442515
SYSTEM
Ælfflæd of Whitby, Osthryth
Q2480751 Q442515
(Q453676,P9,c(Q502895))
action filter_type
action find
entity Q453676
relation P9
type Q502895
The sisters of Ecgfrith of Northumbria are the [ANSWERS]
['Q453676', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q453676 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Ælfflæd of Whitby Osthryth
The sisters of Ecgfrith of Northumbria are the Ælfflæd of Whitby and Osthryth
Ælfflæd of Whitby Osthryth
action filter_type
action find
entity Ecgfrith of Northumbria
relation sister
type common name
['Ecgfrith of Northumbria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ecgfrith_of_Northumbria property:sister ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2480751 Q442515
P40
Q502895
USER
Which people have Ælfflæd of Whitby and Osthryth as an offspring ?
(c(Q502895),P40,Q2480751) (c(Q502895),P40,Q442515)
action union
action filter_type
action find_reverse
entity Q2480751
relation P40
type Q502895
action filter_type
action find_reverse
entity Q442515
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2480751'] [{'concept': 'Q502895'}, 'P40', 'Q442515']
SELECT DISTINCT ?r WHERE { VALUES ( ?e ) { ( resource:Q442515 ) ( resource:Q2480751 ) } . ?r property:P40 ?e }
Ælfflæd of Whitby Osthryth
action union
action filter_type
action find_reverse
entity Ælfflæd of Whitby
relation child
type common name
action filter_type
action find_reverse
entity Osthryth
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ælfflæd of Whitby'] [{'concept': 'common name'}, 'child', 'Osthryth']
SELECT DISTINCT ?r WHERE { VALUES ( ?e ) { ( resource:Osthryth ) ( resource:Ælfflæd_of_Whitby ) } . ?r property:child ?e }
[]
common name
Q468847 Q291529 Q468847
SYSTEM
Eanflæd for 2nd, Oswiu of Northumbria for 1st, 3rd
Q468847 Q291529 Q468847 Q291529
(c(Q502895),P40,Q2480751) (c(Q502895),P40,Q442515)
action union
action filter_type
action find_reverse
entity Q2480751
relation P40
type Q502895
action filter_type
action find_reverse
entity Q442515
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q2480751'] [{'concept': 'Q502895'}, 'P40', 'Q442515']
SELECT DISTINCT ?r WHERE { VALUES ( ?e ) { ( resource:Q442515 ) ( resource:Q2480751 ) } . ?r property:P40 ?e }
Oswiu of Northumbria Eanflæd Oswiu of Northumbria Eanflæd
Oswiu of Northumbria, Eanflæd and Oswiu of Northumbria have Ælfflæd of Whitby and Osthryth as an offspring
Oswiu of Northumbria Eanflæd Oswiu of Northumbria
action union
action filter_type
action find_reverse
entity Ælfflæd of Whitby
relation child
type common name
action filter_type
action find_reverse
entity Osthryth
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ælfflæd of Whitby'] [{'concept': 'common name'}, 'child', 'Osthryth']
SELECT DISTINCT ?r WHERE { VALUES ( ?e ) { ( resource:Osthryth ) ( resource:Ælfflæd_of_Whitby ) } . ?r property:child ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q468847
P25
Q502895
USER
Who was the mom of that one ?
(Q468847,P25,c(Q502895))
action filter_type
action find
entity Q468847
relation P25
type Q502895
['Q468847', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q468847 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Oswiu of Northumbria
action filter_type
action find
entity Oswiu of Northumbria
relation mother
type common name
['Oswiu of Northumbria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Oswiu_of_Northumbria property:mother ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q468847
SYSTEM
Did you mean Oswiu of Northumbria ?
Q468847 Q291529 Q468847
(Q468847,P25,c(Q502895)) (Q291529,P25,c(Q502895)) (Q468847,P25,c(Q502895))
[ANSWER]
['Q468847', 'P25', {'concept': 'Q502895'}] ['Q291529', 'P25', {'concept': 'Q502895'}] ['Q468847', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q468847 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Oswiu of Northumbria Eanflæd Oswiu of Northumbria
Did you mean Oswiu of Northumbria ?
Oswiu of Northumbria
['Oswiu of Northumbria', 'mother', {'concept': 'common name'}] ['Eanflæd', 'mother', {'concept': 'common name'}] ['Oswiu of Northumbria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Oswiu_of_Northumbria property:mother ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q468847,P25,c(Q502895))
['Q468847', 'P25', {'concept': 'Q502895'}]
['Oswiu of Northumbria', 'mother', {'concept': 'common name'}]
[]
Q9138811
SYSTEM
Acha
Q9138811
(Q468847,P25,c(Q502895))
action filter_type
action find
entity Q468847
relation P25
type Q502895
The mom of that one was called [ANSWER]
['Q468847', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q468847 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Acha
The mom of that one was called Acha
Acha
action filter_type
action find
entity Oswiu of Northumbria
relation mother
type common name
['Oswiu of Northumbria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Oswiu_of_Northumbria property:mother ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q453676
P7
Q502895
USER
How many people are Ecgfrith of Northumbria a brother of ?
(c(Q502895),P7,Q453676)
action count
action filter_type
action find_reverse
entity Q453676
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q453676']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P7 resource:Q453676 }
Ecgfrith of Northumbria
action count
action filter_type
action find_reverse
entity Ecgfrith of Northumbria
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ecgfrith of Northumbria']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:common_name . ?a property:brother resource:Ecgfrith_of_Northumbria }
[]
common name
SYSTEM
5
Q271386 Q737618 Q442515 Q475760 Q2480751
(c(Q502895),P7,Q453676)
action count
action filter_type
action find_reverse
entity Q453676
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q453676']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P7 resource:Q453676 }
Ælfwine of Deira Aldfrith Osthryth Alhfrith of Deira Ælfflæd of Whitby
5
action count
action filter_type
action find_reverse
entity Ecgfrith of Northumbria
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ecgfrith of Northumbria']
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:common_name . ?a property:brother resource:Ecgfrith_of_Northumbria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q468847
P26
Q502895
USER
Who is the spouse of Oswiu of Northumbria ?
(Q468847,P26,c(Q502895))
action filter_type
action find
entity Q468847
relation P26
type Q502895
['Q468847', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q468847 property:P26 ?r }
Oswiu of Northumbria
action filter_type
action find
entity Oswiu of Northumbria
relation spouse
type common name
['Oswiu of Northumbria', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Oswiu_of_Northumbria property:spouse ?r }
[]
common name
Q291529
SYSTEM
Eanflæd
Q291529
(Q468847,P26,c(Q502895))
action filter_type
action find
entity Q468847
relation P26
type Q502895
The spouse of Oswiu of Northumbria is called [ANSWER]
['Q468847', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q468847 property:P26 ?r }
Eanflæd
The spouse of Oswiu of Northumbria is called Eanflæd
Eanflæd
action filter_type
action find
entity Oswiu of Northumbria
relation spouse
type common name
['Oswiu of Northumbria', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Oswiu_of_Northumbria property:spouse ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2864907
Q502895
USER
And how about Arthel Neville?
(Q2864907,P26,c(Q502895))
action filter_type
action find
entity Q2864907
relation P26
type Q502895
['Q2864907', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2864907 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Arthel Neville
action filter_type
action find
entity Arthel Neville
relation spouse
type common name
['Arthel Neville', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Arthel_Neville property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q21066554 Q4846573
SYSTEM
Taku Hirano, Derrick Lassic
Q21066554 Q4846573
(Q2864907,P26,c(Q502895))
action filter_type
action find
entity Q2864907
relation P26
type Q502895
[ANSWERS]
['Q2864907', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2864907 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Taku Hirano Derrick Lassic
Taku Hirano Derrick Lassic
action filter_type
action find
entity Arthel Neville
relation spouse
type common name
['Arthel Neville', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Arthel_Neville property:spouse ?s . ?s rdf:type ontology:common_name }
[]