Simple Question (Direct)
Simple Question
Q731486
P17
Q15617994
USER
Which administrative territory is Avrieux situated in ?
(Q731486,P17,c(Q15617994))
action filter_type
action find
entity Q731486
relation P17
type Q15617994
['Q731486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q731486 property:P17 ?y }
Avrieux
action filter_type
action find
entity Avrieux
relation country
type designation for an administrative territorial entity
['Avrieux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Avrieux property:country ?y }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q731486,P17,c(Q15617994))
action filter_type
action find
entity Q731486
relation P17
type Q15617994
Avrieux is situated en [ANSWER]
['Q731486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q731486 property:P17 ?y }
France
Avrieux is situated en France
France
action filter_type
action find
entity Avrieux
relation country
type designation for an administrative territorial entity
['Avrieux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Avrieux property:country ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q731486
P190
Q15617994
USER
Which administrative territory is the sister city of that french administrative division ?
(Q142,P190,c(Q15617994))
action filter_type
action find
entity Q731486
relation P190
type Q15617994
['Q142', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q731486 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Avrieux
action filter_type
action find
entity Avrieux
relation sister city
type designation for an administrative territorial entity
['France', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Avrieux property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q18141
SYSTEM
Piedicavallo
Q18141
(Q142,P190,c(Q15617994))
action filter_type
action find
entity Q731486
relation P190
type Q15617994
[ANSWER] is the sister city of that french administrative division
['Q142', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q731486 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Piedicavallo
Piedicavallo is the sister city of that french administrative division
Piedicavallo
action filter_type
action find
entity Avrieux
relation sister city
type designation for an administrative territorial entity
['France', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Avrieux property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18141 Q38
P17
Q15617994
USER
Is Piedicavallo present in Italy ?
(Q18141,P17,Q38)
action is_in
entity Q38
action find
entity Q18141
relation P17
['Q18141', 'P17', 'Q38']
ASK WHERE { resource:Q18141 property:P17 resource:Q38 }
Piedicavallo Italy
action is_in
entity Italy
action find
entity Piedicavallo
relation country
['Piedicavallo', 'country', 'Italy']
ASK WHERE { resource:Piedicavallo property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18141,P17,Q38)
action is_in
entity Q38
action find
entity Q18141
relation P17
[ANSWER]
['Q18141', 'P17', 'Q38']
ASK WHERE { resource:Q18141 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Piedicavallo
relation country
['Piedicavallo', 'country', 'Italy']
ASK WHERE { resource:Piedicavallo property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q4324500 Q183
P47
Q1048835
USER
Does France share border with Novomyrhorodka and Germany ?
(Q142,P47,Q4324500) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q4324500
relation P47
action find_reverse
entity Q183
relation P47
['Q142', 'P47', 'Q4324500'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q4324500 . resource:Q142 property:P47 resource:Q183 }
France Novomyrhorodka Germany
action is_in
entity France
action intersection
action find_reverse
entity Novomyrhorodka
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'Novomyrhorodka'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Novomyrhorodka . resource:France property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q142,P47,Q4324500) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q4324500
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q142', 'P47', 'Q4324500'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q4324500 . resource:Q142 property:P47 resource:Q183 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Novomyrhorodka
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'Novomyrhorodka'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Novomyrhorodka . resource:France property:shares_border_with resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6073278 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Germany and are Karahan Çantay an inhabitant of ?
AND((Q183,P530,c(Q15617994)), (Q6073278,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q6073278
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q6073278', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q183 property:P530 ?c . resource:Q6073278 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Karahan Çantay Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Karahan Çantay
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Karahan Çantay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Germany property:diplomatic_relation ?c . resource:Karahan_Çantay property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
AND((Q183,P530,c(Q15617994)), (Q6073278,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q6073278
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Germany and are Karahan Çantay an inhabitant of
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q6073278', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q183 property:P530 ?c . resource:Q6073278 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Turkey
Turkey have diplomatic relations with Germany and are Karahan Çantay an inhabitant of
Turkey
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Karahan Çantay
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Karahan Çantay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Germany property:diplomatic_relation ?c . resource:Karahan_Çantay property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q846570
P172
Q502895
USER
How many people have France or Americans as ethnic group ?
(c(Q502895),P172,Q142) (c(Q502895),P172,Q846570)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
action filter_type
action find_reverse
entity Q846570
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q142'] [{'concept': 'Q502895'}, 'P172', 'Q846570']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P172 ?p . VALUES ( ?p ) { ( resource:Q142 ) ( resource:Q846570 ) } }
France Americans
action count
action union
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
action filter_type
action find_reverse
entity Americans
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France'] [{'concept': 'common name'}, 'ethnic group', 'Americans']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:ethnic_group ?p . VALUES ( ?p ) { ( resource:France ) ( resource:Americans ) } }
[]
common name
SYSTEM
13
Q561686 Q2750183 Q113492 Q1634842 Q10390 Q233286 Q295999 Q11641 Q1379099 Q26858560 Q285048 Q3153987 Q26132975
(c(Q502895),P172,Q142) (c(Q502895),P172,Q846570)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
action filter_type
action find_reverse
entity Q846570
relation P172
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q142'] [{'concept': 'Q502895'}, 'P172', 'Q846570']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P172 ?p . VALUES ( ?p ) { ( resource:Q142 ) ( resource:Q846570 ) } }
François Sagat Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan Caprice Bourret John Morressy John McCain Gabby Douglas Ferid Murad Grace Hopper Pierre François Xavier de Charlevoix David R. Beveridge Randall Munroe Ines Ligron Jean Butteau
13
action count
action union
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
action filter_type
action find_reverse
entity Americans
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'France'] [{'concept': 'common name'}, 'ethnic group', 'Americans']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:ethnic_group ?p . VALUES ( ?p ) { ( resource:France ) ( resource:Americans ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11485113 Q4324500
P17
Q15617994
USER
Which administrative territories are Novomyrhorodka or Hiroshima Prefectural Road Route 386 located in ?
OR((Q4324500,P17,c(Q15617994)), (Q11485113,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4324500
relation P17
action find
entity Q11485113
relation P17
type Q15617994
{'OR': [['Q4324500', 'P17', {'concept': 'Q15617994'}], ['Q11485113', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4324500 property:P17 ?e } UNION { resource:Q11485113 property:P17 ?e } } }
Hiroshima Prefectural Road Route 386 Novomyrhorodka
action filter_type
action union
action find
entity Novomyrhorodka
relation country
action find
entity Hiroshima Prefectural Road Route 386
relation country
type designation for an administrative territorial entity
{'OR': [['Novomyrhorodka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hiroshima Prefectural Road Route 386', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Novomyrhorodka property:country ?e } UNION { resource:Hiroshima_Prefectural_Road_Route_386 property:country ?e } } }
[]
designation for an administrative territorial entity
Q212 Q17
SYSTEM
Ukraine, Japan
Q212 Q17
OR((Q4324500,P17,c(Q15617994)), (Q11485113,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4324500
relation P17
action find
entity Q11485113
relation P17
type Q15617994
[ANSWERS] are Novomyrhorodka or Hiroshima Prefectural Road Route 386 located in
{'OR': [['Q4324500', 'P17', {'concept': 'Q15617994'}], ['Q11485113', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4324500 property:P17 ?e } UNION { resource:Q11485113 property:P17 ?e } } }
Ukraine Japan
Ukraine and Japan are Novomyrhorodka or Hiroshima Prefectural Road Route 386 located in
Ukraine Japan
action filter_type
action union
action find
entity Novomyrhorodka
relation country
action find
entity Hiroshima Prefectural Road Route 386
relation country
type designation for an administrative territorial entity
{'OR': [['Novomyrhorodka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hiroshima Prefectural Road Route 386', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Novomyrhorodka property:country ?e } UNION { resource:Hiroshima_Prefectural_Road_Route_386 property:country ?e } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q212 Q17
P17
Q62447
USER
Which aerodromes are present in those administrative territories ?
(c(Q62447),P17,Q212) (c(Q62447),P17,Q17)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q62447
[{'concept': 'Q62447'}, 'P17', 'Q212'] [{'concept': 'Q62447'}, 'P17', 'Q17']
SELECT DISTINCT ?z WHERE { ?z property:P17 ?i . VALUES ( ?i ) { ( resource:Q212 ) ( resource:Q17 ) } . ?z rdf:type ontology:Q62447 }
Ukraine Japan
action filter_type
action find_reverse
entity prev_answer
relation country
type aerodrome
[{'concept': 'aerodrome'}, 'country', 'Ukraine'] [{'concept': 'aerodrome'}, 'country', 'Japan']
SELECT DISTINCT ?z WHERE { ?z property:country ?i . VALUES ( ?i ) { ( resource:Ukraine ) ( resource:Japan ) } . ?z rdf:type ontology:aerodrome }
[]
aerodrome
Q1030389 Q1529149 Q477677
SYSTEM
Iwakuni Air Base, Naha Air Base, Boryspil International Airport
Q656592 Q1077892 Q7917072 Q1432234 Q3545321 Q652315 Q2592237 Q1708502 Q1432871 Q18411706 Q477677 Q6706931 Q1981104 Q6429662 Q1528775 Q7652658 Q8071268 Q7116557 Q6102047 Q8053312 Q4497328 Q4183200 Q5311045 Q939543 Q2985601 Q1708535 Q2028561 Q3886181 Q282909 Q7602151 Q7338967 Q6588265 Q2580341 Q7263581 Q7409053 Q1708672 Q2475288 Q4261737 Q6436694 Q2492784 Q1432786 Q3493320 Q1055941 Q4111595 Q4316186 Q1431569 Q2558386 Q1528932 Q1431225 Q620095 Q111731 Q1708271 Q2512004 Q713881 Q1046748 Q2335057 Q1031547 Q3235075 Q3245032 Q11436069 Q1447375 Q1030389 Q2407436 Q3015913 Q908296 Q970339 Q652293 Q1134491 Q1332254 Q7903279 Q2248108 Q608289 Q11382776 Q1209993 Q1019284 Q4392259 Q11434817 Q2902428 Q8214194 Q679345 Q1141847 Q1931194 Q11272234 Q3566938 Q1141913 Q652331 Q20455647 Q1156420 Q11377762 Q1529149 Q3015843 Q1137465 Q1199773 Q12691659 Q2901234 Q20466670 Q1322391 Q3016710 Q1141511 Q1432123 Q1191625 Q204853 Q1148447 Q1433078 Q1141909 Q1378640 Q1432159 Q2901121 Q1350451 Q11429252 Q708517 Q1139412 Q1155685 Q1433247 Q7496958 Q6588736 Q1018757 Q176187 Q1366065 Q1336514 Q1038664 Q1432192 Q1057877 Q1927346 Q1156310 Q20447703 Q1927323 Q1432054 Q1927310 Q1196909 Q6374904 Q6374903 Q11369960 Q2333597 Q2901111 Q741372 Q3276359 Q11377852 Q7499477 Q652699 Q705963 Q1366663 Q2234528 Q1930822 Q3275012 Q1806489 Q1930831 Q2235009 Q3273382 Q2902006 Q1049856 Q252768 Q2902639 Q1328906 Q3273365 Q2902013 Q5061076 Q3274784 Q3274794 Q255345 Q1432227 Q651482 Q177473 Q387048 Q2233042 Q11324357 Q860035 Q1322497 Q116725 Q1320088 Q1016960 Q1368344 Q594223 Q82240 Q1197536 Q1054857 Q3273378 Q11409034 Q1142453 Q654922 Q4700615 Q1073798 Q12693296 Q1334603 Q1019300 Q20459660 Q255228 Q1064050 Q628429 Q7116694 Q1431559 Q1197455 Q1431393 Q11445148 Q1333925 Q133796 Q3275507 Q6374354 Q1156315 Q11437583 Q1430769 Q1334587 Q3275968 Q3275961 Q1368593
(c(Q62447),P17,Q212) (c(Q62447),P17,Q17)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q62447
[ANSWERS] are present in those administrative territories
[{'concept': 'Q62447'}, 'P17', 'Q212'] [{'concept': 'Q62447'}, 'P17', 'Q17']
SELECT DISTINCT ?z WHERE { ?z property:P17 ?i . VALUES ( ?i ) { ( resource:Q212 ) ( resource:Q17 ) } . ?z rdf:type ontology:Q62447 }
Lutsk Airport Uzhhorod International Airport Vasylkiv Odessa International Airport Kerch Airport Mariupol International Airport Sumy Airport Cherkasy International Airport Simferopol International Airport Kiew-Süd Airport Boryspil International Airport Lviv Stryi Airport Pryluky Konotop Myrhorod Air Base Sviatoshyn Airfield Zhytomyr Airport Ozerne Izmail International Airport Yevpatoria Airport Kherson International Airport Zavodske Airfield Dubno Kyiv Zhuliany International Airport Sevastopol International Airport Chernivtsi International Airport Poltava Air Base Brody Lviv Danylo Halytskyi International Airport Starokostiantyniv Rivne International Airport Ternopil Airport Kiev Chaika Airfield Pyriatyn Airport Sambir Chernihiv Shestovitsa Airport Kharkiv North Airport Lymanske Airport Kremenchuk Airport Kharkiv International Airport Zaporizhzhia International Airport Khmelnytskyi Airport Gostomel Airport Havryshivka Vinnytsia International Airport Nezhin Air Base Ivano-Frankivsk International Airport Poltava Airport Mykolaiv Airport Dnipropetrovsk International Airport Berdyansk Airport Kryvyi Rih International Airport Chichijima Airfield Hachijojima Airport Hateruma Airport Osaka International Airport Tokyo Heliport Marine Corps Air Station Futenma Kumejima Airport Kisarazu Air Field Omura Air Base Ryūgasaki Airfield Iwakuni Air Base Ōminato Guard District Nyutabaru Air Base New Chitose Airport Chofu Airport Metabaru Air Field Tsushima Airport Tokachi-Obihiro Airport Utsunomiya Air Field Niijima Airport Kadena Air Base Saiki Heliport Shizuoka Airport Sado Airport Ie Jima Auxiliary Airfield New Ishigaki Airport Asahikawa Air Field Kanoya Air Base Chūbu Centrair International Airport Tokunoshima Airport Tajima Airport Tsukuba Heliport Misawa Airport Miho-Yonago Airport Matsumoto Airport Nagoya, RJNN Airport Ibaraki Airport Sendai Heliport Naha Air Base Iruma Air Base Fukuoka Airport Kumamoto Airport Tokyo International Airport Okinoerabu Airport Yokosuka Heliport Airport Okayama Airport Atsugi Air Base Komatsu Airport Nakashibetsu Airport Toyama Airport Tokyo International Airport Oki Airport Tottori Airport Minami Torishima Airport Miyazaki Airport New Tanegashima Airport Tateyama Air Base Misawa Air Base Mashike Heliport Yonaguni Airport Izumo Airport Hakodate Airport Yakushima Airport Shimofusa Air Base Tokachi Airfield Ojika Airport Yamagata Airport Yao Airport Akita Airport Iki Airport Noto Airport Minami-Daito Airport Kikai Airport Kagoshima Airport Chichijima Airstrip Airport Shonai Airport Monbetsu Airport Yoron Airport Oshima Airport Kasuminome Air Field Kasumigaura Air Field Otobe Heliport Honda Airport Hachinohe Air Base Kobe Airport Kamigoto Airport Sendai City Fire Heliport Shizuhama Air Base Matsushima Air Field Ishigaki Airport Saga Airport Miyakejima Airport Kokura Airport Chitose Air Base Yokota Air Base Kitadaito Airport Kōzushima Airport Hiroshima-Nishi Airport JGSDF Camp Hachinohe Rishiri Airport Aguni Airport Ashiya Air Field Yamaguchi Ube Airport Fukui Airport Okadama Airport Iwo Jima Air Base Hōfu Air Field Camp Zama Matsuyama Airport Okushiri Airport Memanbetsu Airport Fukushima Airport Asahikawa Airport Tarama Airport Niseko Heliport Hamamatsu Air Base Nagoya Airfield Miyako Airport Hanamaki Airport Odate-Noshiro Airport Wakkanai Airport Kitakyushu Airport Hiroshima Airport Niigata Airport Sendai Airport Kerama Airport Shimukappu Heliport Tokushima Airport Shimojishima Airport Akeno Air Field Amakusa Airfield Kastner AAF Airport Takamatsu Airport Kōnan Airport Ominato Aero Airport Tsuiki Air Field Nanki-Shirahama Airport Aomori Airport Ozuki Air Field Iwami Airport Naha Airport Fukue Airport Nara Prefecture Heliport Kushiro Airport Nagasaki Airport Gifu Air Field Kashiwa Airfield Kōchi Airport Otakineyama Air Self-Defense Force Base Amami Airport Oita Airport Tachikawa Airfield Rebun Airport Iejima Airport
Iwakuni Air Base, Naha Air Base and Boryspil International Airport are present in those administrative territories
Iwakuni Air Base Naha Air Base Boryspil International Airport
action filter_type
action find_reverse
entity prev_answer
relation country
type aerodrome
[{'concept': 'aerodrome'}, 'country', 'Ukraine'] [{'concept': 'aerodrome'}, 'country', 'Japan']
SELECT DISTINCT ?z WHERE { ?z property:country ?i . VALUES ( ?i ) { ( resource:Ukraine ) ( resource:Japan ) } . ?z rdf:type ontology:aerodrome }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1529149
P931
Q56061
USER
Which city is served by that aerodrome ?
(Q1529149,P931,c(Q56061))
action filter_type
action find
entity Q1529149
relation P931
type Q56061
['Q1529149', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1529149 property:P931 ?n . ?n rdf:type ontology:Q56061 }
Naha Air Base
action filter_type
action find
entity Naha Air Base
relation place served by airport
type administrative territorial entity
['Naha Air Base', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Naha_Air_Base property:place_served_by_airport ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1529149
SYSTEM
Did you mean Naha Air Base ?
Q1030389 Q1529149 Q477677
(Q1030389,P931,c(Q56061)) (Q1529149,P931,c(Q56061)) (Q477677,P931,c(Q56061))
[ANSWER]
['Q1030389', 'P931', {'concept': 'Q56061'}] ['Q1529149', 'P931', {'concept': 'Q56061'}] ['Q477677', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1529149 property:P931 ?n . ?n rdf:type ontology:Q56061 }
Iwakuni Air Base Naha Air Base Boryspil International Airport
Did you mean Naha Air Base ?
Naha Air Base
['Iwakuni Air Base', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Naha Air Base', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Boryspil International Airport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Naha_Air_Base property:place_served_by_airport ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1529149,P931,c(Q56061))
['Q1529149', 'P931', {'concept': 'Q56061'}]
['Naha Air Base', 'place served by airport', {'concept': 'administrative territorial entity'}]
[]
Q181966
SYSTEM
Naha
Q181966
(Q1529149,P931,c(Q56061))
action filter_type
action find
entity Q1529149
relation P931
type Q56061
[ANSWER] is served by that aerodrome
['Q1529149', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1529149 property:P931 ?n . ?n rdf:type ontology:Q56061 }
Naha
Naha is served by that aerodrome
Naha
action filter_type
action find
entity Naha Air Base
relation place served by airport
type administrative territorial entity
['Naha Air Base', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Naha_Air_Base property:place_served_by_airport ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6662 Q18141
P47
Q15617994
USER
Which administrative territories have an adjacent border with Piedicavallo or Cesena ?
OR((c(Q15617994),P47,Q18141), (c(Q15617994),P47,Q6662))
action filter_type
action union
action find_reverse
entity Q18141
relation P47
action find_reverse
entity Q6662
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q18141'], [{'concept': 'Q15617994'}, 'P47', 'Q6662']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?c ) { ( resource:Q18141 ) ( resource:Q6662 ) } . ?o property:P47 ?c } . ?o rdf:type ontology:Q15617994 }
Cesena Piedicavallo
action filter_type
action union
action find_reverse
entity Piedicavallo
relation shares border with
action find_reverse
entity Cesena
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Piedicavallo'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cesena']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?c ) { ( resource:Piedicavallo ) ( resource:Cesena ) } . ?o property:shares_border_with ?c } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q18172 Q35053 Q18156 Q18029 Q18162 Q99934 Q18022 Q99948 Q99942 Q18184
SYSTEM
Some of them are Tavigliano, Gaby, Sagliano Micca, Callabiana, Selve Marcone, Bertinoro, Bioglio, Montiano, Gambettola, Valle Mosso
Q99946 Q99944 Q99945 Q99942 Q18095 Q99948 Q35053 Q18022 Q99937 Q18172 Q99934 Q99938 Q99956 Q99953 Q52975 Q18156 Q18155 Q18029 Q18162 Q18037 Q18184 Q18186 Q18017
OR((c(Q15617994),P47,Q18141), (c(Q15617994),P47,Q6662))
action filter_type
action union
action find_reverse
entity Q18141
relation P47
action find_reverse
entity Q6662
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Piedicavallo or Cesena
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q18141'], [{'concept': 'Q15617994'}, 'P47', 'Q6662']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?c ) { ( resource:Q18141 ) ( resource:Q6662 ) } . ?o property:P47 ?c } . ?o rdf:type ontology:Q15617994 }
Mercato Saraceno Longiano Meldola Gambettola Pettinengo Montiano Gaby Bioglio Cesenatico Tavigliano Bertinoro Civitella di Romagna Sarsina Roncofreddo Cervia Sagliano Micca Rosazza Callabiana Selve Marcone Campiglia Cervo Valle Mosso Valle San Nicolao Andorno Micca
Tavigliano, Gaby, Sagliano Micca, Callabiana, Selve Marcone, Bertinoro, Bioglio, Montiano, Gambettola and Valle Mosso have an adjacent border with Piedicavallo or Cesena
Tavigliano Gaby Sagliano Micca Callabiana Selve Marcone Bertinoro Bioglio Montiano Gambettola Valle Mosso
action filter_type
action union
action find_reverse
entity Piedicavallo
relation shares border with
action find_reverse
entity Cesena
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Piedicavallo'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cesena']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?c ) { ( resource:Piedicavallo ) ( resource:Cesena ) } . ?o property:shares_border_with ?c } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18172 Q35053 Q18156 Q18029 Q18162 Q99934 Q18022 Q99948 Q99942 Q18184
P17
Q15617994
USER
Which administrative territories are Tavigliano, Gaby, Sagliano Micca, Callabiana, Selve Marcone, Bertinoro, Bioglio, Montiano, Gambettola and Valle Mosso located in ?
(Q18172,P17,c(Q15617994)) (Q35053,P17,c(Q15617994)) (Q18156,P17,c(Q15617994)) (Q18029,P17,c(Q15617994)) (Q18162,P17,c(Q15617994)) (Q99934,P17,c(Q15617994)) (Q18022,P17,c(Q15617994)) (Q99948,P17,c(Q15617994)) (Q99942,P17,c(Q15617994)) (Q18184,P17,c(Q15617994))
action union
action filter_type
action find
entity Q18172
relation P17
type Q15617994
action filter_type
action find
entity Q35053
relation P17
type Q15617994
action filter_type
action find
entity Q18156
relation P17
type Q15617994
action filter_type
action find
entity Q18029
relation P17
type Q15617994
action filter_type
action find
entity Q18162
relation P17
type Q15617994
action filter_type
action find
entity Q99934
relation P17
type Q15617994
action filter_type
action find
entity Q18022
relation P17
type Q15617994
action filter_type
action find
entity Q99948
relation P17
type Q15617994
action filter_type
action find
entity Q99942
relation P17
type Q15617994
action filter_type
action find
entity Q18184
relation P17
type Q15617994
['Q18172', 'P17', {'concept': 'Q15617994'}] ['Q35053', 'P17', {'concept': 'Q15617994'}] ['Q18156', 'P17', {'concept': 'Q15617994'}] ['Q18029', 'P17', {'concept': 'Q15617994'}] ['Q18162', 'P17', {'concept': 'Q15617994'}] ['Q99934', 'P17', {'concept': 'Q15617994'}] ['Q18022', 'P17', {'concept': 'Q15617994'}] ['Q99948', 'P17', {'concept': 'Q15617994'}] ['Q99942', 'P17', {'concept': 'Q15617994'}] ['Q18184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q18172 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q35053 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Tavigliano Gaby Sagliano Micca Callabiana Selve Marcone Bertinoro Bioglio Montiano Gambettola Valle Mosso
action union
action filter_type
action find
entity Tavigliano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gaby
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sagliano Micca
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Callabiana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Selve Marcone
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bertinoro
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bioglio
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Montiano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gambettola
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Valle Mosso
relation country
type designation for an administrative territorial entity
['Tavigliano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gaby', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sagliano Micca', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Callabiana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Selve Marcone', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bertinoro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bioglio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montiano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gambettola', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Valle Mosso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Tavigliano property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gaby property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38 Q38 Q38 Q38 Q38 Q38 Q38 Q38
(Q18172,P17,c(Q15617994)) (Q35053,P17,c(Q15617994)) (Q18156,P17,c(Q15617994)) (Q18029,P17,c(Q15617994)) (Q18162,P17,c(Q15617994)) (Q99934,P17,c(Q15617994)) (Q18022,P17,c(Q15617994)) (Q99948,P17,c(Q15617994)) (Q99942,P17,c(Q15617994)) (Q18184,P17,c(Q15617994))
action union
action filter_type
action find
entity Q18172
relation P17
type Q15617994
action filter_type
action find
entity Q35053
relation P17
type Q15617994
action filter_type
action find
entity Q18156
relation P17
type Q15617994
action filter_type
action find
entity Q18029
relation P17
type Q15617994
action filter_type
action find
entity Q18162
relation P17
type Q15617994
action filter_type
action find
entity Q99934
relation P17
type Q15617994
action filter_type
action find
entity Q18022
relation P17
type Q15617994
action filter_type
action find
entity Q99948
relation P17
type Q15617994
action filter_type
action find
entity Q99942
relation P17
type Q15617994
action filter_type
action find
entity Q18184
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] are Tavigliano, Gaby, Sagliano Micca, Callabiana, Selve Marcone, Bertinoro, Bioglio, Montiano, Gambettola and Valle Mosso located in
['Q18172', 'P17', {'concept': 'Q15617994'}] ['Q35053', 'P17', {'concept': 'Q15617994'}] ['Q18156', 'P17', {'concept': 'Q15617994'}] ['Q18029', 'P17', {'concept': 'Q15617994'}] ['Q18162', 'P17', {'concept': 'Q15617994'}] ['Q99934', 'P17', {'concept': 'Q15617994'}] ['Q18022', 'P17', {'concept': 'Q15617994'}] ['Q99948', 'P17', {'concept': 'Q15617994'}] ['Q99942', 'P17', {'concept': 'Q15617994'}] ['Q18184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q18172 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q35053 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Italy Italy Italy Italy Italy Italy Italy Italy Italy Italy
Italy Italy, Italy and Italy are Tavigliano, Gaby, Sagliano Micca, Callabiana, Selve Marcone, Bertinoro, Bioglio, Montiano, Gambettola and Valle Mosso located in
Italy Italy Italy
action union
action filter_type
action find
entity Tavigliano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gaby
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sagliano Micca
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Callabiana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Selve Marcone
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bertinoro
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bioglio
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Montiano
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Gambettola
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Valle Mosso
relation country
type designation for an administrative territorial entity
['Tavigliano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gaby', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sagliano Micca', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Callabiana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Selve Marcone', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bertinoro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bioglio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montiano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gambettola', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Valle Mosso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Tavigliano property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gaby property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]