Simple Question (Direct)
Simple Question
Q264011
P102
Q7210356
USER
Which party does Lizabeth Scott belong to ?
(Q264011,P102,c(Q7210356))
action filter_type
action find
entity Q264011
relation P102
type Q7210356
['Q264011', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q264011 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Lizabeth Scott
action filter_type
action find
entity Lizabeth Scott
relation member of political party
type political organization
['Lizabeth Scott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Lizabeth_Scott property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q264011,P102,c(Q7210356))
action filter_type
action find
entity Q264011
relation P102
type Q7210356
Lizabeth Scott belongs to [ANSWER]
['Q264011', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q264011 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Republican Party
Lizabeth Scott belongs to Republican Party
Republican Party
action filter_type
action find
entity Lizabeth Scott
relation member of political party
type political organization
['Lizabeth Scott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Lizabeth_Scott property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q264011
P734
Q82799
USER
Who has the surname Lizabeth Scott ?
(Q264011,P734,c(Q82799))
action filter_type
action find
entity Q264011
relation P734
type Q82799
['Q264011', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q264011 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Lizabeth Scott
action filter_type
action find
entity Lizabeth Scott
relation family name
type name
['Lizabeth Scott', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Lizabeth_Scott property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q12800811
SYSTEM
Scott
Q12800811
(Q264011,P734,c(Q82799))
action filter_type
action find
entity Q264011
relation P734
type Q82799
[ANSWER] has the surname Lizabeth [ANSWER]
['Q264011', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q264011 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Scott
Scott has the surname Lizabeth Scott
Scott
action filter_type
action find
entity Lizabeth Scott
relation family name
type name
['Lizabeth Scott', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Lizabeth_Scott property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q264011
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q12800811,P27,c(Q15617994))
action filter_type
action find
entity Q264011
relation P27
type Q15617994
['Q12800811', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q264011 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Lizabeth Scott
action filter_type
action find
entity Lizabeth Scott
relation country of citizenship
type designation for an administrative territorial entity
['Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lizabeth_Scott property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q12800811,P27,c(Q15617994))
action filter_type
action find
entity Q264011
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q12800811', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q264011 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Lizabeth Scott
relation country of citizenship
type designation for an administrative territorial entity
['Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lizabeth_Scott property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P6
Q502895
USER
Who are the heads of the government of that administrative territory ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q30 property:P6 ?j }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:United_States_of_America property:head_of_government ?j }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
The heads of the government of that administrative territory are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q30 property:P6 ?j }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln 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 Henry Harrison 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
The heads of the government of that administrative territory are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:United_States_of_America property:head_of_government ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P1038
Q502895
USER
Who are a relative of Donald Trump ?
(c(Q502895),P1038,Q22686)
action filter_type
action find
entity Q22686
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q22686']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q22686 property:P1038 ?b }
Donald Trump
action filter_type
action find
entity Donald Trump
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Donald Trump']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Donald_Trump property:relative ?b }
[]
common name
Q21070387 Q23600580 Q1576675
SYSTEM
Frederick Trump, Elizabeth Christ Trump, John G. Trump
Q21070387 Q23600580 Q1576675
(c(Q502895),P1038,Q22686)
action filter_type
action find
entity Q22686
relation P1038
type Q502895
A relative of Donald Trump are Elizabeth [ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q22686']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q22686 property:P1038 ?b }
Frederick Trump Elizabeth Christ Trump John G. Trump
A relative of Donald Trump are Elizabeth Frederick Trump, Elizabeth Christ Trump and John G. Trump
Frederick Trump Elizabeth Christ Trump John G. Trump
action filter_type
action find
entity Donald Trump
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Donald Trump']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Donald_Trump property:relative ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21070387 Q23600580 Q1576675
P1038
Q502895
USER
Which people are relatives of Frederick Trump, Elizabeth Christ Trump and John G. Trump ?
(Q21070387,P1038,c(Q502895)) (Q23600580,P1038,c(Q502895)) (Q1576675,P1038,c(Q502895))
action union
action filter_type
action find
entity Q21070387
relation P1038
type Q502895
action filter_type
action find
entity Q23600580
relation P1038
type Q502895
action filter_type
action find
entity Q1576675
relation P1038
type Q502895
['Q21070387', 'P1038', {'concept': 'Q502895'}] ['Q23600580', 'P1038', {'concept': 'Q502895'}] ['Q1576675', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { resource:Q21070387 property:P1038 ?b . ?b rdf:type ontology:Q502895 } UNION { resource:Q23600580 property:P1038 ?b . ?b rdf:type ontology:Q502895 } }
Frederick Trump Elizabeth Christ Trump John G. Trump
action union
action filter_type
action find
entity Frederick Trump
relation relative
type common name
action filter_type
action find
entity Elizabeth Christ Trump
relation relative
type common name
action filter_type
action find
entity John G. Trump
relation relative
type common name
['Frederick Trump', 'relative', {'concept': 'common name'}] ['Elizabeth Christ Trump', 'relative', {'concept': 'common name'}] ['John G. Trump', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { resource:Frederick_Trump property:relative ?b . ?b rdf:type ontology:common_name } UNION { resource:Elizabeth_Christ_Trump property:relative ?b . ?b rdf:type ontology:common_name } }
[]
common name
Q22686 Q22686 Q22686
SYSTEM
Donald Trump
Q22686 Q22686 Q22686
(Q21070387,P1038,c(Q502895)) (Q23600580,P1038,c(Q502895)) (Q1576675,P1038,c(Q502895))
action union
action filter_type
action find
entity Q21070387
relation P1038
type Q502895
action filter_type
action find
entity Q23600580
relation P1038
type Q502895
action filter_type
action find
entity Q1576675
relation P1038
type Q502895
[ANSWER], [ANSWER] and [ANSWER] are relatives of Frederick Trump, Elizabeth Christ Trump and John G. Trump
['Q21070387', 'P1038', {'concept': 'Q502895'}] ['Q23600580', 'P1038', {'concept': 'Q502895'}] ['Q1576675', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { resource:Q21070387 property:P1038 ?b . ?b rdf:type ontology:Q502895 } UNION { resource:Q23600580 property:P1038 ?b . ?b rdf:type ontology:Q502895 } }
Donald Trump Donald Trump Donald Trump
Donald Trump, Donald Trump and Donald Trump are relatives of Frederick Trump, Elizabeth Christ Trump and John G. Trump
Donald Trump Donald Trump Donald Trump
action union
action filter_type
action find
entity Frederick Trump
relation relative
type common name
action filter_type
action find
entity Elizabeth Christ Trump
relation relative
type common name
action filter_type
action find
entity John G. Trump
relation relative
type common name
['Frederick Trump', 'relative', {'concept': 'common name'}] ['Elizabeth Christ Trump', 'relative', {'concept': 'common name'}] ['John G. Trump', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { resource:Frederick_Trump property:relative ?b . ?b rdf:type ontology:common_name } UNION { resource:Elizabeth_Christ_Trump property:relative ?b . ?b rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22686
P410
Q12737077
USER
Which occupation has that person achieved ?
(Q22686,P410,c(Q12737077)) (Q22686,P410,c(Q12737077)) (Q22686,P410,c(Q12737077))
action filter_type
action find
entity Q22686
relation P410
type Q12737077
['Q22686', 'P410', {'concept': 'Q12737077'}] ['Q22686', 'P410', {'concept': 'Q12737077'}] ['Q22686', 'P410', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q22686 property:P410 ?w }
Donald Trump
action filter_type
action find
entity Donald Trump
relation military rank
type occupation
['Donald Trump', 'military rank', {'concept': 'occupation'}] ['Donald Trump', 'military rank', {'concept': 'occupation'}] ['Donald Trump', 'military rank', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Donald_Trump property:military_rank ?w }
[]
occupation
Q380782
SYSTEM
commander-in-chief
Q380782
(Q22686,P410,c(Q12737077)) (Q22686,P410,c(Q12737077)) (Q22686,P410,c(Q12737077))
action filter_type
action find
entity Q22686
relation P410
type Q12737077
[ANSWER] has that person achieved
['Q22686', 'P410', {'concept': 'Q12737077'}] ['Q22686', 'P410', {'concept': 'Q12737077'}] ['Q22686', 'P410', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q22686 property:P410 ?w }
commander-in-chief
Commander-in-chief has that person achieved
commander-in-chief
action filter_type
action find
entity Donald Trump
relation military rank
type occupation
['Donald Trump', 'military rank', {'concept': 'occupation'}] ['Donald Trump', 'military rank', {'concept': 'occupation'}] ['Donald Trump', 'military rank', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Donald_Trump property:military_rank ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P937
Q56061
USER
What are the locations where Donald Trump worked ?
(Q22686,P937,c(Q56061))
action filter_type
action find
entity Q22686
relation P937
type Q56061
['Q22686', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q22686 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation work location
type administrative territorial entity
['Donald Trump', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Trump property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q22686,P937,c(Q56061))
action filter_type
action find
entity Q22686
relation P937
type Q56061
[ANSWERS]
['Q22686', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q22686 property:P937 ?g . ?g rdf:type ontology:Q56061 }
New York City Washington, D.C.
The locations Donald Trump worked are in New York City and Washington, D.C.
New York City Washington, D.C.
action filter_type
action find
entity Donald Trump
relation work location
type administrative territorial entity
['Donald Trump', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Trump property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]