Simple Question (Direct)
Simple Question
Q20851206
P410
Q4189293
USER
Which title has Antoine Avisard achieved ?
(Q20851206,P410,c(Q4189293))
action filter_type
action find
entity Q20851206
relation P410
type Q4189293
['Q20851206', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { resource:Q20851206 property:P410 ?m . ?m rdf:type ontology:Q4189293 }
Antoine Avisard
action filter_type
action find
entity Antoine Avisard
relation military rank
type title
['Antoine Avisard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { resource:Antoine_Avisard property:military_rank ?m . ?m rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q20851206,P410,c(Q4189293))
action filter_type
action find
entity Q20851206
relation P410
type Q4189293
Antoine Avisard has achieved rank [ANSWER]
['Q20851206', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { resource:Q20851206 property:P410 ?m . ?m rdf:type ontology:Q4189293 }
brigadier general
Antoine Avisard has achieved rank brigadier general
brigadier general
action filter_type
action find
entity Antoine Avisard
relation military rank
type title
['Antoine Avisard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { resource:Antoine_Avisard property:military_rank ?m . ?m rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20851206
P27
Q15617994
USER
Which administrative territory is Antoine Avisard a civilian of ?
(Q20851206,P27,c(Q15617994))
action filter_type
action find
entity Q20851206
relation P27
type Q15617994
['Q20851206', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20851206 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Antoine Avisard
action filter_type
action find
entity Antoine Avisard
relation country of citizenship
type designation for an administrative territorial entity
['Antoine Avisard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antoine_Avisard property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q20851206,P27,c(Q15617994))
action filter_type
action find
entity Q20851206
relation P27
type Q15617994
[ANSWER] is Antoine Avisard a civilian of
['Q20851206', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20851206 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
France is Antoine Avisard a civilian of
France
action filter_type
action find
entity Antoine Avisard
relation country of citizenship
type designation for an administrative territorial entity
['Antoine Avisard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antoine_Avisard property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P138
Q874405
USER
Which social group is that administrative territory named after ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q874405 . resource:Q142 property:P138 ?f }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:social_group . resource:France property:named_after ?f }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
That administrative territory is named after [ANSWER]
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q874405 . resource:Q142 property:P138 ?f }
Franks
That administrative territory is named after Franks
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:social_group . resource:France property:named_after ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7326279 Q20851206
P20
Q56061
USER
Which administrative territories did Antoine Avisard or Richard Harrington die ?
OR((Q20851206,P20,c(Q56061)), (Q7326279,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20851206
relation P20
action find
entity Q7326279
relation P20
type Q56061
{'OR': [['Q20851206', 'P20', {'concept': 'Q56061'}], ['Q7326279', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20851206 property:P20 ?w } UNION { resource:Q7326279 property:P20 ?w } } . ?w rdf:type ontology:Q56061 }
Richard Harrington Antoine Avisard
action filter_type
action union
action find
entity Antoine Avisard
relation place of death
action find
entity Richard Harrington
relation place of death
type administrative territorial entity
{'OR': [['Antoine Avisard', 'place of death', {'concept': 'administrative territorial entity'}], ['Richard Harrington', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Antoine_Avisard property:place_of_death ?w } UNION { resource:Richard_Harrington property:place_of_death ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q621 Q172
SYSTEM
Versailles, Toronto
Q621 Q172
OR((Q20851206,P20,c(Q56061)), (Q7326279,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20851206
relation P20
action find
entity Q7326279
relation P20
type Q56061
Antoine Avisard or Richard Harrington died in [ANSWERS]
{'OR': [['Q20851206', 'P20', {'concept': 'Q56061'}], ['Q7326279', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q20851206 property:P20 ?w } UNION { resource:Q7326279 property:P20 ?w } } . ?w rdf:type ontology:Q56061 }
Versailles Toronto
Antoine Avisard or Richard Harrington died in Versailles and Toronto
Versailles Toronto
action filter_type
action union
action find
entity Antoine Avisard
relation place of death
action find
entity Richard Harrington
relation place of death
type administrative territorial entity
{'OR': [['Antoine Avisard', 'place of death', {'concept': 'administrative territorial entity'}], ['Richard Harrington', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Antoine_Avisard property:place_of_death ?w } UNION { resource:Richard_Harrington property:place_of_death ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7326279
P21
Q290
USER
Which sex does Richard Harrington have ?
(Q621,P21,c(Q290)) (Q172,P21,c(Q290))
action filter_type
action find
entity Q7326279
relation P21
type Q290
['Q621', 'P21', {'concept': 'Q290'}] ['Q172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q7326279 property:P21 ?o }
Richard Harrington
action filter_type
action find
entity Richard Harrington
relation gender
type sex
['Versailles', 'gender', {'concept': 'sex'}] ['Toronto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Richard_Harrington property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q621,P21,c(Q290)) (Q172,P21,c(Q290))
action filter_type
action find
entity Q7326279
relation P21
type Q290
Richard Harrington has a [ANSWER]
['Q621', 'P21', {'concept': 'Q290'}] ['Q172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q7326279 property:P21 ?o }
male
Richard Harrington has a male
male
action filter_type
action find
entity Richard Harrington
relation gender
type sex
['Versailles', 'gender', {'concept': 'sex'}] ['Toronto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Richard_Harrington property:gender ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as their category ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P136 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:genre resource:male }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as their category
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P136 resource:Q6581097 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as their category
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:genre resource:male }
[]