Simple Question (Direct)
Simple Question
Q1346754
P1376
Q20667921
USER
Which french administrative division has Guiscard as its capital ?
(Q1346754,P1376,c(Q20667921))
action filter_type
action find
entity Q1346754
relation P1376
type Q20667921
['Q1346754', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1346754 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
Guiscard
action filter_type
action find
entity Guiscard
relation capital of
type type of french administrative division
['Guiscard', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Guiscard property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q630407
SYSTEM
canton of Guiscard
Q630407
(Q1346754,P1376,c(Q20667921))
action filter_type
action find
entity Q1346754
relation P1376
type Q20667921
The [ANSWER] has Guiscard as its capital
['Q1346754', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1346754 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
canton of Guiscard
The canton of Guiscard has Guiscard as its capital
canton of Guiscard
action filter_type
action find
entity Guiscard
relation capital of
type type of french administrative division
['Guiscard', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Guiscard property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q630407 Q1346754 Q545199
P36
Q20667921
USER
Does canton of Guiscard contain Guiscard and canton of Reims-10 as its capital ?
(Q630407,P36,Q1346754) (Q630407,P36,Q545199)
action is_in
entity Q630407
action intersection
action find_reverse
entity Q1346754
relation P36
action find_reverse
entity Q545199
relation P36
['Q630407', 'P36', 'Q1346754'] ['Q630407', 'P36', 'Q545199']
ASK WHERE { resource:Q630407 property:P36 resource:Q1346754 . resource:Q630407 property:P36 resource:Q545199 }
canton of Guiscard Guiscard canton of Reims-10
action is_in
entity canton of Guiscard
action intersection
action find_reverse
entity Guiscard
relation capital
action find_reverse
entity canton of Reims-10
relation capital
['canton of Guiscard', 'capital', 'Guiscard'] ['canton of Guiscard', 'capital', 'canton of Reims-10']
ASK WHERE { resource:canton_of_Guiscard property:capital resource:Guiscard . resource:canton_of_Guiscard property:capital resource:canton_of_Reims-10 }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q630407,P36,Q1346754) (Q630407,P36,Q545199)
action is_in
entity Q630407
action intersection
action find_reverse
entity Q1346754
relation P36
action find_reverse
entity Q545199
relation P36
[ANSWER]
['Q630407', 'P36', 'Q1346754'] ['Q630407', 'P36', 'Q545199']
ASK WHERE { resource:Q630407 property:P36 resource:Q1346754 . resource:Q630407 property:P36 resource:Q545199 }
YES and NO respectively
action is_in
entity canton of Guiscard
action intersection
action find_reverse
entity Guiscard
relation capital
action find_reverse
entity canton of Reims-10
relation capital
['canton of Guiscard', 'capital', 'Guiscard'] ['canton of Guiscard', 'capital', 'canton of Reims-10']
ASK WHERE { resource:canton_of_Guiscard property:capital resource:Guiscard . resource:canton_of_Guiscard property:capital resource:canton_of_Reims-10 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1346754 Q935961
P47
Q20667921
USER
Does Tauriac-de-Camarès share the border with Guiscard ?
(Q1346754,P47,Q935961)
action is_in
entity Q935961
action find
entity Q1346754
relation P47
['Q1346754', 'P47', 'Q935961']
ASK WHERE { resource:Q1346754 property:P47 resource:Q935961 }
Guiscard Tauriac-de-Camarès
action is_in
entity Tauriac-de-Camarès
action find
entity Guiscard
relation shares border with
['Guiscard', 'shares border with', 'Tauriac-de-Camarès']
ASK WHERE { resource:Guiscard property:shares_border_with resource:Tauriac-de-Camarès }
[]
type of french administrative division
SYSTEM
NO
(Q1346754,P47,Q935961)
action is_in
entity Q935961
action find
entity Q1346754
relation P47
[ANSWER]
['Q1346754', 'P47', 'Q935961']
ASK WHERE { resource:Q1346754 property:P47 resource:Q935961 }
No
action is_in
entity Tauriac-de-Camarès
action find
entity Guiscard
relation shares border with
['Guiscard', 'shares border with', 'Tauriac-de-Camarès']
ASK WHERE { resource:Guiscard property:shares_border_with resource:Tauriac-de-Camarès }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641188
P17
Q15617994
USER
Which administrative territory is Ménil located in ?
(Q641188,P17,c(Q15617994))
action filter_type
action find
entity Q641188
relation P17
type Q15617994
['Q641188', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q641188 property:P17 ?u }
Ménil
action filter_type
action find
entity Ménil
relation country
type designation for an administrative territorial entity
['Ménil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ménil property:country ?u }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q641188,P17,c(Q15617994))
action filter_type
action find
entity Q641188
relation P17
type Q15617994
Ménil is located in [ANSWER]
['Q641188', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q641188 property:P17 ?u }
France
Ménil is located in France
France
action filter_type
action find
entity Ménil
relation country
type designation for an administrative territorial entity
['Ménil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ménil property:country ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1159573 Q7399839
P20
Q502895
USER
How many people have Lisle-en-Barrois or Sai Ying Pun Community Complex as place of death ?
(c(Q502895),P20,Q1159573) (c(Q502895),P20,Q7399839)
action count
action union
action filter_type
action find_reverse
entity Q1159573
relation P20
type Q502895
action filter_type
action find_reverse
entity Q7399839
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1159573'] [{'concept': 'Q502895'}, 'P20', 'Q7399839']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P20 resource:Q1159573 } UNION { ?u property:P20 resource:Q7399839 . ?u rdf:type ontology:Q502895 } }
Lisle-en-Barrois Sai Ying Pun Community Complex
action count
action union
action filter_type
action find_reverse
entity Lisle-en-Barrois
relation place of death
type common name
action filter_type
action find_reverse
entity Sai Ying Pun Community Complex
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lisle-en-Barrois'] [{'concept': 'common name'}, 'place of death', 'Sai Ying Pun Community Complex']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { ?u rdf:type ontology:common_name . ?u property:place_of_death resource:Lisle-en-Barrois } UNION { ?u property:place_of_death resource:Sai_Ying_Pun_Community_Complex . ?u rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q15969462 Q6762385
(c(Q502895),P20,Q1159573) (c(Q502895),P20,Q7399839)
action count
action union
action filter_type
action find_reverse
entity Q1159573
relation P20
type Q502895
action filter_type
action find_reverse
entity Q7399839
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q1159573'] [{'concept': 'Q502895'}, 'P20', 'Q7399839']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P20 resource:Q1159573 } UNION { ?u property:P20 resource:Q7399839 . ?u rdf:type ontology:Q502895 } }
Claude Millon Mariano Ponce
2
action count
action union
action filter_type
action find_reverse
entity Lisle-en-Barrois
relation place of death
type common name
action filter_type
action find_reverse
entity Sai Ying Pun Community Complex
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lisle-en-Barrois'] [{'concept': 'common name'}, 'place of death', 'Sai Ying Pun Community Complex']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { ?u rdf:type ontology:common_name . ?u property:place_of_death resource:Lisle-en-Barrois } UNION { ?u property:place_of_death resource:Sai_Ying_Pun_Community_Complex . ?u rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1346754
P166
Q618779
USER
Which award was received by Guiscard ?
(Q1346754,P166,c(Q618779))
action filter_type
action find
entity Q1346754
relation P166
type Q618779
['Q1346754', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1346754 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Guiscard
action filter_type
action find
entity Guiscard
relation award received
type award
['Guiscard', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Guiscard property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1346754,P166,c(Q618779))
action filter_type
action find
entity Q1346754
relation P166
type Q618779
France [ANSWER] was received by Guiscard
['Q1346754', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1346754 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
France Croix de guerre 1914–1918 was received by Guiscard
Croix de guerre 1914–1918
action filter_type
action find
entity Guiscard
relation award received
type award
['Guiscard', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Guiscard property:award_received ?z . ?z rdf:type ontology:award }
[]