Simple Question (Direct)
Simple Question
Q750706
P1376
Q20667921
USER
Which french administrative division has Doudeville as its capital ?
(Q750706,P1376,c(Q20667921))
action filter_type
action find
entity Q750706
relation P1376
type Q20667921
['Q750706', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . resource:Q750706 property:P1376 ?k }
Doudeville
action filter_type
action find
entity Doudeville
relation capital of
type type of french administrative division
['Doudeville', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . resource:Doudeville property:capital_of ?k }
[]
type of french administrative division
Q1725188
SYSTEM
canton of Doudeville
Q1725188
(Q750706,P1376,c(Q20667921))
action filter_type
action find
entity Q750706
relation P1376
type Q20667921
The [ANSWER] has Doudeville as its capital
['Q750706', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . resource:Q750706 property:P1376 ?k }
canton of Doudeville
The canton of Doudeville has Doudeville as its capital
canton of Doudeville
action filter_type
action find
entity Doudeville
relation capital of
type type of french administrative division
['Doudeville', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . resource:Doudeville property:capital_of ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1725188
P36
Q20667921
USER
What is the capital of that one ?
(Q1725188,P36,c(Q20667921))
action filter_type
action find
entity Q1725188
relation P36
type Q20667921
['Q1725188', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1725188 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
canton of Doudeville
action filter_type
action find
entity canton of Doudeville
relation capital
type type of french administrative division
['canton of Doudeville', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Doudeville property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q750706
SYSTEM
Doudeville
Q750706
(Q1725188,P36,c(Q20667921))
action filter_type
action find
entity Q1725188
relation P36
type Q20667921
The capital of that one is the [ANSWER]
['Q1725188', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1725188 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
Doudeville
The capital of that one is the Doudeville
Doudeville
action filter_type
action find
entity canton of Doudeville
relation capital
type type of french administrative division
['canton of Doudeville', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Doudeville property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q750706
P47
Q20667921
USER
Who share the border with that one ?
(Q750706,P47,c(Q20667921))
action filter_type
action find
entity Q750706
relation P47
type Q20667921
['Q750706', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q750706 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Doudeville
action filter_type
action find
entity Doudeville
relation shares border with
type type of french administrative division
['Doudeville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Doudeville property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1134795 Q548835 Q943864
SYSTEM
Berville, Gonzeville, Bénesville
Q578716 Q1166804 Q1158478 Q724302 Q1134795 Q548835 Q943864 Q1167678 Q1417824 Q1164765 Q1378242
(Q750706,P47,c(Q20667921))
action filter_type
action find
entity Q750706
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q750706', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q750706 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Yvecrique Hautot-l'Auvray Étalleville Harcanville Berville Gonzeville Bénesville Routes Amfreville-les-Champs Saint-Vaast-Dieppedalle Fultot
Berville, Gonzeville and Bénesville share the border with that one
Berville Gonzeville Bénesville
action filter_type
action find
entity Doudeville
relation shares border with
type type of french administrative division
['Doudeville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Doudeville property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q849065
P206
Q1267889 Q355304 Q20667921
USER
Which french administrative divisions are located next to lesser number of waterways and watercourses than Bègues ?
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action less
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 Q849065
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?q ) WHERE { { ?x property:P206 ?l . ?x rdf:type ontology:Q20667921 . ?l rdf:type ontology:Q1267889 } UNION { ?x property:P206 ?l . ?x rdf:type ontology:Q20667921 . ?l rdf:type ontology:Q355304 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q849065 property:P206 ?b . { { ?b rdf:type ontology:Q1267889 } UNION { ?b rdf:type ontology:Q355304 } } } } . FILTER ( ?q < ?p ) }
Bègues
action less
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 Bègues
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?q ) WHERE { { ?x property:located_next_to_body_of_water ?l . ?x rdf:type ontology:type_of_french_administrative_division . ?l rdf:type ontology:waterway } UNION { ?x property:located_next_to_body_of_water ?l . ?x rdf:type ontology:type_of_french_administrative_division . ?l rdf:type ontology:watercourse } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Bègues property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:waterway } UNION { ?b rdf:type ontology:watercourse } } } } . FILTER ( ?q < ?p ) }
[]
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 less
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 Q849065
relation P206
type Q1267889
type Q355304
[ANSWERS] are located next to lesser number of waterways and watercourses than Bègues
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?q ) WHERE { { ?x property:P206 ?l . ?x rdf:type ontology:Q20667921 . ?l rdf:type ontology:Q1267889 } UNION { ?x property:P206 ?l . ?x rdf:type ontology:Q20667921 . ?l rdf:type ontology:Q355304 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q849065 property:P206 ?b . { { ?b rdf:type ontology:Q1267889 } UNION { ?b rdf:type ontology:Q355304 } } } } . FILTER ( ?q < ?p ) }
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 located next to lesser number of waterways and watercourses than Bègues
Saint-Denis Saint-Pierre Cayenne
action less
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 Bègues
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?q ) WHERE { { ?x property:located_next_to_body_of_water ?l . ?x rdf:type ontology:type_of_french_administrative_division . ?l rdf:type ontology:waterway } UNION { ?x property:located_next_to_body_of_water ?l . ?x rdf:type ontology:type_of_french_administrative_division . ?l rdf:type ontology:watercourse } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Bègues property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:waterway } UNION { ?b rdf:type ontology:watercourse } } } } . FILTER ( ?q < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q245066
P206
Q1267889 Q355304 Q20667921
USER
And how about Chouvigny?
(c(Q20667921),P206,c(Q1267889)|c(Q355304))
action less
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 Q245066
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?h ) WHERE { { ?e property:P206 ?j . ?e rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q1267889 } UNION { ?e property:P206 ?j . ?j rdf:type ontology:Q355304 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q245066 property:P206 ?r . { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?h < ?c ) }
Chouvigny
action less
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 Chouvigny
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?h ) WHERE { { ?e property:located_next_to_body_of_water ?j . ?e rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:waterway } UNION { ?e property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Chouvigny property:located_next_to_body_of_water ?r . { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?h < ?c ) }
[]
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 less
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 Q245066
relation P206
type Q1267889
type Q355304
[ANSWERS]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?h ) WHERE { { ?e property:P206 ?j . ?e rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q1267889 } UNION { ?e property:P206 ?j . ?j rdf:type ontology:Q355304 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q245066 property:P206 ?r . { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?h < ?c ) }
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 less
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 Chouvigny
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?h ) WHERE { { ?e property:located_next_to_body_of_water ?j . ?e rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:waterway } UNION { ?e property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Chouvigny property:located_next_to_body_of_water ?r . { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?h < ?c ) }
[]