Simple Question (Direct)
Simple Question
Q2873947
P47
Q811979
USER
Which architectural structures share border with avenue de Saxe ?
(Q2873947,P47,c(Q811979))
action filter_type
action find
entity Q2873947
relation P47
type Q811979
['Q2873947', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { resource:Q2873947 property:P47 ?l . ?l rdf:type ontology:Q811979 }
avenue de Saxe
action filter_type
action find
entity avenue de Saxe
relation shares border with
type architectural structure
['avenue de Saxe', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { resource:avenue_de_Saxe property:shares_border_with ?l . ?l rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390236 Q3390225
SYSTEM
place de Fontenoy, place de Breteuil
Q3390236 Q3390225
(Q2873947,P47,c(Q811979))
action filter_type
action find
entity Q2873947
relation P47
type Q811979
[ANSWERS] share border with avenue de Saxe
['Q2873947', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { resource:Q2873947 property:P47 ?l . ?l rdf:type ontology:Q811979 }
place de Fontenoy place de Breteuil
Place de Fontenoy and place de Breteuil share border with avenue de Saxe
place de Fontenoy place de Breteuil
action filter_type
action find
entity avenue de Saxe
relation shares border with
type architectural structure
['avenue de Saxe', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { resource:avenue_de_Saxe property:shares_border_with ?l . ?l rdf:type ontology:architectural_structure }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3390236
P138
Q1190554
USER
Which event is the etymology of that architectural structure ?
(Q3390236,P138,c(Q1190554))
action filter_type
action find
entity Q3390236
relation P138
type Q1190554
['Q3390236', 'P138', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { resource:Q3390236 property:P138 ?k . ?k rdf:type ontology:Q1190554 }
place de Fontenoy
action filter_type
action find
entity place de Fontenoy
relation named after
type event
['place de Fontenoy', 'named after', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { resource:place_de_Fontenoy property:named_after ?k . ?k rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q3390236
SYSTEM
Did you mean place de Fontenoy ?
Q3390236 Q3390225
(Q3390236,P138,c(Q1190554)) (Q3390225,P138,c(Q1190554))
[ANSWER]
['Q3390236', 'P138', {'concept': 'Q1190554'}] ['Q3390225', 'P138', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { resource:Q3390236 property:P138 ?k . ?k rdf:type ontology:Q1190554 }
place de Fontenoy place de Breteuil
Did you mean place de Fontenoy ?
place de Fontenoy
['place de Fontenoy', 'named after', {'concept': 'event'}] ['place de Breteuil', 'named after', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { resource:place_de_Fontenoy property:named_after ?k . ?k rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3390236,P138,c(Q1190554))
['Q3390236', 'P138', {'concept': 'Q1190554'}]
['place de Fontenoy', 'named after', {'concept': 'event'}]
[]
Q569953
SYSTEM
Battle of Fontenoy
Q569953
(Q3390236,P138,c(Q1190554))
action filter_type
action find
entity Q3390236
relation P138
type Q1190554
[ANSWER] is the etymology of that architectural structure
['Q3390236', 'P138', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { resource:Q3390236 property:P138 ?k . ?k rdf:type ontology:Q1190554 }
Battle of Fontenoy
Battle of Fontenoy is the etymology of that architectural structure
Battle of Fontenoy
action filter_type
action find
entity place de Fontenoy
relation named after
type event
['place de Fontenoy', 'named after', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { resource:place_de_Fontenoy property:named_after ?k . ?k rdf:type ontology:event }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q569953 Q31 Q6521314
P17
Q15617994
USER
Is that event present in Belgium and Lemon Grove School District ?
(Q569953,P17,Q31) (Q569953,P17,Q6521314)
action is_in
entity Q569953
action intersection
action find_reverse
entity Q31
relation P17
action find_reverse
entity Q6521314
relation P17
['Q569953', 'P17', 'Q31'] ['Q569953', 'P17', 'Q6521314']
ASK WHERE { resource:Q569953 property:P17 resource:Q31 . resource:Q569953 property:P17 resource:Q6521314 }
Battle of Fontenoy Belgium Lemon Grove School District
action is_in
entity Battle of Fontenoy
action intersection
action find_reverse
entity Belgium
relation country
action find_reverse
entity Lemon Grove School District
relation country
['Battle of Fontenoy', 'country', 'Belgium'] ['Battle of Fontenoy', 'country', 'Lemon Grove School District']
ASK WHERE { resource:Battle_of_Fontenoy property:country resource:Belgium . resource:Battle_of_Fontenoy property:country resource:Lemon_Grove_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q569953,P17,Q31) (Q569953,P17,Q6521314)
action is_in
entity Q569953
action intersection
action find_reverse
entity Q31
relation P17
action find_reverse
entity Q6521314
relation P17
[ANSWER]
['Q569953', 'P17', 'Q31'] ['Q569953', 'P17', 'Q6521314']
ASK WHERE { resource:Q569953 property:P17 resource:Q31 . resource:Q569953 property:P17 resource:Q6521314 }
YES and NO respectively
action is_in
entity Battle of Fontenoy
action intersection
action find_reverse
entity Belgium
relation country
action find_reverse
entity Lemon Grove School District
relation country
['Battle of Fontenoy', 'country', 'Belgium'] ['Battle of Fontenoy', 'country', 'Lemon Grove School District']
ASK WHERE { resource:Battle_of_Fontenoy property:country resource:Belgium . resource:Battle_of_Fontenoy property:country resource:Lemon_Grove_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2873947 Q18976249 Q19291468
P47
Q34442
USER
Does avenue de Saxe share border with Brusselsepoort and Karel de Stoutestraat ?
(Q2873947,P47,Q18976249) (Q2873947,P47,Q19291468)
action is_in
entity Q2873947
action intersection
action find_reverse
entity Q18976249
relation P47
action find_reverse
entity Q19291468
relation P47
['Q2873947', 'P47', 'Q18976249'] ['Q2873947', 'P47', 'Q19291468']
ASK WHERE { resource:Q2873947 property:P47 resource:Q18976249 . resource:Q2873947 property:P47 resource:Q19291468 }
avenue de Saxe Brusselsepoort Karel de Stoutestraat
action is_in
entity avenue de Saxe
action intersection
action find_reverse
entity Brusselsepoort
relation shares border with
action find_reverse
entity Karel de Stoutestraat
relation shares border with
['avenue de Saxe', 'shares border with', 'Brusselsepoort'] ['avenue de Saxe', 'shares border with', 'Karel de Stoutestraat']
ASK WHERE { resource:avenue_de_Saxe property:shares_border_with resource:Brusselsepoort . resource:avenue_de_Saxe property:shares_border_with resource:Karel_de_Stoutestraat }
[]
road
SYSTEM
NO
(Q2873947,P47,Q18976249) (Q2873947,P47,Q19291468)
action is_in
entity Q2873947
action intersection
action find_reverse
entity Q18976249
relation P47
action find_reverse
entity Q19291468
relation P47
[ANSWER]
['Q2873947', 'P47', 'Q18976249'] ['Q2873947', 'P47', 'Q19291468']
ASK WHERE { resource:Q2873947 property:P47 resource:Q18976249 . resource:Q2873947 property:P47 resource:Q19291468 }
No
action is_in
entity avenue de Saxe
action intersection
action find_reverse
entity Brusselsepoort
relation shares border with
action find_reverse
entity Karel de Stoutestraat
relation shares border with
['avenue de Saxe', 'shares border with', 'Brusselsepoort'] ['avenue de Saxe', 'shares border with', 'Karel de Stoutestraat']
ASK WHERE { resource:avenue_de_Saxe property:shares_border_with resource:Brusselsepoort . resource:avenue_de_Saxe property:shares_border_with resource:Karel_de_Stoutestraat }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3390225 Q294772 Q142
P17
Q15617994
USER
Is place de Breteuil situated in Desulo and France ?
(Q3390225,P17,Q294772) (Q3390225,P17,Q142)
action is_in
entity Q3390225
action intersection
action find_reverse
entity Q294772
relation P17
action find_reverse
entity Q142
relation P17
['Q3390225', 'P17', 'Q294772'] ['Q3390225', 'P17', 'Q142']
ASK WHERE { resource:Q3390225 property:P17 resource:Q294772 . resource:Q3390225 property:P17 resource:Q142 }
place de Breteuil Desulo France
action is_in
entity place de Breteuil
action intersection
action find_reverse
entity Desulo
relation country
action find_reverse
entity France
relation country
['place de Breteuil', 'country', 'Desulo'] ['place de Breteuil', 'country', 'France']
ASK WHERE { resource:place_de_Breteuil property:country resource:Desulo . resource:place_de_Breteuil property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3390225,P17,Q294772) (Q3390225,P17,Q142)
action is_in
entity Q3390225
action intersection
action find_reverse
entity Q294772
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q3390225', 'P17', 'Q294772'] ['Q3390225', 'P17', 'Q142']
ASK WHERE { resource:Q3390225 property:P17 resource:Q294772 . resource:Q3390225 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity place de Breteuil
action intersection
action find_reverse
entity Desulo
relation country
action find_reverse
entity France
relation country
['place de Breteuil', 'country', 'Desulo'] ['place de Breteuil', 'country', 'France']
ASK WHERE { resource:place_de_Breteuil property:country resource:Desulo . resource:place_de_Breteuil property:country resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3390225
P47
Q79007 Q34442
USER
How many streets or roads have a shared border with place de Breteuil ?
(Q3390225,P47,c(Q79007)) (Q3390225,P47,c(Q34442))
action count
action union
action filter_type
action find
entity Q3390225
relation P47
type Q79007
action filter_type
action find
entity Q3390225
relation P47
type Q34442
['Q3390225', 'P47', {'concept': 'Q79007'}] ['Q3390225', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:Q3390225 property:P47 ?g . ?g rdf:type ontology:Q34442 } UNION { resource:Q3390225 property:P47 ?g . ?g rdf:type ontology:Q79007 } }
place de Breteuil
action count
action union
action filter_type
action find
entity place de Breteuil
relation shares border with
type street
action filter_type
action find
entity place de Breteuil
relation shares border with
type road
['place de Breteuil', 'shares border with', {'concept': 'street'}] ['place de Breteuil', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:place_de_Breteuil property:shares_border_with ?g . ?g rdf:type ontology:road } UNION { resource:place_de_Breteuil property:shares_border_with ?g . ?g rdf:type ontology:street } }
[]
street road
SYSTEM
4
Q2873899 Q3450222 Q2399700 Q2873947
(Q3390225,P47,c(Q79007)) (Q3390225,P47,c(Q34442))
action count
action union
action filter_type
action find
entity Q3390225
relation P47
type Q79007
action filter_type
action find
entity Q3390225
relation P47
type Q34442
[ANSWER]
['Q3390225', 'P47', {'concept': 'Q79007'}] ['Q3390225', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:Q3390225 property:P47 ?g . ?g rdf:type ontology:Q34442 } UNION { resource:Q3390225 property:P47 ?g . ?g rdf:type ontology:Q79007 } }
avenue de Breteuil rue Valentin-Haüy rue Duroc avenue de Saxe
4
action count
action union
action filter_type
action find
entity place de Breteuil
relation shares border with
type street
action filter_type
action find
entity place de Breteuil
relation shares border with
type road
['place de Breteuil', 'shares border with', {'concept': 'street'}] ['place de Breteuil', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:place_de_Breteuil property:shares_border_with ?g . ?g rdf:type ontology:road } UNION { resource:place_de_Breteuil property:shares_border_with ?g . ?g rdf:type ontology:street } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3390236
P669
Q4989906 Q811979
USER
How many monuments or architectural structures have their location as place de Fontenoy ?
(c(Q4989906),P669,Q3390236) (c(Q811979),P669,Q3390236)
action count
action union
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q4989906
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q811979
[{'concept': 'Q4989906'}, 'P669', 'Q3390236'] [{'concept': 'Q811979'}, 'P669', 'Q3390236']
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q4989906 ) ( ontology:Q811979 ) } . ?i rdf:type ?f }
place de Fontenoy
action count
action union
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type monument
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type architectural structure
[{'concept': 'monument'}, 'located on street', 'place de Fontenoy'] [{'concept': 'architectural structure'}, 'located on street', 'place de Fontenoy']
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:monument ) ( ontology:architectural_structure ) } . ?i rdf:type ?f }
[]
monument architectural structure
SYSTEM
2
Q23640002 Q3279650
(c(Q4989906),P669,Q3390236) (c(Q811979),P669,Q3390236)
action count
action union
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q4989906
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q811979
[ANSWER]
[{'concept': 'Q4989906'}, 'P669', 'Q3390236'] [{'concept': 'Q811979'}, 'P669', 'Q3390236']
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q4989906 ) ( ontology:Q811979 ) } . ?i rdf:type ?f }
1870 War Memorial World Heritage Centre
2
action count
action union
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type monument
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type architectural structure
[{'concept': 'monument'}, 'located on street', 'place de Fontenoy'] [{'concept': 'architectural structure'}, 'located on street', 'place de Fontenoy']
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:monument ) ( ontology:architectural_structure ) } . ?i rdf:type ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3390236
P669
Q4989906
USER
Which monument is located on that architectural structure ?
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q4989906
SELECT DISTINCT ?e WHERE { ?e property:P669 resource:Q3390236 . ?e rdf:type ontology:Q4989906 }
place de Fontenoy
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type monument
SELECT DISTINCT ?e WHERE { ?e property:located_on_street resource:place_de_Fontenoy . ?e rdf:type ontology:monument }
[]
monument
Q23640002
SYSTEM
1870 War Memorial
Q23640002
action filter_type
action find_reverse
entity Q3390236
relation P669
type Q4989906
The [ANSWER] is located on that architectural structure
SELECT DISTINCT ?e WHERE { ?e property:P669 resource:Q3390236 . ?e rdf:type ontology:Q4989906 }
1870 War Memorial
The 1870 War Memorial is located on that architectural structure
1870 War Memorial
action filter_type
action find_reverse
entity place de Fontenoy
relation located on street
type monument
SELECT DISTINCT ?e WHERE { ?e property:located_on_street resource:place_de_Fontenoy . ?e rdf:type ontology:monument }
[]