Simple Question (Direct)
Simple Question
Q1074627
P47
Q20667921
USER
Who share the border with Quédillac ?
(Q1074627,P47,c(Q20667921))
action filter_type
action find
entity Q1074627
relation P47
type Q20667921
['Q1074627', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q1074627 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Quédillac
action filter_type
action find
entity Quédillac
relation shares border with
type type of french administrative division
['Quédillac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Quédillac property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q162569 Q594119 Q684374
SYSTEM
Montauban-de-Bretagne, Plumaugat, Médréac
Q1082444 Q390437 Q1061506 Q594119 Q162569 Q684374 Q207833
(Q1074627,P47,c(Q20667921))
action filter_type
action find
entity Q1074627
relation P47
type Q20667921
[ANSWERS] share the border with Quédillac
['Q1074627', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q1074627 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Jouan-de-l'Isle Saint-Méen-le-Grand Le Crouais Plumaugat Montauban-de-Bretagne Médréac La Chapelle-Blanche
Montauban-de-Bretagne, Plumaugat and Médréac share the border with Quédillac
Montauban-de-Bretagne Plumaugat Médréac
action filter_type
action find
entity Quédillac
relation shares border with
type type of french administrative division
['Quédillac', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Quédillac property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q162569 Q594119 Q684374
P47
Q20667921
USER
Which french administrative divisions share border with those ones ?
(c(Q20667921),P47,Q162569) (c(Q20667921),P47,Q594119) (c(Q20667921),P47,Q684374)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q162569'] [{'concept': 'Q20667921'}, 'P47', 'Q594119'] [{'concept': 'Q20667921'}, 'P47', 'Q684374']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . VALUES ( ?c ) { ( resource:Q1082444 ) ( resource:Q390437 ) ( resource:Q1061506 ) } . ?c property:P47 ?w }
Montauban-de-Bretagne Plumaugat Médréac
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Montauban-de-Bretagne'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Plumaugat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Médréac']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . VALUES ( ?c ) { ( resource:Saint-Jouan-de-l'Isle ) ( resource:Saint-Méen-le-Grand ) ( resource:Le_Crouais ) } . ?c property:shares_border_with ?w }
[]
type of french administrative division
Q533891 Q162569 Q213309
SYSTEM
Iffendic, Montauban-de-Bretagne, Bédée
Q218141 Q1061506 Q603054 Q1070884 Q1074556 Q213309 Q1074627 Q533891 Q684374 Q213382 Q210490 Q955534 Q1013168 Q226753 Q1082444 Q737002 Q640301 Q1074627 Q390437 Q214396 Q380029 Q207833 Q1070884 Q1074556 Q218238 Q1074627 Q162569 Q218585 Q1021227
(c(Q20667921),P47,Q162569) (c(Q20667921),P47,Q594119) (c(Q20667921),P47,Q684374)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] share border with those ones
[{'concept': 'Q20667921'}, 'P47', 'Q162569'] [{'concept': 'Q20667921'}, 'P47', 'Q594119'] [{'concept': 'Q20667921'}, 'P47', 'Q684374']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . VALUES ( ?c ) { ( resource:Q1082444 ) ( resource:Q390437 ) ( resource:Q1061506 ) } . ?c property:P47 ?w }
Saint-Onen-la-Chapelle Le Crouais Le Lou-du-Lac Saint-M'Hervon Landujan Bédée Quédillac Iffendic Médréac Boisgervilly Saint-Uniac La Chapelle-du-Lou Sévignac Trémorel Saint-Jouan-de-l'Isle Loscouët-sur-Meu Lanrelas Quédillac Saint-Méen-le-Grand Broons Caulnes La Chapelle-Blanche Saint-M'Hervon Landujan Saint-Pern Quédillac Montauban-de-Bretagne Guitté Plouasne
Iffendic, Montauban-de-Bretagne and Bédée share border with those ones
Iffendic Montauban-de-Bretagne Bédée
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Montauban-de-Bretagne'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Plumaugat'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Médréac']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . VALUES ( ?c ) { ( resource:Saint-Jouan-de-l'Isle ) ( resource:Saint-Méen-le-Grand ) ( resource:Le_Crouais ) } . ?c property:shares_border_with ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q162569
P6
Q502895
USER
Which person does Montauban-de-Bretagne serve as the head of government for ?
(Q162569,P6,c(Q502895))
action filter_type
action find
entity Q162569
relation P6
type Q502895
['Q162569', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q162569 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Montauban-de-Bretagne
action filter_type
action find
entity Montauban-de-Bretagne
relation head of government
type common name
['Montauban-de-Bretagne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Montauban-de-Bretagne property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3158928
SYSTEM
Jacques François de Mellon
Q3158928
(Q162569,P6,c(Q502895))
action filter_type
action find
entity Q162569
relation P6
type Q502895
[ANSWER] Montauban-de-Bretagne serves as the head of government for
['Q162569', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q162569 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Jacques François de Mellon
Jacques François de Mellon Montauban-de-Bretagne serves as the head of government for
Jacques François de Mellon
action filter_type
action find
entity Montauban-de-Bretagne
relation head of government
type common name
['Montauban-de-Bretagne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Montauban-de-Bretagne property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3158928
P166
Q618779
USER
Which award was that person awarded with ?
(Q3158928,P166,c(Q618779))
action filter_type
action find
entity Q3158928
relation P166
type Q618779
['Q3158928', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q3158928 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Jacques François de Mellon
action filter_type
action find
entity Jacques François de Mellon
relation award received
type award
['Jacques François de Mellon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Jacques_François_de_Mellon property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q11593374
SYSTEM
Knight of the Royal and Military Order of Saint Louis
Q11593374
(Q3158928,P166,c(Q618779))
action filter_type
action find
entity Q3158928
relation P166
type Q618779
That person was awarded [ANSWER]
['Q3158928', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q3158928 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Knight of the Royal and Military Order of Saint Louis
That person was awarded Knight of the Royal and Military Order of Saint Louis
Knight of the Royal and Military Order of Saint Louis
action filter_type
action find
entity Jacques François de Mellon
relation award received
type award
['Jacques François de Mellon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Jacques_François_de_Mellon property:award_received ?t . ?t rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11593374 Q3263053
P166
Q502895
USER
Was Louis Rousseau de Saint-Aignan awarded with that award ?
(Q3263053,P166,Q11593374)
action is_in
entity Q11593374
action find
entity Q3263053
relation P166
['Q3263053', 'P166', 'Q11593374']
ASK WHERE { resource:Q3263053 property:P166 resource:Q11593374 }
Knight of the Royal and Military Order of Saint Louis Louis Rousseau de Saint-Aignan
action is_in
entity Knight of the Royal and Military Order of Saint Louis
action find
entity Louis Rousseau de Saint-Aignan
relation award received
['Louis Rousseau de Saint-Aignan', 'award received', 'Knight of the Royal and Military Order of Saint Louis']
ASK WHERE { resource:Louis_Rousseau_de_Saint-Aignan property:award_received resource:Knight_of_the_Royal_and_Military_Order_of_Saint_Louis }
[]
common name
SYSTEM
YES
(Q3263053,P166,Q11593374)
action is_in
entity Q11593374
action find
entity Q3263053
relation P166
[ANSWER]
['Q3263053', 'P166', 'Q11593374']
ASK WHERE { resource:Q3263053 property:P166 resource:Q11593374 }
Yes
action is_in
entity Knight of the Royal and Military Order of Saint Louis
action find
entity Louis Rousseau de Saint-Aignan
relation award received
['Louis Rousseau de Saint-Aignan', 'award received', 'Knight of the Royal and Military Order of Saint Louis']
ASK WHERE { resource:Louis_Rousseau_de_Saint-Aignan property:award_received resource:Knight_of_the_Royal_and_Military_Order_of_Saint_Louis }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q71356
P206
Q1267889 Q355304 Q20667921
USER
Which french administrative divisions are situated close to approximately the same number of waterways and watercourses as Île-aux-Moines ?
(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 Q71356
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?h } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { { ?e rdf:type ontology:Q355304 } UNION { ?e rdf:type ontology:Q1267889 } } . resource:Q71356 property:P206 ?e } } }
Île-aux-Moines
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 Île-aux-Moines
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 ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?h } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { { ?e rdf:type ontology:watercourse } UNION { ?e rdf:type ontology:waterway } } . resource:Île-aux-Moines property:located_next_to_body_of_water ?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 Q71356
relation P206
type Q1267889
type Q355304
[ANSWERS] are situated close to approximately the same number of waterways and watercourses as Île-aux-Moines
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?h } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { { ?e rdf:type ontology:Q355304 } UNION { ?e rdf:type ontology:Q1267889 } } . resource:Q71356 property:P206 ?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 and Cayenne are situated close to approximately the same number of waterways and watercourses as Île-aux-Moines
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 Île-aux-Moines
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 ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?h WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?h } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { { ?e rdf:type ontology:watercourse } UNION { ?e rdf:type ontology:waterway } } . resource:Île-aux-Moines property:located_next_to_body_of_water ?e } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q752535
P206
Q1267889 Q355304 Q20667921
USER
And also tell me about Valras-Plage?
(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 Q752535
relation P206
type Q1267889
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q752535 property:P206 ?k . { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?a property:P206 ?b . ?a rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q1267889 } UNION { ?a property:P206 ?b . ?a rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q355304 } } GROUP BY ?a } }
Valras-Plage
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 Valras-Plage
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 ( COUNT ( ?k ) AS ?s ) WHERE { resource:Valras-Plage property:located_next_to_body_of_water ?k . { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:waterway ) ( ontology:watercourse ) } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?a property:located_next_to_body_of_water ?b . ?a rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:waterway } UNION { ?a property:located_next_to_body_of_water ?b . ?a rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:watercourse } } GROUP BY ?a } }
[]
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 Q752535
relation P206
type Q1267889
type Q355304
[ANSWERS]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q752535 property:P206 ?k . { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?a property:P206 ?b . ?a rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q1267889 } UNION { ?a property:P206 ?b . ?a rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q355304 } } GROUP BY ?a } }
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 Valras-Plage
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 ( COUNT ( ?k ) AS ?s ) WHERE { resource:Valras-Plage property:located_next_to_body_of_water ?k . { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:waterway ) ( ontology:watercourse ) } } } } . FILTER ( ?c = ?s ) . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?c ) WHERE { { ?a property:located_next_to_body_of_water ?b . ?a rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:waterway } UNION { ?a property:located_next_to_body_of_water ?b . ?a rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:watercourse } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47045
P937
Q502895
USER
Who has Saint-Denis as their work location ?
(c(Q502895),P937,Q47045)
action filter_type
action find_reverse
entity Q47045
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q47045']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P937 resource:Q47045 }
Saint-Denis
action filter_type
action find_reverse
entity Saint-Denis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Denis']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:work_location resource:Saint-Denis }
[]
common name
Q23906252
SYSTEM
Caf' Francisco
Q23906252
(c(Q502895),P937,Q47045)
action filter_type
action find_reverse
entity Q47045
relation P937
type Q502895
[ANSWER] has Saint-Denis as their work location
[{'concept': 'Q502895'}, 'P937', 'Q47045']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P937 resource:Q47045 }
Caf' Francisco
Caf' Francisco has Saint-Denis as their work location
Caf' Francisco
action filter_type
action find_reverse
entity Saint-Denis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saint-Denis']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:work_location resource:Saint-Denis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47045
P1313
Q4164871
USER
Which position is fulfilled by Saint-Denis ?
(Q47045,P1313,c(Q4164871))
action filter_type
action find
entity Q47045
relation P1313
type Q4164871
['Q47045', 'P1313', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q47045 property:P1313 ?f . ?f rdf:type ontology:Q4164871 }
Saint-Denis
action filter_type
action find
entity Saint-Denis
relation office held by head of government
type position
['Saint-Denis', 'office held by head of government', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Denis property:office_held_by_head_of_government ?f . ?f rdf:type ontology:position }
[]
position
Q23719260
SYSTEM
mayor of Saint-Denis
Q23719260
(Q47045,P1313,c(Q4164871))
action filter_type
action find
entity Q47045
relation P1313
type Q4164871
The [ANSWER] is fulfilled by Saint-Denis
['Q47045', 'P1313', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q47045 property:P1313 ?f . ?f rdf:type ontology:Q4164871 }
mayor of Saint-Denis
The mayor of Saint-Denis is fulfilled by Saint-Denis
mayor of Saint-Denis
action filter_type
action find
entity Saint-Denis
relation office held by head of government
type position
['Saint-Denis', 'office held by head of government', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Denis property:office_held_by_head_of_government ?f . ?f rdf:type ontology:position }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47045
P610
Q14524493
USER
Which is the highest point of that french administrative division ?
(Q23719260,P610,c(Q14524493))
action filter_type
action find
entity Q47045
relation P610
type Q14524493
['Q23719260', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14524493 . resource:Q47045 property:P610 ?j }
Saint-Denis
action filter_type
action find
entity Saint-Denis
relation highest point
type terrain
['mayor of Saint-Denis', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:terrain . resource:Saint-Denis property:highest_point ?j }
[]
terrain
Q3437550
SYSTEM
Roche Écrite
Q3437550
(Q23719260,P610,c(Q14524493))
action filter_type
action find
entity Q47045
relation P610
type Q14524493
The highest point of that french administrative division is the [ANSWER]
['Q23719260', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14524493 . resource:Q47045 property:P610 ?j }
Roche Écrite
The highest point of that french administrative division is the Roche Écrite
Roche Écrite
action filter_type
action find
entity Saint-Denis
relation highest point
type terrain
['mayor of Saint-Denis', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:terrain . resource:Saint-Denis property:highest_point ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47045
P1376
Q271669
USER
Which landform has that french administrative division has its center of administration ?
(Q3437550,P1376,c(Q271669))
action filter_type
action find
entity Q47045
relation P1376
type Q271669
['Q3437550', 'P1376', {'concept': 'Q271669'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q271669 . resource:Q47045 property:P1376 ?f }
Saint-Denis
action filter_type
action find
entity Saint-Denis
relation capital of
type landform
['Roche Écrite', 'capital of', {'concept': 'landform'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:landform . resource:Saint-Denis property:capital_of ?f }
[]
landform
Q17070
SYSTEM
Réunion
Q17070
(Q3437550,P1376,c(Q271669))
action filter_type
action find
entity Q47045
relation P1376
type Q271669
[ANSWER] has that french administrative division has its center of administration
['Q3437550', 'P1376', {'concept': 'Q271669'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q271669 . resource:Q47045 property:P1376 ?f }
Réunion
Réunion has that french administrative division has its center of administration
Réunion
action filter_type
action find
entity Saint-Denis
relation capital of
type landform
['Roche Écrite', 'capital of', {'concept': 'landform'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:landform . resource:Saint-Denis property:capital_of ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17070 Q39305
P17
Q15617994
USER
Is that landform present in Misinto ?
(Q17070,P17,Q39305)
action is_in
entity Q39305
action find
entity Q17070
relation P17
['Q17070', 'P17', 'Q39305']
ASK WHERE { resource:Q17070 property:P17 resource:Q39305 }
Réunion Misinto
action is_in
entity Misinto
action find
entity Réunion
relation country
['Réunion', 'country', 'Misinto']
ASK WHERE { resource:Réunion property:country resource:Misinto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q17070,P17,Q39305)
action is_in
entity Q39305
action find
entity Q17070
relation P17
[ANSWER]
['Q17070', 'P17', 'Q39305']
ASK WHERE { resource:Q17070 property:P17 resource:Q39305 }
No
action is_in
entity Misinto
action find
entity Réunion
relation country
['Réunion', 'country', 'Misinto']
ASK WHERE { resource:Réunion property:country resource:Misinto }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q811979
USER
How many architectural structures have their location as approximately 2 landforms ?
(c(Q811979),P706,c(Q271669))
action count
action approx
action find_tuple_counts
relation P706
type Q811979
type Q271669
value 2
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?q ) WHERE { ?v property:P706 ?s . ?v rdf:type ontology:Q811979 . ?s rdf:type ontology:Q271669 } GROUP BY ?v } . FILTER ( ?q = 2 ) }
action count
action approx
action find_tuple_counts
relation located on terrain feature
type architectural structure
type landform
value 2
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?q ) WHERE { ?v property:located_on_terrain_feature ?s . ?v rdf:type ontology:architectural_structure . ?s rdf:type ontology:landform } GROUP BY ?v } . FILTER ( ?q = 2 ) }
[]
landform architectural structure
SYSTEM
1
Q6513455
(c(Q811979),P706,c(Q271669))
action count
action approx
action find_tuple_counts
relation P706
type Q811979
type Q271669
value 2
[ANSWER]
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?q ) WHERE { ?v property:P706 ?s . ?v rdf:type ontology:Q811979 . ?s rdf:type ontology:Q271669 } GROUP BY ?v } . FILTER ( ?q = 2 ) }
Skjervøy Bridge
1
action count
action approx
action find_tuple_counts
relation located on terrain feature
type architectural structure
type landform
value 2
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?q ) WHERE { ?v property:located_on_terrain_feature ?s . ?v rdf:type ontology:architectural_structure . ?s rdf:type ontology:landform } GROUP BY ?v } . FILTER ( ?q = 2 ) }
[]