Simple Question (Direct)
Simple Question
Q2016121
P19
Q123705
USER
Which neighborhood was Richard Lovelace born in ?
(Q2016121,P19,c(Q123705))
action filter_type
action find
entity Q2016121
relation P19
type Q123705
['Q2016121', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?h WHERE { resource:Q2016121 property:P19 ?h . ?h rdf:type ontology:Q123705 }
Richard Lovelace
action filter_type
action find
entity Richard Lovelace
relation place of birth
type neighborhood
['Richard Lovelace', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Lovelace property:place_of_birth ?h . ?h rdf:type ontology:neighborhood }
[]
neighborhood
Q1006232
SYSTEM
Woolwich
Q1006232
(Q2016121,P19,c(Q123705))
action filter_type
action find
entity Q2016121
relation P19
type Q123705
Richard Lovelace was born in [ANSWER]
['Q2016121', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?h WHERE { resource:Q2016121 property:P19 ?h . ?h rdf:type ontology:Q123705 }
Woolwich
Richard Lovelace was born in Woolwich
Woolwich
action filter_type
action find
entity Richard Lovelace
relation place of birth
type neighborhood
['Richard Lovelace', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?h WHERE { resource:Richard_Lovelace property:place_of_birth ?h . ?h rdf:type ontology:neighborhood }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1006232
P206
Q355304
USER
Which watercourse is located in the neighbourhood of that neighborhood ?
(Q1006232,P206,c(Q355304))
action filter_type
action find
entity Q1006232
relation P206
type Q355304
['Q1006232', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1006232 property:P206 ?p . ?p rdf:type ontology:Q355304 }
Woolwich
action filter_type
action find
entity Woolwich
relation located next to body of water
type watercourse
['Woolwich', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Woolwich property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]
watercourse
Q19686
SYSTEM
River Thames
Q19686
(Q1006232,P206,c(Q355304))
action filter_type
action find
entity Q1006232
relation P206
type Q355304
The [ANSWER] is located in the neighbourhood of that neighborhood
['Q1006232', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1006232 property:P206 ?p . ?p rdf:type ontology:Q355304 }
River Thames
The River Thames is located in the neighbourhood of that neighborhood
River Thames
action filter_type
action find
entity Woolwich
relation located next to body of water
type watercourse
['Woolwich', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Woolwich property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19686
P403
Q4022
USER
Which rivers drain into that watercourse ?
(c(Q4022),P403,Q19686)
action filter_type
action find_reverse
entity Q19686
relation P403
type Q4022
[{'concept': 'Q4022'}, 'P403', 'Q19686']
SELECT DISTINCT ?l WHERE { ?l property:P403 resource:Q19686 . ?l rdf:type ontology:Q4022 }
River Thames
action filter_type
action find_reverse
entity River Thames
relation mouth of the watercourse
type river
[{'concept': 'river'}, 'mouth of the watercourse', 'River Thames']
SELECT DISTINCT ?l WHERE { ?l property:mouth_of_the_watercourse resource:River_Thames . ?l rdf:type ontology:river }
[]
river
Q4997152 Q1070474 Q15224172
SYSTEM
Bulstake Stream, Cherwell, Hinksey Stream
Q4997152 Q1070474 Q26836199 Q15224172
(c(Q4022),P403,Q19686)
action filter_type
action find_reverse
entity Q19686
relation P403
type Q4022
[ANSWERS] drain into that watercourse
[{'concept': 'Q4022'}, 'P403', 'Q19686']
SELECT DISTINCT ?l WHERE { ?l property:P403 resource:Q19686 . ?l rdf:type ontology:Q4022 }
Bulstake Stream Cherwell Parr’s Ditch Hinksey Stream
Bulstake Stream, Cherwell and Hinksey Stream drain into that watercourse
Bulstake Stream Cherwell Hinksey Stream
action filter_type
action find_reverse
entity River Thames
relation mouth of the watercourse
type river
[{'concept': 'river'}, 'mouth of the watercourse', 'River Thames']
SELECT DISTINCT ?l WHERE { ?l property:mouth_of_the_watercourse resource:River_Thames . ?l rdf:type ontology:river }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q679702 Q19686
P17
Q15617994
USER
Which administrative territories are River Thames or Armavia located in ?
OR((Q19686,P17,c(Q15617994)), (Q679702,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19686
relation P17
action find
entity Q679702
relation P17
type Q15617994
{'OR': [['Q19686', 'P17', {'concept': 'Q15617994'}], ['Q679702', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?m ) { ( resource:Q19686 ) ( resource:Q679702 ) } . ?m property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Armavia River Thames
action filter_type
action union
action find
entity River Thames
relation country
action find
entity Armavia
relation country
type designation for an administrative territorial entity
{'OR': [['River Thames', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armavia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?m ) { ( resource:River_Thames ) ( resource:Armavia ) } . ?m property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399 Q145
SYSTEM
Armenia, United Kingdom
Q399 Q145
OR((Q19686,P17,c(Q15617994)), (Q679702,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19686
relation P17
action find
entity Q679702
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q19686', 'P17', {'concept': 'Q15617994'}], ['Q679702', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?m ) { ( resource:Q19686 ) ( resource:Q679702 ) } . ?m property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Armenia United Kingdom
Which administrative territories are River Thames or Armavia located in
Armenia United Kingdom
action filter_type
action union
action find
entity River Thames
relation country
action find
entity Armavia
relation country
type designation for an administrative territorial entity
{'OR': [['River Thames', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armavia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?m ) { ( resource:River_Thames ) ( resource:Armavia ) } . ?m property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q820655 Q1292279
USER
Which administrative territories come under the supervision of exactly 14 statutes and political borders ?
(c(Q820655)|c(Q1292279),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 14
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?k = 14 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } . ?z rdf:type ?s } GROUP BY ?r } }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 14
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?k = 14 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { VALUES ( ?s ) { ( ontology:statute ) ( ontology:political_border ) } . ?z rdf:type ?s } GROUP BY ?r } }
[]
designation for an administrative territorial entity statute political border
Q668 Q717
SYSTEM
India, Venezuela
Q668 Q717
(c(Q820655)|c(Q1292279),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 14
[ANSWERS] come under the supervision of exactly 14 statutes and political borders
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?k = 14 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } . ?z rdf:type ?s } GROUP BY ?r } }
India Venezuela
India and Venezuela come under the supervision of exactly 14 statutes and political borders
India Venezuela
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 14
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?k = 14 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { VALUES ( ?s ) { ( ontology:statute ) ( ontology:political_border ) } . ?z rdf:type ?s } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q668 Q717
P495
Q201658
USER
What are those administrative territories a country of origin of ?
(c(Q201658),P495,Q668) (c(Q201658),P495,Q717)
action filter_type
action find_reverse
entity prev_answer
relation P495
type Q201658
[{'concept': 'Q201658'}, 'P495', 'Q668'] [{'concept': 'Q201658'}, 'P495', 'Q717']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q201658 . ?f property:P495 ?n . VALUES ( ?n ) { ( resource:Q668 ) ( resource:Q717 ) } }
India Venezuela
action filter_type
action find_reverse
entity prev_answer
relation country of origin
type film genre
[{'concept': 'film genre'}, 'country of origin', 'India'] [{'concept': 'film genre'}, 'country of origin', 'Venezuela']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:film_genre . ?f property:country_of_origin ?n . VALUES ( ?n ) { ( resource:India ) ( resource:Venezuela ) } }
[]
film genre
Q1214408 Q1603098 Q846896
SYSTEM
Prem Sanyas, A Throw of Dice, The Inner Eye
Q16254758 Q17199217 Q732014 Q17081708 Q1214408 Q3986453 Q7503512 Q6012663 Q16246788 Q1440787 Q16254526 Q1603098 Q1732331 Q6652185 Q4918640 Q15052321 Q7703959 Q846896 Q7723492 Q7652963 Q2985396 Q15052368 Q19363397 Q6487151 Q16057159 Q17150261
(c(Q201658),P495,Q668) (c(Q201658),P495,Q717)
action filter_type
action find_reverse
entity prev_answer
relation P495
type Q201658
Those administrative territories a country of origin of are the [ANSWERS]
[{'concept': 'Q201658'}, 'P495', 'Q668'] [{'concept': 'Q201658'}, 'P495', 'Q717']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q201658 . ?f property:P495 ?n . VALUES ( ?n ) { ( resource:Q668 ) ( resource:Q717 ) } }
That Day After Everyday True Love Story Sukumar Ray Simply Kailawesome Prem Sanyas The Creation of Woman Shree Pundalik In the Name of the Son Artificial Two Sulle sathya A Throw of Dice The House That Ananda Built Little Terrorist Biswas Nao Korte Paren Land of Widows Terrorist The Inner Eye The Cloud Door Swaham Raja Harishchandra White Knight Donna Lanka Dahan 1:30 am Alt
Those administrative territories a country of origin of are the Prem Sanyas, A Throw of Dice and The Inner Eye
Prem Sanyas A Throw of Dice The Inner Eye
action filter_type
action find_reverse
entity prev_answer
relation country of origin
type film genre
[{'concept': 'film genre'}, 'country of origin', 'India'] [{'concept': 'film genre'}, 'country of origin', 'Venezuela']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:film_genre . ?f property:country_of_origin ?n . VALUES ( ?n ) { ( resource:India ) ( resource:Venezuela ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1603098
P161
Q502895
USER
Which people starred in that film genre ?
(Q1603098,P161,c(Q502895))
action filter_type
action find
entity Q1603098
relation P161
type Q502895
['Q1603098', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1603098 property:P161 ?r }
A Throw of Dice
action filter_type
action find
entity A Throw of Dice
relation cast member
type common name
['A Throw of Dice', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:A_Throw_of_Dice property:cast_member ?r }
[]
common name
Clarification for simple ques.
Q1214408
SYSTEM
Did you mean Prem Sanyas ?
Q1214408 Q1603098 Q846896
(Q1214408,P161,c(Q502895)) (Q1603098,P161,c(Q502895)) (Q846896,P161,c(Q502895))
[ANSWER]
['Q1214408', 'P161', {'concept': 'Q502895'}] ['Q1603098', 'P161', {'concept': 'Q502895'}] ['Q846896', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1603098 property:P161 ?r }
Prem Sanyas A Throw of Dice The Inner Eye
Did you mean Prem Sanyas ?
Prem Sanyas
['Prem Sanyas', 'cast member', {'concept': 'common name'}] ['A Throw of Dice', 'cast member', {'concept': 'common name'}] ['The Inner Eye', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:A_Throw_of_Dice property:cast_member ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant A Throw of Dice. Could you tell me the answer for that?
(Q1603098,P161,c(Q502895))
Q1603098
['Q1603098', 'P161', {'concept': 'Q502895'}]
['A Throw of Dice', 'cast member', {'concept': 'common name'}]
[]
Q510101 Q1619016
SYSTEM
Seeta Devi, Himanshu Rai
Q510101 Q1619016
(Q1603098,P161,c(Q502895))
action filter_type
action find
entity Q1603098
relation P161
type Q502895
[ANSWERS] starred in that film genre
['Q1603098', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1603098 property:P161 ?r }
Seeta Devi Himanshu Rai
Seeta Devi and Himanshu Rai starred in that film genre
Seeta Devi Himanshu Rai
action filter_type
action find
entity A Throw of Dice
relation cast member
type common name
['A Throw of Dice', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:A_Throw_of_Dice property:cast_member ?r }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17006252
P161
Q201658
USER
Do The Gentleman Without a Residence have those people as actor ?
(Q17006252,P161,Q510101) (Q17006252,P161,Q1619016)
action is_in
entity prev_answer
action find
entity Q17006252
relation P161
['Q17006252', 'P161', 'Q510101'] ['Q17006252', 'P161', 'Q1619016']
ASK WHERE { VALUES ( ?k ) { ( resource:Q510101 ) ( resource:Q1619016 ) } . resource:Q17006252 property:P161 ?k }
The Gentleman Without a Residence
action is_in
entity prev_answer
action find
entity The Gentleman Without a Residence
relation cast member
['The Gentleman Without a Residence', 'cast member', 'Seeta Devi'] ['The Gentleman Without a Residence', 'cast member', 'Himanshu Rai']
ASK WHERE { VALUES ( ?k ) { ( resource:Seeta_Devi ) ( resource:Himanshu_Rai ) } . resource:The_Gentleman_Without_a_Residence property:cast_member ?k }
[]
film genre
SYSTEM
NO
(Q17006252,P161,Q510101) (Q17006252,P161,Q1619016)
action is_in
entity prev_answer
action find
entity Q17006252
relation P161
[ANSWER]
['Q17006252', 'P161', 'Q510101'] ['Q17006252', 'P161', 'Q1619016']
ASK WHERE { VALUES ( ?k ) { ( resource:Q510101 ) ( resource:Q1619016 ) } . resource:Q17006252 property:P161 ?k }
No
action is_in
entity prev_answer
action find
entity The Gentleman Without a Residence
relation cast member
['The Gentleman Without a Residence', 'cast member', 'Seeta Devi'] ['The Gentleman Without a Residence', 'cast member', 'Himanshu Rai']
ASK WHERE { VALUES ( ?k ) { ( resource:Seeta_Devi ) ( resource:Himanshu_Rai ) } . resource:The_Gentleman_Without_a_Residence property:cast_member ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4915 Q4997152
P177
Q811979
USER
Which architectural structures are over/under Bulstake Stream or Ohio River ?
OR((c(Q811979),P177,Q4997152), (c(Q811979),P177,Q4915))
action filter_type
action union
action find_reverse
entity Q4997152
relation P177
action find_reverse
entity Q4915
relation P177
type Q811979
{'OR': [[{'concept': 'Q811979'}, 'P177', 'Q4997152'], [{'concept': 'Q811979'}, 'P177', 'Q4915']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . { { ?z property:P177 resource:Q4997152 } UNION { ?z property:P177 resource:Q4915 } } }
Ohio River Bulstake Stream
action filter_type
action union
action find_reverse
entity Bulstake Stream
relation crosses
action find_reverse
entity Ohio River
relation crosses
type architectural structure
{'OR': [[{'concept': 'architectural structure'}, 'crosses', 'Bulstake Stream'], [{'concept': 'architectural structure'}, 'crosses', 'Ohio River']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . { { ?z property:crosses resource:Bulstake_Stream } UNION { ?z property:crosses resource:Ohio_River } } }
[]
architectural structure
Q14628981 Q8563724 Q6056945 Q7491577 Q14714257 Q7138423 Q6179056 Q7985431 Q4886706 Q7080785
SYSTEM
Some of them are William H. Natcher Bridge, Fleming Park Bridge, Interstate 69 Ohio River Bridge, Shawneetown Bridge, Moundsville Bridge, Parkersburg Bridge, Jennings Randolph Bridge, West Huntington Bridge, Ben Williamson Memorial Bridge, Ohio Connecting Railroad Bridge
Q4741725 Q14714257 Q6074279 Q4997151 Q7863195 Q14629043 Q14629044 Q7923638 Q2493303 Q6801750 Q1983625 Q4688760 Q7138423 Q6392162 Q6186888 Q5120309 Q7227296 Q7985431 Q7491577 Q7051101 Q14628990 Q6056945 Q6763263 Q8021297 Q7118462 Q14629018 Q6056904 Q14629131 Q8563724 Q6179056 Q4886706 Q5750345 Q7080785 Q14628981 Q14628986
OR((c(Q811979),P177,Q4997152), (c(Q811979),P177,Q4915))
action filter_type
action union
action find_reverse
entity Q4997152
relation P177
action find_reverse
entity Q4915
relation P177
type Q811979
Bridge [ANSWERS] are over/under Bulstake Stream or Ohio River
{'OR': [[{'concept': 'Q811979'}, 'P177', 'Q4997152'], [{'concept': 'Q811979'}, 'P177', 'Q4915']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . { { ?z property:P177 resource:Q4997152 } UNION { ?z property:P177 resource:Q4915 } } }
Ambridge–Aliquippa Bridge Moundsville Bridge Irvin S. Cobb Bridge Bulstake Bridge U.S. Grant Bridge New Martinsville Bridge Military Order of the Purple Heart Bridge Veterans Memorial Bridge William H. Harsha Bridge McKees Rocks Bridge Newport Southbank Bridge Aetnaville Bridge Parkersburg Bridge Kentucky & Indiana Terminal Bridge Jesse Stuart Memorial Bridge Cincinnati Southern Bridge Pomeroy–Mason Bridge West Huntington Bridge Shawneetown Bridge Norfolk Southern Bridge Brent Spence Bridge Interstate 69 Ohio River Bridge Marietta–Williamstown Interstate Bridge Williamstown Bridge PC&Y Railroad Bridge Matthew E. Welsh Bridge Interstate 470 Bridge Newell Toll Bridge Fleming Park Bridge Jennings Randolph Bridge Ben Williamson Memorial Bridge Hi Carpenter Memorial Bridge Ohio Connecting Railroad Bridge William H. Natcher Bridge Glover Cary Bridge
Bridge William H. Natcher Bridge, Fleming Park Bridge, Interstate 69 Ohio River Bridge, Shawneetown Bridge, Moundsville Bridge, Parkersburg Bridge, Jennings Randolph Bridge, West Huntington Bridge, Ben Williamson Memorial Bridge and Ohio Connecting Railroad Bridge are over/under Bulstake Stream or Ohio River
William H. Natcher Bridge Fleming Park Bridge Interstate 69 Ohio River Bridge Shawneetown Bridge Moundsville Bridge Parkersburg Bridge Jennings Randolph Bridge West Huntington Bridge Ben Williamson Memorial Bridge Ohio Connecting Railroad Bridge
action filter_type
action union
action find_reverse
entity Bulstake Stream
relation crosses
action find_reverse
entity Ohio River
relation crosses
type architectural structure
{'OR': [[{'concept': 'architectural structure'}, 'crosses', 'Bulstake Stream'], [{'concept': 'architectural structure'}, 'crosses', 'Ohio River']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . { { ?z property:crosses resource:Bulstake_Stream } UNION { ?z property:crosses resource:Ohio_River } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4915
P974
Q355304
USER
Which rivers or lakes flow into Ohio River ?
(Q4915,P974,c(Q355304))
action filter_type
action find
entity Q4915
relation P974
type Q355304
['Q4915', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q4915 property:P974 ?a . ?a rdf:type ontology:Q355304 }
Ohio River
action filter_type
action find
entity Ohio River
relation tributary
type watercourse
['Ohio River', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Ohio_River property:tributary ?a . ?a rdf:type ontology:watercourse }
[]
watercourse
Q193737 Q196183 Q918867
SYSTEM
Tennessee River, Wabash River, Kanawha River
Q2340104 Q2221454 Q1143718 Q1544834 Q196183 Q918867 Q193737
(Q4915,P974,c(Q355304))
action filter_type
action find
entity Q4915
relation P974
type Q355304
Ohio [ANSWERS] flow into Ohio River
['Q4915', 'P974', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q4915 property:P974 ?a . ?a rdf:type ontology:Q355304 }
Guyandotte River Sandy Creek Cumberland River Kentucky River Wabash River Kanawha River Tennessee River
Ohio Tennessee River, Wabash River and Kanawha River flow into Ohio River
Tennessee River Wabash River Kanawha River
action filter_type
action find
entity Ohio River
relation tributary
type watercourse
['Ohio River', 'tributary', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Ohio_River property:tributary ?a . ?a rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q193737 Q196183 Q918867
P974
Q355304
USER
What are Tennessee River, Wabash River and Kanawha River a tributary of ?
(c(Q355304),P974,Q193737) (c(Q355304),P974,Q196183) (c(Q355304),P974,Q918867)
action union
action filter_type
action find_reverse
entity Q193737
relation P974
type Q355304
action filter_type
action find_reverse
entity Q196183
relation P974
type Q355304
action filter_type
action find_reverse
entity Q918867
relation P974
type Q355304
[{'concept': 'Q355304'}, 'P974', 'Q193737'] [{'concept': 'Q355304'}, 'P974', 'Q196183'] [{'concept': 'Q355304'}, 'P974', 'Q918867']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q355304 . ?o property:P974 resource:Q193737 } UNION { ?o property:P974 resource:Q196183 . ?o rdf:type ontology:Q355304 } }
Tennessee River Wabash River Kanawha River
action union
action filter_type
action find_reverse
entity Tennessee River
relation tributary
type watercourse
action filter_type
action find_reverse
entity Wabash River
relation tributary
type watercourse
action filter_type
action find_reverse
entity Kanawha River
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Tennessee River'] [{'concept': 'watercourse'}, 'tributary', 'Wabash River'] [{'concept': 'watercourse'}, 'tributary', 'Kanawha River']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:watercourse . ?o property:tributary resource:Tennessee_River } UNION { ?o property:tributary resource:Wabash_River . ?o rdf:type ontology:watercourse } }
[]
watercourse
Q4915
SYSTEM
Ohio River
Q4915
(c(Q355304),P974,Q193737) (c(Q355304),P974,Q196183) (c(Q355304),P974,Q918867)
action union
action filter_type
action find_reverse
entity Q193737
relation P974
type Q355304
action filter_type
action find_reverse
entity Q196183
relation P974
type Q355304
action filter_type
action find_reverse
entity Q918867
relation P974
type Q355304
What is Tennessee River, Wabash River and Kanawha River a tributary of
[{'concept': 'Q355304'}, 'P974', 'Q193737'] [{'concept': 'Q355304'}, 'P974', 'Q196183'] [{'concept': 'Q355304'}, 'P974', 'Q918867']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q355304 . ?o property:P974 resource:Q193737 } UNION { ?o property:P974 resource:Q196183 . ?o rdf:type ontology:Q355304 } }
Ohio River
What is Tennessee River, Wabash River and Kanawha River a tributary of
Ohio River
action union
action filter_type
action find_reverse
entity Tennessee River
relation tributary
type watercourse
action filter_type
action find_reverse
entity Wabash River
relation tributary
type watercourse
action filter_type
action find_reverse
entity Kanawha River
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Tennessee River'] [{'concept': 'watercourse'}, 'tributary', 'Wabash River'] [{'concept': 'watercourse'}, 'tributary', 'Kanawha River']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:watercourse . ?o property:tributary resource:Tennessee_River } UNION { ?o property:tributary resource:Wabash_River . ?o rdf:type ontology:watercourse } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4915
P138
Q852446
USER
Which US administrative territory has that watercourse as its toponym ?
(c(Q852446),P138,Q4915)
action filter_type
action find_reverse
entity Q4915
relation P138
type Q852446
[{'concept': 'Q852446'}, 'P138', 'Q4915']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q852446 . ?f property:P138 resource:Q4915 }
Ohio River
action filter_type
action find_reverse
entity Ohio River
relation named after
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'named after', 'Ohio River']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?f property:named_after resource:Ohio_River }
[]
administrative territorial entity of the United States
Q1397
SYSTEM
Ohio
Q1397
(c(Q852446),P138,Q4915)
action filter_type
action find_reverse
entity Q4915
relation P138
type Q852446
[ANSWER] has that watercourse as its toponym
[{'concept': 'Q852446'}, 'P138', 'Q4915']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q852446 . ?f property:P138 resource:Q4915 }
Ohio
Ohio has that watercourse as its toponym
Ohio
action filter_type
action find_reverse
entity Ohio River
relation named after
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'named after', 'Ohio River']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?f property:named_after resource:Ohio_River }
[]