Simple Question (Direct)
Simple Question
Q3613580
P86
Q502895
USER
Which person composed Amanda's ?
(Q3613580,P86,c(Q502895))
action filter_type
action find
entity Q3613580
relation P86
type Q502895
['Q3613580', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q3613580 property:P86 ?l }
Amanda's
action filter_type
action find
entity Amanda's
relation composer
type common name
["Amanda's", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Amanda's property:composer ?l }
[]
common name
Q16105869
SYSTEM
Artie Butler
Q16105869
(Q3613580,P86,c(Q502895))
action filter_type
action find
entity Q3613580
relation P86
type Q502895
[ANSWER] composed Amanda's
['Q3613580', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q3613580 property:P86 ?l }
Artie Butler
Artie Butler composed Amanda's
Artie Butler
action filter_type
action find
entity Amanda's
relation composer
type common name
["Amanda's", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Amanda's property:composer ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105869
P106
Q12737077
USER
What is the job of that person ?
(Q16105869,P106,c(Q12737077))
action filter_type
action find
entity Q16105869
relation P106
type Q12737077
['Q16105869', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16105869 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Artie Butler
action filter_type
action find
entity Artie Butler
relation occupation
type occupation
['Artie Butler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Artie_Butler property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q753110
SYSTEM
songwriter
Q753110
(Q16105869,P106,c(Q12737077))
action filter_type
action find
entity Q16105869
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q16105869', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16105869 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
songwriter
The job of that person is a songwriter
songwriter
action filter_type
action find
entity Artie Butler
relation occupation
type occupation
['Artie Butler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Artie_Butler property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q753110 Q16186753
P106
Q502895
USER
Does Kristy Jackson have the profession as that occupation ?
(Q16186753,P106,Q753110)
action is_in
entity Q753110
action find
entity Q16186753
relation P106
['Q16186753', 'P106', 'Q753110']
ASK WHERE { resource:Q16186753 property:P106 resource:Q753110 }
songwriter Kristy Jackson
action is_in
entity songwriter
action find
entity Kristy Jackson
relation occupation
['Kristy Jackson', 'occupation', 'songwriter']
ASK WHERE { resource:Kristy_Jackson property:occupation resource:songwriter }
[]
common name
SYSTEM
YES
(Q16186753,P106,Q753110)
action is_in
entity Q753110
action find
entity Q16186753
relation P106
[ANSWER]
['Q16186753', 'P106', 'Q753110']
ASK WHERE { resource:Q16186753 property:P106 resource:Q753110 }
Yes
action is_in
entity songwriter
action find
entity Kristy Jackson
relation occupation
['Kristy Jackson', 'occupation', 'songwriter']
ASK WHERE { resource:Kristy_Jackson property:occupation resource:songwriter }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16105869
P19
Q56061
USER
How many administrative territories were Artie Butler born at ?
(Q16105869,P19,c(Q56061))
action count
action filter_type
action find
entity Q16105869
relation P19
type Q56061
['Q16105869', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q16105869 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Artie Butler
action count
action filter_type
action find
entity Artie Butler
relation place of birth
type administrative territorial entity
['Artie Butler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Artie_Butler property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q18419
(Q16105869,P19,c(Q56061))
action count
action filter_type
action find
entity Q16105869
relation P19
type Q56061
[ANSWER]
['Q16105869', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q16105869 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Brooklyn
1
action count
action filter_type
action find
entity Artie Butler
relation place of birth
type administrative territorial entity
['Artie Butler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Artie_Butler property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105869
P69
Q159334
USER
Which secondary school is the alma mater of that person ?
action filter_type
action find
entity Q16105869
relation P69
type Q159334
SELECT DISTINCT ?v WHERE { resource:Q16105869 property:P69 ?v . ?v rdf:type ontology:Q159334 }
Artie Butler
action filter_type
action find
entity Artie Butler
relation educated at
type secondary school
SELECT DISTINCT ?v WHERE { resource:Artie_Butler property:educated_at ?v . ?v rdf:type ontology:secondary_school }
[]
secondary school
Q5384959
SYSTEM
Erasmus Hall High School
Q5384959
action filter_type
action find
entity Q16105869
relation P69
type Q159334
[ANSWER] is the alma mater of that person
SELECT DISTINCT ?v WHERE { resource:Q16105869 property:P69 ?v . ?v rdf:type ontology:Q159334 }
Erasmus Hall High School
Erasmus Hall High School is the alma mater of that person
Erasmus Hall High School
action filter_type
action find
entity Artie Butler
relation educated at
type secondary school
SELECT DISTINCT ?v WHERE { resource:Artie_Butler property:educated_at ?v . ?v rdf:type ontology:secondary_school }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q5384959
P69 P27
Q502895
USER
Which people studied at Erasmus Hall High School and are a native of United States of America ?
AND((c(Q502895),P69,Q5384959), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q5384959
relation P69
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q5384959'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q5384959 . ?s property:P27 resource:Q30 . ?s rdf:type ontology:Q502895 }
United States of America Erasmus Hall High School
action filter_type
action intersection
action find_reverse
entity Erasmus Hall High School
relation educated at
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Erasmus Hall High School'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Erasmus_Hall_High_School . ?s property:country_of_citizenship resource:United_States_of_America . ?s rdf:type ontology:common_name }
[]
common name
Q16204389 Q4738047 Q1341804 Q16105011 Q6514734 Q1376165 Q294531 Q711505 Q7349382 Q3568284
SYSTEM
Some of them are Alvin Roth, Alvin Bronstein, Larry Levan, Paula Wolfert, Lee Pockriss, John M. Berrien, Neil Diamond, Billy Cunningham, Robert Rosen, Will Downing
Q1376165 Q7051466 Q104067 Q16204389 Q247662 Q3439135 Q7185631 Q1382232 Q710334 Q776589 Q6914750 Q6382530 Q4636 Q5952229 Q7304420 Q5561159 Q235517 Q3616176 Q7493549 Q261133 Q1608006 Q434500 Q1738987 Q339458 Q506809 Q15059462 Q5248252 Q5293121 Q3913064 Q16105011 Q3760658 Q5403832 Q314553 Q2578568 Q4738047 Q1903090 Q5044274 Q6777444 Q887766 Q1239364 Q4707761 Q190373 Q16105869 Q2662152 Q199654 Q14950752 Q1389376 Q351547 Q294531 Q457850 Q456194 Q449536 Q273177 Q6369513 Q4799609 Q4756600 Q155529 Q5325865 Q247930 Q3388789 Q7816383 Q1826749 Q7301653 Q404132 Q1341804 Q1410004 Q2354691 Q16106784 Q357728 Q175078 Q1101938 Q7599575 Q21111406 Q430963 Q336081 Q6271875 Q3568284 Q1409480 Q41314 Q456631 Q711505 Q6762011 Q558844 Q3874183 Q2062658 Q4892752 Q2884566 Q3850430 Q7411805 Q7349382 Q16000283 Q6514734
AND((c(Q502895),P69,Q5384959), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q5384959
relation P69
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] studied at Erasmus Hall High School and are a native of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q5384959'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q5384959 . ?s property:P27 resource:Q30 . ?s rdf:type ontology:Q502895 }
John M. Berrien Norm Drucker Eli Wallach Alvin Roth Aline MacMahon Roger Kahn Phillip Brutus Al Cohn Arthur Laurents Jon Cypher Mortimer Sackler Kedar Massenburg Barbra Streisand Hy Peskin Red Kellett Gilbert Price Beverly Sills Jane Cowl Sheldon Segal Norma Talmadge Herbert Aptheker Lainie Kazan Kenny Vance Jeff Barry Irving Fein Richard Reicheg Deborah Grabien Don McMahon Raymond Weinstein Paula Wolfert George Thompson Sam Rutigliano Robert Silverberg William E. Paul Alvin Bronstein Martha Rosler Carol Bruce Marty Ingels Bob Arum Don Most Alan Shulman Joseph Barbera Artie Butler Jerry Reinsdorf Barbara McClintock Ben Raimondi Al Davis Bernard Malamud Neil Diamond Stephanie Mills Sid Luckman Elaine de Kooning Dorothy Kilgallen Karen Bernod Arthur M. Sackler Andrew Cheshire Eric Kandel Earl G. Graves, Sr. Teunis Garret Bergen Morris S. Miller Tom Kahn Harold Kushner Rebecca Alpert John W. Hunter Larry Levan Waite Hoyt Bernie Kopell Mike Rosen George Troup Betty Comden Clive Davis Stanley Edgar Hyman John Berg Cheryl Toussaint Mickey Spillane Jonah Goldman Will Downing Richard Sylbert Bobby Fischer Eleanor Holm Billy Cunningham Marian Winters Jeff Chandler Ned Irish Paul Sylbert Bern Nadette Stanis Special Ed Mary Anderson Samuel J. LeFrak Robert Rosen James A. Higgins Lee Pockriss
Alvin Roth, Alvin Bronstein, Larry Levan, Paula Wolfert, Lee Pockriss, John M. Berrien, Neil Diamond, Billy Cunningham, Robert Rosen and Will Downing studied at Erasmus Hall High School and are a native of United States of America
Alvin Roth Alvin Bronstein Larry Levan Paula Wolfert Lee Pockriss John M. Berrien Neil Diamond Billy Cunningham Robert Rosen Will Downing
action filter_type
action intersection
action find_reverse
entity Erasmus Hall High School
relation educated at
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Erasmus Hall High School'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Erasmus_Hall_High_School . ?s property:country_of_citizenship resource:United_States_of_America . ?s rdf:type ontology:common_name }
[]