Simple Question (Direct)
Simple Question
Q5375575
P58
Q502895
USER
Who wrote the script for Encounter Point ?
(Q5375575,P58,c(Q502895))
action filter_type
action find
entity Q5375575
relation P58
type Q502895
['Q5375575', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5375575 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Encounter Point
action filter_type
action find
entity Encounter Point
relation screenwriter
type common name
['Encounter Point', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Encounter_Point property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
common name
Q519340
SYSTEM
Julia Bacha
Q519340
(Q5375575,P58,c(Q502895))
action filter_type
action find
entity Q5375575
relation P58
type Q502895
[ANSWER] wrote the script for Encounter Point
['Q5375575', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5375575 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Julia Bacha
Julia Bacha wrote the script for Encounter Point
Julia Bacha
action filter_type
action find
entity Encounter Point
relation screenwriter
type common name
['Encounter Point', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Encounter_Point property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q519340
P21
Q290
USER
Which sex does that person belong to ?
(Q519340,P21,c(Q290))
action filter_type
action find
entity Q519340
relation P21
type Q290
['Q519340', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q519340 property:P21 ?y . ?y rdf:type ontology:Q290 }
Julia Bacha
action filter_type
action find
entity Julia Bacha
relation gender
type sex
['Julia Bacha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Julia_Bacha property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q519340,P21,c(Q290))
action filter_type
action find
entity Q519340
relation P21
type Q290
That person belongs to [ANSWER]
['Q519340', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q519340 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Julia Bacha
relation gender
type sex
['Julia Bacha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Julia_Bacha property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q519340
P800
Q838948
USER
What were notable works done by Julia Bacha ?
(Q519340,P800,c(Q838948))
action filter_type
action find
entity Q519340
relation P800
type Q838948
['Q519340', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { resource:Q519340 property:P800 ?w . ?w rdf:type ontology:Q838948 }
Julia Bacha
action filter_type
action find
entity Julia Bacha
relation notable work
type work of art
['Julia Bacha', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { resource:Julia_Bacha property:notable_work ?w . ?w rdf:type ontology:work_of_art }
[]
work of art
Q2927587 Q2317562
SYSTEM
Budrus, Control Room
Q2927587 Q2317562
(Q519340,P800,c(Q838948))
action filter_type
action find
entity Q519340
relation P800
type Q838948
Notable works done by Julia Bacha were called [ANSWERS]
['Q519340', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?w WHERE { resource:Q519340 property:P800 ?w . ?w rdf:type ontology:Q838948 }
Budrus Control Room
Notable works done by Julia Bacha were called Budrus and Control Room
Budrus Control Room
action filter_type
action find
entity Julia Bacha
relation notable work
type work of art
['Julia Bacha', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?w WHERE { resource:Julia_Bacha property:notable_work ?w . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2927587 Q2317562
P800
Q502895
USER
Who have those ones as their notable work ?
(c(Q502895),P800,Q2927587) (c(Q502895),P800,Q2317562)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2927587'] [{'concept': 'Q502895'}, 'P800', 'Q2317562']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P800 ?a . VALUES ( ?a ) { ( resource:Q2927587 ) ( resource:Q2317562 ) } }
Budrus Control Room
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Budrus'] [{'concept': 'common name'}, 'notable work', 'Control Room']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:notable_work ?a . VALUES ( ?a ) { ( resource:Budrus ) ( resource:Control_Room ) } }
[]
common name
Q519340
SYSTEM
Julia Bacha
Q519340
(c(Q502895),P800,Q2927587) (c(Q502895),P800,Q2317562)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[ANSWER] have those ones as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q2927587'] [{'concept': 'Q502895'}, 'P800', 'Q2317562']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P800 ?a . VALUES ( ?a ) { ( resource:Q2927587 ) ( resource:Q2317562 ) } }
Julia Bacha
Julia Bacha have those ones as their notable work
Julia Bacha
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Budrus'] [{'concept': 'common name'}, 'notable work', 'Control Room']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:notable_work ?a . VALUES ( ?a ) { ( resource:Budrus ) ( resource:Control_Room ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q519340
P69
Q163740
USER
Which nonprofit organization is the alma mater of that person ?
(Q519340,P69,c(Q163740))
action filter_type
action find
entity Q519340
relation P69
type Q163740
['Q519340', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q519340 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Julia Bacha
action filter_type
action find
entity Julia Bacha
relation educated at
type nonprofit organization
['Julia Bacha', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Julia_Bacha property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q519340,P69,c(Q163740))
action filter_type
action find
entity Q519340
relation P69
type Q163740
[ANSWER] is the alma mater of that person
['Q519340', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q519340 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Columbia University
Columbia University is the alma mater of that person
Columbia University
action filter_type
action find
entity Julia Bacha
relation educated at
type nonprofit organization
['Julia Bacha', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Julia_Bacha property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q519340
P19
Q56061
USER
Which administrative territory is the birthplace of Julia Bacha ?
(Q519340,P19,c(Q56061))
action filter_type
action find
entity Q519340
relation P19
type Q56061
['Q519340', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q519340 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Julia Bacha
action filter_type
action find
entity Julia Bacha
relation place of birth
type administrative territorial entity
['Julia Bacha', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Julia_Bacha property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q519340,P19,c(Q56061))
action filter_type
action find
entity Q519340
relation P19
type Q56061
De [ANSWER] is the birthplace of Julia Bacha
['Q519340', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q519340 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Rio de Janeiro
De Rio de Janeiro is the birthplace of Julia Bacha
Rio de Janeiro
action filter_type
action find
entity Julia Bacha
relation place of birth
type administrative territorial entity
['Julia Bacha', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Julia_Bacha property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8678
P840
Q15416
USER
Which television programs have their narrative set in that administrative territory ?
(c(Q15416),P840,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q8678']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q8678 . ?e rdf:type ontology:Q15416 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Rio de Janeiro']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Rio_de_Janeiro . ?e rdf:type ontology:television_program }
[]
television program
Q2888585 Q1262765 Q1972568
SYSTEM
Childrens Hospital, Duas Caras, Barriga de Aluguel
Q3280689 Q3724709 Q21296891 Q1262765 Q2888585 Q1972568
(c(Q15416),P840,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P840
type Q15416
[ANSWERS] have their narrative set in that administrative territory
[{'concept': 'Q15416'}, 'P840', 'Q8678']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q8678 . ?e rdf:type ontology:Q15416 }
Preamar Emmanuelle in Rio Totalmente Demais Duas Caras Childrens Hospital Barriga de Aluguel
Childrens Hospital, Duas Caras and Barriga de Aluguel have their narrative set in that administrative territory
Childrens Hospital Duas Caras Barriga de Aluguel
action filter_type
action find_reverse
entity Rio de Janeiro
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Rio de Janeiro']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Rio_de_Janeiro . ?e rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2888585
P449
Q1616075
USER
Which television stations did that television program originally air in ?
(Q2888585,P449,c(Q1616075))
action filter_type
action find
entity Q2888585
relation P449
type Q1616075
['Q2888585', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?m WHERE { resource:Q2888585 property:P449 ?m . ?m rdf:type ontology:Q1616075 }
Childrens Hospital
action filter_type
action find
entity Childrens Hospital
relation original network
type television station
['Childrens Hospital', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?m WHERE { resource:Childrens_Hospital property:original_network ?m . ?m rdf:type ontology:television_station }
[]
television station
Clarification for simple ques.
Q1972568
SYSTEM
Did you mean Barriga de Aluguel ?
Q2888585 Q1262765 Q1972568
(Q2888585,P449,c(Q1616075)) (Q1262765,P449,c(Q1616075)) (Q1972568,P449,c(Q1616075))
[ANSWER]
['Q2888585', 'P449', {'concept': 'Q1616075'}] ['Q1262765', 'P449', {'concept': 'Q1616075'}] ['Q1972568', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?m WHERE { resource:Q2888585 property:P449 ?m . ?m rdf:type ontology:Q1616075 }
Childrens Hospital Duas Caras Barriga de Aluguel
Did you mean Barriga de Aluguel ?
Barriga de Aluguel
['Childrens Hospital', 'original network', {'concept': 'television station'}] ['Duas Caras', 'original network', {'concept': 'television station'}] ['Barriga de Aluguel', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?m WHERE { resource:Childrens_Hospital property:original_network ?m . ?m rdf:type ontology:television_station }
[]
Simple Question (Coreferenced)
USER
No, I meant Childrens Hospital. Could you tell me the answer for that?
(Q2888585,P449,c(Q1616075))
Q2888585
['Q2888585', 'P449', {'concept': 'Q1616075'}]
['Childrens Hospital', 'original network', {'concept': 'television station'}]
[]
Q844972 Q379052
SYSTEM
The WB, Adult Swim
Q844972 Q379052
(Q2888585,P449,c(Q1616075))
action filter_type
action find
entity Q2888585
relation P449
type Q1616075
Originally that television program aired in both [ANSWERS]
['Q2888585', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?m WHERE { resource:Q2888585 property:P449 ?m . ?m rdf:type ontology:Q1616075 }
The WB Adult Swim
Originally that television program aired in both The WB and Adult Swim
The WB Adult Swim
action filter_type
action find
entity Childrens Hospital
relation original network
type television station
['Childrens Hospital', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?m WHERE { resource:Childrens_Hospital property:original_network ?m . ?m rdf:type ontology:television_station }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10743615 Q519340
P27 P17
Q15617994
USER
Which administrative territories are Julia Bacha a civilian of or are Bối Cầu located in ?
OR((Q519340,P27,c(Q15617994)), (Q10743615,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q519340
relation P27
action find
entity Q10743615
relation P17
type Q15617994
{'OR': [['Q519340', 'P27', {'concept': 'Q15617994'}], ['Q10743615', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q519340 property:P27 ?m } UNION { resource:Q10743615 property:P17 ?m } } }
Bối Cầu Julia Bacha
action filter_type
action union
action find
entity Julia Bacha
relation country of citizenship
action find
entity Bối Cầu
relation country
type designation for an administrative territorial entity
{'OR': [['Julia Bacha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bối Cầu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Julia_Bacha property:country_of_citizenship ?m } UNION { resource:Bối_Cầu property:country ?m } } }
[]
designation for an administrative territorial entity
Q155 Q881
SYSTEM
Brazil, Vietnam
Q155 Q881
OR((Q519340,P27,c(Q15617994)), (Q10743615,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q519340
relation P27
action find
entity Q10743615
relation P17
type Q15617994
The [ANSWERS] are Julia Bacha a civilian of or are Bối Cầu located in
{'OR': [['Q519340', 'P27', {'concept': 'Q15617994'}], ['Q10743615', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q519340 property:P27 ?m } UNION { resource:Q10743615 property:P17 ?m } } }
Brazil Vietnam
The Brazil and Vietnam are Julia Bacha a civilian of or are Bối Cầu located in
Brazil Vietnam
action filter_type
action union
action find
entity Julia Bacha
relation country of citizenship
action find
entity Bối Cầu
relation country
type designation for an administrative territorial entity
{'OR': [['Julia Bacha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bối Cầu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Julia_Bacha property:country_of_citizenship ?m } UNION { resource:Bối_Cầu property:country ?m } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q881
P610
Q14524493
USER
Which are the highest point of those administrative territories ?
(Q155,P610,c(Q14524493)) (Q881,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q155', 'P610', {'concept': 'Q14524493'}] ['Q881', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { ?d property:P610 ?a . ?a rdf:type ontology:Q14524493 . VALUES ( ?d ) { ( resource:Q155 ) ( resource:Q881 ) } }
Brazil Vietnam
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}] ['Vietnam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { ?d property:highest_point ?a . ?a rdf:type ontology:terrain . VALUES ( ?d ) { ( resource:Brazil ) ( resource:Vietnam ) } }
[]
terrain
Q739484 Q123782
SYSTEM
Pico da Neblina, Fansipan
Q739484 Q123782
(Q155,P610,c(Q14524493)) (Q881,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
The highest point of those administrative territories are the [ANSWERS]
['Q155', 'P610', {'concept': 'Q14524493'}] ['Q881', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { ?d property:P610 ?a . ?a rdf:type ontology:Q14524493 . VALUES ( ?d ) { ( resource:Q155 ) ( resource:Q881 ) } }
Pico da Neblina Fansipan
The highest point of those administrative territories are the Pico da Neblina and Fansipan
Pico da Neblina Fansipan
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}] ['Vietnam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { ?d property:highest_point ?a . ?a rdf:type ontology:terrain . VALUES ( ?d ) { ( resource:Brazil ) ( resource:Vietnam ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P463
Q874405
USER
What social groups were Brazil a member of ?
(Q155,P463,c(Q874405))
action filter_type
action find
entity Q155
relation P463
type Q874405
['Q155', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q155 property:P463 ?h . ?h rdf:type ontology:Q874405 }
Brazil
action filter_type
action find
entity Brazil
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Brazil property:member_of ?h . ?h rdf:type ontology:social_group }
[]
social group
Q7817 Q47539 Q1484463
SYSTEM
World Health Organization, South Atlantic Peace and Cooperation Zone, G8+5
Q47539 Q1484463 Q7817 Q602399
(Q155,P463,c(Q874405))
action filter_type
action find
entity Q155
relation P463
type Q874405
Brazil were the [ANSWERS]
['Q155', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q155 property:P463 ?h . ?h rdf:type ontology:Q874405 }
South Atlantic Peace and Cooperation Zone G8+5 World Health Organization Amazon Cooperation Treaty Organization
Brazil were the World Health Organization, South Atlantic Peace and Cooperation Zone and G8+5
World Health Organization South Atlantic Peace and Cooperation Zone G8+5
action filter_type
action find
entity Brazil
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Brazil property:member_of ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q365787
Q874405
USER
And how about Adolphe Noël des Vergers?
(Q365787,P463,c(Q874405))
action filter_type
action find
entity Q365787
relation P463
type Q874405
['Q365787', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q365787 property:P463 ?x . ?x rdf:type ontology:Q874405 }
Adolphe Noël des Vergers
action filter_type
action find
entity Adolphe Noël des Vergers
relation member of
type social group
['Adolphe Noël des Vergers', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Adolphe_Noël_des_Vergers property:member_of ?x . ?x rdf:type ontology:social_group }
[]
social group
Q2297128
SYSTEM
Société de Géographie
Q2297128
(Q365787,P463,c(Q874405))
action filter_type
action find
entity Q365787
relation P463
type Q874405
[ANSWER]
['Q365787', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q365787 property:P463 ?x . ?x rdf:type ontology:Q874405 }
Société de Géographie
Société de Géographie
action filter_type
action find
entity Adolphe Noël des Vergers
relation member of
type social group
['Adolphe Noël des Vergers', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Adolphe_Noël_des_Vergers property:member_of ?x . ?x rdf:type ontology:social_group }
[]