Simple Question (Direct)
Simple Question
Q3090270
P27
Q15617994
USER
Which administrative territory is Frédéric Viseux an inhabitant of ?
(Q3090270,P27,c(Q15617994))
action filter_type
action find
entity Q3090270
relation P27
type Q15617994
['Q3090270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3090270 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Frédéric Viseux
action filter_type
action find
entity Frédéric Viseux
relation country of citizenship
type designation for an administrative territorial entity
['Frédéric Viseux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Frédéric_Viseux property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3090270,P27,c(Q15617994))
action filter_type
action find
entity Q3090270
relation P27
type Q15617994
[ANSWER] is Frédéric Viseux an inhabitant of
['Q3090270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3090270 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
France is Frédéric Viseux an inhabitant of
France
action filter_type
action find
entity Frédéric Viseux
relation country of citizenship
type designation for an administrative territorial entity
['Frédéric Viseux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Frédéric_Viseux property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P610
Q14524493
USER
Which terrain is the highest point of that administrative territory ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q142 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:France property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
[ANSWER] is the highest point of that administrative territory
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q142 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Mont Blanc
Mont Blanc is the highest point of that administrative territory
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:France property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q583 Q142 Q4877468
P17
Q15617994
USER
Is that terrain located in France and Beaufort County Schools ?
(Q583,P17,Q142) (Q583,P17,Q4877468)
action is_in
entity Q583
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4877468
relation P17
['Q583', 'P17', 'Q142'] ['Q583', 'P17', 'Q4877468']
ASK WHERE { resource:Q583 property:P17 resource:Q142 . resource:Q583 property:P17 resource:Q4877468 }
Mont Blanc France Beaufort County Schools
action is_in
entity Mont Blanc
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Beaufort County Schools
relation country
['Mont Blanc', 'country', 'France'] ['Mont Blanc', 'country', 'Beaufort County Schools']
ASK WHERE { resource:Mont_Blanc property:country resource:France . resource:Mont_Blanc property:country resource:Beaufort_County_Schools }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q583,P17,Q142) (Q583,P17,Q4877468)
action is_in
entity Q583
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4877468
relation P17
[ANSWER]
['Q583', 'P17', 'Q142'] ['Q583', 'P17', 'Q4877468']
ASK WHERE { resource:Q583 property:P17 resource:Q142 . resource:Q583 property:P17 resource:Q4877468 }
YES and NO respectively
action is_in
entity Mont Blanc
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Beaufort County Schools
relation country
['Mont Blanc', 'country', 'France'] ['Mont Blanc', 'country', 'Beaufort County Schools']
ASK WHERE { resource:Mont_Blanc property:country resource:France . resource:Mont_Blanc property:country resource:Beaufort_County_Schools }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q583
P138
Q15617994 Q17444909
USER
How many administrative territories or astronomical object types come from Mont Blanc ?
(c(Q15617994),P138,Q583) (c(Q17444909),P138,Q583)
action count
action union
action filter_type
action find_reverse
entity Q583
relation P138
type Q15617994
action filter_type
action find_reverse
entity Q583
relation P138
type Q17444909
[{'concept': 'Q15617994'}, 'P138', 'Q583'] [{'concept': 'Q17444909'}, 'P138', 'Q583']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q17444909 ) } }
Mont Blanc
action count
action union
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type astronomical object type
[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'Mont Blanc'] [{'concept': 'astronomical object type'}, 'named after', 'Mont Blanc']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:astronomical_object_type ) } }
[]
designation for an administrative territorial entity astronomical object type
SYSTEM
2
Q2528268 Q613861
(c(Q15617994),P138,Q583) (c(Q17444909),P138,Q583)
action count
action union
action filter_type
action find_reverse
entity Q583
relation P138
type Q15617994
action filter_type
action find_reverse
entity Q583
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', 'Q583'] [{'concept': 'Q17444909'}, 'P138', 'Q583']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q17444909 ) } }
Mont-Blanc 10958 Mont Blanc
2
action count
action union
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type astronomical object type
[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'Mont Blanc'] [{'concept': 'astronomical object type'}, 'named after', 'Mont Blanc']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:astronomical_object_type ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583
P3137
Q14524493
USER
What is the name of the parent peak in the territory of Mont Blanc ?
(Q583,P3137,c(Q14524493))
action filter_type
action find
entity Q583
relation P3137
type Q14524493
['Q583', 'P3137', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q583 property:P3137 ?n . ?n rdf:type ontology:Q14524493 }
Mont Blanc
action filter_type
action find
entity Mont Blanc
relation parent peak
type terrain
['Mont Blanc', 'parent peak', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Mont_Blanc property:parent_peak ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q513
SYSTEM
Mount Everest
Q513
(Q583,P3137,c(Q14524493))
action filter_type
action find
entity Q583
relation P3137
type Q14524493
The name of the parent peak in the territory of Mont Blanc is [ANSWER]
['Q583', 'P3137', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q583 property:P3137 ?n . ?n rdf:type ontology:Q14524493 }
Mount Everest
The name of the parent peak in the territory of Mont Blanc is Mount Everest
Mount Everest
action filter_type
action find
entity Mont Blanc
relation parent peak
type terrain
['Mont Blanc', 'parent peak', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Mont_Blanc property:parent_peak ?n . ?n rdf:type ontology:terrain }
[]