Simple Question (Direct)
Simple Question
Q1356390
P20
Q56061
USER
Where did William Graham Sumner expire ?
(Q1356390,P20,c(Q56061))
action filter_type
action find
entity Q1356390
relation P20
type Q56061
['Q1356390', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1356390 property:P20 ?q . ?q rdf:type ontology:Q56061 }
William Graham Sumner
action filter_type
action find
entity William Graham Sumner
relation place of death
type administrative territorial entity
['William Graham Sumner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:William_Graham_Sumner property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49145
SYSTEM
New Haven
Q49145
(Q1356390,P20,c(Q56061))
action filter_type
action find
entity Q1356390
relation P20
type Q56061
William Graham Sumner expired in [ANSWER]
['Q1356390', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1356390 property:P20 ?q . ?q rdf:type ontology:Q56061 }
New Haven
William Graham Sumner expired in New Haven
New Haven
action filter_type
action find
entity William Graham Sumner
relation place of death
type administrative territorial entity
['William Graham Sumner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:William_Graham_Sumner property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49145
P47
Q56061
USER
Which administrative territory has a shared border with that one ?
(Q49145,P47,c(Q56061))
action filter_type
action find
entity Q49145
relation P47
type Q56061
['Q49145', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q49145 property:P47 ?i . ?i rdf:type ontology:Q56061 }
New Haven
action filter_type
action find
entity New Haven
relation shares border with
type administrative territorial entity
['New Haven', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:New_Haven property:shares_border_with ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54219
SYSTEM
West Haven
Q54219
(Q49145,P47,c(Q56061))
action filter_type
action find
entity Q49145
relation P47
type Q56061
Of [ANSWER] has a shared border with that one
['Q49145', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q49145 property:P47 ?i . ?i rdf:type ontology:Q56061 }
West Haven
Of West Haven has a shared border with that one
West Haven
action filter_type
action find
entity New Haven
relation shares border with
type administrative territorial entity
['New Haven', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:New_Haven property:shares_border_with ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49145
P551
Q502895
USER
Which people dwell at New Haven ?
(c(Q502895),P551,Q49145)
action filter_type
action find_reverse
entity Q49145
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q49145']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q49145 . ?g rdf:type ontology:Q502895 }
New Haven
action filter_type
action find_reverse
entity New Haven
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'New Haven']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:New_Haven . ?g rdf:type ontology:common_name }
[]
common name
Q4806029 Q722473 Q15432950
SYSTEM
Ashton Carter, Alfred Terry, Paul Hudak
Q5362128 Q5702209 Q4806029 Q722473 Q5017880 Q15432950 Q5044303 Q16729033 Q16215537
(c(Q502895),P551,Q49145)
action filter_type
action find_reverse
entity Q49145
relation P551
type Q502895
[ANSWERS] dwell at New Haven
[{'concept': 'Q502895'}, 'P551', 'Q49145']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q49145 . ?g rdf:type ontology:Q502895 }
Eliza Fenwick Helen Eugenia Hagan Ashton Carter Alfred Terry Caitlin Cahow Paul Hudak Carol Diehl Joshua Foer Laurie R. Santos
Ashton Carter, Alfred Terry and Paul Hudak dwell at New Haven
Ashton Carter Alfred Terry Paul Hudak
action filter_type
action find_reverse
entity New Haven
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'New Haven']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:New_Haven . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1356390
P108
Q163740
USER
Which nonprofit organization is the employer of William Graham Sumner ?
(Q1356390,P108,c(Q163740))
action filter_type
action find
entity Q1356390
relation P108
type Q163740
['Q1356390', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q1356390 property:P108 ?c . ?c rdf:type ontology:Q163740 }
William Graham Sumner
action filter_type
action find
entity William Graham Sumner
relation employer
type nonprofit organization
['William Graham Sumner', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:William_Graham_Sumner property:employer ?c . ?c rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q1356390,P108,c(Q163740))
action filter_type
action find
entity Q1356390
relation P108
type Q163740
The [ANSWER] is the employer of William Graham Sumner
['Q1356390', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q1356390 property:P108 ?c . ?c rdf:type ontology:Q163740 }
Yale University
The Yale University is the employer of William Graham Sumner
Yale University
action filter_type
action find
entity William Graham Sumner
relation employer
type nonprofit organization
['William Graham Sumner', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:William_Graham_Sumner property:employer ?c . ?c rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1356390
P463
Q811430
USER
Which organization was that person a member of ?
(Q49112,P463,c(Q811430))
action filter_type
action find
entity Q1356390
relation P463
type Q811430
['Q49112', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q1356390 property:P463 ?w . ?w rdf:type ontology:Q811430 }
William Graham Sumner
action filter_type
action find
entity William Graham Sumner
relation member of
type construction
['Yale University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:William_Graham_Sumner property:member_of ?w . ?w rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q49112,P463,c(Q811430))
action filter_type
action find
entity Q1356390
relation P463
type Q811430
[ANSWER] was that person a member of
['Q49112', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q1356390 property:P463 ?w . ?w rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences was that person a member of
American Academy of Arts and Sciences
action filter_type
action find
entity William Graham Sumner
relation member of
type construction
['Yale University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:William_Graham_Sumner property:member_of ?w . ?w rdf:type ontology:construction }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49145
P740
Q43229 Q2088357
USER
How many organizations or musical ensembles were formed at New Haven ?
(c(Q43229),P740,Q49145) (c(Q2088357),P740,Q49145)
action count
action union
action filter_type
action find_reverse
entity Q49145
relation P740
type Q43229
action filter_type
action find_reverse
entity Q49145
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q49145'] [{'concept': 'Q2088357'}, 'P740', 'Q49145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P740 resource:Q49145 . ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q2088357 . ?c property:P740 resource:Q49145 } }
New Haven
action count
action union
action filter_type
action find_reverse
entity New Haven
relation location of formation
type organization
action filter_type
action find_reverse
entity New Haven
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'New Haven'] [{'concept': 'musical ensemble'}, 'location of formation', 'New Haven']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:location_of_formation resource:New_Haven . ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:musical_ensemble . ?c property:location_of_formation resource:New_Haven } }
[]
organization musical ensemble
SYSTEM
7
Q1469447 Q6106802 Q7715260 Q6164084 Q22121839 Q5422838 Q7758994
(c(Q43229),P740,Q49145) (c(Q2088357),P740,Q49145)
action count
action union
action filter_type
action find_reverse
entity Q49145
relation P740
type Q43229
action filter_type
action find_reverse
entity Q49145
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q49145'] [{'concept': 'Q2088357'}, 'P740', 'Q49145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P740 resource:Q49145 . ?c rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q2088357 . ?c property:P740 resource:Q49145 } }
Winchester Repeating Arms Company J. Press The Backyard Committee Jasper Wrath Haste Eyes of the Dead The Queen Killing Kings
7
action count
action union
action filter_type
action find_reverse
entity New Haven
relation location of formation
type organization
action filter_type
action find_reverse
entity New Haven
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'New Haven'] [{'concept': 'musical ensemble'}, 'location of formation', 'New Haven']
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:location_of_formation resource:New_Haven . ?c rdf:type ontology:organization } UNION { ?c rdf:type ontology:musical_ensemble . ?c property:location_of_formation resource:New_Haven } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49145
P190
Q20667921 Q15617994
USER
How many french administrative divisions or administrative territories are sister town of New Haven ?
(c(Q20667921),P190,Q49145) (c(Q15617994),P190,Q49145)
action count
action union
action filter_type
action find_reverse
entity Q49145
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q49145
relation P190
type Q15617994
[{'concept': 'Q20667921'}, 'P190', 'Q49145'] [{'concept': 'Q15617994'}, 'P190', 'Q49145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u property:P190 resource:Q49145 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P190 resource:Q49145 . ?u rdf:type ontology:Q20667921 } }
New Haven
action count
action union
action filter_type
action find_reverse
entity New Haven
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity New Haven
relation sister city
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'sister city', 'New Haven'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'New Haven']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u property:sister_city resource:New_Haven . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:sister_city resource:New_Haven . ?u rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
2
Q80563 Q6397
(c(Q20667921),P190,Q49145) (c(Q15617994),P190,Q49145)
action count
action union
action filter_type
action find_reverse
entity Q49145
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q49145
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q49145'] [{'concept': 'Q15617994'}, 'P190', 'Q49145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u property:P190 resource:Q49145 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P190 resource:Q49145 . ?u rdf:type ontology:Q20667921 } }
Amalfi Avignon
2
action count
action union
action filter_type
action find_reverse
entity New Haven
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity New Haven
relation sister city
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'sister city', 'New Haven'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'New Haven']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u property:sister_city resource:New_Haven . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:sister_city resource:New_Haven . ?u rdf:type ontology:type_of_french_administrative_division } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q49145
P20
Q502895
USER
How many people have New Haven as the area of death ?
(c(Q502895),P20,Q49145)
action count
action filter_type
action find_reverse
entity Q49145
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q49145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P20 resource:Q49145 . ?c rdf:type ontology:Q502895 }
New Haven
action count
action filter_type
action find_reverse
entity New Haven
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'New Haven']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:place_of_death resource:New_Haven . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
254
Q945209 Q16031490 Q6180805 Q3300213 Q888166 Q8014127 Q2435293 Q2043572 Q722473 Q1573454 Q1505457 Q451660 Q599859 Q1985999 Q214375 Q446620 Q8022993 Q1173550 Q1974500 Q3676005 Q1332601 Q3196900 Q719860 Q3453468 Q20679312 Q1701184 Q1271100 Q1178933 Q19560775 Q2581051 Q474225 Q1690837 Q184992 Q3809447 Q211776 Q5392073 Q191095 Q1399298 Q917310 Q4821317 Q2623977 Q5113352 Q1627921 Q880411 Q5006309 Q510363 Q578405 Q7788426 Q365672 Q3934584 Q373534 Q110968 Q1452702 Q1293022 Q3822582 Q882489 Q1386080 Q3381052 Q7781764 Q384062 Q4747853 Q6964870 Q663550 Q2642732 Q5343793 Q1441522 Q2425668 Q522920 Q175205 Q4666542 Q6290664 Q1370149 Q28882 Q5672080 Q12345568 Q2422961 Q6778759 Q1038976 Q220708 Q884940 Q6180718 Q1606444 Q2638987 Q2654825 Q45641 Q2577771 Q16334802 Q2422175 Q17155884 Q7788899 Q3100310 Q2348836 Q1659660 Q1679904 Q1107831 Q7972968 Q2916038 Q1507757 Q649387 Q472498 Q2923716 Q718691 Q720118 Q2642173 Q330567 Q1108535 Q16003639 Q354721 Q12538981 Q18515529 Q2915226 Q738941 Q1686158 Q84150 Q7787097 Q536718 Q3830297 Q547352 Q5258124 Q5721127 Q1190727 Q329972 Q6964697 Q15905539 Q1607220 Q4386898 Q66227 Q4334178 Q6471466 Q5354457 Q573847 Q89901 Q3328844 Q7787055 Q1356390 Q3877583 Q8463086 Q3313135 Q449935 Q1532393 Q1331367 Q1538115 Q433868 Q215957 Q15129964 Q1702220 Q11190869 Q153243 Q885957 Q230136 Q6160029 Q1613625 Q639106 Q6228530 Q7360158 Q1066996 Q1176713 Q7025184 Q299756 Q516683 Q727677 Q6129812 Q6915743 Q3719039 Q15989734 Q5287015 Q374341 Q8013979 Q4678235 Q2342011 Q1136035 Q4723617 Q5558302 Q2836611 Q20471210 Q5079889 Q1076201 Q442020 Q2596168 Q381607 Q314462 Q1680937 Q5294439 Q1680507 Q1022382 Q2435166 Q46928 Q195008 Q19829130 Q502983 Q1261570 Q4081945 Q241676 Q2331800 Q5217925 Q4532516 Q465729 Q21665067 Q1065548 Q7816648 Q20745821 Q16023479 Q3792538 Q4718358 Q4669243 Q62861 Q6286748 Q1701091 Q7599779 Q4710708 Q1606701 Q5075787 Q4711268 Q280930 Q7422117 Q98014 Q62478 Q451538 Q7791490 Q5341956 Q15432950 Q537842 Q886146 Q437943 Q15016402 Q363308 Q5343999 Q170071 Q880510 Q6166792 Q1264526 Q238036 Q1700340 Q735273 Q5717562 Q3760564 Q884042 Q377451 Q1058949 Q19975147 Q5088237 Q1290741 Q3736979 Q1786217 Q5241507 Q6105624 Q19358932 Q2915908 Q325487 Q380038 Q881614 Q315366 Q817692 Q325553
(c(Q502895),P20,Q49145)
action count
action filter_type
action find_reverse
entity Q49145
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q49145']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P20 resource:Q49145 . ?c rdf:type ontology:Q502895 }
Shizuo Kakutani Asa Smith Jeremiah Day Hubert Anson Newton Charles Roberts Ingersoll William Kurtz Wimsatt, Jr. Timothy Pitkin P. Davis Oakey Alfred Terry Hamilton Basso James P. Pigott Beatrice Tinsley Alexander Petrunkevitch William Wirt Winchester Richard Hönigswald Edward Salisbury Dana Wilson Brown David Allan Bromley Nehemiah D. Sperry Brevard Childs Ellsworth Huntington William Lewis Elkin Charles A. Beard Russell Henry Chittenden Thomas Dwight Goodell John N. Irwin, II Ethelbert Nevin Peter Harrison Dean Hudnutt William Whiting Boardman Amos Beebe Eaton Morton Masius Bronisław Malinowski John Mahlon Marlin James Tobin Luis García-Abrines Calvo Edward Sapir Robert Yerkes Elias Loomis Augusto Rodríguez Charles Schuchert Christopher Tunnard Horace Winchell Marshall Jewell C. Bradford Welles Ina Balin Maurice Podoloff Thomas Clap Edmund Morgan Riccardo Picchio James Hillhouse Tjalling Koopmans Frederic Brenton Fitch Vernon Hughes John Strong Newberry Luzon B. Morris Ezra Laderman Richard Foster Flint Theodore Dwight Woolsey Donald Cook Amos Doolittle Naphtali Daggett Frank Austen Gooch Alexander Newton Winchell Edward John Phelps Francis H. Ruddle Thomas L. Reilly Ann Gerry John William De Forest Abel Buell Josiah Willard Gibbs, Sr. Isaac Allerton Clark L. Hull Harry S.N. Greene Beekman Cox Cannon Henri Focillon Mary A. Brigham Carl Hovland John Boswell Roger Sherman Baldwin Jeremiah Atwater Henry Ashby Turner Albert W. Cretella Henry R. Storrs Charles-Edward Amory Winslow William Lyon Phelps Tadeusz Karnkowski Thomas Burr Osborne L. Perry Curtis Thomas Day Seymour Ross Granville Harrison John Williamson David Daggett James A. Shanley Samuel Rossiter Betts Wat Tyler Cluverius, Jr. Roberto Sabatino Lopez George Lincoln Hendrickson John Gamble Kirkwood Charles McLean Andrews Brand Blanshard James Broderick Ralph Linton Alexander Giampietro Abraham Robinson Colin M. Ingersoll Irving Rouse Roger Sherman George Vernadsky Leo Neal Yedlin Cleanth Brooks Henry Leavitt Ellsworth Jedidiah Morse Hermann Broch Thomas Anthony Thacher Jerome Frank Leonard Bacon Ezra Stiles Dennis A. Blakeslee Henry Farnam James Pierpont John Hubley Naomi Schor Ainsworth O’Brien Moore Henry Roseman Lang Jehudi Ashmun Franz Rosenthal Denison Olmsted Lafayette Mendel Eleazar Lipsky William Dwight Whitney Frederick Redlich George Trumbull Ladd Thomas Amlong William Graham Sumner Noah Porter Chang Ch'ung-ho Claude V. Palisca Dirk Brouwer Konstantin Reichardt Elizur Goodrich Gordon Willis Williams Eduard Prokosch Leonard Bloomfield Frank Bigelow Tarbell John Woodruff Ida Barney Josiah Willard Gibbs James E. English Teresa Wright Jared Mansfield Ralph Isaacs Ingersoll Hobart B. Bigelow John Daniel Wild Roland Bainton Charlie Smith David Stanley Smith Nicholas Cavaliere Othniel Charles Marsh Faith Hubley Oliver Winchester James Bishop Moses Clark White Edgar Allen Sofia Simmonds Doc Adams Leonard Jimmie Savage William Kessen Ada Comstock Nicholas John Spykman Feza Gürsey Alfred Whitney Griswold James William Toumey Alice Mabel Bacon Suha Gürsey Charles Kullman H. Richard Niebuhr Charles Emerson Beecher William Henry Brewer Ithiel Town Harold Lasswell James P. Geelan Donald Grant Mitchell James Hadley George L. Hersey Timothy Dwight V Max Theiler Emir Rodríguez Monegal Lewis R. Packard Michael Rostovtzeff Frank Gifford Arkadiy Belinkov Noah Webster Stanley Thomas Williams Daniel Levinson Victor H. Erlich Ernest William Brown Margaret Van Pelt Vilas Charles Montague Bakewell Tom Luckey Christian Prince Sylvester Z. Poli Ilya Tolstoy Alexander Bickel Abraham Yahuda Alan Perlis Joseph S. Fruton John Francis Marchment Middleton Stanley McCandless Albert Leffingwell Henry Edwin Dwight Charles Brinckerhoff Richards Albert Stanburrough Cook Eli Whitney Sarah Boone Minna Kleeberg Juan José Linz Dorrit Hoffleit Thomas Kensett Edward Bouchet Paul Hudak Elizabeth Bentley Simeon Eben Baldwin Ruth Barcan Marcus Jack Bernard Tate Walker Evans Edward L. Cochrane Josef Albers Henry W. Edwards Jay Katz Nathaniel Terry Margaret Sullavan John Haberle Alfred Carlton Gilbert Henry Austin George L. Sargent Wilbur Lucius Cross Rollin S. Woodruff Chaim Engel Gretchen Woodman Rogers Chauncey Jerome Simeon Baldwin Alexis Rannit Albert Feuillerat David von Schlegell J. Eugene Harding Perry DeAngelis Robert Shaw Mike Wallace Harvey Williams Cushing Henry Baldwin Harrison James Dwight Dana Benjamin Silliman, Sr. Timothy Dwight IV
254
action count
action filter_type
action find_reverse
entity New Haven
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'New Haven']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:place_of_death resource:New_Haven . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7668632 Q49145
P190 P20
Q56061
USER
Which administrative territories are the sister cities of New Haven or did the expiration of T. Ramachandra Rao occur ?
OR((Q49145,P190,c(Q56061)), (Q7668632,P20,c(Q56061)))
action filter_type
action union
action find
entity Q49145
relation P190
action find
entity Q7668632
relation P20
type Q56061
{'OR': [['Q49145', 'P190', {'concept': 'Q56061'}], ['Q7668632', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q49145 property:P190 ?d } UNION { resource:Q7668632 property:P20 ?d } } }
T. Ramachandra Rao New Haven
action filter_type
action union
action find
entity New Haven
relation sister city
action find
entity T. Ramachandra Rao
relation place of death
type administrative territorial entity
{'OR': [['New Haven', 'sister city', {'concept': 'administrative territorial entity'}], ['T. Ramachandra Rao', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:New_Haven property:sister_city ?d } UNION { resource:T._Ramachandra_Rao property:place_of_death ?d } } }
[]
administrative territorial entity
Q1352 Q3780 Q152462 Q208151
SYSTEM
Chennai, Freetown, Afula, León
Q1352 Q3780 Q152462 Q208151
OR((Q49145,P190,c(Q56061)), (Q7668632,P20,c(Q56061)))
action filter_type
action union
action find
entity Q49145
relation P190
action find
entity Q7668632
relation P20
type Q56061
[ANSWERS] are the sister cities of New Haven or did the expiration of T. Ramachandra Rao occur
{'OR': [['Q49145', 'P190', {'concept': 'Q56061'}], ['Q7668632', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q49145 property:P190 ?d } UNION { resource:Q7668632 property:P20 ?d } } }
Chennai Freetown Afula León
Chennai, Freetown, Afula and León are the sister cities of New Haven or did the expiration of T. Ramachandra Rao occur
Chennai Freetown Afula León
action filter_type
action union
action find
entity New Haven
relation sister city
action find
entity T. Ramachandra Rao
relation place of death
type administrative territorial entity
{'OR': [['New Haven', 'sister city', {'concept': 'administrative territorial entity'}], ['T. Ramachandra Rao', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:New_Haven property:sister_city ?d } UNION { resource:T._Ramachandra_Rao property:place_of_death ?d } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23935690
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Azorean ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23935690
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?t ) WHERE { ?j property:P532 ?k . ?j rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q23935690 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?r ) }
Azorean
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Azorean
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?t ) WHERE { ?j property:port_of_registry ?k . ?j rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Azorean property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . FILTER ( ?t > ?r ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23935690
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?t ) WHERE { ?j property:P532 ?k . ?j rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q23935690 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . FILTER ( ?t > ?r ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Azorean
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?t ) WHERE { ?j property:port_of_registry ?k . ?j rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Azorean property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . FILTER ( ?t > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027491
P532
Q56061 Q2235308
USER
And how about Eleanor & Jane?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027491
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?k ) WHERE { ?d property:P532 ?g . ?d rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q24027491 property:P532 ?o . ?o rdf:type ontology:Q2235308 } } . FILTER ( ?k > ?x ) }
Eleanor & Jane
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Eleanor & Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?k ) WHERE { ?d property:port_of_registry ?g . ?d rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Eleanor_&_Jane property:port_of_registry ?o . ?o rdf:type ontology:ship_type } } . FILTER ( ?k > ?x ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027491
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?k ) WHERE { ?d property:P532 ?g . ?d rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q24027491 property:P532 ?o . ?o rdf:type ontology:Q2235308 } } . FILTER ( ?k > ?x ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Eleanor & Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?k ) WHERE { ?d property:port_of_registry ?g . ?d rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Eleanor_&_Jane property:port_of_registry ?o . ?o rdf:type ontology:ship_type } } . FILTER ( ?k > ?x ) }
[]