Simple Question (Direct)
Simple Question
Q5339597
P39
Q12737077
USER
Which occupation was a position for which Edmund Johnston Garwood was appointed ?
(Q5339597,P39,c(Q12737077))
action filter_type
action find
entity Q5339597
relation P39
type Q12737077
['Q5339597', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q5339597 property:P39 ?n }
Edmund Johnston Garwood
action filter_type
action find
entity Edmund Johnston Garwood
relation position held
type occupation
['Edmund Johnston Garwood', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Edmund_Johnston_Garwood property:position_held ?n }
[]
occupation
Q7241336
SYSTEM
President of the Geological Society of London
Q7241336
(Q5339597,P39,c(Q12737077))
action filter_type
action find
entity Q5339597
relation P39
type Q12737077
[ANSWER] was a position for which Edmund Johnston Garwood was appointed
['Q5339597', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q5339597 property:P39 ?n }
President of the Geological Society of London
President of the Geological Society of London was a position for which Edmund Johnston Garwood was appointed
President of the Geological Society of London
action filter_type
action find
entity Edmund Johnston Garwood
relation position held
type occupation
['Edmund Johnston Garwood', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Edmund_Johnston_Garwood property:position_held ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5339597
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q7241336,P27,c(Q15617994))
action filter_type
action find
entity Q5339597
relation P27
type Q15617994
['Q7241336', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q5339597 property:P27 ?e }
Edmund Johnston Garwood
action filter_type
action find
entity Edmund Johnston Garwood
relation country of citizenship
type designation for an administrative territorial entity
['President of the Geological Society of London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edmund_Johnston_Garwood property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7241336,P27,c(Q15617994))
action filter_type
action find
entity Q5339597
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q7241336', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q5339597 property:P27 ?e }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Edmund Johnston Garwood
relation country of citizenship
type designation for an administrative territorial entity
['President of the Geological Society of London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edmund_Johnston_Garwood property:country_of_citizenship ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5339597
P21
Q290
USER
What is the sex of Edmund Johnston Garwood ?
(Q5339597,P21,c(Q290))
action filter_type
action find
entity Q5339597
relation P21
type Q290
['Q5339597', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5339597 property:P21 ?i . ?i rdf:type ontology:Q290 }
Edmund Johnston Garwood
action filter_type
action find
entity Edmund Johnston Garwood
relation gender
type sex
['Edmund Johnston Garwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Johnston_Garwood property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5339597,P21,c(Q290))
action filter_type
action find
entity Q5339597
relation P21
type Q290
The sex of Edmund Johnston Garwood is a [ANSWER]
['Q5339597', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5339597 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Edmund Johnston Garwood is a male
male
action filter_type
action find
entity Edmund Johnston Garwood
relation gender
type sex
['Edmund Johnston Garwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Johnston_Garwood property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5339597
P166
Q24016972
USER
What was received by that person ?
(Q6581097,P166,c(Q24016972))
action filter_type
action find
entity Q5339597
relation P166
type Q24016972
['Q6581097', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?i WHERE { resource:Q5339597 property:P166 ?i . ?i rdf:type ontology:Q24016972 }
Edmund Johnston Garwood
action filter_type
action find
entity Edmund Johnston Garwood
relation award received
type type of distinction
['male', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Johnston_Garwood property:award_received ?i . ?i rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q6581097,P166,c(Q24016972))
action filter_type
action find
entity Q5339597
relation P166
type Q24016972
The [ANSWER] was received by that person
['Q6581097', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?i WHERE { resource:Q5339597 property:P166 ?i . ?i rdf:type ontology:Q24016972 }
Fellow of the Royal Society
The Fellow of the Royal Society was received by that person
Fellow of the Royal Society
action filter_type
action find
entity Edmund Johnston Garwood
relation award received
type type of distinction
['male', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Johnston_Garwood property:award_received ?i . ?i rdf:type ontology:type_of_distinction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5339597
P19
Q56061
USER
Which administrative territory is the birthplace of Edmund Johnston Garwood ?
(Q5339597,P19,c(Q56061))
action filter_type
action find
entity Q5339597
relation P19
type Q56061
['Q5339597', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q5339597 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Edmund Johnston Garwood
action filter_type
action find
entity Edmund Johnston Garwood
relation place of birth
type administrative territorial entity
['Edmund Johnston Garwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Edmund_Johnston_Garwood property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q527391
SYSTEM
Bridlington
Q527391
(Q5339597,P19,c(Q56061))
action filter_type
action find
entity Q5339597
relation P19
type Q56061
The [ANSWER] is the birthplace of Edmund Johnston Garwood
['Q5339597', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q5339597 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Bridlington
The Bridlington is the birthplace of Edmund Johnston Garwood
Bridlington
action filter_type
action find
entity Edmund Johnston Garwood
relation place of birth
type administrative territorial entity
['Edmund Johnston Garwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Edmund_Johnston_Garwood property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q527391 Q145
P17
Q15617994
USER
Does that administrative territory belong to United Kingdom ?
(Q527391,P17,Q145)
action is_in
entity Q145
action find
entity Q527391
relation P17
['Q527391', 'P17', 'Q145']
ASK WHERE { resource:Q527391 property:P17 resource:Q145 }
Bridlington United Kingdom
action is_in
entity United Kingdom
action find
entity Bridlington
relation country
['Bridlington', 'country', 'United Kingdom']
ASK WHERE { resource:Bridlington property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q527391,P17,Q145)
action is_in
entity Q145
action find
entity Q527391
relation P17
[ANSWER]
['Q527391', 'P17', 'Q145']
ASK WHERE { resource:Q527391 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Bridlington
relation country
['Bridlington', 'country', 'United Kingdom']
ASK WHERE { resource:Bridlington property:country resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q527391
P190
Q20667921
USER
Which french administrative division is sister town of that administrative territory ?
action filter_type
action find
entity Q527391
relation P190
type Q20667921
SELECT DISTINCT ?n WHERE { resource:Q527391 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Bridlington
action filter_type
action find
entity Bridlington
relation sister city
type type of french administrative division
SELECT DISTINCT ?n WHERE { resource:Bridlington property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q203278
SYSTEM
Millau
Q203278
action filter_type
action find
entity Q527391
relation P190
type Q20667921
[ANSWER] is sister town of that administrative territory
SELECT DISTINCT ?n WHERE { resource:Q527391 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Millau
Millau is sister town of that administrative territory
Millau
action filter_type
action find
entity Bridlington
relation sister city
type type of french administrative division
SELECT DISTINCT ?n WHERE { resource:Bridlington property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q203278
P1376
Q20667921
USER
Which french administrative divisions have that one have their center of administration ?
(Q203278,P1376,c(Q20667921))
action filter_type
action find
entity Q203278
relation P1376
type Q20667921
['Q203278', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q203278 property:P1376 ?d }
Millau
action filter_type
action find
entity Millau
relation capital of
type type of french administrative division
['Millau', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Millau property:capital_of ?d }
[]
type of french administrative division
Q1726235 Q936775
SYSTEM
canton of Millau-Est, canton of Millau-Ouest
Q1726235 Q936775
(Q203278,P1376,c(Q20667921))
action filter_type
action find
entity Q203278
relation P1376
type Q20667921
And [ANSWERS] have that one have their center of administration
['Q203278', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q203278 property:P1376 ?d }
canton of Millau-Est canton of Millau-Ouest
And canton of Millau-Est and canton of Millau-Ouest have that one have their center of administration
canton of Millau-Est canton of Millau-Ouest
action filter_type
action find
entity Millau
relation capital of
type type of french administrative division
['Millau', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Millau property:capital_of ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3769
P206
Q15324 Q355304 Q20667921
USER
Which french administrative divisions are situated close to approximately the same number of bodies of water and watercourses as French Guiana ?
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q3769
relation P206
type Q15324
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?g ) WHERE { { ?e property:P206 ?u . ?e rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q15324 } UNION { ?e property:P206 ?u . ?u rdf:type ontology:Q355304 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q3769 property:P206 ?s . { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?g = ?r ) }
French Guiana
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
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 French Guiana
relation located next to body of water
type body of water
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?g ) WHERE { { ?e property:located_next_to_body_of_water ?u . ?e rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:body_of_water } UNION { ?e property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:French_Guiana property:located_next_to_body_of_water ?s . { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?g = ?r ) }
[]
body of water watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q224023 Q3769 Q1649363 Q467030 Q956943 Q877744 Q147606 Q429770 Q160199 Q266886 Q1014763 Q652100 Q683550 Q453263 Q1326390 Q751619 Q14112 Q47045 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q1031980 Q1014814 Q662942 Q382048 Q1164176 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q3769
relation P206
type Q15324
type Q355304
[ANSWERS] are situated close to approximately the same number of bodies of water and watercourses as French Guiana
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?g ) WHERE { { ?e property:P206 ?u . ?e rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q15324 } UNION { ?e property:P206 ?u . ?u rdf:type ontology:Q355304 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q3769 property:P206 ?s . { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?g = ?r ) }
Penvénan French Guiana Saint-Leu L'Île-Rousse Le Port Le Portel Fort-Mahon-Plage La Possession Cherbourg-Octeville Sisco Trois-Bassins Saint-Philippe Urville-Nacqueville Pleumeur-Bodou Petite-Île Sérignan Corsica Saint-Denis Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Escalles Les Avirons Sainte-Marie Tardinghen Saint-Léonard 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 bodies of water and watercourses as French Guiana
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 body of water
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 French Guiana
relation located next to body of water
type body of water
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?g ) WHERE { { ?e property:located_next_to_body_of_water ?u . ?e rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:body_of_water } UNION { ?e property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:French_Guiana property:located_next_to_body_of_water ?s . { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?g = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1649370
P206
Q15324 Q355304 Q20667921
USER
And how about Saint-André?
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q1649370
relation P206
type Q15324
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } . resource:Q1649370 property:P206 ?l } } . FILTER ( ?z = ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?z ) WHERE { { ?e property:P206 ?q . ?e rdf:type ontology:Q20667921 . ?q rdf:type ontology:Q15324 } UNION { ?e property:P206 ?q . ?e rdf:type ontology:Q20667921 . ?q rdf:type ontology:Q355304 } } GROUP BY ?e } }
Saint-André
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
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 Saint-André
relation located next to body of water
type body of water
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } . resource:Saint-André property:located_next_to_body_of_water ?l } } . FILTER ( ?z = ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?z ) WHERE { { ?e property:located_next_to_body_of_water ?q . ?e rdf:type ontology:type_of_french_administrative_division . ?q rdf:type ontology:body_of_water } UNION { ?e property:located_next_to_body_of_water ?q . ?e rdf:type ontology:type_of_french_administrative_division . ?q rdf:type ontology:watercourse } } GROUP BY ?e } }
[]
body of water watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q224023 Q3769 Q1649363 Q467030 Q956943 Q877744 Q147606 Q429770 Q160199 Q266886 Q1014763 Q652100 Q683550 Q453263 Q1326390 Q751619 Q14112 Q47045 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q1031980 Q1014814 Q662942 Q382048 Q1164176 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action count
action filter_multi_types
action find
entity Q1649370
relation P206
type Q15324
type Q355304
[ANSWERS]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } . resource:Q1649370 property:P206 ?l } } . FILTER ( ?z = ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?z ) WHERE { { ?e property:P206 ?q . ?e rdf:type ontology:Q20667921 . ?q rdf:type ontology:Q15324 } UNION { ?e property:P206 ?q . ?e rdf:type ontology:Q20667921 . ?q rdf:type ontology:Q355304 } } GROUP BY ?e } }
Penvénan French Guiana Saint-Leu L'Île-Rousse Le Port Le Portel Fort-Mahon-Plage La Possession Cherbourg-Octeville Sisco Trois-Bassins Saint-Philippe Urville-Nacqueville Pleumeur-Bodou Petite-Île Sérignan Corsica Saint-Denis Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Escalles Les Avirons Sainte-Marie Tardinghen Saint-Léonard 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 body of water
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 Saint-André
relation located next to body of water
type body of water
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } . resource:Saint-André property:located_next_to_body_of_water ?l } } . FILTER ( ?z = ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?z ) WHERE { { ?e property:located_next_to_body_of_water ?q . ?e rdf:type ontology:type_of_french_administrative_division . ?q rdf:type ontology:body_of_water } UNION { ?e property:located_next_to_body_of_water ?q . ?e rdf:type ontology:type_of_french_administrative_division . ?q rdf:type ontology:watercourse } } GROUP BY ?e } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q47045 Q249884 Q44401
P47
Q20667921
USER
Which french administrative divisions are adjacent to those ones ?
(Q47045,P47,c(Q20667921)) (Q249884,P47,c(Q20667921)) (Q44401,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
['Q47045', 'P47', {'concept': 'Q20667921'}] ['Q249884', 'P47', {'concept': 'Q20667921'}] ['Q44401', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { ?s property:P47 ?t . ?t rdf:type ontology:Q20667921 . VALUES ( ?s ) { ( resource:Q224023 ) ( resource:Q3769 ) ( resource:Q1649363 ) } }
Saint-Denis Saint-Pierre Cayenne
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'shares border with', {'concept': 'type of french administrative division'}] ['Cayenne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { ?s property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division . VALUES ( ?s ) { ( resource:Penvénan ) ( resource:French_Guiana ) ( resource:Saint-Leu ) } }
[]
type of french administrative division
Q13648 Q1617681 Q1014778
SYSTEM
Le Tampon, Saint-Louis, Salazie
Q662942 Q429770 Q1014778 Q13648 Q1617681 Q305275 Q1326390 Q1014800 Q816739 Q996222 Q938040
(Q47045,P47,c(Q20667921)) (Q249884,P47,c(Q20667921)) (Q44401,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] are adjacent to those ones
['Q47045', 'P47', {'concept': 'Q20667921'}] ['Q249884', 'P47', {'concept': 'Q20667921'}] ['Q44401', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { ?s property:P47 ?t . ?t rdf:type ontology:Q20667921 . VALUES ( ?s ) { ( resource:Q224023 ) ( resource:Q3769 ) ( resource:Q1649363 ) } }
Sainte-Marie La Possession Salazie Le Tampon Saint-Louis Saint-Joseph Petite-Île Entre-Deux Matoury Remire-Montjoly Macouria
Le Tampon, Saint-Louis and Salazie are adjacent to those ones
Le Tampon Saint-Louis Salazie
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'shares border with', {'concept': 'type of french administrative division'}] ['Cayenne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { ?s property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division . VALUES ( ?s ) { ( resource:Penvénan ) ( resource:French_Guiana ) ( resource:Saint-Leu ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13648 Q1617681 Q1014778
P36
Q20667921
USER
Which french administrative divisions have those ones as their administrative centre ?
(c(Q20667921),P36,Q13648) (c(Q20667921),P36,Q1617681) (c(Q20667921),P36,Q1014778)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q13648'] [{'concept': 'Q20667921'}, 'P36', 'Q1617681'] [{'concept': 'Q20667921'}, 'P36', 'Q1014778']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q20667921 . ?h property:P36 ?a . VALUES ( ?a ) { ( resource:Q662942 ) ( resource:Q429770 ) ( resource:Q1014778 ) } }
Le Tampon Saint-Louis Salazie
action filter_type
action find_reverse
entity prev_answer
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Le Tampon'] [{'concept': 'type of french administrative division'}, 'capital', 'Saint-Louis'] [{'concept': 'type of french administrative division'}, 'capital', 'Salazie']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:type_of_french_administrative_division . ?h property:capital ?a . VALUES ( ?a ) { ( resource:Sainte-Marie ) ( resource:La_Possession ) ( resource:Salazie ) } }
[]
type of french administrative division
Q2650508 Q634181 Q2750517
SYSTEM
canton of Le Tampon-2, canton of Le Tampon-4, canton of Le Tampon-3
Q2650508 Q634181 Q2750517 Q658294 Q2397087 Q2701753 Q2235442 Q572196
(c(Q20667921),P36,Q13648) (c(Q20667921),P36,Q1617681) (c(Q20667921),P36,Q1014778)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q20667921
[ANSWERS] have those ones as their administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q13648'] [{'concept': 'Q20667921'}, 'P36', 'Q1617681'] [{'concept': 'Q20667921'}, 'P36', 'Q1014778']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q20667921 . ?h property:P36 ?a . VALUES ( ?a ) { ( resource:Q662942 ) ( resource:Q429770 ) ( resource:Q1014778 ) } }
canton of Le Tampon-2 canton of Le Tampon-4 canton of Le Tampon-3 canton of Le Tampon-1 canton of Saint-Louis-3 canton of Saint-Louis-1 canton of Saint-Louis-2 canton of Salazie
Canton of Le Tampon-2, canton of Le Tampon-4 and canton of Le Tampon-3 have those ones as their administrative centre
canton of Le Tampon-2 canton of Le Tampon-4 canton of Le Tampon-3
action filter_type
action find_reverse
entity prev_answer
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Le Tampon'] [{'concept': 'type of french administrative division'}, 'capital', 'Saint-Louis'] [{'concept': 'type of french administrative division'}, 'capital', 'Salazie']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:type_of_french_administrative_division . ?h property:capital ?a . VALUES ( ?a ) { ( resource:Sainte-Marie ) ( resource:La_Possession ) ( resource:Salazie ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q320007
P937
Q502895
USER
Who is an person who works at Puławy ?
(c(Q502895),P937,Q320007)
action filter_type
action find_reverse
entity Q320007
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q320007']
SELECT DISTINCT ?y WHERE { ?y property:P937 resource:Q320007 . ?y rdf:type ontology:Q502895 }
Puławy
action filter_type
action find_reverse
entity Puławy
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Puławy']
SELECT DISTINCT ?y WHERE { ?y property:work_location resource:Puławy . ?y rdf:type ontology:common_name }
[]
common name
Q455182
SYSTEM
Izabela Czartoryska
Q455182
(c(Q502895),P937,Q320007)
action filter_type
action find_reverse
entity Q320007
relation P937
type Q502895
An person works at Puławy is [ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q320007']
SELECT DISTINCT ?y WHERE { ?y property:P937 resource:Q320007 . ?y rdf:type ontology:Q502895 }
Izabela Czartoryska
An person works at Puławy is Izabela Czartoryska
Izabela Czartoryska
action filter_type
action find_reverse
entity Puławy
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Puławy']
SELECT DISTINCT ?y WHERE { ?y property:work_location resource:Puławy . ?y rdf:type ontology:common_name }
[]