Simple Question (Direct)
Simple Question
Q2401679
P734
Q82799
USER
Which name is associated with Elinor Smith ?
(Q2401679,P734,c(Q82799))
action filter_type
action find
entity Q2401679
relation P734
type Q82799
['Q2401679', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q2401679 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Elinor Smith
action filter_type
action find
entity Elinor Smith
relation family name
type name
['Elinor Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Elinor_Smith property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q2401679,P734,c(Q82799))
action filter_type
action find
entity Q2401679
relation P734
type Q82799
S [ANSWER] is associated with Elinor [ANSWER]
['Q2401679', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q2401679 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Smith
S Smith is associated with Elinor Smith
Smith
action filter_type
action find
entity Elinor Smith
relation family name
type name
['Elinor Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Elinor_Smith property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2401679
P166
Q43229
USER
What was won by Elinor Smith ?
(Q2401679,P166,c(Q43229))
action filter_type
action find
entity Q2401679
relation P166
type Q43229
['Q2401679', 'P166', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q2401679 property:P166 ?j }
Elinor Smith
action filter_type
action find
entity Elinor Smith
relation award received
type organization
['Elinor Smith', 'award received', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Elinor_Smith property:award_received ?j }
[]
organization
Q8031408
SYSTEM
Women in Aviation, International
Q8031408
(Q2401679,P166,c(Q43229))
action filter_type
action find
entity Q2401679
relation P166
type Q43229
[ANSWER] was won by Elinor Smith
['Q2401679', 'P166', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q2401679 property:P166 ?j }
Women in Aviation, International
Women in Aviation, International was won by Elinor Smith
Women in Aviation, International
action filter_type
action find
entity Elinor Smith
relation award received
type organization
['Elinor Smith', 'award received', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Elinor_Smith property:award_received ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1524056
Q43229
USER
And also tell me about Alain Carpentier?
(Q1524056,P166,c(Q43229))
action filter_type
action find
entity Q1524056
relation P166
type Q43229
['Q1524056', 'P166', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1524056 property:P166 ?e . ?e rdf:type ontology:Q43229 }
Alain Carpentier
action filter_type
action find
entity Alain Carpentier
relation award received
type organization
['Alain Carpentier', 'award received', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Alain_Carpentier property:award_received ?e . ?e rdf:type ontology:organization }
[]
organization
Q921415
SYSTEM
Lasker Award
Q921415
(Q1524056,P166,c(Q43229))
action filter_type
action find
entity Q1524056
relation P166
type Q43229
[ANSWER]
['Q1524056', 'P166', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1524056 property:P166 ?e . ?e rdf:type ontology:Q43229 }
Lasker Award
Lasker Award
action filter_type
action find
entity Alain Carpentier
relation award received
type organization
['Alain Carpentier', 'award received', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Alain_Carpentier property:award_received ?e . ?e rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q874000 Q2401679
P19
Q56061
USER
Which administrative territories are the places of birth of Elinor Smith or Gerrit Glomser ?
OR((Q2401679,P19,c(Q56061)), (Q874000,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2401679
relation P19
action find
entity Q874000
relation P19
type Q56061
{'OR': [['Q2401679', 'P19', {'concept': 'Q56061'}], ['Q874000', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q874000 property:P19 ?r } UNION { resource:Q2401679 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Gerrit Glomser Elinor Smith
action filter_type
action union
action find
entity Elinor Smith
relation place of birth
action find
entity Gerrit Glomser
relation place of birth
type administrative territorial entity
{'OR': [['Elinor Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerrit Glomser', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Gerrit_Glomser property:place_of_birth ?r } UNION { resource:Elinor_Smith property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q34713
SYSTEM
New York City, Salzburg
Q60 Q34713
OR((Q2401679,P19,c(Q56061)), (Q874000,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2401679
relation P19
action find
entity Q874000
relation P19
type Q56061
[ANSWERS] are the places of birth of Elinor Smith or Gerrit Glomser
{'OR': [['Q2401679', 'P19', {'concept': 'Q56061'}], ['Q874000', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q874000 property:P19 ?r } UNION { resource:Q2401679 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
New York City Salzburg
New York City and Salzburg are the places of birth of Elinor Smith or Gerrit Glomser
New York City Salzburg
action filter_type
action union
action find
entity Elinor Smith
relation place of birth
action find
entity Gerrit Glomser
relation place of birth
type administrative territorial entity
{'OR': [['Elinor Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerrit Glomser', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Gerrit_Glomser property:place_of_birth ?r } UNION { resource:Elinor_Smith property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P36
Q15617994
USER
Which administrative territory has New York City as its capital ?
(c(Q15617994),P36,Q60)
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q60 . ?b rdf:type ontology:Q15617994 }
New York City
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:New_York_City . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(c(Q15617994),P36,Q60)
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
[ANSWER] has New York City as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q60 . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America has New York City as its capital
United States of America
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:New_York_City . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P119
Q502895
USER
Which people have that administrative territory as place of burial ?
(c(Q502895),P119,Q30)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q60 . ?u rdf:type ontology:Q502895 }
New York City
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:New_York_City . ?u rdf:type ontology:common_name }
[]
common name
Q6143065 Q17479172 Q6104974
SYSTEM
James Shedden Palmer, Abram P. Haring, J. C. Julius Langbein
Q6143065 Q17479172 Q6104974
(c(Q502895),P119,Q30)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[ANSWERS] have that administrative territory as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q60 . ?u rdf:type ontology:Q502895 }
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
James Shedden Palmer, Abram P. Haring and J. C. Julius Langbein have that administrative territory as place of burial
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:New_York_City . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1875989 Q2401679
P27
Q15617994
USER
Which administrative territories are Elinor Smith or Mariana Levy a civilian of ?
OR((Q2401679,P27,c(Q15617994)), (Q1875989,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2401679
relation P27
action find
entity Q1875989
relation P27
type Q15617994
{'OR': [['Q2401679', 'P27', {'concept': 'Q15617994'}], ['Q1875989', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2401679 property:P27 ?d } UNION { resource:Q1875989 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Mariana Levy Elinor Smith
action filter_type
action union
action find
entity Elinor Smith
relation country of citizenship
action find
entity Mariana Levy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elinor Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mariana Levy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Elinor_Smith property:country_of_citizenship ?d } UNION { resource:Mariana_Levy property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q30
SYSTEM
Mexico, United States of America
Q96 Q30
OR((Q2401679,P27,c(Q15617994)), (Q1875989,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2401679
relation P27
action find
entity Q1875989
relation P27
type Q15617994
[ANSWERS] are Elinor Smith or Mariana Levy a civilian of
{'OR': [['Q2401679', 'P27', {'concept': 'Q15617994'}], ['Q1875989', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2401679 property:P27 ?d } UNION { resource:Q1875989 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Mexico United States of America
Mexico and United States of America are Elinor Smith or Mariana Levy a civilian of
Mexico United States of America
action filter_type
action union
action find
entity Elinor Smith
relation country of citizenship
action find
entity Mariana Levy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elinor Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mariana Levy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Elinor_Smith property:country_of_citizenship ?d } UNION { resource:Mariana_Levy property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16301644 Q2401679
P27
Q15617994
USER
Which administrative territories do Elinor Smith or Ricardo Nanjari belong to ?
OR((Q2401679,P27,c(Q15617994)), (Q16301644,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2401679
relation P27
action find
entity Q16301644
relation P27
type Q15617994
{'OR': [['Q2401679', 'P27', {'concept': 'Q15617994'}], ['Q16301644', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { VALUES ( ?x ) { ( resource:Q2401679 ) ( resource:Q16301644 ) } . ?x property:P27 ?j } }
Ricardo Nanjari Elinor Smith
action filter_type
action union
action find
entity Elinor Smith
relation country of citizenship
action find
entity Ricardo Nanjari
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elinor Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ricardo Nanjari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?x ) { ( resource:Elinor_Smith ) ( resource:Ricardo_Nanjari ) } . ?x property:country_of_citizenship ?j } }
[]
designation for an administrative territorial entity
Q298 Q30
SYSTEM
Chile, United States of America
Q298 Q30
OR((Q2401679,P27,c(Q15617994)), (Q16301644,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2401679
relation P27
action find
entity Q16301644
relation P27
type Q15617994
Elinor Smith or Ricardo Nanjari belong to [ANSWERS]
{'OR': [['Q2401679', 'P27', {'concept': 'Q15617994'}], ['Q16301644', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { VALUES ( ?x ) { ( resource:Q2401679 ) ( resource:Q16301644 ) } . ?x property:P27 ?j } }
Chile United States of America
Elinor Smith or Ricardo Nanjari belong to Chile and United States of America
Chile United States of America
action filter_type
action union
action find
entity Elinor Smith
relation country of citizenship
action find
entity Ricardo Nanjari
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elinor Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ricardo Nanjari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?x ) { ( resource:Elinor_Smith ) ( resource:Ricardo_Nanjari ) } . ?x property:country_of_citizenship ?j } }
[]