Simple Question (Direct)
Simple Question
Q19767279
P734
Q82799
USER
Who has the surname Jean-Mathieu-Emile Perret ?
(Q19767279,P734,c(Q82799))
action filter_type
action find
entity Q19767279
relation P734
type Q82799
['Q19767279', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q19767279 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Jean-Mathieu-Emile Perret
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation family name
type name
['Jean-Mathieu-Emile Perret', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Mathieu-Emile_Perret property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q21493174
SYSTEM
Perret
Q21493174
(Q19767279,P734,c(Q82799))
action filter_type
action find
entity Q19767279
relation P734
type Q82799
[ANSWER] has the surname Jean-Mathieu-Emile [ANSWER]
['Q19767279', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q19767279 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Perret
Perret has the surname Jean-Mathieu-Emile Perret
Perret
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation family name
type name
['Jean-Mathieu-Emile Perret', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Mathieu-Emile_Perret property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19767279
P166
Q618779
USER
Which award was Jean-Mathieu-Emile Perret awarded with ?
(Q19767279,P166,c(Q618779))
action filter_type
action find
entity Q19767279
relation P166
type Q618779
['Q19767279', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q19767279 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Jean-Mathieu-Emile Perret
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation award received
type award
['Jean-Mathieu-Emile Perret', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Mathieu-Emile_Perret property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q19767279,P166,c(Q618779))
action filter_type
action find
entity Q19767279
relation P166
type Q618779
Jean-Mathieu-Emile Perret was awarded a [ANSWER]
['Q19767279', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q19767279 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Jean-Mathieu-Emile Perret was awarded a Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation award received
type award
['Jean-Mathieu-Emile Perret', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Mathieu-Emile_Perret property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19767279
P21
Q290
USER
Which sex does Jean-Mathieu-Emile Perret belong to ?
(Q19767279,P21,c(Q290))
action filter_type
action find
entity Q19767279
relation P21
type Q290
['Q19767279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q19767279 property:P21 ?e }
Jean-Mathieu-Emile Perret
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation gender
type sex
['Jean-Mathieu-Emile Perret', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Jean-Mathieu-Emile_Perret property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19767279,P21,c(Q290))
action filter_type
action find
entity Q19767279
relation P21
type Q290
Jean-Mathieu-Emile Perret belongs to [ANSWER]
['Q19767279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q19767279 property:P21 ?e }
male
Jean-Mathieu-Emile Perret belongs to male
male
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation gender
type sex
['Jean-Mathieu-Emile Perret', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Jean-Mathieu-Emile_Perret property:gender ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19767279
P40
Q502895
USER
Which person is an offspring of Jean-Mathieu-Emile Perret ?
(Q19767279,P40,c(Q502895))
action filter_type
action find
entity Q19767279
relation P40
type Q502895
['Q19767279', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19767279 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Jean-Mathieu-Emile Perret
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation child
type common name
['Jean-Mathieu-Emile Perret', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Mathieu-Emile_Perret property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
Q19767206
SYSTEM
Claude-Émile Perret de la Menue
Q19767206
(Q19767279,P40,c(Q502895))
action filter_type
action find
entity Q19767279
relation P40
type Q502895
[ANSWER] is an offspring of Jean-Mathieu-Emile Perret
['Q19767279', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19767279 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Claude-Émile Perret de la Menue
Claude-Émile Perret de la Menue is an offspring of Jean-Mathieu-Emile Perret
Claude-Émile Perret de la Menue
action filter_type
action find
entity Jean-Mathieu-Emile Perret
relation child
type common name
['Jean-Mathieu-Emile Perret', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Mathieu-Emile_Perret property:child ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3498015
Q502895
USER
And how about Jan Nisar Akhtar?
(Q3498015,P40,c(Q502895))
action filter_type
action find
entity Q3498015
relation P40
type Q502895
['Q3498015', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3498015 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Jan Nisar Akhtar
action filter_type
action find
entity Jan Nisar Akhtar
relation child
type common name
['Jan Nisar Akhtar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jan_Nisar_Akhtar property:child ?l . ?l rdf:type ontology:common_name }
[]
common name
Q7405394 Q2319562
SYSTEM
Salman Akhtar, Javed Akhtar
Q7405394 Q2319562
(Q3498015,P40,c(Q502895))
action filter_type
action find
entity Q3498015
relation P40
type Q502895
[ANSWERS]
['Q3498015', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3498015 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Salman Akhtar Javed Akhtar
Salman Akhtar Javed Akhtar
action filter_type
action find
entity Jan Nisar Akhtar
relation child
type common name
['Jan Nisar Akhtar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jan_Nisar_Akhtar property:child ?l . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19767279
P21 P22
Q502895
USER
Which people have Jean-Mathieu-Emile Perret as a father and are a male ?
AND((c(Q502895),P22,Q19767279), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19767279
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q19767279'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q19767279 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Jean-Mathieu-Emile Perret
action filter_type
action intersection
action find_reverse
entity Jean-Mathieu-Emile Perret
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jean-Mathieu-Emile Perret'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:father resource:Jean-Mathieu-Emile_Perret . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q19767206
SYSTEM
Claude-Émile Perret de la Menue
Q19767206
AND((c(Q502895),P22,Q19767279), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19767279
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Jean-Mathieu-Emile Perret as a father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q19767279'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q19767279 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Claude-Émile Perret de la Menue
Claude-Émile Perret de la Menue have Jean-Mathieu-Emile Perret as a father and are a male
Claude-Émile Perret de la Menue
action filter_type
action intersection
action find_reverse
entity Jean-Mathieu-Emile Perret
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jean-Mathieu-Emile Perret'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:father resource:Jean-Mathieu-Emile_Perret . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]