Simple Question (Direct)
Simple Question
Q861008
P21
Q290
USER
Which sex does Félix Paiva have ?
(Q861008,P21,c(Q290))
action filter_type
action find
entity Q861008
relation P21
type Q290
['Q861008', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q861008 property:P21 ?y . ?y rdf:type ontology:Q290 }
Félix Paiva
action filter_type
action find
entity Félix Paiva
relation gender
type sex
['Félix Paiva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Félix_Paiva property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q861008,P21,c(Q290))
action filter_type
action find
entity Q861008
relation P21
type Q290
Félix Paiva has a [ANSWER]
['Q861008', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q861008 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Félix Paiva has a male
male
action filter_type
action find
entity Félix Paiva
relation gender
type sex
['Félix Paiva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Félix_Paiva property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q861008
P20
Q13220204
USER
Where did that person die ?
(Q6581097,P20,c(Q13220204))
action filter_type
action find
entity Q861008
relation P20
type Q13220204
['Q6581097', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q861008 property:P20 ?d . ?d rdf:type ontology:Q13220204 }
Félix Paiva
action filter_type
action find
entity Félix Paiva
relation place of death
type second-level administrative country subdivision
['male', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Félix_Paiva property:place_of_death ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2933
SYSTEM
Asunción
Q2933
(Q6581097,P20,c(Q13220204))
action filter_type
action find
entity Q861008
relation P20
type Q13220204
That person died in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?d WHERE { resource:Q861008 property:P20 ?d . ?d rdf:type ontology:Q13220204 }
Asunción
That person died in Asunción
Asunción
action filter_type
action find
entity Félix Paiva
relation place of death
type second-level administrative country subdivision
['male', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?d WHERE { resource:Félix_Paiva property:place_of_death ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2933
P551
Q502895
USER
Who reside at that administrative country subdivision ?
(c(Q502895),P551,Q2933)
action filter_type
action find_reverse
entity Q2933
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q2933']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q2933 . ?y rdf:type ontology:Q502895 }
Asunción
action filter_type
action find_reverse
entity Asunción
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Asunción']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Asunción . ?y rdf:type ontology:common_name }
[]
common name
Q470395 Q2057620 Q438508
SYSTEM
Arsenio Erico, Ignacio Achúcarro, Verónica Cepede Royg
Q470395 Q438508 Q715523 Q2057620
(c(Q502895),P551,Q2933)
action filter_type
action find_reverse
entity Q2933
relation P551
type Q502895
[ANSWERS] reside at that administrative country subdivision
[{'concept': 'Q502895'}, 'P551', 'Q2933']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q2933 . ?y rdf:type ontology:Q502895 }
Arsenio Erico Verónica Cepede Royg Víctor Pecci Ignacio Achúcarro
Arsenio Erico, Ignacio Achúcarro and Verónica Cepede Royg reside at that administrative country subdivision
Arsenio Erico Ignacio Achúcarro Verónica Cepede Royg
action filter_type
action find_reverse
entity Asunción
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Asunción']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Asunción . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q372261 Q2933
P190
Q56061
USER
Which administrative territories are the sister cities of Asunción or Ravanusa ?
OR((Q2933,P190,c(Q56061)), (Q372261,P190,c(Q56061)))
action filter_type
action union
action find
entity Q2933
relation P190
action find
entity Q372261
relation P190
type Q56061
{'OR': [['Q2933', 'P190', {'concept': 'Q56061'}], ['Q372261', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2933 property:P190 ?l } UNION { resource:Q372261 property:P190 ?l } } . ?l rdf:type ontology:Q56061 }
Ravanusa Asunción
action filter_type
action union
action find
entity Asunción
relation sister city
action find
entity Ravanusa
relation sister city
type administrative territorial entity
{'OR': [['Asunción', 'sister city', {'concept': 'administrative territorial entity'}], ['Ravanusa', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Asunción property:sister_city ?l } UNION { resource:Ravanusa property:sister_city ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3561 Q1867 Q616258 Q4361 Q2807 Q214173 Q518431 Q34820 Q174 Q44206
SYSTEM
Some of them are Algiers, Taipei, Sulzbach/Saar, Curitiba, Madrid, Trujillo, Chimbote, Santo Domingo, São Paulo, Resistencia
Q214173 Q174 Q518431 Q34820 Q3561 Q2807 Q1867 Q52535 Q4361 Q44206 Q616258 Q44059
OR((Q2933,P190,c(Q56061)), (Q372261,P190,c(Q56061)))
action filter_type
action union
action find
entity Q2933
relation P190
action find
entity Q372261
relation P190
type Q56061
[ANSWERS] are the sister cities of Asunción or Ravanusa
{'OR': [['Q2933', 'P190', {'concept': 'Q56061'}], ['Q372261', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2933 property:P190 ?l } UNION { resource:Q372261 property:P190 ?l } } . ?l rdf:type ontology:Q56061 }
Trujillo São Paulo Chimbote Santo Domingo Algiers Madrid Taipei Rosario Curitiba Resistencia Sulzbach/Saar La Plata
Algiers, Taipei, Sulzbach/Saar, Curitiba, Madrid, Trujillo, Chimbote, Santo Domingo, São Paulo and Resistencia are the sister cities of Asunción or Ravanusa
Algiers Taipei Sulzbach/Saar Curitiba Madrid Trujillo Chimbote Santo Domingo São Paulo Resistencia
action filter_type
action union
action find
entity Asunción
relation sister city
action find
entity Ravanusa
relation sister city
type administrative territorial entity
{'OR': [['Asunción', 'sister city', {'concept': 'administrative territorial entity'}], ['Ravanusa', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Asunción property:sister_city ?l } UNION { resource:Ravanusa property:sister_city ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q515
USER
How many administrative territories or cities are partner town of that administrative territory ?
(c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q3561) (c(Q515),P190,Q3561) (c(Q56061),P190,Q1867) (c(Q515),P190,Q1867) (c(Q56061),P190,Q616258) (c(Q515),P190,Q616258) (c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q2807) (c(Q515),P190,Q2807) (c(Q56061),P190,Q214173) (c(Q515),P190,Q214173) (c(Q56061),P190,Q518431) (c(Q515),P190,Q518431) (c(Q56061),P190,Q34820) (c(Q515),P190,Q34820) (c(Q56061),P190,Q174) (c(Q515),P190,Q174) (c(Q56061),P190,Q44206) (c(Q515),P190,Q44206)
[{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q3561'] [{'concept': 'Q515'}, 'P190', 'Q3561'] [{'concept': 'Q56061'}, 'P190', 'Q1867'] [{'concept': 'Q515'}, 'P190', 'Q1867'] [{'concept': 'Q56061'}, 'P190', 'Q616258'] [{'concept': 'Q515'}, 'P190', 'Q616258'] [{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q2807'] [{'concept': 'Q515'}, 'P190', 'Q2807'] [{'concept': 'Q56061'}, 'P190', 'Q214173'] [{'concept': 'Q515'}, 'P190', 'Q214173'] [{'concept': 'Q56061'}, 'P190', 'Q518431'] [{'concept': 'Q515'}, 'P190', 'Q518431'] [{'concept': 'Q56061'}, 'P190', 'Q34820'] [{'concept': 'Q515'}, 'P190', 'Q34820'] [{'concept': 'Q56061'}, 'P190', 'Q174'] [{'concept': 'Q515'}, 'P190', 'Q174'] [{'concept': 'Q56061'}, 'P190', 'Q44206'] [{'concept': 'Q515'}, 'P190', 'Q44206']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q1414527 } UNION { ?y property:P190 resource:Q1414527 } UNION { ?z property:P190 resource:Q7676262 } UNION { ?y property:P190 resource:Q7676262 } UNION { ?z property:P190 resource:Q616258 } UNION { ?y property:P190 resource:Q616258 } UNION { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q66470 } UNION { ?y property:P190 resource:Q66470 } UNION { ?z property:P190 resource:Q202068 } UNION { ?y property:P190 resource:Q202068 } UNION { ?z property:P190 resource:Q518431 } UNION { ?y property:P190 resource:Q518431 } UNION { ?z property:P190 resource:Q20018155 } UNION { ?y property:P190 resource:Q20018155 } UNION { ?z property:P190 resource:Q2331485 } UNION { ?y property:P190 resource:Q2331485 } UNION { ?z property:P190 resource:Q7315630 } UNION { ?y property:P190 resource:Q7315630 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
[{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Algiers'] [{'concept': 'city'}, 'sister city', 'Algiers'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Taipei'] [{'concept': 'city'}, 'sister city', 'Taipei'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'city'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Madrid'] [{'concept': 'city'}, 'sister city', 'Madrid'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Trujillo'] [{'concept': 'city'}, 'sister city', 'Trujillo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Chimbote'] [{'concept': 'city'}, 'sister city', 'Chimbote'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Santo Domingo'] [{'concept': 'city'}, 'sister city', 'Santo Domingo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'São Paulo'] [{'concept': 'city'}, 'sister city', 'São Paulo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Resistencia'] [{'concept': 'city'}, 'sister city', 'Resistencia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Algiers } UNION { ?y property:sister_city resource:Algiers } UNION { ?z property:sister_city resource:Taipei } UNION { ?y property:sister_city resource:Taipei } UNION { ?z property:sister_city resource:Sulzbach/Saar } UNION { ?y property:sister_city resource:Sulzbach/Saar } UNION { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Madrid } UNION { ?y property:sister_city resource:Madrid } UNION { ?z property:sister_city resource:Trujillo } UNION { ?y property:sister_city resource:Trujillo } UNION { ?z property:sister_city resource:Chimbote } UNION { ?y property:sister_city resource:Chimbote } UNION { ?z property:sister_city resource:Santo_Domingo } UNION { ?y property:sister_city resource:Santo_Domingo } UNION { ?z property:sister_city resource:São_Paulo } UNION { ?y property:sister_city resource:São_Paulo } UNION { ?z property:sister_city resource:Resistencia } UNION { ?y property:sister_city resource:Resistencia } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
administrative territorial entity city
Quantitative|Count|Mult. entity type|Clarification
Q44206
SYSTEM
Did you mean Resistencia ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q1414527 } UNION { ?y property:P190 resource:Q1414527 } UNION { ?z property:P190 resource:Q7676262 } UNION { ?y property:P190 resource:Q7676262 } UNION { ?z property:P190 resource:Q616258 } UNION { ?y property:P190 resource:Q616258 } UNION { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q66470 } UNION { ?y property:P190 resource:Q66470 } UNION { ?z property:P190 resource:Q202068 } UNION { ?y property:P190 resource:Q202068 } UNION { ?z property:P190 resource:Q518431 } UNION { ?y property:P190 resource:Q518431 } UNION { ?z property:P190 resource:Q20018155 } UNION { ?y property:P190 resource:Q20018155 } UNION { ?z property:P190 resource:Q2331485 } UNION { ?y property:P190 resource:Q2331485 } UNION { ?z property:P190 resource:Q7315630 } UNION { ?y property:P190 resource:Q7315630 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Did you mean Resistencia ?
Resistencia
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Algiers } UNION { ?y property:sister_city resource:Algiers } UNION { ?z property:sister_city resource:Taipei } UNION { ?y property:sister_city resource:Taipei } UNION { ?z property:sister_city resource:Sulzbach/Saar } UNION { ?y property:sister_city resource:Sulzbach/Saar } UNION { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Madrid } UNION { ?y property:sister_city resource:Madrid } UNION { ?z property:sister_city resource:Trujillo } UNION { ?y property:sister_city resource:Trujillo } UNION { ?z property:sister_city resource:Chimbote } UNION { ?y property:sister_city resource:Chimbote } UNION { ?z property:sister_city resource:Santo_Domingo } UNION { ?y property:sister_city resource:Santo_Domingo } UNION { ?z property:sister_city resource:São_Paulo } UNION { ?y property:sister_city resource:São_Paulo } UNION { ?z property:sister_city resource:Resistencia } UNION { ?y property:sister_city resource:Resistencia } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Curitiba. Could you tell me the answer for that?
(c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q3561) (c(Q515),P190,Q3561) (c(Q56061),P190,Q1867) (c(Q515),P190,Q1867) (c(Q56061),P190,Q616258) (c(Q515),P190,Q616258) (c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q2807) (c(Q515),P190,Q2807) (c(Q56061),P190,Q214173) (c(Q515),P190,Q214173) (c(Q56061),P190,Q518431) (c(Q515),P190,Q518431) (c(Q56061),P190,Q34820) (c(Q515),P190,Q34820) (c(Q56061),P190,Q174) (c(Q515),P190,Q174) (c(Q56061),P190,Q44206) (c(Q515),P190,Q44206)
Q4361
[{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q3561'] [{'concept': 'Q515'}, 'P190', 'Q3561'] [{'concept': 'Q56061'}, 'P190', 'Q1867'] [{'concept': 'Q515'}, 'P190', 'Q1867'] [{'concept': 'Q56061'}, 'P190', 'Q616258'] [{'concept': 'Q515'}, 'P190', 'Q616258'] [{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q2807'] [{'concept': 'Q515'}, 'P190', 'Q2807'] [{'concept': 'Q56061'}, 'P190', 'Q214173'] [{'concept': 'Q515'}, 'P190', 'Q214173'] [{'concept': 'Q56061'}, 'P190', 'Q518431'] [{'concept': 'Q515'}, 'P190', 'Q518431'] [{'concept': 'Q56061'}, 'P190', 'Q34820'] [{'concept': 'Q515'}, 'P190', 'Q34820'] [{'concept': 'Q56061'}, 'P190', 'Q174'] [{'concept': 'Q515'}, 'P190', 'Q174'] [{'concept': 'Q56061'}, 'P190', 'Q44206'] [{'concept': 'Q515'}, 'P190', 'Q44206']
[{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Algiers'] [{'concept': 'city'}, 'sister city', 'Algiers'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Taipei'] [{'concept': 'city'}, 'sister city', 'Taipei'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'city'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Madrid'] [{'concept': 'city'}, 'sister city', 'Madrid'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Trujillo'] [{'concept': 'city'}, 'sister city', 'Trujillo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Chimbote'] [{'concept': 'city'}, 'sister city', 'Chimbote'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Santo Domingo'] [{'concept': 'city'}, 'sister city', 'Santo Domingo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'São Paulo'] [{'concept': 'city'}, 'sister city', 'São Paulo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Resistencia'] [{'concept': 'city'}, 'sister city', 'Resistencia']
[]
SYSTEM
16
Q44210 Q20714 Q29042 Q49233 Q1748 Q125434 Q34820 Q170688 Q5468 Q456 Q45412 Q1335 Q16568 Q5818 Q209801 Q54108
(c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q3561) (c(Q515),P190,Q3561) (c(Q56061),P190,Q1867) (c(Q515),P190,Q1867) (c(Q56061),P190,Q616258) (c(Q515),P190,Q616258) (c(Q56061),P190,Q4361) (c(Q515),P190,Q4361) (c(Q56061),P190,Q2807) (c(Q515),P190,Q2807) (c(Q56061),P190,Q214173) (c(Q515),P190,Q214173) (c(Q56061),P190,Q518431) (c(Q515),P190,Q518431) (c(Q56061),P190,Q34820) (c(Q515),P190,Q34820) (c(Q56061),P190,Q174) (c(Q515),P190,Q174) (c(Q56061),P190,Q44206) (c(Q515),P190,Q44206)
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q3561'] [{'concept': 'Q515'}, 'P190', 'Q3561'] [{'concept': 'Q56061'}, 'P190', 'Q1867'] [{'concept': 'Q515'}, 'P190', 'Q1867'] [{'concept': 'Q56061'}, 'P190', 'Q616258'] [{'concept': 'Q515'}, 'P190', 'Q616258'] [{'concept': 'Q56061'}, 'P190', 'Q4361'] [{'concept': 'Q515'}, 'P190', 'Q4361'] [{'concept': 'Q56061'}, 'P190', 'Q2807'] [{'concept': 'Q515'}, 'P190', 'Q2807'] [{'concept': 'Q56061'}, 'P190', 'Q214173'] [{'concept': 'Q515'}, 'P190', 'Q214173'] [{'concept': 'Q56061'}, 'P190', 'Q518431'] [{'concept': 'Q515'}, 'P190', 'Q518431'] [{'concept': 'Q56061'}, 'P190', 'Q34820'] [{'concept': 'Q515'}, 'P190', 'Q34820'] [{'concept': 'Q56061'}, 'P190', 'Q174'] [{'concept': 'Q515'}, 'P190', 'Q174'] [{'concept': 'Q56061'}, 'P190', 'Q44206'] [{'concept': 'Q515'}, 'P190', 'Q44206']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q1414527 } UNION { ?y property:P190 resource:Q1414527 } UNION { ?z property:P190 resource:Q7676262 } UNION { ?y property:P190 resource:Q7676262 } UNION { ?z property:P190 resource:Q616258 } UNION { ?y property:P190 resource:Q616258 } UNION { ?z property:P190 resource:Q1849088 } UNION { ?y property:P190 resource:Q1849088 } UNION { ?z property:P190 resource:Q66470 } UNION { ?y property:P190 resource:Q66470 } UNION { ?z property:P190 resource:Q202068 } UNION { ?y property:P190 resource:Q202068 } UNION { ?z property:P190 resource:Q518431 } UNION { ?y property:P190 resource:Q518431 } UNION { ?z property:P190 resource:Q20018155 } UNION { ?y property:P190 resource:Q20018155 } UNION { ?z property:P190 resource:Q2331485 } UNION { ?y property:P190 resource:Q2331485 } UNION { ?z property:P190 resource:Q7315630 } UNION { ?y property:P190 resource:Q7315630 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7930989 }
Córdoba Suwon Akureyri Orlando Copenhagen Port Elizabeth Santo Domingo Santa Cruz Durban Lyon Coimbra Montevideo Jacksonville Córdoba Himeji Bahía Blanca
16
[{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Algiers'] [{'concept': 'city'}, 'sister city', 'Algiers'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Taipei'] [{'concept': 'city'}, 'sister city', 'Taipei'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'city'}, 'sister city', 'Sulzbach/Saar'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Curitiba'] [{'concept': 'city'}, 'sister city', 'Curitiba'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Madrid'] [{'concept': 'city'}, 'sister city', 'Madrid'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Trujillo'] [{'concept': 'city'}, 'sister city', 'Trujillo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Chimbote'] [{'concept': 'city'}, 'sister city', 'Chimbote'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Santo Domingo'] [{'concept': 'city'}, 'sister city', 'Santo Domingo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'São Paulo'] [{'concept': 'city'}, 'sister city', 'São Paulo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Resistencia'] [{'concept': 'city'}, 'sister city', 'Resistencia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Algiers } UNION { ?y property:sister_city resource:Algiers } UNION { ?z property:sister_city resource:Taipei } UNION { ?y property:sister_city resource:Taipei } UNION { ?z property:sister_city resource:Sulzbach/Saar } UNION { ?y property:sister_city resource:Sulzbach/Saar } UNION { ?z property:sister_city resource:Curitiba } UNION { ?y property:sister_city resource:Curitiba } UNION { ?z property:sister_city resource:Madrid } UNION { ?y property:sister_city resource:Madrid } UNION { ?z property:sister_city resource:Trujillo } UNION { ?y property:sister_city resource:Trujillo } UNION { ?z property:sister_city resource:Chimbote } UNION { ?y property:sister_city resource:Chimbote } UNION { ?z property:sister_city resource:Santo_Domingo } UNION { ?y property:sister_city resource:Santo_Domingo } UNION { ?z property:sister_city resource:São_Paulo } UNION { ?y property:sister_city resource:São_Paulo } UNION { ?z property:sister_city resource:Resistencia } UNION { ?y property:sister_city resource:Resistencia } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P361
Q15617994
USER
What is a component of Paris ?
(c(Q15617994),P361,Q90)
action filter_type
action find_reverse
entity Q90
relation P361
type Q15617994
[{'concept': 'Q15617994'}, 'P361', 'Q90']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q90 . ?n rdf:type ontology:Q15617994 }
Paris
action filter_type
action find_reverse
entity Paris
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Paris']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Paris . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q186115
SYSTEM
Montmartre
Q186115
(c(Q15617994),P361,Q90)
action filter_type
action find_reverse
entity Q90
relation P361
type Q15617994
A component of Paris is called [ANSWER]
[{'concept': 'Q15617994'}, 'P361', 'Q90']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q90 . ?n rdf:type ontology:Q15617994 }
Montmartre
A component of Paris is called Montmartre
Montmartre
action filter_type
action find_reverse
entity Paris
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Paris']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Paris . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186115
P915
Q838948
USER
Which work of art was filmed in the location that administrative territory ?
(c(Q838948),P915,Q186115)
action filter_type
action find_reverse
entity Q186115
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q186115']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P915 resource:Q186115 }
Montmartre
action filter_type
action find_reverse
entity Montmartre
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Montmartre']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:filming_location resource:Montmartre }
[]
work of art
Q484048
SYSTEM
Amélie
Q484048
(c(Q838948),P915,Q186115)
action filter_type
action find_reverse
entity Q186115
relation P915
type Q838948
[ANSWER] was filmed in the location that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q186115']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P915 resource:Q186115 }
Amélie
Amélie was filmed in the location that administrative territory
Amélie
action filter_type
action find_reverse
entity Montmartre
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Montmartre']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:filming_location resource:Montmartre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q484048
P162
Q502895
USER
Which person produced that work of art ?
(Q484048,P162,c(Q502895))
action filter_type
action find
entity Q484048
relation P162
type Q502895
['Q484048', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q484048 property:P162 ?c }
Amélie
action filter_type
action find
entity Amélie
relation producer
type common name
['Amélie', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Amélie property:producer ?c }
[]
common name
Q2978450
SYSTEM
Claudie Ossard
Q2978450
(Q484048,P162,c(Q502895))
action filter_type
action find
entity Q484048
relation P162
type Q502895
[ANSWER] produced that work of art
['Q484048', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q484048 property:P162 ?c }
Claudie Ossard
Claudie Ossard produced that work of art
Claudie Ossard
action filter_type
action find
entity Amélie
relation producer
type common name
['Amélie', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Amélie property:producer ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q484048
P495
Q15617994 Q1048835
USER
How many administrative territories or political territories are the countries of origin of Amélie ?
(Q484048,P495,c(Q15617994)) (Q484048,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q484048
relation P495
type Q15617994
action filter_type
action find
entity Q484048
relation P495
type Q1048835
['Q484048', 'P495', {'concept': 'Q15617994'}] ['Q484048', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Amélie
action count
action union
action filter_type
action find
entity Amélie
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Amélie
relation country of origin
type political territorial entity
['Amélie', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Amélie', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q142 Q183
(Q484048,P495,c(Q15617994)) (Q484048,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q484048
relation P495
type Q15617994
action filter_type
action find
entity Q484048
relation P495
type Q1048835
[ANSWER]
['Q484048', 'P495', {'concept': 'Q15617994'}] ['Q484048', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
France Germany
2
action count
action union
action filter_type
action find
entity Amélie
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Amélie
relation country of origin
type political territorial entity
['Amélie', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Amélie', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]