Simple Question (Direct)
Simple Question
Q1819331
P466
Q502895
USER
Who was the inhabitant of Newstead Abbey ?
(Q1819331,P466,c(Q502895))
action filter_type
action find
entity Q1819331
relation P466
type Q502895
['Q1819331', 'P466', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1819331 property:P466 ?r . ?r rdf:type ontology:Q502895 }
Newstead Abbey
action filter_type
action find
entity Newstead Abbey
relation occupant
type common name
['Newstead Abbey', 'occupant', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Newstead_Abbey property:occupant ?r . ?r rdf:type ontology:common_name }
[]
common name
Q5679
SYSTEM
Lord Byron
Q5679
(Q1819331,P466,c(Q502895))
action filter_type
action find
entity Q1819331
relation P466
type Q502895
The inhabitant of Newstead Abbey was the [ANSWER]
['Q1819331', 'P466', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1819331 property:P466 ?r . ?r rdf:type ontology:Q502895 }
Lord Byron
The inhabitant of Newstead Abbey was the Lord Byron
Lord Byron
action filter_type
action find
entity Newstead Abbey
relation occupant
type common name
['Newstead Abbey', 'occupant', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Newstead_Abbey property:occupant ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1819331
P19
Q502895
USER
Which people were born at Newstead Abbey ?
(c(Q502895),P19,Q1819331)
action filter_type
action find_reverse
entity Q1819331
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1819331']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q1819331 . ?j rdf:type ontology:Q502895 }
Newstead Abbey
action filter_type
action find_reverse
entity Newstead Abbey
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Newstead Abbey']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Newstead_Abbey . ?j rdf:type ontology:common_name }
[]
common name
Q507665 Q453699 Q276241
SYSTEM
John Byron, Augusta Leigh, Elizabeth Medora Leigh
Q507665 Q453699 Q276241
(c(Q502895),P19,Q1819331)
action filter_type
action find_reverse
entity Q1819331
relation P19
type Q502895
[ANSWERS] were born at Newstead Abbey
[{'concept': 'Q502895'}, 'P19', 'Q1819331']
SELECT DISTINCT ?j WHERE { ?j property:P19 resource:Q1819331 . ?j rdf:type ontology:Q502895 }
John Byron Augusta Leigh Elizabeth Medora Leigh
John Byron, Augusta Leigh and Elizabeth Medora Leigh were born at Newstead Abbey
John Byron Augusta Leigh Elizabeth Medora Leigh
action filter_type
action find_reverse
entity Newstead Abbey
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Newstead Abbey']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth resource:Newstead_Abbey . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q507665 Q453699 Q276241
P40
Q502895
USER
Which people have John Byron, Augusta Leigh and Elizabeth Medora Leigh as an offspring ?
(c(Q502895),P40,Q507665) (c(Q502895),P40,Q453699) (c(Q502895),P40,Q276241)
action union
action filter_type
action find_reverse
entity Q507665
relation P40
type Q502895
action filter_type
action find_reverse
entity Q453699
relation P40
type Q502895
action filter_type
action find_reverse
entity Q276241
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q507665'] [{'concept': 'Q502895'}, 'P40', 'Q453699'] [{'concept': 'Q502895'}, 'P40', 'Q276241']
SELECT DISTINCT ?b WHERE { { ?b property:P40 resource:Q507665 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P40 resource:Q453699 . ?b rdf:type ontology:Q502895 } }
John Byron Augusta Leigh Elizabeth Medora Leigh
action union
action filter_type
action find_reverse
entity John Byron
relation child
type common name
action filter_type
action find_reverse
entity Augusta Leigh
relation child
type common name
action filter_type
action find_reverse
entity Elizabeth Medora Leigh
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Byron'] [{'concept': 'common name'}, 'child', 'Augusta Leigh'] [{'concept': 'common name'}, 'child', 'Elizabeth Medora Leigh']
SELECT DISTINCT ?b WHERE { { ?b property:child resource:John_Byron . ?b rdf:type ontology:common_name } UNION { ?b property:child resource:Augusta_Leigh . ?b rdf:type ontology:common_name } }
[]
common name
Q5679 Q453699 Q71854
SYSTEM
Lord Byron, Augusta Leigh, Amelia Osborne, Marchioness of Carmarthen
Q8006250 Q71854 Q6217401 Q453699 Q5679
(c(Q502895),P40,Q507665) (c(Q502895),P40,Q453699) (c(Q502895),P40,Q276241)
action union
action filter_type
action find_reverse
entity Q507665
relation P40
type Q502895
action filter_type
action find_reverse
entity Q453699
relation P40
type Q502895
action filter_type
action find_reverse
entity Q276241
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q507665'] [{'concept': 'Q502895'}, 'P40', 'Q453699'] [{'concept': 'Q502895'}, 'P40', 'Q276241']
SELECT DISTINCT ?b WHERE { { ?b property:P40 resource:Q507665 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P40 resource:Q453699 . ?b rdf:type ontology:Q502895 } }
William Byron, 4th Baron Byron Amelia Osborne, Marchioness of Carmarthen John Byron Augusta Leigh Lord Byron
Lord Byron, Augusta Leigh and Amelia Osborne, Marchioness of Carmarthen have John Byron, Augusta Leigh and Elizabeth Medora Leigh as an offspring
Lord Byron Augusta Leigh Amelia Osborne, Marchioness of Carmarthen
action union
action filter_type
action find_reverse
entity John Byron
relation child
type common name
action filter_type
action find_reverse
entity Augusta Leigh
relation child
type common name
action filter_type
action find_reverse
entity Elizabeth Medora Leigh
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Byron'] [{'concept': 'common name'}, 'child', 'Augusta Leigh'] [{'concept': 'common name'}, 'child', 'Elizabeth Medora Leigh']
SELECT DISTINCT ?b WHERE { { ?b property:child resource:John_Byron . ?b rdf:type ontology:common_name } UNION { ?b property:child resource:Augusta_Leigh . ?b rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q453699
P21
Q290
USER
Which sex does that person have ?
(Q453699,P21,c(Q290))
action filter_type
action find
entity Q453699
relation P21
type Q290
['Q453699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q453699 property:P21 ?h . ?h rdf:type ontology:Q290 }
Augusta Leigh
action filter_type
action find
entity Augusta Leigh
relation gender
type sex
['Augusta Leigh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Augusta_Leigh property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q453699
SYSTEM
Did you mean Augusta Leigh ?
Q5679 Q453699 Q71854
(Q5679,P21,c(Q290)) (Q453699,P21,c(Q290)) (Q71854,P21,c(Q290))
[ANSWER]
['Q5679', 'P21', {'concept': 'Q290'}] ['Q453699', 'P21', {'concept': 'Q290'}] ['Q71854', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q453699 property:P21 ?h . ?h rdf:type ontology:Q290 }
Lord Byron Augusta Leigh Amelia Osborne, Marchioness of Carmarthen
Did you mean Augusta Leigh ?
Augusta Leigh
['Lord Byron', 'gender', {'concept': 'sex'}] ['Augusta Leigh', 'gender', {'concept': 'sex'}] ['Amelia Osborne, Marchioness of Carmarthen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Augusta_Leigh property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q453699,P21,c(Q290))
['Q453699', 'P21', {'concept': 'Q290'}]
['Augusta Leigh', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q453699,P21,c(Q290))
action filter_type
action find
entity Q453699
relation P21
type Q290
That person has a [ANSWER]
['Q453699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q453699 property:P21 ?h . ?h rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Augusta Leigh
relation gender
type sex
['Augusta Leigh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Augusta_Leigh property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5679
P40
Q502895
USER
How many people are the children of Lord Byron ?
(Q5679,P40,c(Q502895))
action count
action filter_type
action find
entity Q5679
relation P40
type Q502895
['Q5679', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q5679 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Lord Byron
action count
action filter_type
action find
entity Lord Byron
relation child
type common name
['Lord Byron', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Lord_Byron property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q7259 Q2837843 Q276241
(Q5679,P40,c(Q502895))
action count
action filter_type
action find
entity Q5679
relation P40
type Q502895
[ANSWER]
['Q5679', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q5679 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Ada Lovelace Allegra Byron Elizabeth Medora Leigh
3
action count
action filter_type
action find
entity Lord Byron
relation child
type common name
['Lord Byron', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Lord_Byron property:child ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q914623
Q502895
USER
And what about Samuel Wesley?
(Q914623,P40,c(Q502895))
action count
action filter_type
action find
entity Q914623
relation P40
type Q502895
['Q914623', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q914623 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Samuel Wesley
action count
action filter_type
action find
entity Samuel Wesley
relation child
type common name
['Samuel Wesley', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Samuel_Wesley property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
3
(Q914623,P40,c(Q502895))
action count
action filter_type
action find
entity Q914623
relation P40
type Q502895
[ANSWER]
['Q914623', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q914623 property:P40 ?i . ?i rdf:type ontology:Q502895 }
3
action count
action filter_type
action find
entity Samuel Wesley
relation child
type common name
['Samuel Wesley', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Samuel_Wesley property:child ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5679
P737
Q502895
USER
Who did Lord Byron have an influence on ?
(c(Q502895),P737,Q5679)
action filter_type
action find_reverse
entity Q5679
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q5679']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P737 resource:Q5679 }
Lord Byron
action filter_type
action find_reverse
entity Lord Byron
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Lord Byron']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:influenced_by resource:Lord_Byron }
[]
common name
Q93356 Q40826 Q250754
SYSTEM
Seamus Heaney, Knut Hamsun, Álvares de Azevedo
Q250754 Q93356 Q380797 Q40826 Q316806
(c(Q502895),P737,Q5679)
action filter_type
action find_reverse
entity Q5679
relation P737
type Q502895
Lord Byron had an influence on poet [ANSWERS]
[{'concept': 'Q502895'}, 'P737', 'Q5679']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P737 resource:Q5679 }
Álvares de Azevedo Seamus Heaney Hovhannes Tumanyan Knut Hamsun Almeida Garrett
Lord Byron had an influence on poet Seamus Heaney, Knut Hamsun and Álvares de Azevedo
Seamus Heaney Knut Hamsun Álvares de Azevedo
action filter_type
action find_reverse
entity Lord Byron
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Lord Byron']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:influenced_by resource:Lord_Byron }
[]
Clarification
Simple Question|Single Entity|Indirect
Q250754
P119
Q43229
USER
Where was that person buried ?
(Q250754,P119,c(Q43229))
action filter_type
action find
entity Q250754
relation P119
type Q43229
['Q250754', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q250754 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Álvares de Azevedo
action filter_type
action find
entity Álvares de Azevedo
relation place of burial
type organization
['Álvares de Azevedo', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Álvares_de_Azevedo property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q250754
SYSTEM
Did you mean Álvares de Azevedo ?
Q93356 Q40826 Q250754
(Q93356,P119,c(Q43229)) (Q40826,P119,c(Q43229)) (Q250754,P119,c(Q43229))
[ANSWER]
['Q93356', 'P119', {'concept': 'Q43229'}] ['Q40826', 'P119', {'concept': 'Q43229'}] ['Q250754', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q250754 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Seamus Heaney Knut Hamsun Álvares de Azevedo
Did you mean Álvares de Azevedo ?
Álvares de Azevedo
['Seamus Heaney', 'place of burial', {'concept': 'organization'}] ['Knut Hamsun', 'place of burial', {'concept': 'organization'}] ['Álvares de Azevedo', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Álvares_de_Azevedo property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q250754,P119,c(Q43229))
['Q250754', 'P119', {'concept': 'Q43229'}]
['Álvares de Azevedo', 'place of burial', {'concept': 'organization'}]
[]
Q5058741
SYSTEM
Cemitério São João Batista
Q5058741
(Q250754,P119,c(Q43229))
action filter_type
action find
entity Q250754
relation P119
type Q43229
That person was buried in [ANSWER]
['Q250754', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q250754 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Cemitério São João Batista
That person was buried in Cemitério São João Batista
Cemitério São João Batista
action filter_type
action find
entity Álvares de Azevedo
relation place of burial
type organization
['Álvares de Azevedo', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Álvares_de_Azevedo property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]