Simple Question (Direct)
Simple Question
Q21884060
P7
Q502895
USER
Which person is the brother of Laura Moore ?
(Q21884060,P7,c(Q502895))
action filter_type
action find
entity Q21884060
relation P7
type Q502895
['Q21884060', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q21884060 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Laura Moore
action filter_type
action find
entity Laura Moore
relation brother
type common name
['Laura Moore', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Laura_Moore property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q4678692
SYSTEM
Adam Begley
Q4678692
(Q21884060,P7,c(Q502895))
action filter_type
action find
entity Q21884060
relation P7
type Q502895
[ANSWER] is the brother of Laura Moore
['Q21884060', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q21884060 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Adam Begley
Adam Begley is the brother of Laura Moore
Adam Begley
action filter_type
action find
entity Laura Moore
relation brother
type common name
['Laura Moore', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Laura_Moore property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4678692
P9
Q502895
USER
Who is the sister of that one ?
(Q4678692,P9,c(Q502895))
action filter_type
action find
entity Q4678692
relation P9
type Q502895
['Q4678692', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4678692 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Adam Begley
action filter_type
action find
entity Adam Begley
relation sister
type common name
['Adam Begley', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Adam_Begley property:sister ?o . ?o rdf:type ontology:common_name }
[]
common name
Q21884060
SYSTEM
Laura Moore
Q21884060
(Q4678692,P9,c(Q502895))
action filter_type
action find
entity Q4678692
relation P9
type Q502895
The sister of that one is the [ANSWER]
['Q4678692', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4678692 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Laura Moore
The sister of that one is the Laura Moore
Laura Moore
action filter_type
action find
entity Adam Begley
relation sister
type common name
['Adam Begley', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Adam_Begley property:sister ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q231794
Q502895
USER
And also tell me about Joanna of Bourbon?
(Q231794,P9,c(Q502895))
action filter_type
action find
entity Q231794
relation P9
type Q502895
['Q231794', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q231794 property:P9 ?f }
Joanna of Bourbon
action filter_type
action find
entity Joanna of Bourbon
relation sister
type common name
['Joanna of Bourbon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Joanna_of_Bourbon property:sister ?f }
[]
common name
Q2626231 Q254986 Q3290769
SYSTEM
Bonne of Bourbon, Blanche of Bourbon, Margaret of Bourbon, Lady of Albret
Q2626231 Q254986 Q3290769
(Q231794,P9,c(Q502895))
action filter_type
action find
entity Q231794
relation P9
type Q502895
[ANSWERS]
['Q231794', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q231794 property:P9 ?f }
Bonne of Bourbon Blanche of Bourbon Margaret of Bourbon, Lady of Albret
Bonne of Bourbon Blanche of Bourbon Margaret of Bourbon, Lady of Albret
action filter_type
action find
entity Joanna of Bourbon
relation sister
type common name
['Joanna of Bourbon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Joanna_of_Bourbon property:sister ?f }
[]