Simple Question (Direct)
Simple Question
Q2271989
P140
Q874405
USER
Which social group does Emmanuel d'Alzon correspond to ?
(Q2271989,P140,c(Q874405))
action filter_type
action find
entity Q2271989
relation P140
type Q874405
['Q2271989', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q2271989 property:P140 ?v . ?v rdf:type ontology:Q874405 }
Emmanuel d'Alzon
action filter_type
action find
entity Emmanuel d'Alzon
relation religion
type social group
["Emmanuel d'Alzon", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Emmanuel_d'Alzon property:religion ?v . ?v rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2271989,P140,c(Q874405))
action filter_type
action find
entity Q2271989
relation P140
type Q874405
Emmanuel d' Alzon corresponds au [ANSWER]
['Q2271989', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q2271989 property:P140 ?v . ?v rdf:type ontology:Q874405 }
Catholicism
Emmanuel d' Alzon corresponds au Catholicism
Catholicism
action filter_type
action find
entity Emmanuel d'Alzon
relation religion
type social group
["Emmanuel d'Alzon", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:Emmanuel_d'Alzon property:religion ?v . ?v rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2271989
P20
Q20667921
USER
Where did that person expire ?
(Q1841,P20,c(Q20667921))
action filter_type
action find
entity Q2271989
relation P20
type Q20667921
['Q1841', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q2271989 property:P20 ?g . ?g rdf:type ontology:Q20667921 }
Emmanuel d'Alzon
action filter_type
action find
entity Emmanuel d'Alzon
relation place of death
type type of french administrative division
['Catholicism', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Emmanuel_d'Alzon property:place_of_death ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q42807
SYSTEM
Nîmes
Q42807
(Q1841,P20,c(Q20667921))
action filter_type
action find
entity Q2271989
relation P20
type Q20667921
That person expired in [ANSWER]
['Q1841', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q2271989 property:P20 ?g . ?g rdf:type ontology:Q20667921 }
Nîmes
That person expired in Nîmes
Nîmes
action filter_type
action find
entity Emmanuel d'Alzon
relation place of death
type type of french administrative division
['Catholicism', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Emmanuel_d'Alzon property:place_of_death ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4163387 Q42807
P19 P190
Q56061
USER
Which administrative territories are twin towns of Nîmes or were Kurt Dobratz born in ?
OR((Q42807,P190,c(Q56061)), (Q4163387,P19,c(Q56061)))
action filter_type
action union
action find
entity Q42807
relation P190
action find
entity Q4163387
relation P19
type Q56061
{'OR': [['Q42807', 'P190', {'concept': 'Q56061'}], ['Q4163387', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q4163387 property:P19 ?z } UNION { resource:Q42807 property:P190 ?z } } . ?z rdf:type ontology:Q56061 }
Kurt Dobratz Nîmes
action filter_type
action union
action find
entity Nîmes
relation sister city
action find
entity Kurt Dobratz
relation place of birth
type administrative territorial entity
{'OR': [['Nîmes', 'sister city', {'concept': 'administrative territorial entity'}], ['Kurt Dobratz', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kurt_Dobratz property:place_of_birth ?z } UNION { resource:Nîmes property:sister_city ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2028 Q178663 Q43301 Q15695 Q5818 Q201051 Q184090 Q241767 Q393 Q1085
SYSTEM
Verona, Meknes, Fresno, Salamanca, Córdoba, Rishon LeZion, Preston, Plasencia, Szczecin, Prague
Q2028 Q178663 Q43301 Q15695 Q5818 Q201051 Q184090 Q241767 Q393 Q1085
OR((Q42807,P190,c(Q56061)), (Q4163387,P19,c(Q56061)))
action filter_type
action union
action find
entity Q42807
relation P190
action find
entity Q4163387
relation P19
type Q56061
[ANSWERS] are twin towns of Nîmes or were Kurt Dobratz born in
{'OR': [['Q42807', 'P190', {'concept': 'Q56061'}], ['Q4163387', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q4163387 property:P19 ?z } UNION { resource:Q42807 property:P190 ?z } } . ?z rdf:type ontology:Q56061 }
Verona Meknes Fresno Salamanca Córdoba Rishon LeZion Preston Plasencia Szczecin Prague
Verona, Meknes, Fresno, Salamanca, Córdoba, Rishon LeZion, Preston, Plasencia, Szczecin and Prague are twin towns of Nîmes or were Kurt Dobratz born in
Verona Meknes Fresno Salamanca Córdoba Rishon LeZion Preston Plasencia Szczecin Prague
action filter_type
action union
action find
entity Nîmes
relation sister city
action find
entity Kurt Dobratz
relation place of birth
type administrative territorial entity
{'OR': [['Nîmes', 'sister city', {'concept': 'administrative territorial entity'}], ['Kurt Dobratz', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kurt_Dobratz property:place_of_birth ?z } UNION { resource:Nîmes property:sister_city ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q393
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
(Q393,P237,c(Q17335294))
action filter_type
action find
entity Q393
relation P237
type Q17335294
['Q393', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?v WHERE { resource:Q393 property:P237 ?v . ?v rdf:type ontology:Q17335294 }
Szczecin
action filter_type
action find
entity Szczecin
relation coat of arms
type flag or coat of arms
['Szczecin', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?v WHERE { resource:Szczecin property:coat_of_arms ?v . ?v rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Clarification for simple ques.
Q184090
SYSTEM
Did you mean Preston ?
Q2028 Q178663 Q43301 Q15695 Q5818 Q201051 Q184090 Q241767 Q393 Q1085
(Q2028,P237,c(Q17335294)) (Q178663,P237,c(Q17335294)) (Q43301,P237,c(Q17335294)) (Q15695,P237,c(Q17335294)) (Q5818,P237,c(Q17335294)) (Q201051,P237,c(Q17335294)) (Q184090,P237,c(Q17335294)) (Q241767,P237,c(Q17335294)) (Q393,P237,c(Q17335294)) (Q1085,P237,c(Q17335294))
[ANSWER]
['Q2028', 'P237', {'concept': 'Q17335294'}] ['Q178663', 'P237', {'concept': 'Q17335294'}] ['Q43301', 'P237', {'concept': 'Q17335294'}] ['Q15695', 'P237', {'concept': 'Q17335294'}] ['Q5818', 'P237', {'concept': 'Q17335294'}] ['Q201051', 'P237', {'concept': 'Q17335294'}] ['Q184090', 'P237', {'concept': 'Q17335294'}] ['Q241767', 'P237', {'concept': 'Q17335294'}] ['Q393', 'P237', {'concept': 'Q17335294'}] ['Q1085', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?v WHERE { resource:Q393 property:P237 ?v . ?v rdf:type ontology:Q17335294 }
Verona Meknes Fresno Salamanca Córdoba Rishon LeZion Preston Plasencia Szczecin Prague
Did you mean Preston ?
Preston
['Verona', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Meknes', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Fresno', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Salamanca', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Córdoba', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Rishon LeZion', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Preston', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Plasencia', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Szczecin', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Prague', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?v WHERE { resource:Szczecin property:coat_of_arms ?v . ?v rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
USER
No, I meant Szczecin. Could you tell me the answer for that?
(Q393,P237,c(Q17335294))
Q393
['Q393', 'P237', {'concept': 'Q17335294'}]
['Szczecin', 'coat of arms', {'concept': 'flag or coat of arms'}]
[]
Q11709347
SYSTEM
coat of arms of Szczecin
Q11709347
(Q393,P237,c(Q17335294))
action filter_type
action find
entity Q393
relation P237
type Q17335294
The [ANSWER] serves as the ensign for that administrative territory
['Q393', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?v WHERE { resource:Q393 property:P237 ?v . ?v rdf:type ontology:Q17335294 }
coat of arms of Szczecin
The coat of arms of Szczecin serves as the ensign for that administrative territory
coat of arms of Szczecin
action filter_type
action find
entity Szczecin
relation coat of arms
type flag or coat of arms
['Szczecin', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?v WHERE { resource:Szczecin property:coat_of_arms ?v . ?v rdf:type ontology:flag_or_coat_of_arms }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11709347 Q265003 Q36
P17
Q15617994
USER
Is coat of arms of Szczecin located in Castelnuovo, Trentino and Poland ?
(Q11709347,P17,Q265003) (Q11709347,P17,Q36)
action is_in
entity Q11709347
action intersection
action find_reverse
entity Q265003
relation P17
action find_reverse
entity Q36
relation P17
['Q11709347', 'P17', 'Q265003'] ['Q11709347', 'P17', 'Q36']
ASK WHERE { resource:Q11709347 property:P17 resource:Q265003 . resource:Q11709347 property:P17 resource:Q36 }
coat of arms of Szczecin Castelnuovo, Trentino Poland
action is_in
entity coat of arms of Szczecin
action intersection
action find_reverse
entity Castelnuovo, Trentino
relation country
action find_reverse
entity Poland
relation country
['coat of arms of Szczecin', 'country', 'Castelnuovo, Trentino'] ['coat of arms of Szczecin', 'country', 'Poland']
ASK WHERE { resource:coat_of_arms_of_Szczecin property:country resource:Castelnuovo,_Trentino . resource:coat_of_arms_of_Szczecin property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q11709347,P17,Q265003) (Q11709347,P17,Q36)
action is_in
entity Q11709347
action intersection
action find_reverse
entity Q265003
relation P17
action find_reverse
entity Q36
relation P17
[ANSWER]
['Q11709347', 'P17', 'Q265003'] ['Q11709347', 'P17', 'Q36']
ASK WHERE { resource:Q11709347 property:P17 resource:Q265003 . resource:Q11709347 property:P17 resource:Q36 }
NO and YES respectively
action is_in
entity coat of arms of Szczecin
action intersection
action find_reverse
entity Castelnuovo, Trentino
relation country
action find_reverse
entity Poland
relation country
['coat of arms of Szczecin', 'country', 'Castelnuovo, Trentino'] ['coat of arms of Szczecin', 'country', 'Poland']
ASK WHERE { resource:coat_of_arms_of_Szczecin property:country resource:Castelnuovo,_Trentino . resource:coat_of_arms_of_Szczecin property:country resource:Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1085
P1376
Q2221906 Q1048835
USER
How many geographic locations or political territories have Prague as their county seat ?
(Q1085,P1376,c(Q2221906)) (Q1085,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1085
relation P1376
type Q2221906
action filter_type
action find
entity Q1085
relation P1376
type Q1048835
['Q1085', 'P1376', {'concept': 'Q2221906'}] ['Q1085', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c rdf:type ontology:Q1048835 . resource:Q1085 property:P1376 ?c } UNION { resource:Q1085 property:P1376 ?c . ?c rdf:type ontology:Q2221906 } }
Prague
action count
action union
action filter_type
action find
entity Prague
relation capital of
type geographic location
action filter_type
action find
entity Prague
relation capital of
type political territorial entity
['Prague', 'capital of', {'concept': 'geographic location'}] ['Prague', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c rdf:type ontology:political_territorial_entity . resource:Prague property:capital_of ?c } UNION { resource:Prague property:capital_of ?c . ?c rdf:type ontology:geographic_location } }
[]
geographic location political territorial entity
SYSTEM
2
Q39193 Q188399
(Q1085,P1376,c(Q2221906)) (Q1085,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1085
relation P1376
type Q2221906
action filter_type
action find
entity Q1085
relation P1376
type Q1048835
[ANSWER]
['Q1085', 'P1376', {'concept': 'Q2221906'}] ['Q1085', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c rdf:type ontology:Q1048835 . resource:Q1085 property:P1376 ?c } UNION { resource:Q1085 property:P1376 ?c . ?c rdf:type ontology:Q2221906 } }
Bohemia Central Bohemian Region
2
action count
action union
action filter_type
action find
entity Prague
relation capital of
type geographic location
action filter_type
action find
entity Prague
relation capital of
type political territorial entity
['Prague', 'capital of', {'concept': 'geographic location'}] ['Prague', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c rdf:type ontology:political_territorial_entity . resource:Prague property:capital_of ?c } UNION { resource:Prague property:capital_of ?c . ?c rdf:type ontology:geographic_location } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2271989 Q20676794 Q4217992
P22
Q502895
USER
Does Emmanuel d'Alzon have Beka Gorgadze and John Cacioppo as a parent ?
(Q2271989,P22,Q20676794) (Q2271989,P22,Q4217992)
action is_in
entity Q2271989
action intersection
action find_reverse
entity Q20676794
relation P22
action find_reverse
entity Q4217992
relation P22
['Q2271989', 'P22', 'Q20676794'] ['Q2271989', 'P22', 'Q4217992']
ASK WHERE { resource:Q2271989 property:P22 resource:Q20676794 . resource:Q2271989 property:P22 resource:Q4217992 }
Emmanuel d'Alzon Beka Gorgadze John Cacioppo
action is_in
entity Emmanuel d'Alzon
action intersection
action find_reverse
entity Beka Gorgadze
relation father
action find_reverse
entity John Cacioppo
relation father
["Emmanuel d'Alzon", 'father', 'Beka Gorgadze'] ["Emmanuel d'Alzon", 'father', 'John Cacioppo']
ASK WHERE { resource:Emmanuel_d'Alzon property:father resource:Beka_Gorgadze . resource:Emmanuel_d'Alzon property:father resource:John_Cacioppo }
[]
common name
SYSTEM
NO
(Q2271989,P22,Q20676794) (Q2271989,P22,Q4217992)
action is_in
entity Q2271989
action intersection
action find_reverse
entity Q20676794
relation P22
action find_reverse
entity Q4217992
relation P22
[ANSWER]
['Q2271989', 'P22', 'Q20676794'] ['Q2271989', 'P22', 'Q4217992']
ASK WHERE { resource:Q2271989 property:P22 resource:Q20676794 . resource:Q2271989 property:P22 resource:Q4217992 }
No
action is_in
entity Emmanuel d'Alzon
action intersection
action find_reverse
entity Beka Gorgadze
relation father
action find_reverse
entity John Cacioppo
relation father
["Emmanuel d'Alzon", 'father', 'Beka Gorgadze'] ["Emmanuel d'Alzon", 'father', 'John Cacioppo']
ASK WHERE { resource:Emmanuel_d'Alzon property:father resource:Beka_Gorgadze . resource:Emmanuel_d'Alzon property:father resource:John_Cacioppo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5818 Q4941696
P190
Q56061
USER
Is Boneh Karuk sister town of Córdoba ?
(Q5818,P190,Q4941696)
action is_in
entity Q4941696
action find
entity Q5818
relation P190
['Q5818', 'P190', 'Q4941696']
ASK WHERE { resource:Q5818 property:P190 resource:Q4941696 }
Córdoba Boneh Karuk
action is_in
entity Boneh Karuk
action find
entity Córdoba
relation sister city
['Córdoba', 'sister city', 'Boneh Karuk']
ASK WHERE { resource:Córdoba property:sister_city resource:Boneh_Karuk }
[]
administrative territorial entity
SYSTEM
NO
(Q5818,P190,Q4941696)
action is_in
entity Q4941696
action find
entity Q5818
relation P190
[ANSWER]
['Q5818', 'P190', 'Q4941696']
ASK WHERE { resource:Q5818 property:P190 resource:Q4941696 }
No
action is_in
entity Boneh Karuk
action find
entity Córdoba
relation sister city
['Córdoba', 'sister city', 'Boneh Karuk']
ASK WHERE { resource:Córdoba property:sister_city resource:Boneh_Karuk }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15695 Q42807
P190
Q20667921
USER
Is Nîmes twin city of Salamanca ?
(Q15695,P190,Q42807)
action is_in
entity Q42807
action find
entity Q15695
relation P190
['Q15695', 'P190', 'Q42807']
ASK WHERE { resource:Q15695 property:P190 resource:Q42807 }
Salamanca Nîmes
action is_in
entity Nîmes
action find
entity Salamanca
relation sister city
['Salamanca', 'sister city', 'Nîmes']
ASK WHERE { resource:Salamanca property:sister_city resource:Nîmes }
[]
type of french administrative division
SYSTEM
YES
(Q15695,P190,Q42807)
action is_in
entity Q42807
action find
entity Q15695
relation P190
[ANSWER]
['Q15695', 'P190', 'Q42807']
ASK WHERE { resource:Q15695 property:P190 resource:Q42807 }
Yes
action is_in
entity Nîmes
action find
entity Salamanca
relation sister city
['Salamanca', 'sister city', 'Nîmes']
ASK WHERE { resource:Salamanca property:sister_city resource:Nîmes }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2028 Q38
P17
Q15617994
USER
Is Verona situated in Italy ?
(Q2028,P17,Q38)
action is_in
entity Q38
action find
entity Q2028
relation P17
['Q2028', 'P17', 'Q38']
ASK WHERE { resource:Q2028 property:P17 resource:Q38 }
Verona Italy
action is_in
entity Italy
action find
entity Verona
relation country
['Verona', 'country', 'Italy']
ASK WHERE { resource:Verona property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2028,P17,Q38)
action is_in
entity Q38
action find
entity Q2028
relation P17
[ANSWER]
['Q2028', 'P17', 'Q38']
ASK WHERE { resource:Q2028 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Verona
relation country
['Verona', 'country', 'Italy']
ASK WHERE { resource:Verona property:country resource:Italy }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13660 Q5818
P190
Q20667921
USER
Which french administrative divisions are twin cities of Córdoba or Carbonia ?
OR((Q5818,P190,c(Q20667921)), (Q13660,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q5818
relation P190
action find
entity Q13660
relation P190
type Q20667921
{'OR': [['Q5818', 'P190', {'concept': 'Q20667921'}], ['Q13660', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Q5818 ) ( resource:Q13660 ) } . ?z property:P190 ?w } . ?w rdf:type ontology:Q20667921 }
Carbonia Córdoba
action filter_type
action union
action find
entity Córdoba
relation sister city
action find
entity Carbonia
relation sister city
type type of french administrative division
{'OR': [['Córdoba', 'sister city', {'concept': 'type of french administrative division'}], ['Carbonia', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Córdoba ) ( resource:Carbonia ) } . ?z property:sister_city ?w } . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q133069 Q42807 Q160506 Q21777
SYSTEM
Bourg-en-Bresse, Nîmes, Saint-Denis, Behren-lès-Forbach
Q133069 Q42807 Q160506 Q21777
OR((Q5818,P190,c(Q20667921)), (Q13660,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q5818
relation P190
action find
entity Q13660
relation P190
type Q20667921
[ANSWERS] are twin cities of Córdoba or Carbonia
{'OR': [['Q5818', 'P190', {'concept': 'Q20667921'}], ['Q13660', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Q5818 ) ( resource:Q13660 ) } . ?z property:P190 ?w } . ?w rdf:type ontology:Q20667921 }
Bourg-en-Bresse Nîmes Saint-Denis Behren-lès-Forbach
Bourg-en-Bresse, Nîmes, Saint-Denis and Behren-lès-Forbach are twin cities of Córdoba or Carbonia
Bourg-en-Bresse Nîmes Saint-Denis Behren-lès-Forbach
action filter_type
action union
action find
entity Córdoba
relation sister city
action find
entity Carbonia
relation sister city
type type of french administrative division
{'OR': [['Córdoba', 'sister city', {'concept': 'type of french administrative division'}], ['Carbonia', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Córdoba ) ( resource:Carbonia ) } . ?z property:sister_city ?w } . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21777
P36
Q20667921
USER
Which french administrative division is that one the capital of ?
(c(Q20667921),P36,Q21777)
action filter_type
action find_reverse
entity Q21777
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q21777']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q21777 . ?o rdf:type ontology:Q20667921 }
Behren-lès-Forbach
action filter_type
action find_reverse
entity Behren-lès-Forbach
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Behren-lès-Forbach']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Behren-lès-Forbach . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q42807
SYSTEM
Did you mean Nîmes ?
Q133069 Q42807 Q160506 Q21777
(c(Q20667921),P36,Q133069) (c(Q20667921),P36,Q42807) (c(Q20667921),P36,Q160506) (c(Q20667921),P36,Q21777)
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q133069'] [{'concept': 'Q20667921'}, 'P36', 'Q42807'] [{'concept': 'Q20667921'}, 'P36', 'Q160506'] [{'concept': 'Q20667921'}, 'P36', 'Q21777']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q21777 . ?o rdf:type ontology:Q20667921 }
Bourg-en-Bresse Nîmes Saint-Denis Behren-lès-Forbach
Did you mean Nîmes ?
Nîmes
[{'concept': 'type of french administrative division'}, 'capital', 'Bourg-en-Bresse'] [{'concept': 'type of french administrative division'}, 'capital', 'Nîmes'] [{'concept': 'type of french administrative division'}, 'capital', 'Saint-Denis'] [{'concept': 'type of french administrative division'}, 'capital', 'Behren-lès-Forbach']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Behren-lès-Forbach . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Behren-lès-Forbach. Could you tell me the answer for that?
(c(Q20667921),P36,Q21777)
Q21777
[{'concept': 'Q20667921'}, 'P36', 'Q21777']
[{'concept': 'type of french administrative division'}, 'capital', 'Behren-lès-Forbach']
[]
Q514402
SYSTEM
canton of Behren-lès-Forbach
Q514402
(c(Q20667921),P36,Q21777)
action filter_type
action find_reverse
entity Q21777
relation P36
type Q20667921
The [ANSWER] is that one the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q21777']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q21777 . ?o rdf:type ontology:Q20667921 }
canton of Behren-lès-Forbach
The canton of Behren-lès-Forbach is that one the capital of
canton of Behren-lès-Forbach
action filter_type
action find_reverse
entity Behren-lès-Forbach
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Behren-lès-Forbach']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Behren-lès-Forbach . ?o rdf:type ontology:type_of_french_administrative_division }
[]