Simple Question (Direct)
Simple Question
Q1115371
P21
Q290
USER
What is the sex of János Kollár ?
(Q1115371,P21,c(Q290))
action filter_type
action find
entity Q1115371
relation P21
type Q290
['Q1115371', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1115371 property:P21 ?u . ?u rdf:type ontology:Q290 }
János Kollár
action filter_type
action find
entity János Kollár
relation gender
type sex
['János Kollár', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:János_Kollár property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1115371,P21,c(Q290))
action filter_type
action find
entity Q1115371
relation P21
type Q290
The sex of János Kollár is the [ANSWER]
['Q1115371', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1115371 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of János Kollár is the male
male
action filter_type
action find
entity János Kollár
relation gender
type sex
['János Kollár', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:János_Kollár property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1115371
P184
Q502895
USER
Who was the advisor of János Kollár ?
(Q1115371,P184,c(Q502895))
action filter_type
action find
entity Q1115371
relation P184
type Q502895
['Q1115371', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1115371 property:P184 ?l . ?l rdf:type ontology:Q502895 }
János Kollár
action filter_type
action find
entity János Kollár
relation doctoral advisor
type common name
['János Kollár', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:János_Kollár property:doctoral_advisor ?l . ?l rdf:type ontology:common_name }
[]
common name
Q20992220
SYSTEM
Teruhisa Matsusaka
Q20992220
(Q1115371,P184,c(Q502895))
action filter_type
action find
entity Q1115371
relation P184
type Q502895
The advisor of János Kollár was [ANSWER]
['Q1115371', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1115371 property:P184 ?l . ?l rdf:type ontology:Q502895 }
Teruhisa Matsusaka
The advisor of János Kollár was Teruhisa Matsusaka
Teruhisa Matsusaka
action filter_type
action find
entity János Kollár
relation doctoral advisor
type common name
['János Kollár', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:János_Kollár property:doctoral_advisor ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20992220
P735
Q82799
USER
Which name is that person known by ?
(Q20992220,P735,c(Q82799))
action filter_type
action find
entity Q20992220
relation P735
type Q82799
['Q20992220', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q20992220 property:P735 ?k }
Teruhisa Matsusaka
action filter_type
action find
entity Teruhisa Matsusaka
relation given name
type name
['Teruhisa Matsusaka', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Teruhisa_Matsusaka property:given_name ?k }
[]
name
Q7705304
SYSTEM
Teruhisa
Q7705304
(Q20992220,P735,c(Q82799))
action filter_type
action find
entity Q20992220
relation P735
type Q82799
That person is known as [ANSWER]
['Q20992220', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q20992220 property:P735 ?k }
Teruhisa
That person is known as Teruhisa
Teruhisa
action filter_type
action find
entity Teruhisa Matsusaka
relation given name
type name
['Teruhisa Matsusaka', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Teruhisa_Matsusaka property:given_name ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7705304 Q11646383
P735
Q502895
USER
Does Teruhisa Kanai have that one as given name ?
(Q11646383,P735,Q7705304)
action is_in
entity Q7705304
action find
entity Q11646383
relation P735
['Q11646383', 'P735', 'Q7705304']
ASK WHERE { resource:Q11646383 property:P735 resource:Q7705304 }
Teruhisa Teruhisa Kanai
action is_in
entity Teruhisa
action find
entity Teruhisa Kanai
relation given name
['Teruhisa Kanai', 'given name', 'Teruhisa']
ASK WHERE { resource:Teruhisa_Kanai property:given_name resource:Teruhisa }
[]
common name
SYSTEM
YES
(Q11646383,P735,Q7705304)
action is_in
entity Q7705304
action find
entity Q11646383
relation P735
[ANSWER]
['Q11646383', 'P735', 'Q7705304']
ASK WHERE { resource:Q11646383 property:P735 resource:Q7705304 }
Yes
action is_in
entity Teruhisa
action find
entity Teruhisa Kanai
relation given name
['Teruhisa Kanai', 'given name', 'Teruhisa']
ASK WHERE { resource:Teruhisa_Kanai property:given_name resource:Teruhisa }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3873144 Q20992220
P184 P1346
Q502895
USER
Which people were the doctoral advisors of Teruhisa Matsusaka or were the winner of National Book Award for Fiction ?
OR((Q20992220,P184,c(Q502895)), (Q3873144,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q20992220
relation P184
action find
entity Q3873144
relation P1346
type Q502895
{'OR': [['Q20992220', 'P184', {'concept': 'Q502895'}], ['Q3873144', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q20992220 property:P184 ?b } UNION { resource:Q3873144 property:P1346 ?b } } }
National Book Award for Fiction Teruhisa Matsusaka
action filter_type
action union
action find
entity Teruhisa Matsusaka
relation doctoral advisor
action find
entity National Book Award for Fiction
relation winner
type common name
{'OR': [['Teruhisa Matsusaka', 'doctoral advisor', {'concept': 'common name'}], ['National Book Award for Fiction', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Teruhisa_Matsusaka property:doctoral_advisor ?b } UNION { resource:National_Book_Award_for_Fiction property:winner ?b } } }
[]
common name
Q6306433 Q234579 Q121778 Q315683 Q1678769 Q351547 Q546275 Q1065901 Q49065 Q316607
SYSTEM
Some of them are Julia Glass, Flannery O'Connor, Ha Jin, John Barth, Jaimy Gordon, Bernard Malamud, Ellen Gilchrist, Charles R. Johnson, Andrea Barrett, Jonathan Franzen
Q316607 Q310048 Q462629 Q229840 Q335232 Q323232 Q234579 Q49065 Q35155 Q1215607 Q966228 Q2077062 Q546275 Q1242948 Q105756 Q155087 Q7795198 Q179059 Q1289151 Q75612 Q638179 Q176909 Q920901 Q456958 Q272610 Q561435 Q193357 Q236958 Q548345 Q732568 Q6225438 Q6780075 Q6306433 Q83059 Q38392 Q319447 Q892108 Q217557 Q442679 Q121778 Q6490488 Q39212 Q203460 Q2892695 Q1633025 Q187019 Q1678769 Q1369803 Q29344 Q1230809 Q351547 Q315683 Q3177574 Q1064454 Q547914 Q458445 Q299965 Q336151 Q340016 Q1245105 Q152824 Q1065901
OR((Q20992220,P184,c(Q502895)), (Q3873144,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q20992220
relation P184
action find
entity Q3873144
relation P1346
type Q502895
[ANSWERS] were the doctoral advisors of Teruhisa Matsusaka or were the winner of National Book Award for Fiction
{'OR': [['Q20992220', 'P184', {'concept': 'Q502895'}], ['Q3873144', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q20992220 property:P184 ?b } UNION { resource:Q3873144 property:P1346 ?b } } }
Jonathan Franzen Don DeLillo James Jones Annie Proulx E. L. Doctorow André Weil Flannery O'Connor Andrea Barrett Thomas Pynchon Norman Rush Colum McCann John Edward Williams Ellen Gilchrist Alice McDermott John Updike Thornton Wilder Thomas Williams A. J. Cronin Tim O'Brien Isaac Bashevis Singer Richard Powers Walker Percy Wright Morris William Gaddis Cormac McCarthy Richard Llewellyn Daphne du Maurier Katherine Anne Porter John O'Hara Conrad Richter John Casey Mary Lee Settle Julia Glass Saul Bellow William Faulkner Jerzy Kosinski Peter Matthiessen Joyce Carol Oates Louise Erdrich Ha Jin Larry Heinemann John Steinbeck Wallace Stegner James McBride Robert Stone Philip Roth Jaimy Gordon J. F. Powers William T. Vollmann Shirley Hazzard Bernard Malamud John Barth Jesmyn Ward Charles Frazier Nelson Algren Pete Dexter Ralph Ellison John Cheever Denis Johnson Lily Tuck Susan Sontag Charles R. Johnson
Julia Glass, Flannery O'Connor, Ha Jin, John Barth, Jaimy Gordon, Bernard Malamud, Ellen Gilchrist, Charles R. Johnson, Andrea Barrett and Jonathan Franzen were the doctoral advisors of Teruhisa Matsusaka or were the winner of National Book Award for Fiction
Julia Glass Flannery O'Connor Ha Jin John Barth Jaimy Gordon Bernard Malamud Ellen Gilchrist Charles R. Johnson Andrea Barrett Jonathan Franzen
action filter_type
action union
action find
entity Teruhisa Matsusaka
relation doctoral advisor
action find
entity National Book Award for Fiction
relation winner
type common name
{'OR': [['Teruhisa Matsusaka', 'doctoral advisor', {'concept': 'common name'}], ['National Book Award for Fiction', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Teruhisa_Matsusaka property:doctoral_advisor ?b } UNION { resource:National_Book_Award_for_Fiction property:winner ?b } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3873144
P17
Q15617994
USER
Which administrative territory does National Book Award for Fiction belong to ?
(Q3873144,P17,c(Q15617994))
action filter_type
action find
entity Q3873144
relation P17
type Q15617994
['Q3873144', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q3873144 property:P17 ?i }
National Book Award for Fiction
action filter_type
action find
entity National Book Award for Fiction
relation country
type designation for an administrative territorial entity
['National Book Award for Fiction', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:National_Book_Award_for_Fiction property:country ?i }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3873144,P17,c(Q15617994))
action filter_type
action find
entity Q3873144
relation P17
type Q15617994
The [ANSWER] National Book Award for Fiction belongs to
['Q3873144', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q3873144 property:P17 ?i }
United States of America
The United States of America National Book Award for Fiction belongs to
United States of America
action filter_type
action find
entity National Book Award for Fiction
relation country
type designation for an administrative territorial entity
['National Book Award for Fiction', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:National_Book_Award_for_Fiction property:country ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is the etymology of that administrative territory ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q30 property:P138 ?e . ?e rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:named_after ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
[ANSWER] is the etymology of that administrative territory
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q30 property:P138 ?e . ?e rdf:type ontology:Q2221906 }
Americas
Americas is the etymology of that administrative territory
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:named_after ?e . ?e rdf:type ontology:geographic_location }
[]