Simple Question (Direct)
Simple Question
Q1030369
P47
Q15617994
USER
Which administrative territory has a shared border with Cervières ?
(Q1030369,P47,c(Q15617994))
action filter_type
action find
entity Q1030369
relation P47
type Q15617994
['Q1030369', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1030369 property:P47 ?u }
Cervières
action filter_type
action find
entity Cervières
relation shares border with
type designation for an administrative territorial entity
['Cervières', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cervières property:shares_border_with ?u }
[]
designation for an administrative territorial entity
Q9249
SYSTEM
Cesana Torinese
Q9249
(Q1030369,P47,c(Q15617994))
action filter_type
action find
entity Q1030369
relation P47
type Q15617994
[ANSWER] has a shared border with Cervières
['Q1030369', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1030369 property:P47 ?u }
Cesana Torinese
Cesana Torinese has a shared border with Cervières
Cesana Torinese
action filter_type
action find
entity Cervières
relation shares border with
type designation for an administrative territorial entity
['Cervières', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cervières property:shares_border_with ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9249
P17
Q15617994
USER
Which administrative territory is that one located in ?
(Q9249,P17,c(Q15617994))
action filter_type
action find
entity Q9249
relation P17
type Q15617994
['Q9249', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q9249 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Cesana Torinese
action filter_type
action find
entity Cesana Torinese
relation country
type designation for an administrative territorial entity
['Cesana Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cesana_Torinese property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q9249,P17,c(Q15617994))
action filter_type
action find
entity Q9249
relation P17
type Q15617994
That one is located in [ANSWER]
['Q9249', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q9249 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Italy
That one is located in Italy
Italy
action filter_type
action find
entity Cesana Torinese
relation country
type designation for an administrative territorial entity
['Cesana Torinese', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cesana_Torinese property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q7275 Q15617994
USER
How many states and administrative territories are bordered by that administrative territory ?
(Q38,P47,c(Q7275)) (Q38,P47,c(Q15617994)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q7275
action filter_type
action find
entity Q38
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q15617994'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type state
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
state designation for an administrative territorial entity
SYSTEM
1 states and 4 administrative territories
Q142 Q39 Q215 Q238 Q36704
(Q38,P47,c(Q7275)) (Q38,P47,c(Q15617994)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q7275
action filter_type
action find
entity Q38
relation P47
type Q15617994
[ANSWER]
['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q15617994'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
France Switzerland Slovenia San Marino Yugoslavia
1 states and 4 administrative territories
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type state
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12657
P180
Q15617994 Q340169 Q3305213
USER
Which administrative territories are depicted in around the same number of medias and paintings as Nièvre ?
(c(Q340169)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12657
relation P180
type Q340169
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?p rdf:type ?i } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P180 resource:Q12657 . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?t = ?f ) }
Nièvre
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Nièvre
relation depicts
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?i ) { ( ontology:painting ) ( ontology:media ) } . ?p rdf:type ?i } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:depicts resource:Nièvre . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:media ) ( ontology:painting ) } } } } . FILTER ( ?t = ?f ) }
[]
designation for an administrative territorial entity media painting
Q155 Q159 Q55
SYSTEM
Brazil, Russia, Netherlands
Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q340169)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12657
relation P180
type Q340169
type Q3305213
[ANSWERS] are depicted in around the same number of medias and paintings as Nièvre
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?p rdf:type ?i } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P180 resource:Q12657 . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?t = ?f ) }
Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
Brazil, Russia and Netherlands are depicted in around the same number of medias and paintings as Nièvre
Brazil Russia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Nièvre
relation depicts
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?o WHERE { VALUES ( ?i ) { ( ontology:painting ) ( ontology:media ) } . ?p rdf:type ?i } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:depicts resource:Nièvre . { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:media ) ( ontology:painting ) } } } } . FILTER ( ?t = ?f ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Are Germany known to have diplomatic connections with those administrative territories ?
(Q183,P530,Q155) (Q183,P530,Q159) (Q183,P530,Q55)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q159'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 ?l . VALUES ( ?l ) { ( resource:Q1256 ) ( resource:Q1462 ) ( resource:Q241744 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Russia'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Liguria ) ( resource:Sardinia ) ( resource:Ariccia ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q155) (Q183,P530,Q159) (Q183,P530,Q55)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q159'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 ?l . VALUES ( ?l ) { ( resource:Q1256 ) ( resource:Q1462 ) ( resource:Q241744 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Russia'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Liguria ) ( resource:Sardinia ) ( resource:Ariccia ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q4320548 Q159
P47 P17
Q15617994
USER
Which administrative territories share the border with Russia and are not Mykolaivske present in ?
AND((Q159,P47,c(Q15617994)), NOT((Q4320548,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q159
relation P47
action find
entity Q4320548
relation P17
type Q15617994
{'AND': [['Q159', 'P47', {'concept': 'Q15617994'}], {'NOT': [['Q4320548', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { FILTER NOT EXISTS { resource:Q4320548 property:P17 ?l } . resource:Q159 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Mykolaivske Russia
action filter_type
action difference
action find
entity Russia
relation shares border with
action find
entity Mykolaivske
relation country
type designation for an administrative territorial entity
{'AND': [['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Mykolaivske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { FILTER NOT EXISTS { resource:Mykolaivske property:country ?l } . resource:Russia property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q230 Q227 Q191 Q33 Q17 Q148 Q711 Q30 Q20
SYSTEM
Some of them are Latvia, Georgia, Azerbaijan, Estonia, Finland, Japan, People's Republic of China, Mongolia, United States of America, Norway
Q227 Q20 Q423 Q211 Q230 Q232 Q191 Q184 Q711 Q33 Q17 Q30 Q37 Q36 Q148
AND((Q159,P47,c(Q15617994)), NOT((Q4320548,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q159
relation P47
action find
entity Q4320548
relation P17
type Q15617994
[ANSWERS] share the border with Russia and are not Mykolaivske present in
{'AND': [['Q159', 'P47', {'concept': 'Q15617994'}], {'NOT': [['Q4320548', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { FILTER NOT EXISTS { resource:Q4320548 property:P17 ?l } . resource:Q159 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Azerbaijan Norway North Korea Latvia Georgia Kazakhstan Estonia Belarus Mongolia Finland Japan United States of America Lithuania Poland People's Republic of China
Latvia, Georgia, Azerbaijan, Estonia, Finland, Japan, People's Republic of China, Mongolia, United States of America and Norway share the border with Russia and are not Mykolaivske present in
Latvia Georgia Azerbaijan Estonia Finland Japan People's Republic of China Mongolia United States of America Norway
action filter_type
action difference
action find
entity Russia
relation shares border with
action find
entity Mykolaivske
relation country
type designation for an administrative territorial entity
{'AND': [['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Mykolaivske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { FILTER NOT EXISTS { resource:Mykolaivske property:country ?l } . resource:Russia property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P137
Q2424752 Q15056995
USER
How many products and aircraft models are the administrator of Brazil ?
(c(Q2424752),P137,Q155) (c(Q15056995),P137,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P137
type Q2424752
action filter_type
action find_reverse
entity Q155
relation P137
type Q15056995
[{'concept': 'Q2424752'}, 'P137', 'Q155'] [{'concept': 'Q15056995'}, 'P137', 'Q155']
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P137 resource:Q155 . ?t rdf:type ontology:Q15056995 } UNION { ?t property:P137 resource:Q155 . ?t rdf:type ontology:Q2424752 } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation operator
type product
action filter_type
action find_reverse
entity Brazil
relation operator
type aircraft model
[{'concept': 'product'}, 'operator', 'Brazil'] [{'concept': 'aircraft model'}, 'operator', 'Brazil']
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:operator resource:Brazil . ?t rdf:type ontology:aircraft_model } UNION { ?t property:operator resource:Brazil . ?t rdf:type ontology:product } }
[]
product aircraft model
SYSTEM
17 products and 3 aircraft models
Q15411568 Q18193440 Q18520652 Q15411562 Q17506021 Q18003222 Q18011199 Q18011062 Q18169150 Q17505534 Q17505522 Q18011186 Q1975015 Q3561317 Q17505532 Q18003328 Q17444592 Q17912305 Q18011069 Q17506026
(c(Q2424752),P137,Q155) (c(Q15056995),P137,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P137
type Q2424752
action filter_type
action find_reverse
entity Q155
relation P137
type Q15056995
[ANSWER]
[{'concept': 'Q2424752'}, 'P137', 'Q155'] [{'concept': 'Q15056995'}, 'P137', 'Q155']
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P137 resource:Q155 . ?t rdf:type ontology:Q15056995 } UNION { ?t property:P137 resource:Q155 . ?t rdf:type ontology:Q2424752 } }
C-130H Hercules P-36A Hawk Boeing 69B C-130E Hercules AMX-A A-29A Tucano Mirage 2000B EMB 326 Xavante T-28R-1 Nomair I F-5F Tiger II F-5E Tiger II Mirage 2000C L-7 Campeiro Air Express F-5B Freedom Fighter A-29B Tucano KC-130H Hercules NA-46 Impala Mk II AMX-T
17 products and 3 aircraft models
action count
action union
action filter_type
action find_reverse
entity Brazil
relation operator
type product
action filter_type
action find_reverse
entity Brazil
relation operator
type aircraft model
[{'concept': 'product'}, 'operator', 'Brazil'] [{'concept': 'aircraft model'}, 'operator', 'Brazil']
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:operator resource:Brazil . ?t rdf:type ontology:aircraft_model } UNION { ?t property:operator resource:Brazil . ?t rdf:type ontology:product } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q51210 Q12657
P47
Q15617994
USER
Which administrative territories are bordered by Nièvre or Colledimezzo ?
OR((c(Q15617994),P47,Q12657), (c(Q15617994),P47,Q51210))
action filter_type
action union
action find_reverse
entity Q12657
relation P47
action find_reverse
entity Q51210
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q12657'], [{'concept': 'Q15617994'}, 'P47', 'Q51210']]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?x ) { ( resource:Q12657 ) ( resource:Q51210 ) } . ?w property:P47 ?x } . ?w rdf:type ontology:Q15617994 }
Colledimezzo Nièvre
action filter_type
action union
action find_reverse
entity Nièvre
relation shares border with
action find_reverse
entity Colledimezzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Nièvre'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Colledimezzo']]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?x ) { ( resource:Nièvre ) ( resource:Colledimezzo ) } . ?w property:shares_border_with ?x } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3113 Q51183 Q12736 Q12816 Q3508 Q3563 Q3342 Q51249 Q12574 Q3286
SYSTEM
Allier, Atessa, Saône-et-Loire, Yonne, Pietraferrazzana, Monteferrante, Côte-d'Or, Montazzoli, Loiret, Cher
Q3113 Q51183 Q12736 Q12816 Q3508 Q3563 Q3342 Q51249 Q12574 Q3286
OR((c(Q15617994),P47,Q12657), (c(Q15617994),P47,Q51210))
action filter_type
action union
action find_reverse
entity Q12657
relation P47
action find_reverse
entity Q51210
relation P47
type Q15617994
[ANSWERS] are bordered by Nièvre or Colledimezzo
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q12657'], [{'concept': 'Q15617994'}, 'P47', 'Q51210']]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?x ) { ( resource:Q12657 ) ( resource:Q51210 ) } . ?w property:P47 ?x } . ?w rdf:type ontology:Q15617994 }
Allier Atessa Saône-et-Loire Yonne Pietraferrazzana Monteferrante Côte-d'Or Montazzoli Loiret Cher
Allier, Atessa, Saône-et-Loire, Yonne, Pietraferrazzana, Monteferrante, Côte-d'Or, Montazzoli, Loiret and Cher are bordered by Nièvre or Colledimezzo
Allier Atessa Saône-et-Loire Yonne Pietraferrazzana Monteferrante Côte-d'Or Montazzoli Loiret Cher
action filter_type
action union
action find_reverse
entity Nièvre
relation shares border with
action find_reverse
entity Colledimezzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Nièvre'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Colledimezzo']]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?x ) { ( resource:Nièvre ) ( resource:Colledimezzo ) } . ?w property:shares_border_with ?x } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3113 Q51183 Q12736 Q12816 Q3508 Q3563 Q3342 Q51249 Q12574 Q3286
P17
Q15617994
USER
Which administrative territories are Allier, Atessa, Saône-et-Loire, Yonne, Pietraferrazzana, Monteferrante, Côte-d'Or, Montazzoli, Loiret and Cher located in ?
(Q3113,P17,c(Q15617994)) (Q51183,P17,c(Q15617994)) (Q12736,P17,c(Q15617994)) (Q12816,P17,c(Q15617994)) (Q3508,P17,c(Q15617994)) (Q3563,P17,c(Q15617994)) (Q3342,P17,c(Q15617994)) (Q51249,P17,c(Q15617994)) (Q12574,P17,c(Q15617994)) (Q3286,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3113
relation P17
type Q15617994
action filter_type
action find
entity Q51183
relation P17
type Q15617994
action filter_type
action find
entity Q12736
relation P17
type Q15617994
action filter_type
action find
entity Q12816
relation P17
type Q15617994
action filter_type
action find
entity Q3508
relation P17
type Q15617994
action filter_type
action find
entity Q3563
relation P17
type Q15617994
action filter_type
action find
entity Q3342
relation P17
type Q15617994
action filter_type
action find
entity Q51249
relation P17
type Q15617994
action filter_type
action find
entity Q12574
relation P17
type Q15617994
action filter_type
action find
entity Q3286
relation P17
type Q15617994
['Q3113', 'P17', {'concept': 'Q15617994'}] ['Q51183', 'P17', {'concept': 'Q15617994'}] ['Q12736', 'P17', {'concept': 'Q15617994'}] ['Q12816', 'P17', {'concept': 'Q15617994'}] ['Q3508', 'P17', {'concept': 'Q15617994'}] ['Q3563', 'P17', {'concept': 'Q15617994'}] ['Q3342', 'P17', {'concept': 'Q15617994'}] ['Q51249', 'P17', {'concept': 'Q15617994'}] ['Q12574', 'P17', {'concept': 'Q15617994'}] ['Q3286', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q3113 property:P17 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q51183 property:P17 ?l } }
Allier Atessa Saône-et-Loire Yonne Pietraferrazzana Monteferrante Côte-d'Or Montazzoli Loiret Cher
action union
action filter_type
action find
entity Allier
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Atessa
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saône-et-Loire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yonne
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pietraferrazzana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Monteferrante
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Côte-d'Or
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Montazzoli
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Loiret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cher
relation country
type designation for an administrative territorial entity
['Allier', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Atessa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saône-et-Loire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yonne', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pietraferrazzana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Monteferrante', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Côte-d'Or", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montazzoli', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Loiret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cher', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Allier property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Atessa property:country ?l } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q142 Q38 Q142 Q142 Q38 Q38 Q142 Q38 Q142 Q142
(Q3113,P17,c(Q15617994)) (Q51183,P17,c(Q15617994)) (Q12736,P17,c(Q15617994)) (Q12816,P17,c(Q15617994)) (Q3508,P17,c(Q15617994)) (Q3563,P17,c(Q15617994)) (Q3342,P17,c(Q15617994)) (Q51249,P17,c(Q15617994)) (Q12574,P17,c(Q15617994)) (Q3286,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3113
relation P17
type Q15617994
action filter_type
action find
entity Q51183
relation P17
type Q15617994
action filter_type
action find
entity Q12736
relation P17
type Q15617994
action filter_type
action find
entity Q12816
relation P17
type Q15617994
action filter_type
action find
entity Q3508
relation P17
type Q15617994
action filter_type
action find
entity Q3563
relation P17
type Q15617994
action filter_type
action find
entity Q3342
relation P17
type Q15617994
action filter_type
action find
entity Q51249
relation P17
type Q15617994
action filter_type
action find
entity Q12574
relation P17
type Q15617994
action filter_type
action find
entity Q3286
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Allier, Atessa, Saône-et-Loire, Yonne, Pietraferrazzana, Monteferrante, Côte-d'Or, Montazzoli, Loiret and Cher located in
['Q3113', 'P17', {'concept': 'Q15617994'}] ['Q51183', 'P17', {'concept': 'Q15617994'}] ['Q12736', 'P17', {'concept': 'Q15617994'}] ['Q12816', 'P17', {'concept': 'Q15617994'}] ['Q3508', 'P17', {'concept': 'Q15617994'}] ['Q3563', 'P17', {'concept': 'Q15617994'}] ['Q3342', 'P17', {'concept': 'Q15617994'}] ['Q51249', 'P17', {'concept': 'Q15617994'}] ['Q12574', 'P17', {'concept': 'Q15617994'}] ['Q3286', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q3113 property:P17 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q51183 property:P17 ?l } }
France Italy France France Italy Italy France Italy France France
Italy, Italy and Italy are Allier, Atessa, Saône-et-Loire, Yonne, Pietraferrazzana, Monteferrante, Côte-d'Or, Montazzoli, Loiret and Cher located in
Italy Italy Italy
action union
action filter_type
action find
entity Allier
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Atessa
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saône-et-Loire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yonne
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pietraferrazzana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Monteferrante
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Côte-d'Or
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Montazzoli
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Loiret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cher
relation country
type designation for an administrative territorial entity
['Allier', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Atessa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saône-et-Loire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yonne', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pietraferrazzana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Monteferrante', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Côte-d'Or", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montazzoli', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Loiret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cher', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Allier property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Atessa property:country ?l } }
[]