Simple Question (Direct)
Simple Question
Q16025907
P19
Q20667921
USER
Which french administrative division was Alphonse Labussière born in ?
(Q16025907,P19,c(Q20667921))
action filter_type
action find
entity Q16025907
relation P19
type Q20667921
['Q16025907', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q16025907 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Alphonse Labussière
action filter_type
action find
entity Alphonse Labussière
relation place of birth
type type of french administrative division
['Alphonse Labussière', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alphonse_Labussière property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q259376
SYSTEM
Chantelle
Q259376
(Q16025907,P19,c(Q20667921))
action filter_type
action find
entity Q16025907
relation P19
type Q20667921
Alphonse Labussière was born à [ANSWER]
['Q16025907', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q16025907 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Chantelle
Alphonse Labussière was born à Chantelle
Chantelle
action filter_type
action find
entity Alphonse Labussière
relation place of birth
type type of french administrative division
['Alphonse Labussière', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alphonse_Labussière property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q259376
P1376
Q20667921
USER
Which french administrative division has that one has its first city ?
(Q259376,P1376,c(Q20667921))
action filter_type
action find
entity Q259376
relation P1376
type Q20667921
['Q259376', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q259376 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
Chantelle
action filter_type
action find
entity Chantelle
relation capital of
type type of french administrative division
['Chantelle', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Chantelle property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1709994
SYSTEM
canton of Chantelle
Q1709994
(Q259376,P1376,c(Q20667921))
action filter_type
action find
entity Q259376
relation P1376
type Q20667921
The [ANSWER] has that one has its first city
['Q259376', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q259376 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
canton of Chantelle
The canton of Chantelle has that one has its first city
canton of Chantelle
action filter_type
action find
entity Chantelle
relation capital of
type type of french administrative division
['Chantelle', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Chantelle property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q259376
P21 P20
Q502895
USER
Which people have Chantelle as place of death and are a male ?
AND((c(Q502895),P20,Q259376), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q259376
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q259376'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q259376 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Chantelle
action filter_type
action intersection
action find_reverse
entity Chantelle
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Chantelle'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Chantelle . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q16025907
SYSTEM
Alphonse Labussière
Q16025907
AND((c(Q502895),P20,Q259376), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q259376
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Chantelle as place of death and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q259376'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q259376 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Alphonse Labussière
Alphonse Labussière have Chantelle as place of death and are a male
Alphonse Labussière
action filter_type
action intersection
action find_reverse
entity Chantelle
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Chantelle'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Chantelle . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]