Simple Question (Direct)
Simple Question
Q5219411
P106
Q12737077
USER
Which occupations are the professions of Danielle Moore ?
(Q5219411,P106,c(Q12737077))
action filter_type
action find
entity Q5219411
relation P106
type Q12737077
['Q5219411', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5219411 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Danielle Moore
action filter_type
action find
entity Danielle Moore
relation occupation
type occupation
['Danielle Moore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Danielle_Moore property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955 Q37226
SYSTEM
politician, teacher
Q82955 Q37226
(Q5219411,P106,c(Q12737077))
action filter_type
action find
entity Q5219411
relation P106
type Q12737077
The professions of Danielle Moore are the [ANSWERS]
['Q5219411', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5219411 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician teacher
The professions of Danielle Moore are the politician and teacher
politician teacher
action filter_type
action find
entity Danielle Moore
relation occupation
type occupation
['Danielle Moore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Danielle_Moore property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5219411
P21
Q290
USER
Which sex does Danielle Moore belong to ?
(Q5219411,P21,c(Q290))
action filter_type
action find
entity Q5219411
relation P21
type Q290
['Q5219411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5219411 property:P21 ?l . ?l rdf:type ontology:Q290 }
Danielle Moore
action filter_type
action find
entity Danielle Moore
relation gender
type sex
['Danielle Moore', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Danielle_Moore property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5219411,P21,c(Q290))
action filter_type
action find
entity Q5219411
relation P21
type Q290
Danielle Moore belongs to [ANSWER]
['Q5219411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5219411 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
Danielle Moore belongs to female
female
action filter_type
action find
entity Danielle Moore
relation gender
type sex
['Danielle Moore', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Danielle_Moore property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6056665 Q5219411
P27
Q15617994
USER
Which administrative territories are Danielle Moore or Mehmet Zaman Saçlıoğlu a civilian of ?
OR((Q5219411,P27,c(Q15617994)), (Q6056665,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5219411
relation P27
action find
entity Q6056665
relation P27
type Q15617994
{'OR': [['Q5219411', 'P27', {'concept': 'Q15617994'}], ['Q6056665', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6056665 property:P27 ?e } UNION { resource:Q5219411 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Mehmet Zaman Saçlıoğlu Danielle Moore
action filter_type
action union
action find
entity Danielle Moore
relation country of citizenship
action find
entity Mehmet Zaman Saçlıoğlu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Danielle Moore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mehmet Zaman Saçlıoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mehmet_Zaman_Saçlıoğlu property:country_of_citizenship ?e } UNION { resource:Danielle_Moore property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q43
SYSTEM
United States of America, Turkey
Q30 Q43
OR((Q5219411,P27,c(Q15617994)), (Q6056665,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5219411
relation P27
action find
entity Q6056665
relation P27
type Q15617994
[ANSWERS] are Danielle Moore or Mehmet Zaman Saçlıoğlu a civilian of
{'OR': [['Q5219411', 'P27', {'concept': 'Q15617994'}], ['Q6056665', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6056665 property:P27 ?e } UNION { resource:Q5219411 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America Turkey
United States of America and Turkey are Danielle Moore or Mehmet Zaman Saçlıoğlu a civilian of
United States of America Turkey
action filter_type
action union
action find
entity Danielle Moore
relation country of citizenship
action find
entity Mehmet Zaman Saçlıoğlu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Danielle Moore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mehmet Zaman Saçlıoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mehmet_Zaman_Saçlıoğlu property:country_of_citizenship ?e } UNION { resource:Danielle_Moore property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q43
P6
Q502895
USER
Which people do those administrative territories serve as the head of government for ?
(Q30,P6,c(Q502895)) (Q43,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q43', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q43 ) } . ?i rdf:type ontology:Q502895 . ?a property:P6 ?i }
United States of America Turkey
action filter_type
action find
entity prev_answer
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Turkey', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Turkey ) } . ?i rdf:type ontology:common_name . ?a property:head_of_government ?i }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q863496 Q366692 Q58198 Q151729 Q39259 Q243550 Q42852 Q375687 Q180280 Q192634 Q558287 Q1348747 Q208377
(Q30,P6,c(Q502895)) (Q43,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
Those administrative territories serve as the head of government for [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}] ['Q43', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q43 ) } . ?i rdf:type ontology:Q502895 . ?a property:P6 ?i }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk Binali Yıldırım Mesut Yılmaz Ahmet Davutoğlu Süleyman Demirel Recep Tayyip Erdoğan Necmettin Erbakan Abdullah Gül Bülend Ulusu Turgut Özal Bülent Ecevit Yıldırım Akbulut Erdal İnönü Tansu Çiller
Those administrative territories serve as the head of government for Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity prev_answer
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Turkey', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Turkey ) } . ?i rdf:type ontology:common_name . ?a property:head_of_government ?i }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q76 Q9916 Q22686
P25
Q502895
USER
Which people were the mother of those ones ?
(Q76,P25,c(Q502895)) (Q9916,P25,c(Q502895)) (Q22686,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
['Q76', 'P25', {'concept': 'Q502895'}] ['Q9916', 'P25', {'concept': 'Q502895'}] ['Q22686', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?w property:P25 ?a . VALUES ( ?w ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity prev_answer
relation mother
type common name
['Barack Obama', 'mother', {'concept': 'common name'}] ['Dwight D. Eisenhower', 'mother', {'concept': 'common name'}] ['Donald Trump', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?w property:mother ?a . VALUES ( ?w ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
common name
Q766106 Q15997423 Q22952511
SYSTEM
Ann Dunham, Ida Stover Eisenhower, Mary Anne MacLeod
Q766106 Q15997423 Q22952511
(Q76,P25,c(Q502895)) (Q9916,P25,c(Q502895)) (Q22686,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
[ANSWERS] were the mother of those ones
['Q76', 'P25', {'concept': 'Q502895'}] ['Q9916', 'P25', {'concept': 'Q502895'}] ['Q22686', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?w property:P25 ?a . VALUES ( ?w ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
Ann Dunham Ida Stover Eisenhower Mary Anne MacLeod
Ann Dunham, Ida Stover Eisenhower and Mary Anne MacLeod were the mother of those ones
Ann Dunham Ida Stover Eisenhower Mary Anne MacLeod
action filter_type
action find
entity prev_answer
relation mother
type common name
['Barack Obama', 'mother', {'concept': 'common name'}] ['Dwight D. Eisenhower', 'mother', {'concept': 'common name'}] ['Donald Trump', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?w property:mother ?a . VALUES ( ?w ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q766106 Q15997423 Q22952511
P40
Q502895
USER
Which people are an offsprings of those ones ?
(Q766106,P40,c(Q502895)) (Q15997423,P40,c(Q502895)) (Q22952511,P40,c(Q502895))
action filter_type
action find
entity prev_answer
relation P40
type Q502895
['Q766106', 'P40', {'concept': 'Q502895'}] ['Q15997423', 'P40', {'concept': 'Q502895'}] ['Q22952511', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?v property:P40 ?q . ?q rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q766106 ) ( resource:Q15997423 ) ( resource:Q22952511 ) } }
Ann Dunham Ida Stover Eisenhower Mary Anne MacLeod
action filter_type
action find
entity prev_answer
relation child
type common name
['Ann Dunham', 'child', {'concept': 'common name'}] ['Ida Stover Eisenhower', 'child', {'concept': 'common name'}] ['Mary Anne MacLeod', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?v property:child ?q . ?q rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Ann_Dunham ) ( resource:Ida_Stover_Eisenhower ) ( resource:Mary_Anne_MacLeod ) } }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q76 Q4382677 Q5337394 Q5325810 Q4501243 Q9916 Q22686 Q736223
(Q766106,P40,c(Q502895)) (Q15997423,P40,c(Q502895)) (Q22952511,P40,c(Q502895))
action filter_type
action find
entity prev_answer
relation P40
type Q502895
[ANSWERS] are an offsprings of those ones
['Q766106', 'P40', {'concept': 'Q502895'}] ['Q15997423', 'P40', {'concept': 'Q502895'}] ['Q22952511', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?v property:P40 ?q . ?q rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q766106 ) ( resource:Q15997423 ) ( resource:Q22952511 ) } }
Barack Obama Maya Soetoro-Ng Edgar N. Eisenhower Earl D. Eisenhower Milton S. Eisenhower Dwight D. Eisenhower Donald Trump Maryanne Trump Barry
Barack Obama, Dwight D. Eisenhower and Donald Trump are an offsprings of those ones
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity prev_answer
relation child
type common name
['Ann Dunham', 'child', {'concept': 'common name'}] ['Ida Stover Eisenhower', 'child', {'concept': 'common name'}] ['Mary Anne MacLeod', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?v property:child ?q . ?q rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Ann_Dunham ) ( resource:Ida_Stover_Eisenhower ) ( resource:Mary_Anne_MacLeod ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q76 Q9916 Q22686
P166
Q618779
USER
Which awards were received by Barack Obama, Dwight D. Eisenhower and Donald Trump ?
(Q76,P166,c(Q618779)) (Q9916,P166,c(Q618779)) (Q22686,P166,c(Q618779))
action union
action filter_type
action find
entity Q76
relation P166
type Q618779
action filter_type
action find
entity Q9916
relation P166
type Q618779
action filter_type
action find
entity Q22686
relation P166
type Q618779
['Q76', 'P166', {'concept': 'Q618779'}] ['Q9916', 'P166', {'concept': 'Q618779'}] ['Q22686', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { resource:Q76 property:P166 ?k . ?k rdf:type ontology:Q618779 } UNION { resource:Q9916 property:P166 ?k . ?k rdf:type ontology:Q618779 } }
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find
entity Barack Obama
relation award received
type award
action filter_type
action find
entity Dwight D. Eisenhower
relation award received
type award
action filter_type
action find
entity Donald Trump
relation award received
type award
['Barack Obama', 'award received', {'concept': 'award'}] ['Dwight D. Eisenhower', 'award received', {'concept': 'award'}] ['Donald Trump', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { resource:Barack_Obama property:award_received ?k . ?k rdf:type ontology:award } UNION { resource:Dwight_D._Eisenhower property:award_received ?k . ?k rdf:type ontology:award } }
[]
award
Q5593890 Q7241175 Q20966518
SYSTEM
Grammy Award for Best Spoken Word Album, Presidential Medal of Distinction, grand cross of the Order of the White Lion
Q16900574 Q5593890 Q7241175 Q93911 Q20966518 Q465316 Q757645 Q1376304 Q48915 Q15715257 Q944955 Q641316
(Q76,P166,c(Q618779)) (Q9916,P166,c(Q618779)) (Q22686,P166,c(Q618779))
action union
action filter_type
action find
entity Q76
relation P166
type Q618779
action filter_type
action find
entity Q9916
relation P166
type Q618779
action filter_type
action find
entity Q22686
relation P166
type Q618779
[ANSWERS] were received by Barack Obama, Dwight D. Eisenhower and Donald Trump
['Q76', 'P166', {'concept': 'Q618779'}] ['Q9916', 'P166', {'concept': 'Q618779'}] ['Q22686', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { resource:Q76 property:P166 ?k . ?k rdf:type ontology:Q618779 } UNION { resource:Q9916 property:P166 ?k . ?k rdf:type ontology:Q618779 } }
NAACP Image Award for Outstanding Literary Work, Nonfiction Grammy Award for Best Spoken Word Album Presidential Medal of Distinction Order of the Royal House of Chakri grand cross of the Order of the White Lion Order of Victory Atoms for Peace Award European-African-Middle Eastern Campaign Medal Croix de guerre Grand Cross of the Order of Polonia Restituta Virtuti Militari Golden Raspberry Award for Worst Supporting Actor
Grammy Award for Best Spoken Word Album, Presidential Medal of Distinction and grand cross of the Order of the White Lion were received by Barack Obama, Dwight D. Eisenhower and Donald Trump
Grammy Award for Best Spoken Word Album Presidential Medal of Distinction grand cross of the Order of the White Lion
action union
action filter_type
action find
entity Barack Obama
relation award received
type award
action filter_type
action find
entity Dwight D. Eisenhower
relation award received
type award
action filter_type
action find
entity Donald Trump
relation award received
type award
['Barack Obama', 'award received', {'concept': 'award'}] ['Dwight D. Eisenhower', 'award received', {'concept': 'award'}] ['Donald Trump', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { resource:Barack_Obama property:award_received ?k . ?k rdf:type ontology:award } UNION { resource:Dwight_D._Eisenhower property:award_received ?k . ?k rdf:type ontology:award } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766106
P26
Q502895
USER
Which people are married to Ann Dunham ?
(c(Q502895),P26,Q766106)
action filter_type
action find
entity Q766106
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q766106']
SELECT DISTINCT ?o WHERE { resource:Q766106 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Ann Dunham
action filter_type
action find
entity Ann Dunham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ann Dunham']
SELECT DISTINCT ?o WHERE { resource:Ann_Dunham property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q4115068 Q649593
SYSTEM
Lolo Soetoro, Barack Obama, Sr.
Q4115068 Q649593
(c(Q502895),P26,Q766106)
action filter_type
action find
entity Q766106
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q766106']
SELECT DISTINCT ?o WHERE { resource:Q766106 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Lolo Soetoro Barack Obama, Sr.
Lolo Soetoro and Barack Obama, Sr. are married to Ann Dunham
Lolo Soetoro Barack Obama, Sr.
action filter_type
action find
entity Ann Dunham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ann Dunham']
SELECT DISTINCT ?o WHERE { resource:Ann_Dunham property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4115068 Q649593
P26
Q502895
USER
Which people are the spouses of Lolo Soetoro and Barack Obama, Sr. ?
(Q4115068,P26,c(Q502895)) (Q649593,P26,c(Q502895))
action union
action filter_type
action find
entity Q4115068
relation P26
type Q502895
action filter_type
action find
entity Q649593
relation P26
type Q502895
['Q4115068', 'P26', {'concept': 'Q502895'}] ['Q649593', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q4115068 property:P26 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q649593 property:P26 ?q . ?q rdf:type ontology:Q502895 } }
Lolo Soetoro Barack Obama, Sr.
action union
action filter_type
action find
entity Lolo Soetoro
relation spouse
type common name
action filter_type
action find
entity Barack Obama, Sr.
relation spouse
type common name
['Lolo Soetoro', 'spouse', {'concept': 'common name'}] ['Barack Obama, Sr.', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Lolo_Soetoro property:spouse ?q . ?q rdf:type ontology:common_name } UNION { resource:Barack_Obama,_Sr. property:spouse ?q . ?q rdf:type ontology:common_name } }
[]
common name
Q766106 Q766106 Q15982183
SYSTEM
Ann Dunham for 1st, 2nd, Kezia Obama for 3rd
Q766106 Q766106 Q15982183 Q15982192
(Q4115068,P26,c(Q502895)) (Q649593,P26,c(Q502895))
action union
action filter_type
action find
entity Q4115068
relation P26
type Q502895
action filter_type
action find
entity Q649593
relation P26
type Q502895
[ANSWERS]
['Q4115068', 'P26', {'concept': 'Q502895'}] ['Q649593', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q4115068 property:P26 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q649593 property:P26 ?q . ?q rdf:type ontology:Q502895 } }
Ann Dunham Ann Dunham Kezia Obama Ruth Ndesandjo
Ann Dunham, Ann Dunham and Kezia Obama are the spouses of Lolo Soetoro and Barack Obama, Sr.
Ann Dunham Ann Dunham Kezia Obama
action union
action filter_type
action find
entity Lolo Soetoro
relation spouse
type common name
action filter_type
action find
entity Barack Obama, Sr.
relation spouse
type common name
['Lolo Soetoro', 'spouse', {'concept': 'common name'}] ['Barack Obama, Sr.', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Lolo_Soetoro property:spouse ?q . ?q rdf:type ontology:common_name } UNION { resource:Barack_Obama,_Sr. property:spouse ?q . ?q rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15982183
P734
Q82799
USER
Who has the surname that person ?
(Q15982183,P734,c(Q82799))
action filter_type
action find
entity Q15982183
relation P734
type Q82799
['Q15982183', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q15982183 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Kezia Obama
action filter_type
action find
entity Kezia Obama
relation family name
type name
['Kezia Obama', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Kezia_Obama property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q15982183
SYSTEM
Did you mean Kezia Obama ?
Q766106 Q766106 Q15982183
(Q766106,P734,c(Q82799)) (Q766106,P734,c(Q82799)) (Q15982183,P734,c(Q82799))
[ANSWER]
['Q766106', 'P734', {'concept': 'Q82799'}] ['Q766106', 'P734', {'concept': 'Q82799'}] ['Q15982183', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q15982183 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Ann Dunham Ann Dunham Kezia Obama
Did you mean Kezia Obama ?
Kezia Obama
['Ann Dunham', 'family name', {'concept': 'name'}] ['Ann Dunham', 'family name', {'concept': 'name'}] ['Kezia Obama', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Kezia_Obama property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15982183,P734,c(Q82799))
['Q15982183', 'P734', {'concept': 'Q82799'}]
['Kezia Obama', 'family name', {'concept': 'name'}]
[]
Q5280414
SYSTEM
Obama
Q5280414
(Q15982183,P734,c(Q82799))
action filter_type
action find
entity Q15982183
relation P734
type Q82799
[ANSWER] has the surname that person
['Q15982183', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q15982183 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Obama
Obama has the surname that person
Obama
action filter_type
action find
entity Kezia Obama
relation family name
type name
['Kezia Obama', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Kezia_Obama property:family_name ?d . ?d rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5280414 Q15982321
P734
Q502895
USER
Does Abo Obama have that one as last name ?
(Q15982321,P734,Q5280414)
action is_in
entity Q5280414
action find
entity Q15982321
relation P734
['Q15982321', 'P734', 'Q5280414']
ASK WHERE { resource:Q15982321 property:P734 resource:Q5280414 }
Obama Abo Obama
action is_in
entity Obama
action find
entity Abo Obama
relation family name
['Abo Obama', 'family name', 'Obama']
ASK WHERE { resource:Abo_Obama property:family_name resource:Obama }
[]
common name
SYSTEM
YES
(Q15982321,P734,Q5280414)
action is_in
entity Q5280414
action find
entity Q15982321
relation P734
[ANSWER]
['Q15982321', 'P734', 'Q5280414']
ASK WHERE { resource:Q15982321 property:P734 resource:Q5280414 }
Yes
action is_in
entity Obama
action find
entity Abo Obama
relation family name
['Abo Obama', 'family name', 'Obama']
ASK WHERE { resource:Abo_Obama property:family_name resource:Obama }
[]