Simple Question (Direct)
Simple Question
Q5052114
P69
Q163740
USER
Which nonprofit organization is the alma mater of Catharine Young ?
(Q5052114,P69,c(Q163740))
action filter_type
action find
entity Q5052114
relation P69
type Q163740
['Q5052114', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5052114 property:P69 ?g . ?g rdf:type ontology:Q163740 }
Catharine Young
action filter_type
action find
entity Catharine Young
relation educated at
type nonprofit organization
['Catharine Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Catharine_Young property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q93662
SYSTEM
St. Bonaventure University
Q93662
(Q5052114,P69,c(Q163740))
action filter_type
action find
entity Q5052114
relation P69
type Q163740
[ANSWER] is the alma mater of Catharine Young
['Q5052114', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5052114 property:P69 ?g . ?g rdf:type ontology:Q163740 }
St. Bonaventure University
St. Bonaventure University is the alma mater of Catharine Young
St. Bonaventure University
action filter_type
action find
entity Catharine Young
relation educated at
type nonprofit organization
['Catharine Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Catharine_Young property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5052114
P106
Q12737077
USER
Which occupation is the profession of Catharine Young ?
(Q5052114,P106,c(Q12737077))
action filter_type
action find
entity Q5052114
relation P106
type Q12737077
['Q5052114', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5052114 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Catharine Young
action filter_type
action find
entity Catharine Young
relation occupation
type occupation
['Catharine Young', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Catharine_Young property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5052114,P106,c(Q12737077))
action filter_type
action find
entity Q5052114
relation P106
type Q12737077
So [ANSWER] is the profession of Catharine Young
['Q5052114', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5052114 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
So politician is the profession of Catharine Young
politician
action filter_type
action find
entity Catharine Young
relation occupation
type occupation
['Catharine Young', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Catharine_Young property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17643848 Q5052114
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Catharine Young or are Bellasis Bridge located in ?
OR((Q5052114,P27,c(Q15617994)), (Q17643848,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5052114
relation P27
action find
entity Q17643848
relation P17
type Q15617994
{'OR': [['Q5052114', 'P27', {'concept': 'Q15617994'}], ['Q17643848', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5052114 property:P27 ?j } UNION { resource:Q17643848 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Bellasis Bridge Catharine Young
action filter_type
action union
action find
entity Catharine Young
relation country of citizenship
action find
entity Bellasis Bridge
relation country
type designation for an administrative territorial entity
{'OR': [['Catharine Young', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bellasis Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Catharine_Young property:country_of_citizenship ?j } UNION { resource:Bellasis_Bridge property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q5052114,P27,c(Q15617994)), (Q17643848,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5052114
relation P27
action find
entity Q17643848
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q5052114', 'P27', {'concept': 'Q15617994'}], ['Q17643848', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5052114 property:P27 ?j } UNION { resource:Q17643848 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
United States of America United Kingdom
Which administrative territories are the countries of citizenship of Catharine Young or are Bellasis Bridge located in
United States of America United Kingdom
action filter_type
action union
action find
entity Catharine Young
relation country of citizenship
action find
entity Bellasis Bridge
relation country
type designation for an administrative territorial entity
{'OR': [['Catharine Young', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bellasis Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Catharine_Young property:country_of_citizenship ?j } UNION { resource:Bellasis_Bridge property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1227237
P17
Q930933
USER
Are United Kingdom–United States relations located in those administrative territories ?
(Q1227237,P17,Q30) (Q1227237,P17,Q145)
action is_in
entity prev_answer
action find
entity Q1227237
relation P17
['Q1227237', 'P17', 'Q30'] ['Q1227237', 'P17', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q1227237 property:P17 ?p }
United Kingdom–United States relations
action is_in
entity prev_answer
action find
entity United Kingdom–United States relations
relation country
['United Kingdom–United States relations', 'country', 'United States of America'] ['United Kingdom–United States relations', 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:United_Kingdom–United_States_relations property:country ?p }
[]
relationship
SYSTEM
YES
(Q1227237,P17,Q30) (Q1227237,P17,Q145)
action is_in
entity prev_answer
action find
entity Q1227237
relation P17
[ANSWER]
['Q1227237', 'P17', 'Q30'] ['Q1227237', 'P17', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q1227237 property:P17 ?p }
Yes
action is_in
entity prev_answer
action find
entity United Kingdom–United States relations
relation country
['United Kingdom–United States relations', 'country', 'United States of America'] ['United Kingdom–United States relations', 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:United_Kingdom–United_States_relations property:country ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12308162 Q30
P162 P6
Q502895
USER
Which people are the head of government of United States of America or produced The Old Mill on Mols ?
OR((Q30,P6,c(Q502895)), (Q12308162,P162,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q12308162
relation P162
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q12308162', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P6 ?g } UNION { resource:Q12308162 property:P162 ?g } } . ?g rdf:type ontology:Q502895 }
The Old Mill on Mols United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity The Old Mill on Mols
relation producer
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['The Old Mill on Mols', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:head_of_government ?g } UNION { resource:The_Old_Mill_on_Mols property:producer ?g } } . ?g rdf:type ontology:common_name }
[]
common name
Q91 Q34836 Q23 Q23505 Q11869 Q9640 Q35686 Q34597 Q36023 Q11813
SYSTEM
Some of them are Abraham Lincoln, Ulysses S. Grant, George Washington, George H. W. Bush, William Henry Harrison, Lyndon B. Johnson, Rutherford B. Hayes, James A. Garfield, Calvin Coolidge, James Madison
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q7235521 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q12308162,P162,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q12308162
relation P162
type Q502895
[ANSWERS] are the head of government of United States of America or produced The Old Mill on Mols
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q12308162', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P6 ?g } UNION { resource:Q12308162 property:P162 ?g } } . ?g rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur 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 Poul Bang 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
Abraham Lincoln, Ulysses S. Grant, George Washington, George H. W. Bush, William Henry Harrison, Lyndon B. Johnson, Rutherford B. Hayes, James A. Garfield, Calvin Coolidge and James Madison are the head of government of United States of America or produced The Old Mill on Mols
Abraham Lincoln Ulysses S. Grant George Washington George H. W. Bush William Henry Harrison Lyndon B. Johnson Rutherford B. Hayes James A. Garfield Calvin Coolidge James Madison
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity The Old Mill on Mols
relation producer
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['The Old Mill on Mols', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:head_of_government ?g } UNION { resource:The_Old_Mill_on_Mols property:producer ?g } } . ?g rdf:type ontology:common_name }
[]