Simple Question (Direct)
Simple Question
Q3068683
P166
Q618779
USER
What was awarded to Ferdinand de La Ville-sur-Illon ?
(Q3068683,P166,c(Q618779))
action filter_type
action find
entity Q3068683
relation P166
type Q618779
['Q3068683', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q3068683 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Ferdinand de La Ville-sur-Illon
action filter_type
action find
entity Ferdinand de La Ville-sur-Illon
relation award received
type award
['Ferdinand de La Ville-sur-Illon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Ferdinand_de_La_Ville-sur-Illon property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Q11593374
SYSTEM
Knight of the Royal and Military Order of Saint Louis
Q11593374
(Q3068683,P166,c(Q618779))
action filter_type
action find
entity Q3068683
relation P166
type Q618779
The [ANSWER] was awarded to Ferdinand de La Ville-sur-Illon
['Q3068683', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q3068683 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Knight of the Royal and Military Order of Saint Louis
The Knight of the Royal and Military Order of Saint Louis was awarded to Ferdinand de La Ville-sur-Illon
Knight of the Royal and Military Order of Saint Louis
action filter_type
action find
entity Ferdinand de La Ville-sur-Illon
relation award received
type award
['Ferdinand de La Ville-sur-Illon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Ferdinand_de_La_Ville-sur-Illon property:award_received ?i . ?i rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3068683
P410
Q4189293
USER
Which title was the military rank conferred upon Ferdinand de La Ville-sur-Illon ?
(Q3068683,P410,c(Q4189293))
action filter_type
action find
entity Q3068683
relation P410
type Q4189293
['Q3068683', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q3068683 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
Ferdinand de La Ville-sur-Illon
action filter_type
action find
entity Ferdinand de La Ville-sur-Illon
relation military rank
type title
['Ferdinand de La Ville-sur-Illon', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Ferdinand_de_La_Ville-sur-Illon property:military_rank ?l . ?l rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q3068683,P410,c(Q4189293))
action filter_type
action find
entity Q3068683
relation P410
type Q4189293
General [ANSWER] was the military rank conferred upon Ferdinand de La Ville-sur-Illon
['Q3068683', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q3068683 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
brigadier general
General brigadier general was the military rank conferred upon Ferdinand de La Ville-sur-Illon
brigadier general
action filter_type
action find
entity Ferdinand de La Ville-sur-Illon
relation military rank
type title
['Ferdinand de La Ville-sur-Illon', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Ferdinand_de_La_Ville-sur-Illon property:military_rank ?l . ?l rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9262452
Q4189293
USER
And what about Franciszek Herman?
(Q9262452,P410,c(Q4189293))
action filter_type
action find
entity Q9262452
relation P410
type Q4189293
['Q9262452', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q9262452 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
Franciszek Herman
action filter_type
action find
entity Franciszek Herman
relation military rank
type title
['Franciszek Herman', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Franciszek_Herman property:military_rank ?w . ?w rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q9262452,P410,c(Q4189293))
action filter_type
action find
entity Q9262452
relation P410
type Q4189293
[ANSWER]
['Q9262452', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q9262452 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
brigadier general
brigadier general
action filter_type
action find
entity Franciszek Herman
relation military rank
type title
['Franciszek Herman', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Franciszek_Herman property:military_rank ?w . ?w rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q152956 Q15967602
P410
Q502895
USER
Does Jacques Ollivier Desclozeaux possess that title ?
(Q15967602,P410,Q152956)
action is_in
entity Q152956
action find
entity Q15967602
relation P410
['Q15967602', 'P410', 'Q152956']
ASK WHERE { resource:Q15967602 property:P410 resource:Q152956 }
brigadier general Jacques Ollivier Desclozeaux
action is_in
entity brigadier general
action find
entity Jacques Ollivier Desclozeaux
relation military rank
['Jacques Ollivier Desclozeaux', 'military rank', 'brigadier general']
ASK WHERE { resource:Jacques_Ollivier_Desclozeaux property:military_rank resource:brigadier_general }
[]
common name
SYSTEM
YES
(Q15967602,P410,Q152956)
action is_in
entity Q152956
action find
entity Q15967602
relation P410
[ANSWER]
['Q15967602', 'P410', 'Q152956']
ASK WHERE { resource:Q15967602 property:P410 resource:Q152956 }
Yes
action is_in
entity brigadier general
action find
entity Jacques Ollivier Desclozeaux
relation military rank
['Jacques Ollivier Desclozeaux', 'military rank', 'brigadier general']
ASK WHERE { resource:Jacques_Ollivier_Desclozeaux property:military_rank resource:brigadier_general }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16268397 Q15967602
P19
Q56061
USER
Which administrative territories are the birthplace of Jacques Ollivier Desclozeaux or Renato Gardini ?
OR((Q15967602,P19,c(Q56061)), (Q16268397,P19,c(Q56061)))
action filter_type
action union
action find
entity Q15967602
relation P19
action find
entity Q16268397
relation P19
type Q56061
{'OR': [['Q15967602', 'P19', {'concept': 'Q56061'}], ['Q16268397', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { ?v property:P19 ?w . VALUES ( ?v ) { ( resource:Q15967602 ) ( resource:Q16268397 ) } } . ?w rdf:type ontology:Q56061 }
Renato Gardini Jacques Ollivier Desclozeaux
action filter_type
action union
action find
entity Jacques Ollivier Desclozeaux
relation place of birth
action find
entity Renato Gardini
relation place of birth
type administrative territorial entity
{'OR': [['Jacques Ollivier Desclozeaux', 'place of birth', {'concept': 'administrative territorial entity'}], ['Renato Gardini', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?v property:place_of_birth ?w . VALUES ( ?v ) { ( resource:Jacques_Ollivier_Desclozeaux ) ( resource:Renato_Gardini ) } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q4656
SYSTEM
Paris, Pula
Q90 Q4656
OR((Q15967602,P19,c(Q56061)), (Q16268397,P19,c(Q56061)))
action filter_type
action union
action find
entity Q15967602
relation P19
action find
entity Q16268397
relation P19
type Q56061
[ANSWERS] are the birthplace of Jacques Ollivier Desclozeaux or Renato Gardini
{'OR': [['Q15967602', 'P19', {'concept': 'Q56061'}], ['Q16268397', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { ?v property:P19 ?w . VALUES ( ?v ) { ( resource:Q15967602 ) ( resource:Q16268397 ) } } . ?w rdf:type ontology:Q56061 }
Paris Pula
Paris and Pula are the birthplace of Jacques Ollivier Desclozeaux or Renato Gardini
Paris Pula
action filter_type
action union
action find
entity Jacques Ollivier Desclozeaux
relation place of birth
action find
entity Renato Gardini
relation place of birth
type administrative territorial entity
{'OR': [['Jacques Ollivier Desclozeaux', 'place of birth', {'concept': 'administrative territorial entity'}], ['Renato Gardini', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?v property:place_of_birth ?w . VALUES ( ?v ) { ( resource:Jacques_Ollivier_Desclozeaux ) ( resource:Renato_Gardini ) } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q1635176
P47
Q1048835
USER
How many political territories share the border with Paris or Fuensanta ?
(Q90,P47,c(Q1048835)) (Q1635176,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q90
relation P47
type Q1048835
action filter_type
action find
entity Q1635176
relation P47
type Q1048835
['Q90', 'P47', {'concept': 'Q1048835'}] ['Q1635176', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?r ) { ( resource:Q90 ) ( resource:Q1635176 ) } . ?r property:P47 ?g }
Paris Fuensanta
action count
action union
action filter_type
action find
entity Paris
relation shares border with
type political territorial entity
action filter_type
action find
entity Fuensanta
relation shares border with
type political territorial entity
['Paris', 'shares border with', {'concept': 'political territorial entity'}] ['Fuensanta', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?r ) { ( resource:Paris ) ( resource:Fuensanta ) } . ?r property:shares_border_with ?g }
[]
political territorial entity
SYSTEM
3
Q611263 Q630706 Q1770932
(Q90,P47,c(Q1048835)) (Q1635176,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q90
relation P47
type Q1048835
action filter_type
action find
entity Q1635176
relation P47
type Q1048835
[ANSWER]
['Q90', 'P47', {'concept': 'Q1048835'}] ['Q1635176', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?r ) { ( resource:Q90 ) ( resource:Q1635176 ) } . ?r property:P47 ?g }
Tarazona de la Mancha La Roda Casas de Benítez
3
action count
action union
action filter_type
action find
entity Paris
relation shares border with
type political territorial entity
action filter_type
action find
entity Fuensanta
relation shares border with
type political territorial entity
['Paris', 'shares border with', {'concept': 'political territorial entity'}] ['Fuensanta', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?r ) { ( resource:Paris ) ( resource:Fuensanta ) } . ?r property:shares_border_with ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P206
Q355304
USER
Which watercourse is situated in the neighbourhood of Paris ?
(Q90,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
['Q90', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q90 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Paris
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Paris property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]
watercourse
Q1471
SYSTEM
Seine
Q1471
(Q90,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
City [ANSWER] is situated in the neighbourhood of Paris
['Q90', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q90 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Seine
City Seine is situated in the neighbourhood of Paris
Seine
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Paris property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]