Simple Question (Direct)
Simple Question
Q7004840
P937
Q56061
USER
Which is the work location of Neville Sandelson ?
(Q7004840,P937,c(Q56061))
action filter_type
action find
entity Q7004840
relation P937
type Q56061
['Q7004840', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7004840 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Neville Sandelson
action filter_type
action find
entity Neville Sandelson
relation work location
type administrative territorial entity
['Neville Sandelson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Neville_Sandelson property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7004840,P937,c(Q56061))
action filter_type
action find
entity Q7004840
relation P937
type Q56061
[ANSWER] is the work location of Neville Sandelson
['Q7004840', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7004840 property:P937 ?z . ?z rdf:type ontology:Q56061 }
London
London is the work location of Neville Sandelson
London
action filter_type
action find
entity Neville Sandelson
relation work location
type administrative territorial entity
['Neville Sandelson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Neville_Sandelson property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7004840
P39
Q12737077
USER
What was the position held by that person ?
(Q84,P39,c(Q12737077))
action filter_type
action find
entity Q7004840
relation P39
type Q12737077
['Q84', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7004840 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Neville Sandelson
action filter_type
action find
entity Neville Sandelson
relation position held
type occupation
['London', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Neville_Sandelson property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q84,P39,c(Q12737077))
action filter_type
action find
entity Q7004840
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q84', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7004840 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The position held by that person was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Neville Sandelson
relation position held
type occupation
['London', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Neville_Sandelson property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16707842 Q145 Q694136
P17
Q15617994
USER
Is that occupation situated in United Kingdom and Roth ?
(Q16707842,P17,Q145) (Q16707842,P17,Q694136)
action is_in
entity Q16707842
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q694136
relation P17
['Q16707842', 'P17', 'Q145'] ['Q16707842', 'P17', 'Q694136']
ASK WHERE { resource:Q16707842 property:P17 resource:Q145 . resource:Q16707842 property:P17 resource:Q694136 }
Member of Parliament in the United Kingdom United Kingdom Roth
action is_in
entity Member of Parliament in the United Kingdom
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Roth
relation country
['Member of Parliament in the United Kingdom', 'country', 'United Kingdom'] ['Member of Parliament in the United Kingdom', 'country', 'Roth']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country resource:United_Kingdom . resource:Member_of_Parliament_in_the_United_Kingdom property:country resource:Roth }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q16707842,P17,Q145) (Q16707842,P17,Q694136)
action is_in
entity Q16707842
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q694136
relation P17
[ANSWER]
['Q16707842', 'P17', 'Q145'] ['Q16707842', 'P17', 'Q694136']
ASK WHERE { resource:Q16707842 property:P17 resource:Q145 . resource:Q16707842 property:P17 resource:Q694136 }
YES and NO respectively
action is_in
entity Member of Parliament in the United Kingdom
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Roth
relation country
['Member of Parliament in the United Kingdom', 'country', 'United Kingdom'] ['Member of Parliament in the United Kingdom', 'country', 'Roth']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country resource:United_Kingdom . resource:Member_of_Parliament_in_the_United_Kingdom property:country resource:Roth }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7004840 Q145 Q627838
P27
Q15617994
USER
Is Neville Sandelson a citizen of United Kingdom and Kloster Lehnin ?
(Q7004840,P27,Q145) (Q7004840,P27,Q627838)
action is_in
entity Q7004840
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q627838
relation P27
['Q7004840', 'P27', 'Q145'] ['Q7004840', 'P27', 'Q627838']
ASK WHERE { resource:Q7004840 property:P27 resource:Q145 . resource:Q7004840 property:P27 resource:Q627838 }
Neville Sandelson United Kingdom Kloster Lehnin
action is_in
entity Neville Sandelson
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Kloster Lehnin
relation country of citizenship
['Neville Sandelson', 'country of citizenship', 'United Kingdom'] ['Neville Sandelson', 'country of citizenship', 'Kloster Lehnin']
ASK WHERE { resource:Neville_Sandelson property:country_of_citizenship resource:United_Kingdom . resource:Neville_Sandelson property:country_of_citizenship resource:Kloster_Lehnin }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q7004840,P27,Q145) (Q7004840,P27,Q627838)
action is_in
entity Q7004840
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q627838
relation P27
[ANSWER]
['Q7004840', 'P27', 'Q145'] ['Q7004840', 'P27', 'Q627838']
ASK WHERE { resource:Q7004840 property:P27 resource:Q145 . resource:Q7004840 property:P27 resource:Q627838 }
YES and NO respectively
action is_in
entity Neville Sandelson
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Kloster Lehnin
relation country of citizenship
['Neville Sandelson', 'country of citizenship', 'United Kingdom'] ['Neville Sandelson', 'country of citizenship', 'Kloster Lehnin']
ASK WHERE { resource:Neville_Sandelson property:country_of_citizenship resource:United_Kingdom . resource:Neville_Sandelson property:country_of_citizenship resource:Kloster_Lehnin }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11882851 Q7004840
P27
Q15617994
USER
Which administrative territories are Neville Sandelson or Milja Thureson a civilian of ?
OR((Q7004840,P27,c(Q15617994)), (Q11882851,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7004840
relation P27
action find
entity Q11882851
relation P27
type Q15617994
{'OR': [['Q7004840', 'P27', {'concept': 'Q15617994'}], ['Q11882851', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q7004840 property:P27 ?o } UNION { resource:Q11882851 property:P27 ?o } } }
Milja Thureson Neville Sandelson
action filter_type
action union
action find
entity Neville Sandelson
relation country of citizenship
action find
entity Milja Thureson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Neville Sandelson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Milja Thureson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neville_Sandelson property:country_of_citizenship ?o } UNION { resource:Milja_Thureson property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q33 Q145
SYSTEM
Finland, United Kingdom
Q33 Q145
OR((Q7004840,P27,c(Q15617994)), (Q11882851,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7004840
relation P27
action find
entity Q11882851
relation P27
type Q15617994
[ANSWERS] are Neville Sandelson or Milja Thureson a civilian of
{'OR': [['Q7004840', 'P27', {'concept': 'Q15617994'}], ['Q11882851', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q7004840 property:P27 ?o } UNION { resource:Q11882851 property:P27 ?o } } }
Finland United Kingdom
Finland and United Kingdom are Neville Sandelson or Milja Thureson a civilian of
Finland United Kingdom
action filter_type
action union
action find
entity Neville Sandelson
relation country of citizenship
action find
entity Milja Thureson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Neville Sandelson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Milja Thureson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neville_Sandelson property:country_of_citizenship ?o } UNION { resource:Milja_Thureson property:country_of_citizenship ?o } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q705157
P17
Q11024
USER
Are Nazi propaganda located in those administrative territories ?
(Q705157,P17,Q33) (Q705157,P17,Q145)
action is_in
entity prev_answer
action find
entity Q705157
relation P17
['Q705157', 'P17', 'Q33'] ['Q705157', 'P17', 'Q145']
ASK WHERE { resource:Q705157 property:P17 ?m . VALUES ( ?m ) { ( resource:Q33 ) ( resource:Q145 ) } }
Nazi propaganda
action is_in
entity prev_answer
action find
entity Nazi propaganda
relation country
['Nazi propaganda', 'country', 'Finland'] ['Nazi propaganda', 'country', 'United Kingdom']
ASK WHERE { resource:Nazi_propaganda property:country ?m . VALUES ( ?m ) { ( resource:Finland ) ( resource:United_Kingdom ) } }
[]
communication
SYSTEM
NO
(Q705157,P17,Q33) (Q705157,P17,Q145)
action is_in
entity prev_answer
action find
entity Q705157
relation P17
[ANSWER]
['Q705157', 'P17', 'Q33'] ['Q705157', 'P17', 'Q145']
ASK WHERE { resource:Q705157 property:P17 ?m . VALUES ( ?m ) { ( resource:Q33 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Nazi propaganda
relation country
['Nazi propaganda', 'country', 'Finland'] ['Nazi propaganda', 'country', 'United Kingdom']
ASK WHERE { resource:Nazi_propaganda property:country ?m . VALUES ( ?m ) { ( resource:Finland ) ( resource:United_Kingdom ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3545406 Q16707842
P1001 P17
Q15617994
USER
Which administrative territories apply to jurisdiction of Member of Parliament in the United Kingdom and are People Before Profit Alliance present in ?
AND((Q16707842,P1001,c(Q15617994)), (Q3545406,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16707842
relation P1001
action find
entity Q3545406
relation P17
type Q15617994
{'AND': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q3545406', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3545406 property:P17 ?i . resource:Q16707842 property:P1001 ?i . ?i rdf:type ontology:Q15617994 }
People Before Profit Alliance Member of Parliament in the United Kingdom
action filter_type
action intersection
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity People Before Profit Alliance
relation country
type designation for an administrative territorial entity
{'AND': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['People Before Profit Alliance', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:People_Before_Profit_Alliance property:country ?i . resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q16707842,P1001,c(Q15617994)), (Q3545406,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16707842
relation P1001
action find
entity Q3545406
relation P17
type Q15617994
[ANSWER] apply to jurisdiction of Member of Parliament in the [ANSWER] and are People Before Profit Alliance present in
{'AND': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q3545406', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3545406 property:P17 ?i . resource:Q16707842 property:P1001 ?i . ?i rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom apply to jurisdiction of Member of Parliament in the United Kingdom and are People Before Profit Alliance present in
United Kingdom
action filter_type
action intersection
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity People Before Profit Alliance
relation country
type designation for an administrative territorial entity
{'AND': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['People Before Profit Alliance', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:People_Before_Profit_Alliance property:country ?i . resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q16521 Q355304
USER
Which administrative territories are the etymology of atleast 1 taxons and watercourses ?
(c(Q16521)|c(Q355304),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
value 1
[[{'concept': 'Q16521'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q355304 . ?i property:P138 ?e } UNION { ?i property:P138 ?e . ?i rdf:type ontology:Q16521 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
value 1
[[{'concept': 'taxon'}, {'concept': 'watercourse'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:watercourse . ?i property:named_after ?e } UNION { ?i property:named_after ?e . ?i rdf:type ontology:taxon . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
designation for an administrative territorial entity taxon watercourse
Q717 Q869 Q928
SYSTEM
Venezuela, Thailand, Philippines
Q1458 Q33788 Q11340 Q53873 Q712 Q717 Q917 Q819 Q869 Q928 Q243337
(c(Q16521)|c(Q355304),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
value 1
[ANSWERS] are the etymology of atleast 1 taxons and watercourses
[[{'concept': 'Q16521'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q355304 . ?i property:P138 ?e } UNION { ?i property:P138 ?e . ?i rdf:type ontology:Q16521 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
Calabria New Caledonia Sprockhövel Diamante Fiji Venezuela Bhutan Laos Thailand Philippines Issum
Venezuela, Thailand and Philippines are the etymology of atleast 1 taxons and watercourses
Venezuela Thailand Philippines
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
value 1
[[{'concept': 'taxon'}, {'concept': 'watercourse'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:watercourse . ?i property:named_after ?e } UNION { ?i property:named_after ?e . ?i rdf:type ontology:taxon . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q717
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q717,P30,c(Q2221906))
action filter_type
action find
entity Q717
relation P30
type Q2221906
['Q717', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q717 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Venezuela
action filter_type
action find
entity Venezuela
relation continent
type geographic location
['Venezuela', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Venezuela property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q928
SYSTEM
Did you mean Philippines ?
Q717 Q869 Q928
(Q717,P30,c(Q2221906)) (Q869,P30,c(Q2221906)) (Q928,P30,c(Q2221906))
[ANSWER]
['Q717', 'P30', {'concept': 'Q2221906'}] ['Q869', 'P30', {'concept': 'Q2221906'}] ['Q928', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q717 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Venezuela Thailand Philippines
Did you mean Philippines ?
Philippines
['Venezuela', 'continent', {'concept': 'geographic location'}] ['Thailand', 'continent', {'concept': 'geographic location'}] ['Philippines', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Venezuela property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Venezuela. Could you tell me the answer for that?
(Q717,P30,c(Q2221906))
Q717
['Q717', 'P30', {'concept': 'Q2221906'}]
['Venezuela', 'continent', {'concept': 'geographic location'}]
[]
Q18
SYSTEM
South America
Q18
(Q717,P30,c(Q2221906))
action filter_type
action find
entity Q717
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q717', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q717 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
South America
That administrative territory is situated in South America
South America
action filter_type
action find
entity Venezuela
relation continent
type geographic location
['Venezuela', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Venezuela property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18
P30
Q355304
USER
Which watercourses are a part of that geographic location ?
(c(Q355304),P30,Q18)
action filter_type
action find_reverse
entity Q18
relation P30
type Q355304
[{'concept': 'Q355304'}, 'P30', 'Q18']
SELECT DISTINCT ?m WHERE { ?m property:P30 resource:Q18 . ?m rdf:type ontology:Q355304 }
South America
action filter_type
action find_reverse
entity South America
relation continent
type watercourse
[{'concept': 'watercourse'}, 'continent', 'South America']
SELECT DISTINCT ?m WHERE { ?m property:continent resource:South_America . ?m rdf:type ontology:watercourse }
[]
watercourse
Q131792 Q3783 Q859548
SYSTEM
Orinoco, Amazonas, Río Negro
Q2981909 Q270467 Q179396 Q2844812 Q941329 Q5286126 Q200174 Q142604 Q849693 Q2565430 Q1059928 Q18278 Q270569 Q127892 Q853315 Q955354 Q270627 Q131792 Q171840 Q1513192 Q2670262 Q1757394 Q209590 Q1121956 Q1185369 Q1047596 Q496570 Q5244330 Q1478566 Q93360 Q817337 Q1343322 Q607976 Q118251 Q472816 Q385342 Q1349924 Q117526 Q331455 Q768797 Q661805 Q1363972 Q117615 Q4534 Q1369002 Q590533 Q191829 Q655251 Q853332 Q142148 Q3097778 Q213782 Q3783 Q118771 Q1146770 Q26271 Q589911 Q1162365 Q200952 Q386331 Q191635 Q859548 Q582321 Q737831 Q38709 Q776155 Q171847 Q214921 Q508582 Q611388
(c(Q355304),P30,Q18)
action filter_type
action find_reverse
entity Q18
relation P30
type Q355304
[ANSWERS] are a part of that geographic location
[{'concept': 'Q355304'}, 'P30', 'Q18']
SELECT DISTINCT ?m WHERE { ?m property:P30 resource:Q18 . ?m rdf:type ontology:Q355304 }
Jutai River Bermejo Paraguay River Solimões Javary River Do Meio River Marañón River Beni River Madre de Dios River Dulce River Arauca River Uruguay River Pilcomayo Paraná Apure River Chubut River Colorado River Orinoco Japurá River Pará River Jari River Rio Doce Urubamba River Caura River Demerara River Guaviare River Potaro River De Contas River Santa Cruz River Bío Bío River Río Negro Desaguadero River Paranapanema River Madeira River Juruena River Desaguadero River Ventuari River Jurua River Casiquiare canal Laja River Arinos River Atrato River Mamoré River Andalién River Maroni Caroní River Magdalena River Meta River Cauca River São Francisco River San Juan River Putumayo River Amazonas Rio Negro Cuyuni River Purus River Essequibo River Salado River Ucayali River Grande River Iguazu River Río Negro Mearim River Loa River Salto Grande Paranaíba River Araguaia River Apurímac River Courantyne River Huallaga River
Orinoco, Amazonas and Río Negro are a part of that geographic location
Orinoco Amazonas Río Negro
action filter_type
action find_reverse
entity South America
relation continent
type watercourse
[{'concept': 'watercourse'}, 'continent', 'South America']
SELECT DISTINCT ?m WHERE { ?m property:continent resource:South_America . ?m rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131792 Q3783 Q859548
P403
Q355304
USER
Which watercourses flows into those ones ?
(c(Q355304),P403,Q131792) (c(Q355304),P403,Q3783) (c(Q355304),P403,Q859548)
action filter_type
action find_reverse
entity prev_answer
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q131792'] [{'concept': 'Q355304'}, 'P403', 'Q3783'] [{'concept': 'Q355304'}, 'P403', 'Q859548']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q355304 . VALUES ( ?l ) { ( resource:Q2981909 ) ( resource:Q270467 ) ( resource:Q179396 ) } . ?a property:P403 ?l }
Orinoco Amazonas Río Negro
action filter_type
action find_reverse
entity prev_answer
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Orinoco'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Amazonas'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Río Negro']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:watercourse . VALUES ( ?l ) { ( resource:Jutai_River ) ( resource:Bermejo ) ( resource:Paraguay_River ) } . ?a property:mouth_of_the_watercourse ?l }
[]
watercourse
Q703202 Q1581250 Q118251
SYSTEM
Grande River, Yí River, Madeira River
Q6794111 Q3458822 Q1047596 Q853315 Q7123213 Q5407813 Q5192326 Q3458738 Q1121956 Q6747120 Q1349924 Q1059928 Q7630492 Q5194382 Q655251 Q590533 Q2179183 Q16909323 Q5120176 Q3458561 Q4795460 Q118251 Q49544 Q2207501 Q117526 Q200952 Q2670262 Q19595454 Q200174 Q849480 Q2981909 Q941329 Q6150964 Q544930 Q2844812 Q6746588 Q213782 Q752674 Q171840 Q118771 Q703202 Q799966 Q1581250
(c(Q355304),P403,Q131792) (c(Q355304),P403,Q3783) (c(Q355304),P403,Q859548)
action filter_type
action find_reverse
entity prev_answer
relation P403
type Q355304
[ANSWERS] flow into those ones
[{'concept': 'Q355304'}, 'P403', 'Q131792'] [{'concept': 'Q355304'}, 'P403', 'Q3783'] [{'concept': 'Q355304'}, 'P403', 'Q859548']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q355304 . VALUES ( ?l ) { ( resource:Q2981909 ) ( resource:Q270467 ) ( resource:Q179396 ) } . ?a property:P403 ?l }
Mavaca River Vichada River Guaviare River Apure River Padamo River Ocamo River Cuchivero River Parguaza River Caura River Manaviche River Ventuari River Arauca River Suapure River Cunucunuma River Meta River Caroní River Tomo River Sipapo River Cinaruco River Capanaparo River Aro River Madeira River Xingu River Trombetas Jurua River Ucayali River Jari River Itaya Marañón River Napo River Jutai River Javary River Jandiatuba River Nanay River Solimões Manacapuru River Putumayo River Tapajós Japurá River Rio Negro Grande River Tacuarembó River Yí River
Grande River, Yí River and Madeira River flow into those ones
Grande River Yí River Madeira River
action filter_type
action find_reverse
entity prev_answer
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Orinoco'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Amazonas'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Río Negro']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:watercourse . VALUES ( ?l ) { ( resource:Jutai_River ) ( resource:Bermejo ) ( resource:Paraguay_River ) } . ?a property:mouth_of_the_watercourse ?l }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q703202 Q1581250 Q118251
P17
Q15617994
USER
Which administrative territories are those watercourses present in ?
(Q703202,P17,c(Q15617994)) (Q1581250,P17,c(Q15617994)) (Q118251,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q703202', 'P17', {'concept': 'Q15617994'}] ['Q1581250', 'P17', {'concept': 'Q15617994'}] ['Q118251', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?c property:P17 ?r . VALUES ( ?c ) { ( resource:Q6794111 ) ( resource:Q3458822 ) ( resource:Q1047596 ) } }
Grande River Yí River Madeira River
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Grande River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yí River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Madeira River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country ?r . VALUES ( ?c ) { ( resource:Mavaca_River ) ( resource:Vichada_River ) ( resource:Guaviare_River ) } }
[]
designation for an administrative territorial entity
Q155 Q750 Q77
SYSTEM
Brazil, Bolivia, Uruguay
Q77 Q77 Q155 Q750
(Q703202,P17,c(Q15617994)) (Q1581250,P17,c(Q15617994)) (Q118251,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those watercourses are in [ANSWERS]
['Q703202', 'P17', {'concept': 'Q15617994'}] ['Q1581250', 'P17', {'concept': 'Q15617994'}] ['Q118251', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?c property:P17 ?r . VALUES ( ?c ) { ( resource:Q6794111 ) ( resource:Q3458822 ) ( resource:Q1047596 ) } }
Uruguay Uruguay Brazil Bolivia
Those watercourses are in Brazil, Bolivia and Uruguay
Brazil Bolivia Uruguay
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Grande River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yí River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Madeira River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:country ?r . VALUES ( ?c ) { ( resource:Mavaca_River ) ( resource:Vichada_River ) ( resource:Guaviare_River ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q750
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q750)
action filter_type
action find_reverse
entity Q750
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q750']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P551 resource:Q750 }
Bolivia
action filter_type
action find_reverse
entity Bolivia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bolivia']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:residence resource:Bolivia }
[]
common name
Clarification for simple ques.
Q750
SYSTEM
Did you mean Bolivia ?
Q155 Q750 Q77
(c(Q502895),P551,Q155) (c(Q502895),P551,Q750) (c(Q502895),P551,Q77)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q155'] [{'concept': 'Q502895'}, 'P551', 'Q750'] [{'concept': 'Q502895'}, 'P551', 'Q77']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P551 resource:Q750 }
Brazil Bolivia Uruguay
Did you mean Bolivia ?
Bolivia
[{'concept': 'common name'}, 'residence', 'Brazil'] [{'concept': 'common name'}, 'residence', 'Bolivia'] [{'concept': 'common name'}, 'residence', 'Uruguay']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:residence resource:Bolivia }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P551,Q750)
[{'concept': 'Q502895'}, 'P551', 'Q750']
[{'concept': 'common name'}, 'residence', 'Bolivia']
[]
Q5998880 Q6072265
SYSTEM
Mario Miranda, Pere Puig Subinyà
Q5998880 Q6072265
(c(Q502895),P551,Q750)
action filter_type
action find_reverse
entity Q750
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q750']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P551 resource:Q750 }
Mario Miranda Pere Puig Subinyà
Mario Miranda and Pere Puig Subinyà live in that administrative territory
Mario Miranda Pere Puig Subinyà
action filter_type
action find_reverse
entity Bolivia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bolivia']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:residence resource:Bolivia }
[]