Simple Question (Direct)
Simple Question
Q15969411
P39
Q12737077
USER
What was the position held by Antoine Trutat ?
(Q15969411,P39,c(Q12737077))
action filter_type
action find
entity Q15969411
relation P39
type Q12737077
['Q15969411', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q15969411 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Antoine Trutat
action filter_type
action find
entity Antoine Trutat
relation position held
type occupation
['Antoine Trutat', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Antoine_Trutat property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q15969411,P39,c(Q12737077))
action filter_type
action find
entity Q15969411
relation P39
type Q12737077
The position held by Antoine Trutat was a member of the French National Assembly
['Q15969411', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q15969411 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Antoine Trutat was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Antoine Trutat
relation position held
type occupation
['Antoine Trutat', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Antoine_Trutat property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15969411
P21
Q290
USER
What is the sex of Antoine Trutat ?
(Q15969411,P21,c(Q290))
action filter_type
action find
entity Q15969411
relation P21
type Q290
['Q15969411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q15969411 property:P21 ?f . ?f rdf:type ontology:Q290 }
Antoine Trutat
action filter_type
action find
entity Antoine Trutat
relation gender
type sex
['Antoine Trutat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Antoine_Trutat property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15969411,P21,c(Q290))
action filter_type
action find
entity Q15969411
relation P21
type Q290
The sex of Antoine Trutat is the [ANSWER]
['Q15969411', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q15969411 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Antoine Trutat is the male
male
action filter_type
action find
entity Antoine Trutat
relation gender
type sex
['Antoine Trutat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Antoine_Trutat property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q9059580 Q15969411
P21
Q290
USER
Or Pietro Spiggia?
OR((Q15969411,P21,c(Q290)), (Q9059580,P21,c(Q290)))
action filter_type
action union
action find
entity Q15969411
relation P21
action find
entity Q9059580
relation P21
type Q290
{'OR': [['Q15969411', 'P21', {'concept': 'Q290'}], ['Q9059580', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { { ?z property:P21 ?d . VALUES ( ?z ) { ( resource:Q15969411 ) ( resource:Q9059580 ) } } . ?d rdf:type ontology:Q290 }
Pietro Spiggia Antoine Trutat
action filter_type
action union
action find
entity Antoine Trutat
relation gender
action find
entity Pietro Spiggia
relation gender
type sex
{'OR': [['Antoine Trutat', 'gender', {'concept': 'sex'}], ['Pietro Spiggia', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { { ?z property:gender ?d . VALUES ( ?z ) { ( resource:Antoine_Trutat ) ( resource:Pietro_Spiggia ) } } . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q15969411,P21,c(Q290)), (Q9059580,P21,c(Q290)))
action filter_type
action union
action find
entity Q15969411
relation P21
action find
entity Q9059580
relation P21
type Q290
[ANSWER]
{'OR': [['Q15969411', 'P21', {'concept': 'Q290'}], ['Q9059580', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { { ?z property:P21 ?d . VALUES ( ?z ) { ( resource:Q15969411 ) ( resource:Q9059580 ) } } . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Antoine Trutat
relation gender
action find
entity Pietro Spiggia
relation gender
type sex
{'OR': [['Antoine Trutat', 'gender', {'concept': 'sex'}], ['Pietro Spiggia', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { { ?z property:gender ?d . VALUES ( ?z ) { ( resource:Antoine_Trutat ) ( resource:Pietro_Spiggia ) } } . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20229 Q9059580
P47 P19
Q15617994
USER
Which administrative territories were Pietro Spiggia born at or are adjacent to Montà ?
OR((Q9059580,P19,c(Q15617994)), (Q20229,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9059580
relation P19
action find
entity Q20229
relation P47
type Q15617994
{'OR': [['Q9059580', 'P19', {'concept': 'Q15617994'}], ['Q20229', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q9059580 property:P19 ?a } UNION { resource:Q20229 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
Montà Pietro Spiggia
action filter_type
action union
action find
entity Pietro Spiggia
relation place of birth
action find
entity Montà
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Pietro Spiggia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Montà', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pietro_Spiggia property:place_of_birth ?a } UNION { resource:Montà property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20488 Q17809 Q17786 Q17876 Q17796 Q10204 Q18394 Q1462
SYSTEM
Santo Stefano Roero, Ferrere, Cellarengo, Valfenera, Cisterna d'Asti, Pralormo, Canale, Sardinia
Q20488 Q17809 Q17786 Q17876 Q17796 Q10204 Q18394 Q1462
OR((Q9059580,P19,c(Q15617994)), (Q20229,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9059580
relation P19
action find
entity Q20229
relation P47
type Q15617994
[ANSWERS] or are adjacent to Montà Pietro Spiggia were born at
{'OR': [['Q9059580', 'P19', {'concept': 'Q15617994'}], ['Q20229', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q9059580 property:P19 ?a } UNION { resource:Q20229 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
Santo Stefano Roero Ferrere Cellarengo Valfenera Cisterna d'Asti Pralormo Canale Sardinia
Santo Stefano Roero, Ferrere, Cellarengo, Valfenera, Cisterna d'Asti, Pralormo, Canale and Sardinia or are adjacent to Montà Pietro Spiggia were born at
Santo Stefano Roero Ferrere Cellarengo Valfenera Cisterna d'Asti Pralormo Canale Sardinia
action filter_type
action union
action find
entity Pietro Spiggia
relation place of birth
action find
entity Montà
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Pietro Spiggia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Montà', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pietro_Spiggia property:place_of_birth ?a } UNION { resource:Montà property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17809
P190
Q15617994
USER
Which administrative territory is a sister city of that one ?
(c(Q15617994),P190,Q17809)
action filter_type
action find
entity Q17809
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q17809']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q17809 property:P190 ?h }
Ferrere
action filter_type
action find
entity Ferrere
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ferrere']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ferrere property:sister_city ?h }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q20488
SYSTEM
Did you mean Santo Stefano Roero ?
Q20488 Q17809 Q17786 Q17876 Q17796 Q10204 Q18394 Q1462
(c(Q15617994),P190,Q20488) (c(Q15617994),P190,Q17809) (c(Q15617994),P190,Q17786) (c(Q15617994),P190,Q17876) (c(Q15617994),P190,Q17796) (c(Q15617994),P190,Q10204) (c(Q15617994),P190,Q18394) (c(Q15617994),P190,Q1462)
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q20488'] [{'concept': 'Q15617994'}, 'P190', 'Q17809'] [{'concept': 'Q15617994'}, 'P190', 'Q17786'] [{'concept': 'Q15617994'}, 'P190', 'Q17876'] [{'concept': 'Q15617994'}, 'P190', 'Q17796'] [{'concept': 'Q15617994'}, 'P190', 'Q10204'] [{'concept': 'Q15617994'}, 'P190', 'Q18394'] [{'concept': 'Q15617994'}, 'P190', 'Q1462']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q17809 property:P190 ?h }
Santo Stefano Roero Ferrere Cellarengo Valfenera Cisterna d'Asti Pralormo Canale Sardinia
Did you mean Santo Stefano Roero ?
Santo Stefano Roero
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Santo Stefano Roero'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ferrere'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Cellarengo'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Valfenera'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', "Cisterna d'Asti"] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Pralormo'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Canale'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Sardinia']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ferrere property:sister_city ?h }
[]
Simple Question (Coreferenced)
USER
No, I meant Ferrere. Could you tell me the answer for that?
(c(Q15617994),P190,Q17809)
Q17809
[{'concept': 'Q15617994'}, 'P190', 'Q17809']
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ferrere']
[]
Q300010
SYSTEM
Predazzo
Q300010
(c(Q15617994),P190,Q17809)
action filter_type
action find
entity Q17809
relation P190
type Q15617994
[ANSWER] is a sister city of that one
[{'concept': 'Q15617994'}, 'P190', 'Q17809']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q17809 property:P190 ?h }
Predazzo
Predazzo is a sister city of that one
Predazzo
action filter_type
action find
entity Ferrere
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Ferrere']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ferrere property:sister_city ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q300010
P190
Q15617994
USER
Which administrative territories are partner town of that one ?
(c(Q15617994),P190,Q300010)
action filter_type
action find
entity Q300010
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q300010']
SELECT DISTINCT ?g WHERE { resource:Q300010 property:P190 ?g . ?g rdf:type ontology:Q15617994 }
Predazzo
action filter_type
action find
entity Predazzo
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Predazzo']
SELECT DISTINCT ?g WHERE { resource:Predazzo property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q285955 Q17809
SYSTEM
Hallbergmoos, Ferrere
Q285955 Q17809
(c(Q15617994),P190,Q300010)
action filter_type
action find
entity Q300010
relation P190
type Q15617994
[ANSWERS] are partner town of that one
[{'concept': 'Q15617994'}, 'P190', 'Q300010']
SELECT DISTINCT ?g WHERE { resource:Q300010 property:P190 ?g . ?g rdf:type ontology:Q15617994 }
Hallbergmoos Ferrere
Hallbergmoos and Ferrere are partner town of that one
Hallbergmoos Ferrere
action filter_type
action find
entity Predazzo
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Predazzo']
SELECT DISTINCT ?g WHERE { resource:Predazzo property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q300010
P17
Q15617994
USER
Which administrative territory is Predazzo situated in ?
(Q300010,P17,c(Q15617994))
action filter_type
action find
entity Q300010
relation P17
type Q15617994
['Q300010', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q300010 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Predazzo
action filter_type
action find
entity Predazzo
relation country
type designation for an administrative territorial entity
['Predazzo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Predazzo property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q300010,P17,c(Q15617994))
action filter_type
action find
entity Q300010
relation P17
type Q15617994
Predazzo is situated in [ANSWER]
['Q300010', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q300010 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Predazzo is situated in Italy
Italy
action filter_type
action find
entity Predazzo
relation country
type designation for an administrative territorial entity
['Predazzo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Predazzo property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]