Simple Question (Direct)
Simple Question
Q6456682
P69
Q3918
USER
Where was L. W. Housel educated ?
(Q6456682,P69,c(Q3918))
action filter_type
action find
entity Q6456682
relation P69
type Q3918
['Q6456682', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3918 . resource:Q6456682 property:P69 ?e }
L. W. Housel
action filter_type
action find
entity L. W. Housel
relation educated at
type university
['L. W. Housel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:university . resource:L._W._Housel property:educated_at ?e }
[]
university
Q1143289
SYSTEM
Yale Law School
Q1143289
(Q6456682,P69,c(Q3918))
action filter_type
action find
entity Q6456682
relation P69
type Q3918
L. W. Housel was educated at [ANSWER]
['Q6456682', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3918 . resource:Q6456682 property:P69 ?e }
Yale Law School
L. W. Housel was educated at Yale Law School
Yale Law School
action filter_type
action find
entity L. W. Housel
relation educated at
type university
['L. W. Housel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:university . resource:L._W._Housel property:educated_at ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1143289
P159
Q56061
USER
Which administrative territory is the headquarter location of that university ?
(Q1143289,P159,c(Q56061))
action filter_type
action find
entity Q1143289
relation P159
type Q56061
['Q1143289', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1143289 property:P159 ?f }
Yale Law School
action filter_type
action find
entity Yale Law School
relation headquarters location
type administrative territorial entity
['Yale Law School', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Yale_Law_School property:headquarters_location ?f }
[]
administrative territorial entity
Q49145
SYSTEM
New Haven
Q49145
(Q1143289,P159,c(Q56061))
action filter_type
action find
entity Q1143289
relation P159
type Q56061
[ANSWER] is the headquarter location of that university
['Q1143289', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1143289 property:P159 ?f }
New Haven
New Haven is the headquarter location of that university
New Haven
action filter_type
action find
entity Yale Law School
relation headquarters location
type administrative territorial entity
['Yale Law School', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Yale_Law_School property:headquarters_location ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1143289
P17
Q15617994
USER
Which administrative territory is that university situated in ?
(Q49145,P17,c(Q15617994))
action filter_type
action find
entity Q1143289
relation P17
type Q15617994
['Q49145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1143289 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Yale Law School
action filter_type
action find
entity Yale Law School
relation country
type designation for an administrative territorial entity
['New Haven', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yale_Law_School property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q49145,P17,c(Q15617994))
action filter_type
action find
entity Q1143289
relation P17
type Q15617994
That university is situated in [ANSWER]
['Q49145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1143289 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
That university is situated in United States of America
United States of America
action filter_type
action find
entity Yale Law School
relation country
type designation for an administrative territorial entity
['New Haven', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yale_Law_School property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q298
P840
Q15617994 Q838948 Q166142
USER
Which administrative territories are around the same number of works of art and applications set in as Chile ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q298
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?v rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P840 resource:Q298 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?t = ?g ) }
Chile
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Chile
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:application ) } . ?v rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:narrative_location resource:Chile . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?t = ?g ) }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q37 Q36 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q298
relation P840
type Q838948
type Q166142
[ANSWERS] are around the same number of works of art and applications set in as Chile
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?v rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P840 resource:Q298 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?t = ?g ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium Lithuania Poland Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia, Poland and People's Republic of China are around the same number of works of art and applications set in as Chile
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Chile
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:application ) } . ?v rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:narrative_location resource:Chile . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?t = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q769680
P840
Q15617994 Q838948 Q166142
USER
And also tell me about Bornholm?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q769680
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?h rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:P840 resource:Q769680 . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } } } . FILTER ( ?d = ?v ) }
Bornholm
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bornholm
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?l WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:application ) } . ?h rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:narrative_location resource:Bornholm . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:application ) } } } } . FILTER ( ?d = ?v ) }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q769680
relation P840
type Q838948
type Q166142
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?h rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:P840 resource:Q769680 . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } } } . FILTER ( ?d = ?v ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bornholm
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?l WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:application ) } . ?h rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:narrative_location resource:Bornholm . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:application ) } } } } . FILTER ( ?d = ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5246433 Q1143289
P69 P361
Q163740
USER
Which nonprofit organizations are Yale Law School a part of or were Dean Richards educated at ?
OR((Q1143289,P361,c(Q163740)), (Q5246433,P69,c(Q163740)))
action filter_type
action union
action find
entity Q1143289
relation P361
action find
entity Q5246433
relation P69
type Q163740
{'OR': [['Q1143289', 'P361', {'concept': 'Q163740'}], ['Q5246433', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q1143289 property:P361 ?k } UNION { resource:Q5246433 property:P69 ?k } } . ?k rdf:type ontology:Q163740 }
Dean Richards Yale Law School
action filter_type
action union
action find
entity Yale Law School
relation part of
action find
entity Dean Richards
relation educated at
type nonprofit organization
{'OR': [['Yale Law School', 'part of', {'concept': 'nonprofit organization'}], ['Dean Richards', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Yale_Law_School property:part_of ?k } UNION { resource:Dean_Richards property:educated_at ?k } } . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q5149662 Q49112
SYSTEM
Columbia College Chicago, Yale University
Q5149662 Q49112
OR((Q1143289,P361,c(Q163740)), (Q5246433,P69,c(Q163740)))
action filter_type
action union
action find
entity Q1143289
relation P361
action find
entity Q5246433
relation P69
type Q163740
[ANSWERS] are Yale Law School a part of or were Dean Richards educated at
{'OR': [['Q1143289', 'P361', {'concept': 'Q163740'}], ['Q5246433', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q1143289 property:P361 ?k } UNION { resource:Q5246433 property:P69 ?k } } . ?k rdf:type ontology:Q163740 }
Columbia College Chicago Yale University
Columbia College Chicago and Yale University are Yale Law School a part of or were Dean Richards educated at
Columbia College Chicago Yale University
action filter_type
action union
action find
entity Yale Law School
relation part of
action find
entity Dean Richards
relation educated at
type nonprofit organization
{'OR': [['Yale Law School', 'part of', {'concept': 'nonprofit organization'}], ['Dean Richards', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Yale_Law_School property:part_of ?k } UNION { resource:Dean_Richards property:educated_at ?k } } . ?k rdf:type ontology:nonprofit_organization }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P485
Q163740 Q502895
USER
Which nonprofit organizations are the archive of approximately the same number of people located as that nonprofit organization ?
(c(Q502895),P485,c(Q163740))
[{'concept': 'Q502895'}, 'P485', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { ?z property:P485 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q163740 }
[{'concept': 'common name'}, 'archives at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { ?z property:archives_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization common name
Comparative|More/Less|Single entity type|Clarification
Q49112
SYSTEM
Did you mean Yale University ?
(c(Q502895),P485,c(Q163740))
[ANSWER]
[{'concept': 'Q502895'}, 'P485', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { ?z property:P485 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q163740 }
Did you mean Yale University ?
Yale University
[{'concept': 'common name'}, 'archives at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { ?z property:archives_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P485,c(Q163740))
[{'concept': 'Q502895'}, 'P485', {'concept': 'Q163740'}]
[{'concept': 'common name'}, 'archives at', {'concept': 'nonprofit organization'}]
[]
Q13371 Q49210 Q49088
SYSTEM
Harvard University, New York University, Columbia University
Q49165 Q49210 Q49088 Q930825 Q21578 Q846859 Q13371 Q49087 Q49110 Q657222 Q41506 Q49204 Q2093794 Q2140778 Q1057447 Q995265 Q149990 Q1797448 Q1848657 Q178848 Q617433 Q2904557 Q309350 Q49112 Q1068752 Q29052 Q8215036 Q168751
(c(Q502895),P485,c(Q163740))
[ANSWERS] are the archive of approximately the same number of people located as that nonprofit organization
[{'concept': 'Q502895'}, 'P485', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { ?z property:P485 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q163740 }
Amherst College New York University Columbia University Gabinetto Vieusseux Princeton University Berea College Harvard University Fisk University Boston University Stevens Institute of Technology Stanford University Smith College Vassar College Rochester Institute of Technology Loma Linda University Bryn Mawr College University of Rochester Connecticut College University of Tulsa University of Notre Dame Syracuse University Beloit College Northwestern University Yale University Howard University Vanderbilt University University of New England Duke University
Harvard University, New York University and Columbia University are the archive of approximately the same number of people located as that nonprofit organization
Harvard University New York University Columbia University
[{'concept': 'common name'}, 'archives at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { ?z property:archives_at ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5045365
P108
Q502895
USER
Does Carolyn Graham work for those nonprofit organizations ?
(Q5045365,P108,Q13371) (Q5045365,P108,Q49210) (Q5045365,P108,Q49088)
action is_in
entity prev_answer
action find
entity Q5045365
relation P108
['Q5045365', 'P108', 'Q13371'] ['Q5045365', 'P108', 'Q49210'] ['Q5045365', 'P108', 'Q49088']
ASK WHERE { VALUES ( ?w ) { ( resource:Q49165 ) ( resource:Q49210 ) ( resource:Q49088 ) } . resource:Q5045365 property:P108 ?w }
Carolyn Graham
action is_in
entity prev_answer
action find
entity Carolyn Graham
relation employer
['Carolyn Graham', 'employer', 'Harvard University'] ['Carolyn Graham', 'employer', 'New York University'] ['Carolyn Graham', 'employer', 'Columbia University']
ASK WHERE { VALUES ( ?w ) { ( resource:Amherst_College ) ( resource:New_York_University ) ( resource:Columbia_University ) } . resource:Carolyn_Graham property:employer ?w }
[]
common name
SYSTEM
YES
(Q5045365,P108,Q13371) (Q5045365,P108,Q49210) (Q5045365,P108,Q49088)
action is_in
entity prev_answer
action find
entity Q5045365
relation P108
[ANSWER]
['Q5045365', 'P108', 'Q13371'] ['Q5045365', 'P108', 'Q49210'] ['Q5045365', 'P108', 'Q49088']
ASK WHERE { VALUES ( ?w ) { ( resource:Q49165 ) ( resource:Q49210 ) ( resource:Q49088 ) } . resource:Q5045365 property:P108 ?w }
Yes
action is_in
entity prev_answer
action find
entity Carolyn Graham
relation employer
['Carolyn Graham', 'employer', 'Harvard University'] ['Carolyn Graham', 'employer', 'New York University'] ['Carolyn Graham', 'employer', 'Columbia University']
ASK WHERE { VALUES ( ?w ) { ( resource:Amherst_College ) ( resource:New_York_University ) ( resource:Columbia_University ) } . resource:Carolyn_Graham property:employer ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1143289 Q7586947
P361
Q163740
USER
Is Yale Law School a component of St. Andrews University ?
(Q1143289,P361,Q7586947)
action is_in
entity Q7586947
action find
entity Q1143289
relation P361
['Q1143289', 'P361', 'Q7586947']
ASK WHERE { resource:Q1143289 property:P361 resource:Q7586947 }
Yale Law School St. Andrews University
action is_in
entity St. Andrews University
action find
entity Yale Law School
relation part of
['Yale Law School', 'part of', 'St. Andrews University']
ASK WHERE { resource:Yale_Law_School property:part_of resource:St._Andrews_University }
[]
nonprofit organization
SYSTEM
NO
(Q1143289,P361,Q7586947)
action is_in
entity Q7586947
action find
entity Q1143289
relation P361
[ANSWER]
['Q1143289', 'P361', 'Q7586947']
ASK WHERE { resource:Q1143289 property:P361 resource:Q7586947 }
No
action is_in
entity St. Andrews University
action find
entity Yale Law School
relation part of
['Yale Law School', 'part of', 'St. Andrews University']
ASK WHERE { resource:Yale_Law_School property:part_of resource:St._Andrews_University }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1809452 Q30
P710 P6
Q502895
USER
Which people do United States of America serve as the head of government for or were the artist who participated in 1975 World Allround Speed Skating Championships for women ?
OR((Q30,P6,c(Q502895)), (Q1809452,P710,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1809452
relation P710
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1809452', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q30 property:P6 ?p } UNION { resource:Q1809452 property:P710 ?p } } . ?p rdf:type ontology:Q502895 }
1975 World Allround Speed Skating Championships for women United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity 1975 World Allround Speed Skating Championships for women
relation participant
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['1975 World Allround Speed Skating Championships for women', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:United_States_of_America property:head_of_government ?p } UNION { resource:1975_World_Allround_Speed_Skating_Championships_for_women property:participant ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q23505 Q9960 Q11896 Q463470 Q3494795 Q213273 Q207 Q36023 Q11886951 Q260955
SYSTEM
Some of them are George H. W. Bush, Ronald Reagan, Zachary Taylor, Annie Borckink, Lisbeth Korsmo, Karin Kessow, George W. Bush, Calvin Coolidge, Paula-Irmeli Halonen, Sheila Young
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q198965 Q33866 Q35648 Q213273 Q35498 Q34296 Q467721 Q9582 Q35678 Q18702946 Q446344 Q8007 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q272590 Q7660912 Q9916 Q12312 Q11806 Q260955 Q198915 Q35286 Q7688563 Q9640 Q69744 Q12325 Q35686 Q11820 Q2907711 Q35041 Q337612 Q3494795 Q17229488 Q7513144 Q463470 Q76 Q8612 Q34836 Q23505 Q17096387 Q428784 Q23 Q1124 Q445525 Q11613 Q11896 Q11886951 Q9960 Q11891 Q436346
OR((Q30,P6,c(Q502895)), (Q1809452,P710,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1809452
relation P710
type Q502895
United States of America serve as the head of government of [ANSWERS] or were the artist participated in 1975 World Allround Speed Skating Championships for women
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1809452', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q30 property:P6 ?p } UNION { resource:Q1809452 property:P710 ?p } } . ?p rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln Erwina Ryś-Ferens Theodore Roosevelt William Howard Taft Karin Kessow Chester A. Arthur Woodrow Wilson Cathy Priestner Gerald Ford Benjamin Harrison Sophie Westenbroek Janina Korowicka Franklin Delano Roosevelt William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Connie Carpenter-Phinney Sylvia Filipsson Dwight D. Eisenhower Franklin Pierce John Adams Sheila Young Tatyana Averina Warren G. Harding Tatyana Shelekhova Lyndon B. Johnson Monika Pflug James Buchanan Rutherford B. Hayes Martin Van Buren Ann-Sofie Järnström William McKinley Sippie Tigchelaar Lisbeth Korsmo Makiko Nagaya Sigrid Sundby Annie Borckink Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush Berit Haugård Haitske Pijlman George Washington Bill Clinton Leah Poulos Harry S. Truman Zachary Taylor Paula-Irmeli Halonen Ronald Reagan James K. Polk Galina Stepanskaya
United States of America serve as the head of government of George H. W. Bush, Ronald Reagan, Zachary Taylor, Annie Borckink, Lisbeth Korsmo, Karin Kessow, George W. Bush, Calvin Coolidge, Paula-Irmeli Halonen and Sheila Young or were the artist participated in 1975 World Allround Speed Skating Championships for women
George H. W. Bush Ronald Reagan Zachary Taylor Annie Borckink Lisbeth Korsmo Karin Kessow George W. Bush Calvin Coolidge Paula-Irmeli Halonen Sheila Young
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity 1975 World Allround Speed Skating Championships for women
relation participant
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['1975 World Allround Speed Skating Championships for women', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:United_States_of_America property:head_of_government ?p } UNION { resource:1975_World_Allround_Speed_Skating_Championships_for_women property:participant ?p } } . ?p rdf:type ontology:common_name }
[]