Simple Question (Direct)
Simple Question
Q429251
P106
Q12737077
USER
What do Dominique Desseigne do for a living ?
(Q429251,P106,c(Q12737077))
action filter_type
action find
entity Q429251
relation P106
type Q12737077
['Q429251', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q429251 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Dominique Desseigne
action filter_type
action find
entity Dominique Desseigne
relation occupation
type occupation
['Dominique Desseigne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Dominique_Desseigne property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q43845 Q2961975
SYSTEM
businessperson, business executive
Q43845 Q2961975
(Q429251,P106,c(Q12737077))
action filter_type
action find
entity Q429251
relation P106
type Q12737077
Dominique Desseigne do the [ANSWERS] for a living
['Q429251', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q429251 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
businessperson business executive
Dominique Desseigne do the businessperson and business executive for a living
businessperson business executive
action filter_type
action find
entity Dominique Desseigne
relation occupation
type occupation
['Dominique Desseigne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Dominique_Desseigne property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q429251
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q43845) (c(Q502895),P26,Q2961975)
action filter_type
action find
entity Q429251
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q43845'] [{'concept': 'Q502895'}, 'P26', 'Q2961975']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q429251 property:P26 ?c }
Dominique Desseigne
action filter_type
action find
entity Dominique Desseigne
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'businessperson'] [{'concept': 'common name'}, 'spouse', 'business executive']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Dominique_Desseigne property:spouse ?c }
[]
common name
Q3026177
SYSTEM
Diane Barrière-Desseigne
Q3026177
(c(Q502895),P26,Q43845) (c(Q502895),P26,Q2961975)
action filter_type
action find
entity Q429251
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q43845'] [{'concept': 'Q502895'}, 'P26', 'Q2961975']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q429251 property:P26 ?c }
Diane Barrière-Desseigne
Diane Barrière-Desseigne is married to that one
Diane Barrière-Desseigne
action filter_type
action find
entity Dominique Desseigne
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'businessperson'] [{'concept': 'common name'}, 'spouse', 'business executive']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Dominique_Desseigne property:spouse ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3026177
P26 P21
Q502895
USER
Which people are married to Diane Barrière-Desseigne and are a male ?
AND((c(Q502895),P26,Q3026177), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3026177
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q3026177'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P21 resource:Q6581097 . ?w property:P26 resource:Q3026177 . ?w rdf:type ontology:Q502895 }
male Diane Barrière-Desseigne
action filter_type
action intersection
action find_reverse
entity Diane Barrière-Desseigne
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Diane Barrière-Desseigne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:gender resource:male . ?w property:spouse resource:Diane_Barrière-Desseigne . ?w rdf:type ontology:common_name }
[]
common name
Q429251
SYSTEM
Dominique Desseigne
Q429251
AND((c(Q502895),P26,Q3026177), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3026177
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is married to Diane Barrière-Desseigne and is a male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q3026177'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P21 resource:Q6581097 . ?w property:P26 resource:Q3026177 . ?w rdf:type ontology:Q502895 }
Dominique Desseigne
Dominique Desseigne is married to Diane Barrière-Desseigne and is a male
Dominique Desseigne
action filter_type
action intersection
action find_reverse
entity Diane Barrière-Desseigne
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Diane Barrière-Desseigne'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:gender resource:male . ?w property:spouse resource:Diane_Barrière-Desseigne . ?w rdf:type ontology:common_name }
[]