Simple Question (Direct)
Simple Question
Q5497248
P463
Q811430
USER
Which organization was Frederick Alt a member of ?
(Q5497248,P463,c(Q811430))
action filter_type
action find
entity Q5497248
relation P463
type Q811430
['Q5497248', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?p WHERE { resource:Q5497248 property:P463 ?p . ?p rdf:type ontology:Q811430 }
Frederick Alt
action filter_type
action find
entity Frederick Alt
relation member of
type construction
['Frederick Alt', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?p WHERE { resource:Frederick_Alt property:member_of ?p . ?p rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q5497248,P463,c(Q811430))
action filter_type
action find
entity Q5497248
relation P463
type Q811430
The [ANSWER] was Frederick Alt a member of
['Q5497248', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?p WHERE { resource:Q5497248 property:P463 ?p . ?p rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
The American Academy of Arts and Sciences was Frederick Alt a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Frederick Alt
relation member of
type construction
['Frederick Alt', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?p WHERE { resource:Frederick_Alt property:member_of ?p . ?p rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5497248
P108
Q163740
USER
Which nonprofit organization employs that person ?
(Q463303,P108,c(Q163740))
action filter_type
action find
entity Q5497248
relation P108
type Q163740
['Q463303', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q5497248 property:P108 ?y . ?y rdf:type ontology:Q163740 }
Frederick Alt
action filter_type
action find
entity Frederick Alt
relation employer
type nonprofit organization
['American Academy of Arts and Sciences', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Frederick_Alt property:employer ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q463303,P108,c(Q163740))
action filter_type
action find
entity Q5497248
relation P108
type Q163740
[ANSWER] employs that person
['Q463303', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q5497248 property:P108 ?y . ?y rdf:type ontology:Q163740 }
Harvard University
Harvard University employs that person
Harvard University
action filter_type
action find
entity Frederick Alt
relation employer
type nonprofit organization
['American Academy of Arts and Sciences', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Frederick_Alt property:employer ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13371 Q273203
P69
Q502895
USER
Was Bärbel Struppert a student at that nonprofit organization ?
(Q273203,P69,Q13371)
action is_in
entity Q273203
action find
entity Q13371
relation P69
['Q273203', 'P69', 'Q13371']
ASK WHERE { resource:Q13371 property:P69 resource:Q273203 }
Harvard University Bärbel Struppert
action is_in
entity Bärbel Struppert
action find
entity Harvard University
relation educated at
['Bärbel Struppert', 'educated at', 'Harvard University']
ASK WHERE { resource:Harvard_University property:educated_at resource:Bärbel_Struppert }
[]
common name
SYSTEM
NO
(Q273203,P69,Q13371)
action is_in
entity Q273203
action find
entity Q13371
relation P69
[ANSWER]
['Q273203', 'P69', 'Q13371']
ASK WHERE { resource:Q13371 property:P69 resource:Q273203 }
No
action is_in
entity Bärbel Struppert
action find
entity Harvard University
relation educated at
['Bärbel Struppert', 'educated at', 'Harvard University']
ASK WHERE { resource:Harvard_University property:educated_at resource:Bärbel_Struppert }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3751007 Q5497248
P69
Q163740
USER
Which nonprofit organizations are the alma mater of Frederick Alt and Gabriel Jackson ?
AND((Q5497248,P69,c(Q163740)), (Q3751007,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5497248
relation P69
action find
entity Q3751007
relation P69
type Q163740
{'AND': [['Q5497248', 'P69', {'concept': 'Q163740'}], ['Q3751007', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?u WHERE { resource:Q5497248 property:P69 ?u . resource:Q3751007 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Gabriel Jackson Frederick Alt
action filter_type
action intersection
action find
entity Frederick Alt
relation educated at
action find
entity Gabriel Jackson
relation educated at
type nonprofit organization
{'AND': [['Frederick Alt', 'educated at', {'concept': 'nonprofit organization'}], ['Gabriel Jackson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?u WHERE { resource:Frederick_Alt property:educated_at ?u . resource:Gabriel_Jackson property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
AND((Q5497248,P69,c(Q163740)), (Q3751007,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5497248
relation P69
action find
entity Q3751007
relation P69
type Q163740
[ANSWER] is the alma mater of Frederick Alt and Gabriel Jackson
{'AND': [['Q5497248', 'P69', {'concept': 'Q163740'}], ['Q3751007', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?u WHERE { resource:Q5497248 property:P69 ?u . resource:Q3751007 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Stanford University
Stanford University is the alma mater of Frederick Alt and Gabriel Jackson
Stanford University
action filter_type
action intersection
action find
entity Frederick Alt
relation educated at
action find
entity Gabriel Jackson
relation educated at
type nonprofit organization
{'AND': [['Frederick Alt', 'educated at', {'concept': 'nonprofit organization'}], ['Gabriel Jackson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?u WHERE { resource:Frederick_Alt property:educated_at ?u . resource:Gabriel_Jackson property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q769862 Q13371
P27 P17
Q15617994
USER
Which administrative territories are Harvard University a part of or do Augusto da Costa belong to ?
OR((Q13371,P17,c(Q15617994)), (Q769862,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q13371
relation P17
action find
entity Q769862
relation P27
type Q15617994
{'OR': [['Q13371', 'P17', {'concept': 'Q15617994'}], ['Q769862', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q13371 property:P17 ?m } UNION { resource:Q769862 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Augusto da Costa Harvard University
action filter_type
action union
action find
entity Harvard University
relation country
action find
entity Augusto da Costa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harvard University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Augusto da Costa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Harvard_University property:country ?m } UNION { resource:Augusto_da_Costa property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q13371,P17,c(Q15617994)), (Q769862,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q13371
relation P17
action find
entity Q769862
relation P27
type Q15617994
[ANSWERS] are Harvard University a part of or do Augusto da Costa belong to
{'OR': [['Q13371', 'P17', {'concept': 'Q15617994'}], ['Q769862', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q13371 property:P17 ?m } UNION { resource:Q769862 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil and United States of America are Harvard University a part of or do Augusto da Costa belong to
Brazil United States of America
action filter_type
action union
action find
entity Harvard University
relation country
action find
entity Augusto da Costa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harvard University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Augusto da Costa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Harvard_University property:country ?m } UNION { resource:Augusto_da_Costa property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q83620 Q34442 Q811430
USER
How many constructions have their location as atmost 2 thoroughfares and roads ?
(c(Q811430),P669,c(Q83620)|c(Q34442))
action count
action atmost
action union
action find_tuple_counts
relation P669
type Q811430
type Q83620
action find_tuple_counts
relation P669
type Q811430
type Q34442
value 2
[{'concept': 'Q811430'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?x ) WHERE { { ?y property:P669 ?i . ?i rdf:type ontology:Q83620 . ?y rdf:type ontology:Q811430 } UNION { ?y rdf:type ontology:Q811430 . ?i rdf:type ontology:Q34442 . ?y property:P669 ?i } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation located on street
type construction
type thoroughfare
action find_tuple_counts
relation located on street
type construction
type road
value 2
[{'concept': 'construction'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?x ) WHERE { { ?y property:located_on_street ?i . ?i rdf:type ontology:thoroughfare . ?y rdf:type ontology:construction } UNION { ?y rdf:type ontology:construction . ?i rdf:type ontology:road . ?y property:located_on_street ?i } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
[]
thoroughfare road construction
SYSTEM
75
Q30136 Q4645806 Q17405416 Q15107888 Q4546413 Q2570696 Q1515087 Q640412 Q1367033 Q7224269 Q691888 Q1418136 Q1683405 Q5297185 Q1006170 Q2126503 Q14545315 Q2754324 Q876556 Q10270274 Q7344191 Q9698039 Q21539367 Q4546522 Q7477211 Q24560695 Q6902469 Q917820 Q18058905 Q2914505 Q2524916 Q2866483 Q228633 Q686703 Q1258330 Q1054113 Q968295 Q17438191 Q2477653 Q2774391 Q17596717 Q635538 Q4546509 Q892663 Q2499600 Q4620181 Q2023947 Q5338049 Q882778 Q3064432 Q254049 Q4334873 Q170442 Q15118161 Q14922289 Q1320602 Q9698289 Q1294905 Q439484 Q14544181 Q1958741 Q968871 Q167195 Q465250 Q2887732 Q14545018 Q15128979 Q29294 Q816289 Q4595705 Q1802996 Q4918392 Q15975885 Q526847 Q1604560
(c(Q811430),P669,c(Q83620)|c(Q34442))
action count
action atmost
action union
action find_tuple_counts
relation P669
type Q811430
type Q83620
action find_tuple_counts
relation P669
type Q811430
type Q34442
value 2
[ANSWER]
[{'concept': 'Q811430'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?x ) WHERE { { ?y property:P669 ?i . ?i rdf:type ontology:Q83620 . ?y rdf:type ontology:Q811430 } UNION { ?y rdf:type ontology:Q811430 . ?i rdf:type ontology:Q34442 . ?y property:P669 ?i } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
Yangshupu Water Plant 927 Fifth Avenue De Zaadmarkt Andreas-Hermes-Straße 5 102 Petty France Vakantiehuis De Vonk Pulchri Studio Baden-Powell House Haus der Statistik Monument of the Great October Revolution Windsor Tower National Museum of Finland Konsthall Doopsgezinde Weeshuis, Haarlem Bundeshaus Radisson Blu Scandinavia Hotel Dürenstraße 33 Christelijk College Nassau-Veluwe Renaissance-Theater Maputo Post Office Building Robert F. Kennedy Department of Justice Building Casa Amarela Luitpoldstraße 15; Heigertgasse 2 1049 5th Avenue Voormalige Gereformeerd Weeshuis Edifício Sanguinal Mons Aurea, Garenkokerskade Museum of London Eemhuis Marine Etablissement Heisterbachstraße 39 Wierickerschans Zuidertoren Castle Brederode Heinrich-Schliemann-Gymnasium Copenhagen Central Post Building Eliseyev Emporium Bebinghehoes Beloselsky-Belozersky Palace Oude Delft 95 Het Schol Archive of the Hanseatic City of Lübeck 1040 Fifth Avenue Bonn-Center Kippenburg Maarten Maartenshuis One Aldwych Edificio Grassy Blue House Diligentia 65 Broadway Great Synagogue of Deventer 111 South Wacker Drive Langenbachstraße 19 Lyon Armenian Genocide Memorial Eissporthalle an der Jafféstraße Casa de Ferro Hotel Berolina Old City Hall Landesbehördenhaus Weenatoren Dailes Theatre Post Tower Metropolis Building Bastion no 1 Wilhelm-Auguste-Viktoria-Haus Sparkasse Wanne-Eickel Willis Tower Villa Belvoir 19 South LaSalle Street Villa Welgelegen Bispegården, Copenhagen Karl-Broel-Straße 3 House of Soviets Helsinki Ice Hall
75
action count
action atmost
action union
action find_tuple_counts
relation located on street
type construction
type thoroughfare
action find_tuple_counts
relation located on street
type construction
type road
value 2
[{'concept': 'construction'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?x ) WHERE { { ?y property:located_on_street ?i . ?i rdf:type ontology:thoroughfare . ?y rdf:type ontology:construction } UNION { ?y rdf:type ontology:construction . ?i rdf:type ontology:road . ?y property:located_on_street ?i } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41506
P740
Q43229
USER
What is the organization that was formed at Stanford University ?
(c(Q43229),P740,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q41506']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q41506 . ?b rdf:type ontology:Q43229 }
Stanford University
action filter_type
action find_reverse
entity Stanford University
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Stanford University']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Stanford_University . ?b rdf:type ontology:organization }
[]
organization
Q7389543
SYSTEM
SEALNet
Q7389543
(c(Q43229),P740,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P740
type Q43229
The organization that was formed at Stanford University is the [ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q41506']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q41506 . ?b rdf:type ontology:Q43229 }
SEALNet
The organization that was formed at Stanford University is the SEALNet
SEALNet
action filter_type
action find_reverse
entity Stanford University
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Stanford University']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Stanford_University . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7389543
P159
Q56061
USER
Which administrative territory is the head office of that organization ?
(Q7389543,P159,c(Q56061))
action filter_type
action find
entity Q7389543
relation P159
type Q56061
['Q7389543', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q7389543 property:P159 ?e . ?e rdf:type ontology:Q56061 }
SEALNet
action filter_type
action find
entity SEALNet
relation headquarters location
type administrative territorial entity
['SEALNet', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:SEALNet property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q62
SYSTEM
San Francisco
Q62
(Q7389543,P159,c(Q56061))
action filter_type
action find
entity Q7389543
relation P159
type Q56061
[ANSWER] is the head office of that organization
['Q7389543', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q7389543 property:P159 ?e . ?e rdf:type ontology:Q56061 }
San Francisco
San Francisco is the head office of that organization
San Francisco
action filter_type
action find
entity SEALNet
relation headquarters location
type administrative territorial entity
['SEALNet', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:SEALNet property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]