Simple Question (Direct)
Simple Question
Q180862
P19
Q56061
USER
Which administrative territory is the place of birth of Márcio Rodrigues ?
(Q180862,P19,c(Q56061))
action filter_type
action find
entity Q180862
relation P19
type Q56061
['Q180862', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q180862 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Márcio Rodrigues
action filter_type
action find
entity Márcio Rodrigues
relation place of birth
type administrative territorial entity
['Márcio Rodrigues', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Márcio_Rodrigues property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q180862,P19,c(Q56061))
action filter_type
action find
entity Q180862
relation P19
type Q56061
[ANSWER] is the place of birth of Márcio Rodrigues
['Q180862', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q180862 property:P19 ?l . ?l rdf:type ontology:Q56061 }
São Paulo
São Paulo is the place of birth of Márcio Rodrigues
São Paulo
action filter_type
action find
entity Márcio Rodrigues
relation place of birth
type administrative territorial entity
['Márcio Rodrigues', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Márcio_Rodrigues property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174
P47
Q56061
USER
Who share the border with that one ?
(Q174,P47,c(Q56061))
action filter_type
action find
entity Q174
relation P47
type Q56061
['Q174', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q174 property:P47 ?h . ?h rdf:type ontology:Q56061 }
São Paulo
action filter_type
action find
entity São Paulo
relation shares border with
type administrative territorial entity
['São Paulo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:São_Paulo property:shares_border_with ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1760376 Q191652
SYSTEM
Cajamar, Santo André
Q1760376 Q191652
(Q174,P47,c(Q56061))
action filter_type
action find
entity Q174
relation P47
type Q56061
[ANSWERS] share the border with that one
['Q174', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q174 property:P47 ?h . ?h rdf:type ontology:Q56061 }
Cajamar Santo André
Cajamar and Santo André share the border with that one
Cajamar Santo André
action filter_type
action find
entity São Paulo
relation shares border with
type administrative territorial entity
['São Paulo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:São_Paulo property:shares_border_with ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1760376 Q191652
P47
Q56061
USER
Which administrative territories have an adjacent border with Cajamar and Santo André ?
(c(Q56061),P47,Q1760376) (c(Q56061),P47,Q191652)
action union
action filter_type
action find_reverse
entity Q1760376
relation P47
type Q56061
action filter_type
action find_reverse
entity Q191652
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q1760376'] [{'concept': 'Q56061'}, 'P47', 'Q191652']
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Q1760376 ) ( resource:Q191652 ) } . ?o property:P47 ?p }
Cajamar Santo André
action union
action filter_type
action find_reverse
entity Cajamar
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Santo André
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Cajamar'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Santo André']
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Cajamar ) ( resource:Santo_André ) } . ?o property:shares_border_with ?p }
[]
administrative territorial entity
Q174 Q174 Q275109
SYSTEM
São Paulo for 1st, 2nd, Jundiaí for 3rd
Q657199 Q174 Q275109 Q174 Q184403
(c(Q56061),P47,Q1760376) (c(Q56061),P47,Q191652)
action union
action filter_type
action find_reverse
entity Q1760376
relation P47
type Q56061
action filter_type
action find_reverse
entity Q191652
relation P47
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P47', 'Q1760376'] [{'concept': 'Q56061'}, 'P47', 'Q191652']
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Q1760376 ) ( resource:Q191652 ) } . ?o property:P47 ?p }
Franco da Rocha São Paulo Jundiaí São Paulo São Bernardo do Campo
São Paulo, São Paulo and Jundiaí have an adjacent border with Cajamar and Santo André
São Paulo São Paulo Jundiaí
action union
action filter_type
action find_reverse
entity Cajamar
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Santo André
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Cajamar'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Santo André']
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Cajamar ) ( resource:Santo_André ) } . ?o property:shares_border_with ?p }
[]
Clarification
Simple Question|Single Entity|Indirect
Q174
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q174)
action filter_type
action find_reverse
entity Q174
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q174']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q174 . ?z rdf:type ontology:Q502895 }
São Paulo
action filter_type
action find_reverse
entity São Paulo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'São Paulo']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:São_Paulo . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q275109
SYSTEM
Did you mean Jundiaí ?
Q174 Q174 Q275109
(c(Q502895),P551,Q174) (c(Q502895),P551,Q174) (c(Q502895),P551,Q275109)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q174'] [{'concept': 'Q502895'}, 'P551', 'Q174'] [{'concept': 'Q502895'}, 'P551', 'Q275109']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q174 . ?z rdf:type ontology:Q502895 }
São Paulo São Paulo Jundiaí
Did you mean Jundiaí ?
Jundiaí
[{'concept': 'common name'}, 'residence', 'São Paulo'] [{'concept': 'common name'}, 'residence', 'São Paulo'] [{'concept': 'common name'}, 'residence', 'Jundiaí']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:São_Paulo . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant São Paulo. Could you tell me the answer for that?
(c(Q502895),P551,Q174)
Q174
[{'concept': 'Q502895'}, 'P551', 'Q174']
[{'concept': 'common name'}, 'residence', 'São Paulo']
[]
Q16887700 Q152208 Q5219606
SYSTEM
Madeleine M. Joullié, Gisele Bündchen, Danilo Gentili
Q1876821 Q7454338 Q4102553 Q16887700 Q13422633 Q258713 Q438876 Q152208 Q15987767 Q15987769 Q13360131 Q4179068 Q233247 Q2943833 Q5219606 Q10313439 Q1149828 Q434011 Q1042999 Q21151693 Q1028081 Q5516066 Q312345
(c(Q502895),P551,Q174)
action filter_type
action find_reverse
entity Q174
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q174']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q174 . ?z rdf:type ontology:Q502895 }
Luiz Mattar Sergio Moraes Roxane Vaisemberg Madeleine M. Joullié Irmgard Behrendt Jaime Oncins Fernando Meligeni Gisele Bündchen Michelle Nicolini Celso Vinicius Paula Cristina Gonçalves Alexandre Simoni Maria Bueno Danilo Marcelino Danilo Gentili Júlio Góes Cássio Motta Vanessa Menga Carlos Kirmayr Georgia Louise Harris Brown Moacir Rodrigues Santos Gabrielle Garcia Thomaz Bellucci
Madeleine M. Joullié, Gisele Bündchen and Danilo Gentili live in that administrative territory
Madeleine M. Joullié Gisele Bündchen Danilo Gentili
action filter_type
action find_reverse
entity São Paulo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'São Paulo']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:São_Paulo . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16887700 Q152208 Q5219606
P21
Q290
USER
Which sexes do Madeleine M. Joullié, Gisele Bündchen and Danilo Gentili have ?
(Q16887700,P21,c(Q290)) (Q152208,P21,c(Q290)) (Q5219606,P21,c(Q290))
action union
action filter_type
action find
entity Q16887700
relation P21
type Q290
action filter_type
action find
entity Q152208
relation P21
type Q290
action filter_type
action find
entity Q5219606
relation P21
type Q290
['Q16887700', 'P21', {'concept': 'Q290'}] ['Q152208', 'P21', {'concept': 'Q290'}] ['Q5219606', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { resource:Q16887700 property:P21 ?g . ?g rdf:type ontology:Q290 } UNION { resource:Q152208 property:P21 ?g . ?g rdf:type ontology:Q290 } }
Madeleine M. Joullié Gisele Bündchen Danilo Gentili
action union
action filter_type
action find
entity Madeleine M. Joullié
relation gender
type sex
action filter_type
action find
entity Gisele Bündchen
relation gender
type sex
action filter_type
action find
entity Danilo Gentili
relation gender
type sex
['Madeleine M. Joullié', 'gender', {'concept': 'sex'}] ['Gisele Bündchen', 'gender', {'concept': 'sex'}] ['Danilo Gentili', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { resource:Madeleine_M._Joullié property:gender ?g . ?g rdf:type ontology:sex } UNION { resource:Gisele_Bündchen property:gender ?g . ?g rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q16887700,P21,c(Q290)) (Q152208,P21,c(Q290)) (Q5219606,P21,c(Q290))
action union
action filter_type
action find
entity Q16887700
relation P21
type Q290
action filter_type
action find
entity Q152208
relation P21
type Q290
action filter_type
action find
entity Q5219606
relation P21
type Q290
[ANSWERS]
['Q16887700', 'P21', {'concept': 'Q290'}] ['Q152208', 'P21', {'concept': 'Q290'}] ['Q5219606', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { resource:Q16887700 property:P21 ?g . ?g rdf:type ontology:Q290 } UNION { resource:Q152208 property:P21 ?g . ?g rdf:type ontology:Q290 } }
female female male
Madeleine M. Joullié , Gisele Bündchen and Danilo Gentili have been female, female and male
female female male
action union
action filter_type
action find
entity Madeleine M. Joullié
relation gender
type sex
action filter_type
action find
entity Gisele Bündchen
relation gender
type sex
action filter_type
action find
entity Danilo Gentili
relation gender
type sex
['Madeleine M. Joullié', 'gender', {'concept': 'sex'}] ['Gisele Bündchen', 'gender', {'concept': 'sex'}] ['Danilo Gentili', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { resource:Madeleine_M._Joullié property:gender ?g . ?g rdf:type ontology:sex } UNION { resource:Gisele_Bündchen property:gender ?g . ?g rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174
P276
Q15275719
USER
Which recurring event is situated at São Paulo ?
(c(Q15275719),P276,Q174)
action filter_type
action find_reverse
entity Q174
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q174']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q174 . ?l rdf:type ontology:Q15275719 }
São Paulo
action filter_type
action find_reverse
entity São Paulo
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'São Paulo']
SELECT DISTINCT ?l WHERE { ?l property:location resource:São_Paulo . ?l rdf:type ontology:recurring_event }
[]
recurring event
Q2721837
SYSTEM
São Paulo International Film Festival
Q2721837
(c(Q15275719),P276,Q174)
action filter_type
action find_reverse
entity Q174
relation P276
type Q15275719
[ANSWER] is situated at São Paulo
[{'concept': 'Q15275719'}, 'P276', 'Q174']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q174 . ?l rdf:type ontology:Q15275719 }
São Paulo International Film Festival
São Paulo International Film Festival is situated at São Paulo
São Paulo International Film Festival
action filter_type
action find_reverse
entity São Paulo
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'São Paulo']
SELECT DISTINCT ?l WHERE { ?l property:location resource:São_Paulo . ?l rdf:type ontology:recurring_event }
[]