Simple Question (Direct)
Simple Question
Q8023192
P641
Q349
USER
Which sport did Wilson Roberto dos Santos participate in ?
(Q8023192,P641,c(Q349))
action filter_type
action find
entity Q8023192
relation P641
type Q349
['Q8023192', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q8023192 property:P641 ?v }
Wilson Roberto dos Santos
action filter_type
action find
entity Wilson Roberto dos Santos
relation sport
type sport
['Wilson Roberto dos Santos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Wilson_Roberto_dos_Santos property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q8023192,P641,c(Q349))
action filter_type
action find
entity Q8023192
relation P641
type Q349
Wilson Roberto dos Santos participated in [ANSWER]
['Q8023192', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q8023192 property:P641 ?v }
association football
Wilson Roberto dos Santos participated in association football
association football
action filter_type
action find
entity Wilson Roberto dos Santos
relation sport
type sport
['Wilson Roberto dos Santos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Wilson_Roberto_dos_Santos property:sport ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8023192
P106
Q12737077
USER
What does Wilson Roberto dos Santos do for a living ?
(Q8023192,P106,c(Q12737077))
action filter_type
action find
entity Q8023192
relation P106
type Q12737077
['Q8023192', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8023192 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Wilson Roberto dos Santos
action filter_type
action find
entity Wilson Roberto dos Santos
relation occupation
type occupation
['Wilson Roberto dos Santos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wilson_Roberto_dos_Santos property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q8023192,P106,c(Q12737077))
action filter_type
action find
entity Q8023192
relation P106
type Q12737077
Wilson Roberto dos Santos does for a living an [ANSWER]
['Q8023192', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8023192 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Wilson Roberto dos Santos does for a living an association football player
association football player
action filter_type
action find
entity Wilson Roberto dos Santos
relation occupation
type occupation
['Wilson Roberto dos Santos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wilson_Roberto_dos_Santos property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8023192
P19
Q56061
USER
Which administrative territory is the birthplace of Wilson Roberto dos Santos ?
(Q8023192,P19,c(Q56061))
action filter_type
action find
entity Q8023192
relation P19
type Q56061
['Q8023192', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q8023192 property:P19 ?a }
Wilson Roberto dos Santos
action filter_type
action find
entity Wilson Roberto dos Santos
relation place of birth
type administrative territorial entity
['Wilson Roberto dos Santos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Wilson_Roberto_dos_Santos property:place_of_birth ?a }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q8023192,P19,c(Q56061))
action filter_type
action find
entity Q8023192
relation P19
type Q56061
[ANSWER] is the birthplace of Wilson Roberto dos Santos
['Q8023192', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q8023192 property:P19 ?a }
São Paulo
São Paulo is the birthplace of Wilson Roberto dos Santos
São Paulo
action filter_type
action find
entity Wilson Roberto dos Santos
relation place of birth
type administrative territorial entity
['Wilson Roberto dos Santos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Wilson_Roberto_dos_Santos property:place_of_birth ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5444737
Q56061
USER
And how about Fernando Gomes de Jesus?
(Q5444737,P19,c(Q56061))
action filter_type
action find
entity Q5444737
relation P19
type Q56061
['Q5444737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5444737 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Fernando Gomes de Jesus
action filter_type
action find
entity Fernando Gomes de Jesus
relation place of birth
type administrative territorial entity
['Fernando Gomes de Jesus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fernando_Gomes_de_Jesus property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q5444737,P19,c(Q56061))
action filter_type
action find
entity Q5444737
relation P19
type Q56061
[ANSWER]
['Q5444737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5444737 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Fernando Gomes de Jesus
relation place of birth
type administrative territorial entity
['Fernando Gomes de Jesus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Fernando_Gomes_de_Jesus property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5444737
P21
Q290
USER
What is the sex of that person ?
(Q8678,P21,c(Q290))
action filter_type
action find
entity Q5444737
relation P21
type Q290
['Q8678', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q5444737 property:P21 ?b }
Fernando Gomes de Jesus
action filter_type
action find
entity Fernando Gomes de Jesus
relation gender
type sex
['Rio de Janeiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Fernando_Gomes_de_Jesus property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8678,P21,c(Q290))
action filter_type
action find
entity Q5444737
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q8678', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q5444737 property:P21 ?b }
male
The sex of that person is a male
male
action filter_type
action find
entity Fernando Gomes de Jesus
relation gender
type sex
['Rio de Janeiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Fernando_Gomes_de_Jesus property:gender ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5444737
P27
Q15617994
USER
Which administrative territory does Fernando Gomes de Jesus belong to ?
(Q5444737,P27,c(Q15617994))
action filter_type
action find
entity Q5444737
relation P27
type Q15617994
['Q5444737', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q5444737 property:P27 ?h }
Fernando Gomes de Jesus
action filter_type
action find
entity Fernando Gomes de Jesus
relation country of citizenship
type designation for an administrative territorial entity
['Fernando Gomes de Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fernando_Gomes_de_Jesus property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q5444737,P27,c(Q15617994))
action filter_type
action find
entity Q5444737
relation P27
type Q15617994
Fernando Gomes de Jesus belongs to [ANSWER]
['Q5444737', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q5444737 property:P27 ?h }
Brazil
Fernando Gomes de Jesus belongs to Brazil
Brazil
action filter_type
action find
entity Fernando Gomes de Jesus
relation country of citizenship
type designation for an administrative territorial entity
['Fernando Gomes de Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fernando_Gomes_de_Jesus property:country_of_citizenship ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2208857 Q5444737
P27
Q15617994
USER
Or Leonard Van Dorpe?
OR((Q5444737,P27,c(Q15617994)), (Q2208857,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5444737
relation P27
action find
entity Q2208857
relation P27
type Q15617994
{'OR': [['Q5444737', 'P27', {'concept': 'Q15617994'}], ['Q2208857', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q5444737 property:P27 ?d } UNION { resource:Q2208857 property:P27 ?d } } }
Leonard Van Dorpe Fernando Gomes de Jesus
action filter_type
action union
action find
entity Fernando Gomes de Jesus
relation country of citizenship
action find
entity Leonard Van Dorpe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fernando Gomes de Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Van Dorpe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fernando_Gomes_de_Jesus property:country_of_citizenship ?d } UNION { resource:Leonard_Van_Dorpe property:country_of_citizenship ?d } } }
[]
designation for an administrative territorial entity
Q155 Q31
SYSTEM
Brazil, Belgium
Q155 Q31
OR((Q5444737,P27,c(Q15617994)), (Q2208857,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5444737
relation P27
action find
entity Q2208857
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q5444737', 'P27', {'concept': 'Q15617994'}], ['Q2208857', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q5444737 property:P27 ?d } UNION { resource:Q2208857 property:P27 ?d } } }
Brazil Belgium
Brazil Belgium
action filter_type
action union
action find
entity Fernando Gomes de Jesus
relation country of citizenship
action find
entity Leonard Van Dorpe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fernando Gomes de Jesus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Van Dorpe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fernando_Gomes_de_Jesus property:country_of_citizenship ?d } UNION { resource:Leonard_Van_Dorpe property:country_of_citizenship ?d } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1737674
P17
Q841509
USER
Are Kebsehe present in those administrative territories ?
(Q1737674,P17,Q155) (Q1737674,P17,Q31)
action is_in
entity prev_answer
action find
entity Q1737674
relation P17
['Q1737674', 'P17', 'Q155'] ['Q1737674', 'P17', 'Q31']
ASK WHERE { resource:Q1737674 property:P17 ?f . VALUES ( ?f ) { ( resource:Q155 ) ( resource:Q31 ) } }
Kebsehe
action is_in
entity prev_answer
action find
entity Kebsehe
relation country
['Kebsehe', 'country', 'Brazil'] ['Kebsehe', 'country', 'Belgium']
ASK WHERE { resource:Kebsehe property:country ?f . VALUES ( ?f ) { ( resource:Brazil ) ( resource:Belgium ) } }
[]
significant other
SYSTEM
NO
(Q1737674,P17,Q155) (Q1737674,P17,Q31)
action is_in
entity prev_answer
action find
entity Q1737674
relation P17
[ANSWER]
['Q1737674', 'P17', 'Q155'] ['Q1737674', 'P17', 'Q31']
ASK WHERE { resource:Q1737674 property:P17 ?f . VALUES ( ?f ) { ( resource:Q155 ) ( resource:Q31 ) } }
No
action is_in
entity prev_answer
action find
entity Kebsehe
relation country
['Kebsehe', 'country', 'Brazil'] ['Kebsehe', 'country', 'Belgium']
ASK WHERE { resource:Kebsehe property:country ?f . VALUES ( ?f ) { ( resource:Brazil ) ( resource:Belgium ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q236503 Q230578
P35
Q502895
USER
Does Brazil have Fernando Collor de Mello and Fernando Henrique Cardoso as its head of state ?
(Q155,P35,Q236503) (Q155,P35,Q230578)
action is_in
entity Q155
action intersection
action find_reverse
entity Q236503
relation P35
action find_reverse
entity Q230578
relation P35
['Q155', 'P35', 'Q236503'] ['Q155', 'P35', 'Q230578']
ASK WHERE { resource:Q155 property:P35 resource:Q236503 . resource:Q155 property:P35 resource:Q230578 }
Brazil Fernando Collor de Mello Fernando Henrique Cardoso
action is_in
entity Brazil
action intersection
action find_reverse
entity Fernando Collor de Mello
relation head of state
action find_reverse
entity Fernando Henrique Cardoso
relation head of state
['Brazil', 'head of state', 'Fernando Collor de Mello'] ['Brazil', 'head of state', 'Fernando Henrique Cardoso']
ASK WHERE { resource:Brazil property:head_of_state resource:Fernando_Collor_de_Mello . resource:Brazil property:head_of_state resource:Fernando_Henrique_Cardoso }
[]
common name
SYSTEM
YES
(Q155,P35,Q236503) (Q155,P35,Q230578)
action is_in
entity Q155
action intersection
action find_reverse
entity Q236503
relation P35
action find_reverse
entity Q230578
relation P35
[ANSWER]
['Q155', 'P35', 'Q236503'] ['Q155', 'P35', 'Q230578']
ASK WHERE { resource:Q155 property:P35 resource:Q236503 . resource:Q155 property:P35 resource:Q230578 }
Yes
action is_in
entity Brazil
action intersection
action find_reverse
entity Fernando Collor de Mello
relation head of state
action find_reverse
entity Fernando Henrique Cardoso
relation head of state
['Brazil', 'head of state', 'Fernando Collor de Mello'] ['Brazil', 'head of state', 'Fernando Henrique Cardoso']
ASK WHERE { resource:Brazil property:head_of_state resource:Fernando_Collor_de_Mello . resource:Brazil property:head_of_state resource:Fernando_Henrique_Cardoso }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174
P6
Q502895
USER
Which people are the head of government of São Paulo ?
(Q174,P6,c(Q502895))
action filter_type
action find
entity Q174
relation P6
type Q502895
['Q174', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q174 property:P6 ?k . ?k rdf:type ontology:Q502895 }
São Paulo
action filter_type
action find
entity São Paulo
relation head of government
type common name
['São Paulo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:São_Paulo property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Q463614 Q379563 Q2546210
SYSTEM
Marta Suplicy, José Serra, Gilberto Kassab
Q3069485 Q2546210 Q379563 Q1857846 Q463614
(Q174,P6,c(Q502895))
action filter_type
action find
entity Q174
relation P6
type Q502895
[ANSWERS] are the head of government of São Paulo
['Q174', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q174 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Fernando Haddad Gilberto Kassab José Serra Celso Pitta Marta Suplicy
Marta Suplicy, José Serra and Gilberto Kassab are the head of government of São Paulo
Marta Suplicy José Serra Gilberto Kassab
action filter_type
action find
entity São Paulo
relation head of government
type common name
['São Paulo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:São_Paulo property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q463614 Q379563 Q2546210
P102
Q7210356
USER
Which parties do those people belong to ?
(Q463614,P102,c(Q7210356)) (Q379563,P102,c(Q7210356)) (Q2546210,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
['Q463614', 'P102', {'concept': 'Q7210356'}] ['Q379563', 'P102', {'concept': 'Q7210356'}] ['Q2546210', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . ?w property:P102 ?y . VALUES ( ?w ) { ( resource:Q3069485 ) ( resource:Q2546210 ) ( resource:Q379563 ) } }
Marta Suplicy José Serra Gilberto Kassab
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Marta Suplicy', 'member of political party', {'concept': 'political organization'}] ['José Serra', 'member of political party', {'concept': 'political organization'}] ['Gilberto Kassab', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . ?w property:member_of_political_party ?y . VALUES ( ?w ) { ( resource:Fernando_Haddad ) ( resource:Gilberto_Kassab ) ( resource:José_Serra ) } }
[]
political organization
Q657089 Q1322897 Q2626216
SYSTEM
Workers' Party, Brazilian Social Democracy Party, Social Democratic Party
Q657089 Q1322897 Q2626216
(Q463614,P102,c(Q7210356)) (Q379563,P102,c(Q7210356)) (Q2546210,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
Those people belong to [ANSWERS]
['Q463614', 'P102', {'concept': 'Q7210356'}] ['Q379563', 'P102', {'concept': 'Q7210356'}] ['Q2546210', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . ?w property:P102 ?y . VALUES ( ?w ) { ( resource:Q3069485 ) ( resource:Q2546210 ) ( resource:Q379563 ) } }
Workers' Party Brazilian Social Democracy Party Social Democratic Party
Those people belong to Workers' Party, Brazilian Social Democracy Party and Social Democratic Party
Workers' Party Brazilian Social Democracy Party Social Democratic Party
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Marta Suplicy', 'member of political party', {'concept': 'political organization'}] ['José Serra', 'member of political party', {'concept': 'political organization'}] ['Gilberto Kassab', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . ?w property:member_of_political_party ?y . VALUES ( ?w ) { ( resource:Fernando_Haddad ) ( resource:Gilberto_Kassab ) ( resource:José_Serra ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q657089 Q1322897 Q2626216
P17
Q15617994
USER
Which administrative territories are Workers' Party, Brazilian Social Democracy Party and Social Democratic Party a part of ?
(Q657089,P17,c(Q15617994)) (Q1322897,P17,c(Q15617994)) (Q2626216,P17,c(Q15617994))
action union
action filter_type
action find
entity Q657089
relation P17
type Q15617994
action filter_type
action find
entity Q1322897
relation P17
type Q15617994
action filter_type
action find
entity Q2626216
relation P17
type Q15617994
['Q657089', 'P17', {'concept': 'Q15617994'}] ['Q1322897', 'P17', {'concept': 'Q15617994'}] ['Q2626216', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q1322897 property:P17 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q657089 property:P17 ?t . ?t rdf:type ontology:Q15617994 } }
Workers' Party Brazilian Social Democracy Party Social Democratic Party
action union
action filter_type
action find
entity Workers' Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazilian Social Democracy Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Social Democratic Party
relation country
type designation for an administrative territorial entity
["Workers' Party", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazilian Social Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Social Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Brazilian_Social_Democracy_Party property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Workers'_Party property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q155 Q155
SYSTEM
Brazil
Q155 Q155 Q155
(Q657089,P17,c(Q15617994)) (Q1322897,P17,c(Q15617994)) (Q2626216,P17,c(Q15617994))
action union
action filter_type
action find
entity Q657089
relation P17
type Q15617994
action filter_type
action find
entity Q1322897
relation P17
type Q15617994
action filter_type
action find
entity Q2626216
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Workers' Party, [ANSWER]ian Social Democracy Party and Social Democratic Party a part of
['Q657089', 'P17', {'concept': 'Q15617994'}] ['Q1322897', 'P17', {'concept': 'Q15617994'}] ['Q2626216', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q1322897 property:P17 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q657089 property:P17 ?t . ?t rdf:type ontology:Q15617994 } }
Brazil Brazil Brazil
Brazil, Brazil and Brazil are Workers' Party, Brazilian Social Democracy Party and Social Democratic Party a part of
Brazil Brazil Brazil
action union
action filter_type
action find
entity Workers' Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazilian Social Democracy Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Social Democratic Party
relation country
type designation for an administrative territorial entity
["Workers' Party", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazilian Social Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Social Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Brazilian_Social_Democracy_Party property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Workers'_Party property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174
P190
Q13220204
USER
Which administrative country subdivisions are twin cities of São Paulo ?
(Q174,P190,c(Q13220204))
action filter_type
action find
entity Q174
relation P190
type Q13220204
['Q174', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q174 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
São Paulo
action filter_type
action find
entity São Paulo
relation sister city
type second-level administrative country subdivision
['São Paulo', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:São_Paulo property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q25444 Q2933 Q2201876
SYSTEM
Funchal, Asunción, Presidente Franco District
Q25444 Q2933 Q2201876
(Q174,P190,c(Q13220204))
action filter_type
action find
entity Q174
relation P190
type Q13220204
[ANSWERS] are twin cities of São Paulo
['Q174', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q174 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Funchal Asunción Presidente Franco District
Funchal, Asunción and Presidente Franco District are twin cities of São Paulo
Funchal Asunción Presidente Franco District
action filter_type
action find
entity São Paulo
relation sister city
type second-level administrative country subdivision
['São Paulo', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:São_Paulo property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]