Simple Question (Direct)
Simple Question
Q860644
P47
Q20667921
USER
Which french administrative divisions have a shared border with Pontaubault ?
(Q860644,P47,c(Q20667921))
action filter_type
action find
entity Q860644
relation P47
type Q20667921
['Q860644', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q860644 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Pontaubault
action filter_type
action find
entity Pontaubault
relation shares border with
type type of french administrative division
['Pontaubault', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Pontaubault property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q248091 Q579001 Q945840
SYSTEM
Saint-Quentin-sur-le-Homme, Juilley, Poilley
Q579001 Q945840 Q678103 Q248091 Q1103564 Q613462
(Q860644,P47,c(Q20667921))
action filter_type
action find
entity Q860644
relation P47
type Q20667921
[ANSWERS] have a shared border with Pontaubault
['Q860644', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q860644 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Juilley Poilley Le Val-Saint-Père Saint-Quentin-sur-le-Homme Précey Céaux
Saint-Quentin-sur-le-Homme, Juilley and Poilley have a shared border with Pontaubault
Saint-Quentin-sur-le-Homme Juilley Poilley
action filter_type
action find
entity Pontaubault
relation shares border with
type type of french administrative division
['Pontaubault', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Pontaubault property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q860644
P17
Q15617994
USER
Which administrative territory does Pontaubault belong to ?
(Q860644,P17,c(Q15617994))
action filter_type
action find
entity Q860644
relation P17
type Q15617994
['Q860644', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q860644 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Pontaubault
action filter_type
action find
entity Pontaubault
relation country
type designation for an administrative territorial entity
['Pontaubault', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pontaubault property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q860644,P17,c(Q15617994))
action filter_type
action find
entity Q860644
relation P17
type Q15617994
Pontaubault belongs to [ANSWER]
['Q860644', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q860644 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
France
Pontaubault belongs to France
France
action filter_type
action find
entity Pontaubault
relation country
type designation for an administrative territorial entity
['Pontaubault', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pontaubault property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q512083 Q228
P47
Q15617994
USER
Does Geltendorf and Andorra share a border with Q142 ?
(Q142,P47,Q512083) (Q142,P47,Q228)
action is_in
entity Q142
action intersection
action find_reverse
entity Q512083
relation P47
action find_reverse
entity Q228
relation P47
['Q142', 'P47', 'Q512083'] ['Q142', 'P47', 'Q228']
ASK WHERE { resource:Q142 property:P47 resource:Q512083 . resource:Q142 property:P47 resource:Q228 }
France Geltendorf Andorra
action is_in
entity France
action intersection
action find_reverse
entity Geltendorf
relation shares border with
action find_reverse
entity Andorra
relation shares border with
['France', 'shares border with', 'Geltendorf'] ['France', 'shares border with', 'Andorra']
ASK WHERE { resource:France property:shares_border_with resource:Geltendorf . resource:France property:shares_border_with resource:Andorra }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P47,Q512083) (Q142,P47,Q228)
action is_in
entity Q142
action intersection
action find_reverse
entity Q512083
relation P47
action find_reverse
entity Q228
relation P47
[ANSWER]
['Q142', 'P47', 'Q512083'] ['Q142', 'P47', 'Q228']
ASK WHERE { resource:Q142 property:P47 resource:Q512083 . resource:Q142 property:P47 resource:Q228 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Geltendorf
relation shares border with
action find_reverse
entity Andorra
relation shares border with
['France', 'shares border with', 'Geltendorf'] ['France', 'shares border with', 'Andorra']
ASK WHERE { resource:France property:shares_border_with resource:Geltendorf . resource:France property:shares_border_with resource:Andorra }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q291104 Q512083
P47 P190
Q20667921
USER
Which french administrative divisions are twin cities of Geltendorf or share border with Étupes ?
OR((Q512083,P190,c(Q20667921)), (Q291104,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q512083
relation P190
action find
entity Q291104
relation P47
type Q20667921
{'OR': [['Q512083', 'P190', {'concept': 'Q20667921'}], ['Q291104', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q512083 property:P190 ?u } UNION { resource:Q291104 property:P47 ?u } } . ?u rdf:type ontology:Q20667921 }
Étupes Geltendorf
action filter_type
action union
action find
entity Geltendorf
relation sister city
action find
entity Étupes
relation shares border with
type type of french administrative division
{'OR': [['Geltendorf', 'sister city', {'concept': 'type of french administrative division'}], ['Étupes', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Geltendorf property:sister_city ?u } UNION { resource:Étupes property:shares_border_with ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q904567 Q904626 Q42716
SYSTEM
Taillecourt, Vieux-Charmont, Saint-Étienne
Q904567 Q904626 Q42716
OR((Q512083,P190,c(Q20667921)), (Q291104,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q512083
relation P190
action find
entity Q291104
relation P47
type Q20667921
[ANSWERS] are twin cities of Geltendorf or share border with Étupes
{'OR': [['Q512083', 'P190', {'concept': 'Q20667921'}], ['Q291104', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q512083 property:P190 ?u } UNION { resource:Q291104 property:P47 ?u } } . ?u rdf:type ontology:Q20667921 }
Taillecourt Vieux-Charmont Saint-Étienne
Taillecourt, Vieux-Charmont and Saint-Étienne are twin cities of Geltendorf or share border with Étupes
Taillecourt Vieux-Charmont Saint-Étienne
action filter_type
action union
action find
entity Geltendorf
relation sister city
action find
entity Étupes
relation shares border with
type type of french administrative division
{'OR': [['Geltendorf', 'sister city', {'concept': 'type of french administrative division'}], ['Étupes', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Geltendorf property:sister_city ?u } UNION { resource:Étupes property:shares_border_with ?u } } . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q926768
P206
Q1267889 Q355304 Q20667921
USER
Which french administrative divisions are situated in the neighbourhood of around the same number of waterways and watercourses as Tahaa ?
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q926768
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } . resource:Q926768 property:P206 ?n } } . FILTER ( ?e = ?u ) }
Tahaa
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action count
action filter_multi_types
action find
entity Tahaa
relation located next to body of water
type waterway
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:waterway ) ( ontology:watercourse ) } } . resource:Tahaa property:located_next_to_body_of_water ?n } } . FILTER ( ?e = ?u ) }
[]
waterway watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q3769 Q665411 Q1649363 Q467030 Q956943 Q842027 Q71356 Q147606 Q429770 Q266886 Q380224 Q1014763 Q652100 Q1326390 Q751619 Q14112 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q769160 Q513962 Q1014814 Q662942 Q323399 Q70491 Q231180 Q191765 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q926768
relation P206
type Q1267889
type Q355304
[ANSWERS] are situated in the neighbourhood of around the same number of waterways and watercourses as Tahaa
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } . resource:Q926768 property:P206 ?n } } . FILTER ( ?e = ?u ) }
French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Le Port Rogliano Île-aux-Moines Fort-Mahon-Plage La Possession Sisco Marck Trois-Bassins Saint-Philippe Petite-Île Sérignan Corsica Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Grande-Synthe Oye-Plage Les Avirons Sainte-Marie Gravelines Larmor-Baden Zuydcoote Anglet Béhuard Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Valras-Plage Le Pouliguen
Saint-Denis, Saint-Pierre and Cayenne are situated in the neighbourhood of around the same number of waterways and watercourses as Tahaa
Saint-Denis Saint-Pierre Cayenne
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action count
action filter_multi_types
action find
entity Tahaa
relation located next to body of water
type waterway
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?p . VALUES ( ?p ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:waterway ) ( ontology:watercourse ) } } . resource:Tahaa property:located_next_to_body_of_water ?n } } . FILTER ( ?e = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q191765
P206
Q1267889 Q355304 Q20667921
USER
And what about Anglet?
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q191765
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?l WHERE { { ?l property:P206 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q355304 } UNION { ?l property:P206 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1267889 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q191765 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q1267889 } } } } . FILTER ( ?q = ?e ) }
Anglet
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action count
action filter_multi_types
action find
entity Anglet
relation located next to body of water
type waterway
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?l WHERE { { ?l property:located_next_to_body_of_water ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:watercourse } UNION { ?l property:located_next_to_body_of_water ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:waterway } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Anglet property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:waterway } } } } . FILTER ( ?q = ?e ) }
[]
waterway watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q3769 Q665411 Q1649363 Q467030 Q956943 Q842027 Q71356 Q147606 Q429770 Q266886 Q380224 Q1014763 Q652100 Q1326390 Q751619 Q14112 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q769160 Q513962 Q1014814 Q662942 Q323399 Q70491 Q231180 Q191765 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q191765
relation P206
type Q1267889
type Q355304
[ANSWERS]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?l WHERE { { ?l property:P206 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q355304 } UNION { ?l property:P206 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1267889 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q191765 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q1267889 } } } } . FILTER ( ?q = ?e ) }
French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Le Port Rogliano Île-aux-Moines Fort-Mahon-Plage La Possession Sisco Marck Trois-Bassins Saint-Philippe Petite-Île Sérignan Corsica Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Grande-Synthe Oye-Plage Les Avirons Sainte-Marie Gravelines Larmor-Baden Zuydcoote Anglet Béhuard Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Valras-Plage Le Pouliguen
Saint-Denis Saint-Pierre Cayenne
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action count
action filter_multi_types
action find
entity Anglet
relation located next to body of water
type waterway
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?l WHERE { { ?l property:located_next_to_body_of_water ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:watercourse } UNION { ?l property:located_next_to_body_of_water ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:waterway } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Anglet property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:waterway } } } } . FILTER ( ?q = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q47045 Q249884 Q44401
P1376
Q20667921
USER
Which french administrative divisions have those ones have their first city ?
(Q47045,P1376,c(Q20667921)) (Q249884,P1376,c(Q20667921)) (Q44401,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
['Q47045', 'P1376', {'concept': 'Q20667921'}] ['Q249884', 'P1376', {'concept': 'Q20667921'}] ['Q44401', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . VALUES ( ?s ) { ( resource:Q3769 ) ( resource:Q665411 ) ( resource:Q1649363 ) } . ?s property:P1376 ?v }
Saint-Denis Saint-Pierre Cayenne
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Saint-Denis', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}] ['Cayenne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?s ) { ( resource:French_Guiana ) ( resource:Leffrinckoucke ) ( resource:Saint-Leu ) } . ?s property:capital_of ?v }
[]
type of french administrative division
Q3769 Q1536470 Q1536783
SYSTEM
French Guiana, canton of Saint-Denis-1, canton of Saint-Denis-3
Q1536470 Q1536783 Q1536800 Q1547258 Q652969 Q1536815 Q1547675 Q163882 Q1547705 Q2750526 Q2430919 Q2750524 Q2513430 Q3769 Q1504660 Q1505063 Q1504081 Q632280 Q683199 Q1504648
(Q47045,P1376,c(Q20667921)) (Q249884,P1376,c(Q20667921)) (Q44401,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] have those ones have their first city
['Q47045', 'P1376', {'concept': 'Q20667921'}] ['Q249884', 'P1376', {'concept': 'Q20667921'}] ['Q44401', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . VALUES ( ?s ) { ( resource:Q3769 ) ( resource:Q665411 ) ( resource:Q1649363 ) } . ?s property:P1376 ?v }
canton of Saint-Denis-1 canton of Saint-Denis-3 canton of Saint-Denis-2 canton of Saint-Denis-8 canton of Saint-Denis-6 canton of Saint-Denis-4 canton of Saint-Denis-7 canton of Saint-Denis-9 canton of Saint-Denis-5 canton of Saint-Pierre-2 canton of Saint-Pierre-1 canton of Saint-Pierre-3 canton of Saint-Pierre-4 French Guiana Canton of Cayenne Nord-Est Canton of Cayenne Nord-Ouest Canton of Cayenne Sud Canton of Cayenne Centre Canton of Cayenne Sud-Ouest Canton of Cayenne Sud-Est
French Guiana, canton of Saint-Denis-1 and canton of Saint-Denis-3 have those ones have their first city
French Guiana canton of Saint-Denis-1 canton of Saint-Denis-3
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Saint-Denis', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}] ['Cayenne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?s ) { ( resource:French_Guiana ) ( resource:Leffrinckoucke ) ( resource:Saint-Leu ) } . ?s property:capital_of ?v }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3769 Q1536470 Q1536783
P1376
Q20667921
USER
Which french administrative divisions are the capital of French Guiana, canton of Saint-Denis-1 and canton of Saint-Denis-3 ?
(c(Q20667921),P1376,Q3769) (c(Q20667921),P1376,Q1536470) (c(Q20667921),P1376,Q1536783)
action union
action filter_type
action find_reverse
entity Q3769
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q1536470
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q1536783
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q3769'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536470'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536783']
SELECT DISTINCT ?z WHERE { VALUES ( ?u ) { ( resource:Q3769 ) ( resource:Q1536470 ) } . ?z property:P1376 ?u }
French Guiana canton of Saint-Denis-1 canton of Saint-Denis-3
action union
action filter_type
action find_reverse
entity French Guiana
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity canton of Saint-Denis-1
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity canton of Saint-Denis-3
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'French Guiana'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-1'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-3']
SELECT DISTINCT ?z WHERE { VALUES ( ?u ) { ( resource:French_Guiana ) ( resource:canton_of_Saint-Denis-1 ) } . ?z property:capital_of ?u }
[]
type of french administrative division
Q44401 Q47045 Q47045
SYSTEM
Cayenne for 1st, Saint-Denis for 2nd, 3rd
Q44401 Q47045 Q47045
(c(Q20667921),P1376,Q3769) (c(Q20667921),P1376,Q1536470) (c(Q20667921),P1376,Q1536783)
action union
action filter_type
action find_reverse
entity Q3769
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q1536470
relation P1376
type Q20667921
action filter_type
action find_reverse
entity Q1536783
relation P1376
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', 'Q3769'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536470'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536783']
SELECT DISTINCT ?z WHERE { VALUES ( ?u ) { ( resource:Q3769 ) ( resource:Q1536470 ) } . ?z property:P1376 ?u }
Cayenne Saint-Denis Saint-Denis
Cayenne, Saint-Denis and Saint-Denis are the capital of French Guiana, canton of Saint-Denis-1 and canton of Saint-Denis-3
Cayenne Saint-Denis Saint-Denis
action union
action filter_type
action find_reverse
entity French Guiana
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity canton of Saint-Denis-1
relation capital of
type type of french administrative division
action filter_type
action find_reverse
entity canton of Saint-Denis-3
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'French Guiana'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-1'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-3']
SELECT DISTINCT ?z WHERE { VALUES ( ?u ) { ( resource:French_Guiana ) ( resource:canton_of_Saint-Denis-1 ) } . ?z property:capital_of ?u }
[]