Simple Question (Direct)
Simple Question
Q2820848
P26
Q502895
USER
Which person is the life partner of Abby Kelley ?
(Q2820848,P26,c(Q502895))
action filter_type
action find
entity Q2820848
relation P26
type Q502895
['Q2820848', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2820848 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Abby Kelley
action filter_type
action find
entity Abby Kelley
relation spouse
type common name
['Abby Kelley', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Abby_Kelley property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q15052225
SYSTEM
Stephen Symonds Foster
Q15052225
(Q2820848,P26,c(Q502895))
action filter_type
action find
entity Q2820848
relation P26
type Q502895
[ANSWER] is the life partner of Abby Kelley
['Q2820848', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2820848 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Stephen Symonds Foster
Stephen Symonds Foster is the life partner of Abby Kelley
Stephen Symonds Foster
action filter_type
action find
entity Abby Kelley
relation spouse
type common name
['Abby Kelley', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Abby_Kelley property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15052225
P69
Q163740
USER
Where was that person educated ?
(Q15052225,P69,c(Q163740))
action filter_type
action find
entity Q15052225
relation P69
type Q163740
['Q15052225', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q15052225 property:P69 ?c . ?c rdf:type ontology:Q163740 }
Stephen Symonds Foster
action filter_type
action find
entity Stephen Symonds Foster
relation educated at
type nonprofit organization
['Stephen Symonds Foster', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:Stephen_Symonds_Foster property:educated_at ?c . ?c rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49116
SYSTEM
Dartmouth College
Q49116
(Q15052225,P69,c(Q163740))
action filter_type
action find
entity Q15052225
relation P69
type Q163740
That person was educated at [ANSWER]
['Q15052225', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q15052225 property:P69 ?c . ?c rdf:type ontology:Q163740 }
Dartmouth College
That person was educated at Dartmouth College
Dartmouth College
action filter_type
action find
entity Stephen Symonds Foster
relation educated at
type nonprofit organization
['Stephen Symonds Foster', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:Stephen_Symonds_Foster property:educated_at ?c . ?c rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people were the founders of that nonprofit organization ?
(Q49116,P112,c(Q502895))
action count
action filter_type
action find
entity Q49116
relation P112
type Q502895
['Q49116', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q49116 property:P112 ?d . ?d rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Dartmouth College
relation founder
type common name
['Dartmouth College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Dartmouth_College property:founder ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q925988
(Q49116,P112,c(Q502895))
action count
action filter_type
action find
entity Q49116
relation P112
type Q502895
[ANSWER]
['Q49116', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q49116 property:P112 ?d . ?d rdf:type ontology:Q502895 }
Eleazar Wheelock
1
action count
action filter_type
action find
entity Dartmouth College
relation founder
type common name
['Dartmouth College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Dartmouth_College property:founder ?d . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20177052 Q15052225
P26
Q502895
USER
Which people are the spouse of Stephen Symonds Foster or Jean Fellure ?
OR((c(Q502895),P26,Q15052225), (c(Q502895),P26,Q20177052))
action filter_type
action union
action find_reverse
entity Q15052225
relation P26
action find_reverse
entity Q20177052
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q15052225'], [{'concept': 'Q502895'}, 'P26', 'Q20177052']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P26 resource:Q20177052 } UNION { ?h property:P26 resource:Q15052225 } } . ?h rdf:type ontology:Q502895 }
Jean Fellure Stephen Symonds Foster
action filter_type
action union
action find_reverse
entity Stephen Symonds Foster
relation spouse
action find_reverse
entity Jean Fellure
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Stephen Symonds Foster'], [{'concept': 'common name'}, 'spouse', 'Jean Fellure']]}
SELECT DISTINCT ?h WHERE { { { ?h property:spouse resource:Jean_Fellure } UNION { ?h property:spouse resource:Stephen_Symonds_Foster } } . ?h rdf:type ontology:common_name }
[]
common name
Q6112447 Q2820848
SYSTEM
Jack Fellure, Abby Kelley
Q6112447 Q2820848
OR((c(Q502895),P26,Q15052225), (c(Q502895),P26,Q20177052))
action filter_type
action union
action find_reverse
entity Q15052225
relation P26
action find_reverse
entity Q20177052
relation P26
type Q502895
[ANSWERS] are the spouse of Stephen Symonds Foster or Jean Fellure
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q15052225'], [{'concept': 'Q502895'}, 'P26', 'Q20177052']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P26 resource:Q20177052 } UNION { ?h property:P26 resource:Q15052225 } } . ?h rdf:type ontology:Q502895 }
Jack Fellure Abby Kelley
Jack Fellure and Abby Kelley are the spouse of Stephen Symonds Foster or Jean Fellure
Jack Fellure Abby Kelley
action filter_type
action union
action find_reverse
entity Stephen Symonds Foster
relation spouse
action find_reverse
entity Jean Fellure
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Stephen Symonds Foster'], [{'concept': 'common name'}, 'spouse', 'Jean Fellure']]}
SELECT DISTINCT ?h WHERE { { { ?h property:spouse resource:Jean_Fellure } UNION { ?h property:spouse resource:Stephen_Symonds_Foster } } . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1510302 Q15052225
P26
Q502895
USER
Which people are the spouses of Stephen Symonds Foster or Eugénia Erdődy de Monyorókerék et Monoszló ?
OR((Q15052225,P26,c(Q502895)), (Q1510302,P26,c(Q502895)))
action filter_type
action union
action find
entity Q15052225
relation P26
action find
entity Q1510302
relation P26
type Q502895
{'OR': [['Q15052225', 'P26', {'concept': 'Q502895'}], ['Q1510302', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { VALUES ( ?r ) { ( resource:Q15052225 ) ( resource:Q1510302 ) } . ?r property:P26 ?d } }
Eugénia Erdődy de Monyorókerék et Monoszló Stephen Symonds Foster
action filter_type
action union
action find
entity Stephen Symonds Foster
relation spouse
action find
entity Eugénia Erdődy de Monyorókerék et Monoszló
relation spouse
type common name
{'OR': [['Stephen Symonds Foster', 'spouse', {'concept': 'common name'}], ['Eugénia Erdődy de Monyorókerék et Monoszló', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { VALUES ( ?r ) { ( resource:Stephen_Symonds_Foster ) ( resource:Eugénia_Erdődy_de_Monyorókerék_et_Monoszló ) } . ?r property:spouse ?d } }
[]
common name
Q1000937 Q2820848
SYSTEM
György Festetics, Abby Kelley
Q1000937 Q2820848
OR((Q15052225,P26,c(Q502895)), (Q1510302,P26,c(Q502895)))
action filter_type
action union
action find
entity Q15052225
relation P26
action find
entity Q1510302
relation P26
type Q502895
[ANSWERS] are the spouses of Stephen Symonds Foster or Eugénia Erdődy de Monyorókerék et Monoszló
{'OR': [['Q15052225', 'P26', {'concept': 'Q502895'}], ['Q1510302', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { VALUES ( ?r ) { ( resource:Q15052225 ) ( resource:Q1510302 ) } . ?r property:P26 ?d } }
György Festetics Abby Kelley
György Festetics and Abby Kelley are the spouses of Stephen Symonds Foster or Eugénia Erdődy de Monyorókerék et Monoszló
György Festetics Abby Kelley
action filter_type
action union
action find
entity Stephen Symonds Foster
relation spouse
action find
entity Eugénia Erdődy de Monyorókerék et Monoszló
relation spouse
type common name
{'OR': [['Stephen Symonds Foster', 'spouse', {'concept': 'common name'}], ['Eugénia Erdődy de Monyorókerék et Monoszló', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { VALUES ( ?r ) { ( resource:Stephen_Symonds_Foster ) ( resource:Eugénia_Erdődy_de_Monyorókerék_et_Monoszló ) } . ?r property:spouse ?d } }
[]