Simple Question (Direct)
Simple Question
Q3085590
P20
Q20667921
USER
Where did François Piétri die ?
(Q3085590,P20,c(Q20667921))
action filter_type
action find
entity Q3085590
relation P20
type Q20667921
['Q3085590', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3085590 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
François Piétri
action filter_type
action find
entity François Piétri
relation place of death
type type of french administrative division
['François Piétri', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:François_Piétri property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q217459
SYSTEM
Sartène
Q217459
(Q3085590,P20,c(Q20667921))
action filter_type
action find
entity Q3085590
relation P20
type Q20667921
François Piétri died in [ANSWER]
['Q3085590', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3085590 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Sartène
François Piétri died in Sartène
Sartène
action filter_type
action find
entity François Piétri
relation place of death
type type of french administrative division
['François Piétri', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:François_Piétri property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217459
P1376
Q20667921
USER
Which french administrative division has that one as its capital ?
(Q217459,P1376,c(Q20667921))
action filter_type
action find
entity Q217459
relation P1376
type Q20667921
['Q217459', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q217459 property:P1376 ?z }
Sartène
action filter_type
action find
entity Sartène
relation capital of
type type of french administrative division
['Sartène', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Sartène property:capital_of ?z }
[]
type of french administrative division
Q1678292
SYSTEM
canton of Sartène
Q1678292
(Q217459,P1376,c(Q20667921))
action filter_type
action find
entity Q217459
relation P1376
type Q20667921
The [ANSWER] has that one as its capital
['Q217459', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q217459 property:P1376 ?z }
canton of Sartène
The canton of Sartène has that one as its capital
canton of Sartène
action filter_type
action find
entity Sartène
relation capital of
type type of french administrative division
['Sartène', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Sartène property:capital_of ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1678292
P36
Q20667921
USER
Which french administrative division is known as the capital of that one ?
(Q1678292,P36,c(Q20667921))
action filter_type
action find
entity Q1678292
relation P36
type Q20667921
['Q1678292', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q1678292 property:P36 ?v }
canton of Sartène
action filter_type
action find
entity canton of Sartène
relation capital
type type of french administrative division
['canton of Sartène', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Sartène property:capital ?v }
[]
type of french administrative division
Q217459
SYSTEM
Sartène
Q217459
(Q1678292,P36,c(Q20667921))
action filter_type
action find
entity Q1678292
relation P36
type Q20667921
[ANSWER] is known as the capital of that one
['Q1678292', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q1678292 property:P36 ?v }
Sartène
Sartène is known as the capital of that one
Sartène
action filter_type
action find
entity canton of Sartène
relation capital
type type of french administrative division
['canton of Sartène', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Sartène property:capital ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217459
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q217459,P17,c(Q15617994))
action filter_type
action find
entity Q217459
relation P17
type Q15617994
['Q217459', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q217459 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Sartène
action filter_type
action find
entity Sartène
relation country
type designation for an administrative territorial entity
['Sartène', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sartène property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q217459,P17,c(Q15617994))
action filter_type
action find
entity Q217459
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q217459', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q217459 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity Sartène
relation country
type designation for an administrative territorial entity
['Sartène', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sartène property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217459
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q217459
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?k WHERE { resource:Q217459 property:P47 ?k . ?k rdf:type ontology:Q20667921 }
Sartène
action filter_type
action find
entity Sartène
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?k WHERE { resource:Sartène property:shares_border_with ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q273443 Q519130 Q736749
SYSTEM
Levie, Arbellara, Propriano
Q253788 Q528863 Q519130 Q273443 Q677980 Q273682 Q431009 Q1087684 Q1240206 Q244925 Q1110508 Q736749 Q739516
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q217459
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?k WHERE { resource:Q217459 property:P47 ?k . ?k rdf:type ontology:Q20667921 }
Giuncheto Bilia Arbellara Levie Monacia-d'Aullène Granace Grossa Belvédère-Campomoro Viggianello Foce Olmiccia Propriano Pianottoli-Caldarello
Levie, Arbellara and Propriano share border with that one
Levie Arbellara Propriano
action filter_type
action find
entity Sartène
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?k WHERE { resource:Sartène property:shares_border_with ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q736749 Q4018
P47
Q1048835
USER
How many political territories are bordered by Propriano or Navarre ?
(c(Q1048835),P47,Q736749) (c(Q1048835),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q736749
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4018
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q736749'] [{'concept': 'Q1048835'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P47 ?y . VALUES ( ?y ) { ( resource:Q736749 ) ( resource:Q4018 ) } }
Propriano Navarre
action count
action union
action filter_type
action find_reverse
entity Propriano
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Navarre
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Propriano'] [{'concept': 'political territorial entity'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:shares_border_with ?y . VALUES ( ?y ) { ( resource:Propriano ) ( resource:Navarre ) } }
[]
political territorial entity
SYSTEM
2
Q4040 Q3995
(c(Q1048835),P47,Q736749) (c(Q1048835),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q736749
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4018
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q736749'] [{'concept': 'Q1048835'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P47 ?y . VALUES ( ?y ) { ( resource:Q736749 ) ( resource:Q4018 ) } }
Aragon Basque Country
2
action count
action union
action filter_type
action find_reverse
entity Propriano
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Navarre
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Propriano'] [{'concept': 'political territorial entity'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:shares_border_with ?y . VALUES ( ?y ) { ( resource:Propriano ) ( resource:Navarre ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12789
P138
Q34442 Q355304 Q15617994
USER
Which administrative territories have more number of roads or watercourses as their toponym than Var ?
(c(Q15617994),P138,c(Q34442)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q12789
relation P138
type Q34442
type Q355304
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?k WHERE { { ?k property:P138 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q34442 } UNION { ?k property:P138 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q355304 } } GROUP BY ?k } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?l ) { ( ontology:Q34442 ) ( ontology:Q355304 ) } . ?d rdf:type ?l } . resource:Q12789 property:P138 ?d } } }
Var
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Var
relation named after
type road
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?k WHERE { { ?k property:named_after ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:road } UNION { ?k property:named_after ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:watercourse } } GROUP BY ?k } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?l ) { ( ontology:road ) ( ontology:watercourse ) } . ?d rdf:type ?l } . resource:Var property:named_after ?d } } }
[]
road watercourse designation for an administrative territorial entity
Q12753 Q12584 Q3377
SYSTEM
Seine-et-Marne, Maine-et-Loire, Eure-et-Loir
Q12779 Q12556 Q12753 Q3377 Q979470 Q541095 Q1338277 Q282355 Q12584 Q12578 Q12736 Q12765 Q3509886 Q12549 Q12626 Q2236821 Q12564
(c(Q15617994),P138,c(Q34442)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q12789
relation P138
type Q34442
type Q355304
[ANSWERS] have more number of roads or watercourses as their toponym than Var
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?k WHERE { { ?k property:P138 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q34442 } UNION { ?k property:P138 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q355304 } } GROUP BY ?k } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?l ) { ( ontology:Q34442 ) ( ontology:Q355304 ) } . ?d rdf:type ?l } . resource:Q12789 property:P138 ?d } } }
Tarn-et-Garonne Indre-et-Loire Seine-et-Marne Eure-et-Loir Seine-et-Oise Rhin-et-Moselle Sambre-et-Meuse Nesse-Apfelstädt Maine-et-Loire Lot-et-Garonne Saône-et-Loire Deux-Sèvres Sègre-Ter Ille-et-Vilaine Meurthe-et-Moselle Rhône-et-Loire Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Eure-et-Loir have more number of roads or watercourses as their toponym than Var
Seine-et-Marne Maine-et-Loire Eure-et-Loir
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Var
relation named after
type road
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?k WHERE { { ?k property:named_after ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:road } UNION { ?k property:named_after ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:watercourse } } GROUP BY ?k } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?l ) { ( ontology:road ) ( ontology:watercourse ) } . ?d rdf:type ?l } . resource:Var property:named_after ?d } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1090684
P138
Q34442 Q355304 Q15617994
USER
And how about Montserrat?
(c(Q15617994),P138,c(Q34442)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q1090684
relation P138
type Q34442
type Q355304
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Q1090684 property:P138 ?s . { { ?s rdf:type ontology:Q355304 } UNION { ?s rdf:type ontology:Q34442 } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { { ?y property:P138 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34442 } UNION { ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q355304 . ?y property:P138 ?c } } GROUP BY ?y } }
Montserrat
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Montserrat
relation named after
type road
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Montserrat property:named_after ?s . { { ?s rdf:type ontology:watercourse } UNION { ?s rdf:type ontology:road } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { { ?y property:named_after ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:road } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:watercourse . ?y property:named_after ?c } } GROUP BY ?y } }
[]
road watercourse designation for an administrative territorial entity
Q668 Q1033 Q810
SYSTEM
India, Nigeria, Jordan
Q968630 Q3216 Q1421544 Q12789 Q12779 Q12631 Q1041 Q3305157 Q492430 Q668 Q10919 Q2567507 Q3278 Q12538 Q12740 Q3184 Q1452650 Q12594 Q3083 Q1939894 Q3240 Q12772 Q3286 Q12607 Q2310748 Q15055472 Q12572 Q1090678 Q12556 Q12753 Q624428 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q979470 Q1142326 Q10957559 Q1270648 Q2758 Q12515 Q12517 Q3368 Q12770 Q3361 Q3364 Q302479 Q541095 Q20211 Q3148 Q1390630 Q2567535 Q12798 Q1032 Q3068 Q12792 Q1268811 Q1338277 Q492437 Q282355 Q12620 Q1366860 Q12788 Q12584 Q2009 Q1206596 Q541811 Q7084 Q12784 Q12578 Q12717 Q12559 Q12679 Q12675 Q1270623 Q1989 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q2921370 Q81751 Q12569 Q2921378 Q12730 Q12657 Q12736 Q12761 Q1270568 Q1270636 Q3514973 Q1090691 Q12765 Q1005 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q1033 Q11301 Q12804 Q12808 Q894970 Q12722 Q3326 Q1234961 Q12553 Q3528124 Q15060143 Q810 Q773 Q46130 Q4149 Q12549 Q3266 Q12626 Q12543 Q12545 Q12758 Q1579364 Q731547 Q12816 Q2236821 Q3353 Q3357 Q558796 Q12564
(c(Q15617994),P138,c(Q34442)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q1090684
relation P138
type Q34442
type Q355304
[ANSWERS]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Q1090684 property:P138 ?s . { { ?s rdf:type ontology:Q355304 } UNION { ?s rdf:type ontology:Q34442 } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { { ?y property:P138 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34442 } UNION { ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q355304 . ?y property:P138 ?c } } GROUP BY ?y } }
Taro Aveyron Wettertal Var Tarn-et-Garonne Meuse Senegal Mella Bouches-de-l'Elbe India Medebach Arno Charente-Maritime Haute-Garonne Sarthe Ariège Ombrone Marne Ain Upper Oka Principalities Bouches-du-Rhône Tarn Cher Haute-Marne Liamone Gehlsbach Haute-Loire Sègre Indre-et-Loire Seine-et-Marne Biebertal Stura Wied Sesia Eure-et-Loir Lot Eure Veytal Loiret Yssel-Supérieur Rhine Aisne Seine-et-Oise Seine Moldavia Sieg Mönchengladbach Gard Gers Essonne Somme Doubs Drôme Ems-Occidental Rhin-et-Moselle Peenehagen Ardèche Ourthe Pô Vendée Niger Loire-Atlantique Vaucluse Dyle Sambre-et-Meuse Bouches-du-Weser Nesse-Apfelstädt Mayenne Escaut Val-de-Marne Maine-et-Loire Yukon Deux-Nèthes Ems-Oriental Seevetal Val-d'Oise Lot-et-Garonne Bas-Rhin Isère Orne Oise Meurthe Saskatchewan Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Bouches-de-l'Èbre-Montserrat Niedereschach Loire Bouches-de-l'Èbre Haute-Saône Nièvre Saône-et-Loire Seine-Saint-Denis Ems Ruhr Tanaro Ter Deux-Sèvres Gambia Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Nigeria Ennepetal Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Corrèze Doire Indre Tibre Stepenitztal Jordan Overijssel Rhône Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Hauts-de-Seine Hérault Seine-Maritime Lys Lippe Yonne Rhône-et-Loire Creuse Dordogne Obere Warnow Loir-et-Cher
India Nigeria Jordan
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Montserrat
relation named after
type road
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Montserrat property:named_after ?s . { { ?s rdf:type ontology:watercourse } UNION { ?s rdf:type ontology:road } } } } . FILTER ( ?o > ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { { ?y property:named_after ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:road } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:watercourse . ?y property:named_after ?c } } GROUP BY ?y } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1767420
P530
Q1048835
USER
Do Villalba de la Sierra have diplomatic associations with those administrative territories ?
(Q1767420,P530,Q668) (Q1767420,P530,Q1033) (Q1767420,P530,Q810)
action is_in
entity prev_answer
action find
entity Q1767420
relation P530
['Q1767420', 'P530', 'Q668'] ['Q1767420', 'P530', 'Q1033'] ['Q1767420', 'P530', 'Q810']
ASK WHERE { resource:Q1767420 property:P530 ?a . VALUES ( ?a ) { ( resource:Q968630 ) ( resource:Q3216 ) ( resource:Q1421544 ) } }
Villalba de la Sierra
action is_in
entity prev_answer
action find
entity Villalba de la Sierra
relation diplomatic relation
['Villalba de la Sierra', 'diplomatic relation', 'India'] ['Villalba de la Sierra', 'diplomatic relation', 'Nigeria'] ['Villalba de la Sierra', 'diplomatic relation', 'Jordan']
ASK WHERE { resource:Villalba_de_la_Sierra property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Taro ) ( resource:Aveyron ) ( resource:Wettertal ) } }
[]
political territorial entity
SYSTEM
NO
(Q1767420,P530,Q668) (Q1767420,P530,Q1033) (Q1767420,P530,Q810)
action is_in
entity prev_answer
action find
entity Q1767420
relation P530
[ANSWER]
['Q1767420', 'P530', 'Q668'] ['Q1767420', 'P530', 'Q1033'] ['Q1767420', 'P530', 'Q810']
ASK WHERE { resource:Q1767420 property:P530 ?a . VALUES ( ?a ) { ( resource:Q968630 ) ( resource:Q3216 ) ( resource:Q1421544 ) } }
No
action is_in
entity prev_answer
action find
entity Villalba de la Sierra
relation diplomatic relation
['Villalba de la Sierra', 'diplomatic relation', 'India'] ['Villalba de la Sierra', 'diplomatic relation', 'Nigeria'] ['Villalba de la Sierra', 'diplomatic relation', 'Jordan']
ASK WHERE { resource:Villalba_de_la_Sierra property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Taro ) ( resource:Aveyron ) ( resource:Wettertal ) } }
[]