Simple Question (Direct)
Simple Question
Q1243640
P495
Q15617994
USER
What is the country of origin of King of the Gypsies ?
(Q1243640,P495,c(Q15617994))
action filter_type
action find
entity Q1243640
relation P495
type Q15617994
['Q1243640', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1243640 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
King of the Gypsies
action filter_type
action find
entity King of the Gypsies
relation country of origin
type designation for an administrative territorial entity
['King of the Gypsies', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:King_of_the_Gypsies property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1243640,P495,c(Q15617994))
action filter_type
action find
entity Q1243640
relation P495
type Q15617994
The country of origin of King of the Gypsies is the [ANSWER]
['Q1243640', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1243640 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
The country of origin of King of the Gypsies is the United States of America
United States of America
action filter_type
action find
entity King of the Gypsies
relation country of origin
type designation for an administrative territorial entity
['King of the Gypsies', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:King_of_the_Gypsies property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1243640
P1040
Q502895
USER
Which person is the editor of that work of art ?
(Q30,P1040,c(Q502895))
action filter_type
action find
entity Q1243640
relation P1040
type Q502895
['Q30', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1243640 property:P1040 ?e }
King of the Gypsies
action filter_type
action find
entity King of the Gypsies
relation film editor
type common name
['United States of America', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:King_of_the_Gypsies property:film_editor ?e }
[]
common name
Q429973
SYSTEM
Paul Hirsch
Q429973
(Q30,P1040,c(Q502895))
action filter_type
action find
entity Q1243640
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
['Q30', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1243640 property:P1040 ?e }
Paul Hirsch
Paul Hirsch is the editor of that work of art
Paul Hirsch
action filter_type
action find
entity King of the Gypsies
relation film editor
type common name
['United States of America', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:King_of_the_Gypsies property:film_editor ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q429973 Q2825107
P344
Q838948
USER
Does Adrien have that person as the director of photography ?
(Q2825107,P344,Q429973)
action is_in
entity Q2825107
action find
entity Q429973
relation P344
['Q2825107', 'P344', 'Q429973']
ASK WHERE { resource:Q429973 property:P344 resource:Q2825107 }
Paul Hirsch Adrien
action is_in
entity Adrien
action find
entity Paul Hirsch
relation director of photography
['Adrien', 'director of photography', 'Paul Hirsch']
ASK WHERE { resource:Paul_Hirsch property:director_of_photography resource:Adrien }
[]
work of art
SYSTEM
NO
(Q2825107,P344,Q429973)
action is_in
entity Q2825107
action find
entity Q429973
relation P344
[ANSWER]
['Q2825107', 'P344', 'Q429973']
ASK WHERE { resource:Q429973 property:P344 resource:Q2825107 }
No
action is_in
entity Adrien
action find
entity Paul Hirsch
relation director of photography
['Adrien', 'director of photography', 'Paul Hirsch']
ASK WHERE { resource:Paul_Hirsch property:director_of_photography resource:Adrien }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q10289137 Q5592271
P6
Q502895
USER
Does United States of America have a government lead by Gerardo Ponte Cavalcante and Graeme Goodings ?
(Q30,P6,Q10289137) (Q30,P6,Q5592271)
action is_in
entity Q30
action intersection
action find_reverse
entity Q10289137
relation P6
action find_reverse
entity Q5592271
relation P6
['Q30', 'P6', 'Q10289137'] ['Q30', 'P6', 'Q5592271']
ASK WHERE { resource:Q30 property:P6 resource:Q5592271 . resource:Q30 property:P6 resource:Q10289137 }
United States of America Gerardo Ponte Cavalcante Graeme Goodings
action is_in
entity United States of America
action intersection
action find_reverse
entity Gerardo Ponte Cavalcante
relation head of government
action find_reverse
entity Graeme Goodings
relation head of government
['United States of America', 'head of government', 'Gerardo Ponte Cavalcante'] ['United States of America', 'head of government', 'Graeme Goodings']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Graeme_Goodings . resource:United_States_of_America property:head_of_government resource:Gerardo_Ponte_Cavalcante }
[]
common name
SYSTEM
NO
(Q30,P6,Q10289137) (Q30,P6,Q5592271)
action is_in
entity Q30
action intersection
action find_reverse
entity Q10289137
relation P6
action find_reverse
entity Q5592271
relation P6
[ANSWER]
['Q30', 'P6', 'Q10289137'] ['Q30', 'P6', 'Q5592271']
ASK WHERE { resource:Q30 property:P6 resource:Q5592271 . resource:Q30 property:P6 resource:Q10289137 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Gerardo Ponte Cavalcante
relation head of government
action find_reverse
entity Graeme Goodings
relation head of government
['United States of America', 'head of government', 'Gerardo Ponte Cavalcante'] ['United States of America', 'head of government', 'Graeme Goodings']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Graeme_Goodings . resource:United_States_of_America property:head_of_government resource:Gerardo_Ponte_Cavalcante }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?i = ?f ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?f ) { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?i = ?f ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?f ) { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?v } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?i = ?f ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?f ) { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?v } } }
piano
Max number of people know how piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?i = ?f ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?f ) { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?v } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do exactly 5 people know to play ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?o } }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?o } }
[]
musical instrument common name
Q213461 Q213100
SYSTEM
harmonium, tabla
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
Exactly 5 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?o } }
harmonium tabla
Exactly 5 people know about harmonium and tabla
harmonium tabla
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q340169
USER
Which medias demonstrate around 1 musical instrument ?
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z property:P180 ?x . ?z rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?l = 1 ) }
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z property:depicts ?x . ?z rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]
musical instrument media
Q19868516 Q17519439
SYSTEM
Violin Hanging on a Wall, Achille Henri Victor Gouffé
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
Violin hanging on a Wall and Achille Henri Victor Gouffé demonstrate around 1 musical instrument
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z property:P180 ?x . ?z rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?l = 1 ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
Violin hanging on a Wall and Achille Henri Victor Gouffé demonstrate around 1 musical instrument
Violin Hanging on a Wall Achille Henri Victor Gouffé
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?l ) WHERE { ?z property:depicts ?x . ?z rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q19603939 Q186081 Q340169
USER
How many medias depict greater number of building components or time intervals than that media ?
(c(Q340169),P180,c(Q19603939)|c(Q186081))
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q19603939'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P180 ?r } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q19603939 . ?x rdf:type ontology:Q186081 }
[{'concept': 'media'}, 'depicts', [{'concept': 'building component'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:depicts ?r } . ?z rdf:type ontology:media . ?y rdf:type ontology:building_component . ?x rdf:type ontology:time_interval }
[]
building component time interval media
Comparative|Count over More/Less|Mult. entity type|Clarification
Q19868516
SYSTEM
Did you mean Violin Hanging on a Wall ?
(c(Q340169),P180,c(Q19603939)|c(Q186081))
[ANSWER]
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q19603939'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P180 ?r } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q19603939 . ?x rdf:type ontology:Q186081 }
Did you mean Violin Hanging on a Wall ?
Violin Hanging on a Wall
[{'concept': 'media'}, 'depicts', [{'concept': 'building component'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:depicts ?r } . ?z rdf:type ontology:media . ?y rdf:type ontology:building_component . ?x rdf:type ontology:time_interval }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q340169),P180,c(Q19603939)|c(Q186081))
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q19603939'}, {'concept': 'Q186081'}]]
[{'concept': 'media'}, 'depicts', [{'concept': 'building component'}, {'concept': 'time interval'}]]
[]
SYSTEM
6
Q4812449 Q20199491 Q20051675 Q27334854 Q21778278 Q20202025
(c(Q340169),P180,c(Q19603939)|c(Q186081))
[ANSWER]
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q19603939'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?z property:P180 ?x } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q19603939 . ?x rdf:type ontology:Q186081 }
At a Window in the Artist's Studio Colombia or Ecuador, Church Roofs Winter on 21st Street, New York View from the Domed Hall at Charlottenborg in Copenhagen Bather Palm Trees and Housetops, Ecuador
6
[{'concept': 'media'}, 'depicts', [{'concept': 'building component'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?z property:depicts ?x } } . ?z rdf:type ontology:media . ?y rdf:type ontology:building_component . ?x rdf:type ontology:time_interval }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q429973
P106
Q28640
USER
What is the job of Paul Hirsch ?
(Q429973,P106,c(Q28640))
action filter_type
action find
entity Q429973
relation P106
type Q28640
['Q429973', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q429973 property:P106 ?r . ?r rdf:type ontology:Q28640 }
Paul Hirsch
action filter_type
action find
entity Paul Hirsch
relation occupation
type profession
['Paul Hirsch', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Hirsch property:occupation ?r . ?r rdf:type ontology:profession }
[]
profession
Q7042855
SYSTEM
film editor
Q7042855
(Q429973,P106,c(Q28640))
action filter_type
action find
entity Q429973
relation P106
type Q28640
The job of Paul Hirsch is a [ANSWER]
['Q429973', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q429973 property:P106 ?r . ?r rdf:type ontology:Q28640 }
film editor
The job of Paul Hirsch is a film editor
film editor
action filter_type
action find
entity Paul Hirsch
relation occupation
type profession
['Paul Hirsch', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Hirsch property:occupation ?r . ?r rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16583763
Q28640
USER
And how about José Ramón Luna?
(Q16583763,P106,c(Q28640))
action filter_type
action find
entity Q16583763
relation P106
type Q28640
['Q16583763', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q16583763 property:P106 ?q . ?q rdf:type ontology:Q28640 }
José Ramón Luna
action filter_type
action find
entity José Ramón Luna
relation occupation
type profession
['José Ramón Luna', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:José_Ramón_Luna property:occupation ?q . ?q rdf:type ontology:profession }
[]
profession
Q28389
SYSTEM
screenwriter
Q28389
(Q16583763,P106,c(Q28640))
action filter_type
action find
entity Q16583763
relation P106
type Q28640
[ANSWER]
['Q16583763', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q16583763 property:P106 ?q . ?q rdf:type ontology:Q28640 }
screenwriter
screenwriter
action filter_type
action find
entity José Ramón Luna
relation occupation
type profession
['José Ramón Luna', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:José_Ramón_Luna property:occupation ?q . ?q rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P108
Q502895
USER
Which person works for United States of America ?
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q30 . ?i rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:employer resource:United_States_of_America . ?i rdf:type ontology:common_name }
[]
common name
Q231417
SYSTEM
Barbara Walters
Q231417
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[ANSWER] works for United States of America
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q30 . ?i rdf:type ontology:Q502895 }
Barbara Walters
Barbara Walters works for United States of America
Barbara Walters
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:employer resource:United_States_of_America . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231417
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q231417,P19,c(Q56061))
action filter_type
action find
entity Q231417
relation P19
type Q56061
['Q231417', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q231417 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Barbara Walters
action filter_type
action find
entity Barbara Walters
relation place of birth
type administrative territorial entity
['Barbara Walters', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Barbara_Walters property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q231417,P19,c(Q56061))
action filter_type
action find
entity Q231417
relation P19
type Q56061
That person was born in [ANSWER]
['Q231417', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q231417 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Boston
That person was born in Boston
Boston
action filter_type
action find
entity Barbara Walters
relation place of birth
type administrative territorial entity
['Barbara Walters', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Barbara_Walters property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231417
P21
Q290
USER
Which sex does that person have ?
(Q100,P21,c(Q290))
action filter_type
action find
entity Q231417
relation P21
type Q290
['Q100', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q231417 property:P21 ?d . ?d rdf:type ontology:Q290 }
Barbara Walters
action filter_type
action find
entity Barbara Walters
relation gender
type sex
['Boston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Barbara_Walters property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q100,P21,c(Q290))
action filter_type
action find
entity Q231417
relation P21
type Q290
That person has a [ANSWER]
['Q100', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q231417 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Barbara Walters
relation gender
type sex
['Boston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Barbara_Walters property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7042855
P425
Q1792379
USER
Who has film editor as the associated field of occupation ?
(Q7042855,P425,c(Q1792379))
action filter_type
action find
entity Q7042855
relation P425
type Q1792379
['Q7042855', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q7042855 property:P425 ?j . ?j rdf:type ontology:Q1792379 }
film editor
action filter_type
action find
entity film editor
relation field of this occupation
type art genre
['film editor', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:film_editor property:field_of_this_occupation ?j . ?j rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q7042855,P425,c(Q1792379))
action filter_type
action find
entity Q7042855
relation P425
type Q1792379
Field [ANSWER] has film editor as the associated field of occupation
['Q7042855', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q7042855 property:P425 ?j . ?j rdf:type ontology:Q1792379 }
documentary film
Field documentary film has film editor as the associated field of occupation
documentary film
action filter_type
action find
entity film editor
relation field of this occupation
type art genre
['film editor', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:film_editor property:field_of_this_occupation ?j . ?j rdf:type ontology:art_genre }
[]