Simple Question (Direct)
Simple Question
Q2161811
P106
Q12737077
USER
Which occupations have Roger N. Beachy as his/her 's career ?
(Q2161811,P106,c(Q12737077))
action filter_type
action find
entity Q2161811
relation P106
type Q12737077
['Q2161811', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q2161811 property:P106 ?t }
Roger N. Beachy
action filter_type
action find
entity Roger N. Beachy
relation occupation
type occupation
['Roger N. Beachy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Roger_N._Beachy property:occupation ?t }
[]
occupation
Q864503 Q1622272 Q2374149
SYSTEM
biologist, university teacher, botanist
Q864503 Q1622272 Q2374149
(Q2161811,P106,c(Q12737077))
action filter_type
action find
entity Q2161811
relation P106
type Q12737077
[ANSWERS] have Roger N. Beachy as his/her 's career
['Q2161811', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q2161811 property:P106 ?t }
biologist university teacher botanist
Biologist, university teacher and botanist have Roger N. Beachy as his/her 's career
biologist university teacher botanist
action filter_type
action find
entity Roger N. Beachy
relation occupation
type occupation
['Roger N. Beachy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Roger_N._Beachy property:occupation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2161811
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q864503,P27,c(Q15617994)) (Q1622272,P27,c(Q15617994)) (Q2374149,P27,c(Q15617994))
action filter_type
action find
entity Q2161811
relation P27
type Q15617994
['Q864503', 'P27', {'concept': 'Q15617994'}] ['Q1622272', 'P27', {'concept': 'Q15617994'}] ['Q2374149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2161811 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Roger N. Beachy
action filter_type
action find
entity Roger N. Beachy
relation country of citizenship
type designation for an administrative territorial entity
['biologist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['botanist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roger_N._Beachy property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q864503,P27,c(Q15617994)) (Q1622272,P27,c(Q15617994)) (Q2374149,P27,c(Q15617994))
action filter_type
action find
entity Q2161811
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q864503', 'P27', {'concept': 'Q15617994'}] ['Q1622272', 'P27', {'concept': 'Q15617994'}] ['Q2374149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2161811 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity Roger N. Beachy
relation country of citizenship
type designation for an administrative territorial entity
['biologist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['botanist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roger_N._Beachy property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q683
P47
Q15617994
USER
Is Samoa bordered by that one ?
(Q30,P47,Q683)
action is_in
entity Q683
action find
entity Q30
relation P47
['Q30', 'P47', 'Q683']
ASK WHERE { resource:Q30 property:P47 resource:Q683 }
United States of America Samoa
action is_in
entity Samoa
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Samoa']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Samoa }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P47,Q683)
action is_in
entity Q683
action find
entity Q30
relation P47
[ANSWER]
['Q30', 'P47', 'Q683']
ASK WHERE { resource:Q30 property:P47 resource:Q683 }
Yes
action is_in
entity Samoa
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Samoa']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Samoa }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q683
P27 P21
Q502895
USER
Which people are a native of Samoa and have the gender as male ?
AND((c(Q502895),P27,Q683), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q683
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q683'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q683 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
male Samoa
action filter_type
action intersection
action find_reverse
entity Samoa
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Samoa'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:Samoa . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
common name
Q3542230 Q3472139 Q1158723 Q16148224 Q20020775 Q1340618 Q3183006 Q1255575 Q2474413 Q3341356
SYSTEM
Some of them are Tupua Tamasese Lealofi III, Sanele Vavae Tuilagi, Henry Tuilagi, Alofa Alofa, Alex Rose, Mata'afa Iosefo, Johnson Falefa, Tupua Tamasese Lealofi IV., Rosey, Nigel Hunt
Q3469699 Q2679693 Q368814 Q5239883 Q80607 Q16215908 Q3101939 Q15993400 Q3439563 Q2414780 Q3024732 Q3484347 Q3482905 Q609538 Q646266 Q6918715 Q1281047 Q3183424 Q1255575 Q1158723 Q16148224 Q3477909 Q3197330 Q3301636 Q7079738 Q3193649 Q21621820 Q3081596 Q6794862 Q3341356 Q7079737 Q4705556 Q2107423 Q21066381 Q21066382 Q3023128 Q3216567 Q2822932 Q720949 Q16107028 Q887243 Q6848694 Q4724485 Q3372319 Q3474511 Q3327609 Q3324419 Q27044063 Q2371608 Q3418409 Q317378 Q16663159 Q3057402 Q3499275 Q7420923 Q2893054 Q7930220 Q72185 Q7811382 Q3313449 Q646239 Q3483792 Q3154134 Q728126 Q6521147 Q3183006 Q3518897 Q2061836 Q3441385 Q3018291 Q5369188 Q7173939 Q3101625 Q3024046 Q3515163 Q1532824 Q3547924 Q2834800 Q6160992 Q4932511 Q187238 Q952707 Q6667867 Q3378891 Q4179586 Q6782958 Q3542233 Q3542230 Q3542231 Q4899346 Q3258811 Q3354096 Q3294150 Q3376820 Q7635596 Q57523 Q2837135 Q3051855 Q21066424 Q11724253 Q21621983 Q3051051 Q57723 Q2850200 Q2456530 Q6005106 Q3542229 Q4806831 Q11738700 Q708558 Q1235864 Q2055573 Q3477699 Q646319 Q3177492 Q3339277 Q16886220 Q3480632 Q7576102 Q3478532 Q3483791 Q2474413 Q3161216 Q3472139 Q20020775 Q7681646 Q3334653 Q1340618 Q1125154 Q3485537 Q3041217 Q935555 Q969868 Q7377403 Q3553044 Q646244 Q16527037 Q7172411 Q723836 Q2281170 Q2836265 Q11766857 Q7563172 Q6285674 Q5937026 Q3036037 Q20851364 Q3197587 Q2458450 Q4115480 Q3190507 Q2296866 Q1281027 Q365879 Q3574638
AND((c(Q502895),P27,Q683), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q683
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a native of Samoa and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q683'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q683 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
Salemane Sa Aunese Curreen Tama Fasavalu David Smith George Pisi Uati Maposua George Stowers Samani Pulepule Roger Warren Jeremy Tomuli Malietoa Tanumafili I Simon Lemalu Siaosi Vaili Chris Masoe Shaun Easthope Motu Hafoka Fiame Mata'afa Faumuina Mulinu'u II Jonathan Meredith Tupua Tamasese Lealofi IV. Henry Tuilagi Alofa Alofa Seilala Mapusua Kiri Mariner Maurie Fa'asavalu Ofisa Treviranus Kas Lealamanua Soliai Letutusa Francis Meli Max Hoeflich Nigel Hunt Ofisa Ofisa Alafoti Fa'osiliva Aleni Smith Andrew Mobberly Faitalia Hamilton-Pama Denning Tyrell Lama Tone Ace Tiatia Va'ai Kolone Faumuina Tiatia Liuga Tupua Tamasese Meaʻole Mike Saofaiga Ali'ioaiga Feturi Elisaia Paul Tupai Savea Muliufi Salanoa Morrisson Faaletino Kapeneta Lausului Tusi Pisi Rambo Tavana Malietoa Tanumafili II Marlon Solofuti Eroni Clarke Steven So'oialo Sapati Umutaua Malietoa Laupepa Viliamu Afatia Manu Tuilagi Toafitu Perive Mike Mika Luki Gosche Silao Vaisola Sefo Joe Tekori Laloa Milford Lemi Ponifasio Johnson Falefa Terry Fanolua Freddie Tuilagi Ron Fanuatanu David Lemi Emanuele Fuamatu Peter Fatialofa George Harder Des Tuiali'i Tani Fuga Pio Taofinu'u Ulia Ulia Alfie Vaeluaga Jarrell Sale Bob Gasio Tim Cahill John Schwalger Logovi'i Mulipola Philemon Toleafoa Shaka Sola Masei Amosa Tupua Tamasese Titimaea Tupua Tamasese Lealofi III Tupua Tamasese Lealofi Ier Bevan Kapisi Lolo Lui Opeta Palepoi Mark Luafalealo Peter Poulos Suivai Ataga Tufuga Efi Alisi Tupuailei Elvis Seveali'i Johnny Hall Jeremy Dodson Faalavelvae Matagi Eliota Fuimaono-Sapolu Tuilaepa Aiono Sailele Malielegaoi Anitelea Tuilagi Chris Cahill Olaf Frederick Nelson Tupua Tamasese Lealofi II Asiata Sale'imoa Va'ai Ken Pisi David Tua Albert Wendt Pasi Schwalger Sefulu Gaugau Silao Malo Jerry Meafou Ngapaku Ngapaku Tuitama Talalelei Tuitama Setaimata Sa Spencer Keli Sene Ta'ala Silao Leaega Rosey James Lakepa Sanele Vavae Tuilagi Alex Rose Tamoto Fenika Na'ama Leleimalefaga Mata'afa Iosefo Mils Muliaina Siu Lafaialii Duncan Bell Olo Brown Misa Telefoni Retzlaff Rudolph Berking-Williams Va'aiga Tuigamala Albert Bell Albert Steinberger Peter "Navy" Tuiasosopo Isaia Toeava Toi Aukuso Cain Ali Koko Malo Vaga Sopo FaKaua Joseph Muaausa Joseph Hoeflich Donald Kerslake Manu Leiataua Kitiona Viliamu Peter Maivia Desmond Fa'aiuaso Justin Va'a Alesana Tuilagi Tofilau Eti Alesana Brian Lima Zak Feau'nati
Tupua Tamasese Lealofi III, Sanele Vavae Tuilagi, Henry Tuilagi, Alofa Alofa, Alex Rose, Mata'afa Iosefo, Johnson Falefa, Tupua Tamasese Lealofi IV., Rosey and Nigel Hunt are a native of Samoa and have the gender as male
Tupua Tamasese Lealofi III Sanele Vavae Tuilagi Henry Tuilagi Alofa Alofa Alex Rose Mata'afa Iosefo Johnson Falefa Tupua Tamasese Lealofi IV. Rosey Nigel Hunt
action filter_type
action intersection
action find_reverse
entity Samoa
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Samoa'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:Samoa . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1340618
P20
Q56061
USER
Where did that person expire ?
(Q1340618,P20,c(Q56061))
action filter_type
action find
entity Q1340618
relation P20
type Q56061
['Q1340618', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1340618 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Mata'afa Iosefo
action filter_type
action find
entity Mata'afa Iosefo
relation place of death
type administrative territorial entity
["Mata'afa Iosefo", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mata'afa_Iosefo property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3183006
SYSTEM
Did you mean Johnson Falefa ?
Q3542230 Q3472139 Q1158723 Q16148224 Q20020775 Q1340618 Q3183006 Q1255575 Q2474413 Q3341356
(Q3542230,P20,c(Q56061)) (Q3472139,P20,c(Q56061)) (Q1158723,P20,c(Q56061)) (Q16148224,P20,c(Q56061)) (Q20020775,P20,c(Q56061)) (Q1340618,P20,c(Q56061)) (Q3183006,P20,c(Q56061)) (Q1255575,P20,c(Q56061)) (Q2474413,P20,c(Q56061)) (Q3341356,P20,c(Q56061))
[ANSWER]
['Q3542230', 'P20', {'concept': 'Q56061'}] ['Q3472139', 'P20', {'concept': 'Q56061'}] ['Q1158723', 'P20', {'concept': 'Q56061'}] ['Q16148224', 'P20', {'concept': 'Q56061'}] ['Q20020775', 'P20', {'concept': 'Q56061'}] ['Q1340618', 'P20', {'concept': 'Q56061'}] ['Q3183006', 'P20', {'concept': 'Q56061'}] ['Q1255575', 'P20', {'concept': 'Q56061'}] ['Q2474413', 'P20', {'concept': 'Q56061'}] ['Q3341356', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1340618 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Tupua Tamasese Lealofi III Sanele Vavae Tuilagi Henry Tuilagi Alofa Alofa Alex Rose Mata'afa Iosefo Johnson Falefa Tupua Tamasese Lealofi IV. Rosey Nigel Hunt
Did you mean Johnson Falefa ?
Johnson Falefa
['Tupua Tamasese Lealofi III', 'place of death', {'concept': 'administrative territorial entity'}] ['Sanele Vavae Tuilagi', 'place of death', {'concept': 'administrative territorial entity'}] ['Henry Tuilagi', 'place of death', {'concept': 'administrative territorial entity'}] ['Alofa Alofa', 'place of death', {'concept': 'administrative territorial entity'}] ['Alex Rose', 'place of death', {'concept': 'administrative territorial entity'}] ["Mata'afa Iosefo", 'place of death', {'concept': 'administrative territorial entity'}] ['Johnson Falefa', 'place of death', {'concept': 'administrative territorial entity'}] ['Tupua Tamasese Lealofi IV.', 'place of death', {'concept': 'administrative territorial entity'}] ['Rosey', 'place of death', {'concept': 'administrative territorial entity'}] ['Nigel Hunt', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mata'afa_Iosefo property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Mata'afa Iosefo. Could you tell me the answer for that?
(Q1340618,P20,c(Q56061))
Q1340618
['Q1340618', 'P20', {'concept': 'Q56061'}]
["Mata'afa Iosefo", 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q36260
SYSTEM
Apia
Q36260
(Q1340618,P20,c(Q56061))
action filter_type
action find
entity Q1340618
relation P20
type Q56061
That person expired in [ANSWER]
['Q1340618', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1340618 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Apia
That person expired in Apia
Apia
action filter_type
action find
entity Mata'afa Iosefo
relation place of death
type administrative territorial entity
["Mata'afa Iosefo", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mata'afa_Iosefo property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36260 Q487119 Q3122420
P190
Q56061
USER
Is Apia twin town of Compton and Lukavac Gornji ?
(Q36260,P190,Q487119) (Q36260,P190,Q3122420)
action is_in
entity Q36260
action intersection
action find_reverse
entity Q487119
relation P190
action find_reverse
entity Q3122420
relation P190
['Q36260', 'P190', 'Q487119'] ['Q36260', 'P190', 'Q3122420']
ASK WHERE { resource:Q36260 property:P190 resource:Q3122420 . resource:Q36260 property:P190 resource:Q487119 }
Apia Compton Lukavac Gornji
action is_in
entity Apia
action intersection
action find_reverse
entity Compton
relation sister city
action find_reverse
entity Lukavac Gornji
relation sister city
['Apia', 'sister city', 'Compton'] ['Apia', 'sister city', 'Lukavac Gornji']
ASK WHERE { resource:Apia property:sister_city resource:Lukavac_Gornji . resource:Apia property:sister_city resource:Compton }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q36260,P190,Q487119) (Q36260,P190,Q3122420)
action is_in
entity Q36260
action intersection
action find_reverse
entity Q487119
relation P190
action find_reverse
entity Q3122420
relation P190
[ANSWER]
['Q36260', 'P190', 'Q487119'] ['Q36260', 'P190', 'Q3122420']
ASK WHERE { resource:Q36260 property:P190 resource:Q3122420 . resource:Q36260 property:P190 resource:Q487119 }
YES and NO respectively
action is_in
entity Apia
action intersection
action find_reverse
entity Compton
relation sister city
action find_reverse
entity Lukavac Gornji
relation sister city
['Apia', 'sister city', 'Compton'] ['Apia', 'sister city', 'Lukavac Gornji']
ASK WHERE { resource:Apia property:sister_city resource:Lukavac_Gornji . resource:Apia property:sister_city resource:Compton }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3472139 Q3559483
P27
Q15617994
USER
Is Elatia the country of citizenship of Sanele Vavae Tuilagi ?
(Q3472139,P27,Q3559483)
action is_in
entity Q3559483
action find
entity Q3472139
relation P27
['Q3472139', 'P27', 'Q3559483']
ASK WHERE { resource:Q3472139 property:P27 resource:Q3559483 }
Sanele Vavae Tuilagi Elatia
action is_in
entity Elatia
action find
entity Sanele Vavae Tuilagi
relation country of citizenship
['Sanele Vavae Tuilagi', 'country of citizenship', 'Elatia']
ASK WHERE { resource:Sanele_Vavae_Tuilagi property:country_of_citizenship resource:Elatia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3472139,P27,Q3559483)
action is_in
entity Q3559483
action find
entity Q3472139
relation P27
[ANSWER]
['Q3472139', 'P27', 'Q3559483']
ASK WHERE { resource:Q3472139 property:P27 resource:Q3559483 }
No
action is_in
entity Elatia
action find
entity Sanele Vavae Tuilagi
relation country of citizenship
['Sanele Vavae Tuilagi', 'country of citizenship', 'Elatia']
ASK WHERE { resource:Sanele_Vavae_Tuilagi property:country_of_citizenship resource:Elatia }
[]