Simple Question (Direct)
Simple Question
Q5771276
P937
Q56061
USER
Which administrative territory is the work location of Sir George Grey, 2nd Baronet ?
(Q5771276,P937,c(Q56061))
action filter_type
action find
entity Q5771276
relation P937
type Q56061
['Q5771276', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5771276 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Sir George Grey, 2nd Baronet
action filter_type
action find
entity Sir George Grey, 2nd Baronet
relation work location
type administrative territorial entity
['Sir George Grey, 2nd Baronet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sir_George_Grey,_2nd_Baronet property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5771276,P937,c(Q56061))
action filter_type
action find
entity Q5771276
relation P937
type Q56061
[ANSWER] is the work location of Sir George Grey, 2nd Baronet
['Q5771276', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5771276 property:P937 ?b . ?b rdf:type ontology:Q56061 }
London
London is the work location of Sir George Grey, 2nd Baronet
London
action filter_type
action find
entity Sir George Grey, 2nd Baronet
relation work location
type administrative territorial entity
['Sir George Grey, 2nd Baronet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sir_George_Grey,_2nd_Baronet property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P1408
Q4830453
USER
Which business enterprises have license to broadcast to that administrative territory ?
(c(Q4830453),P1408,Q84)
action filter_type
action find_reverse
entity Q84
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q84']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4830453 . ?b property:P1408 resource:Q84 }
London
action filter_type
action find_reverse
entity London
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'London']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:business_enterprise . ?b property:licensed_to_broadcast_to resource:London }
[]
business enterprise
Q7280695 Q5104020 Q6394349
SYSTEM
Radio Brunel, Choice FM, Kerrang Radio
Q7280695 Q5104020 Q6394349
(c(Q4830453),P1408,Q84)
action filter_type
action find_reverse
entity Q84
relation P1408
type Q4830453
[ANSWERS] have license to broadcast to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q84']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4830453 . ?b property:P1408 resource:Q84 }
Radio Brunel Choice FM Kerrang Radio
Radio Brunel, Choice FM and Kerrang Radio have license to broadcast to that administrative territory
Radio Brunel Choice FM Kerrang Radio
action filter_type
action find_reverse
entity London
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'London']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:business_enterprise . ?b property:licensed_to_broadcast_to resource:London }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5104020
P17
Q15617994
USER
Which administrative territory is that business enterprise located in ?
(Q5104020,P17,c(Q15617994))
action filter_type
action find
entity Q5104020
relation P17
type Q15617994
['Q5104020', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q5104020 property:P17 ?q }
Choice FM
action filter_type
action find
entity Choice FM
relation country
type designation for an administrative territorial entity
['Choice FM', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Choice_FM property:country ?q }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q6394349
SYSTEM
Did you mean Kerrang Radio ?
Q7280695 Q5104020 Q6394349
(Q7280695,P17,c(Q15617994)) (Q5104020,P17,c(Q15617994)) (Q6394349,P17,c(Q15617994))
[ANSWER]
['Q7280695', 'P17', {'concept': 'Q15617994'}] ['Q5104020', 'P17', {'concept': 'Q15617994'}] ['Q6394349', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q5104020 property:P17 ?q }
Radio Brunel Choice FM Kerrang Radio
Did you mean Kerrang Radio ?
Kerrang Radio
['Radio Brunel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Choice FM', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kerrang Radio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Choice_FM property:country ?q }
[]
Simple Question (Coreferenced)
USER
No, I meant Choice FM. Could you tell me the answer for that?
(Q5104020,P17,c(Q15617994))
Q5104020
['Q5104020', 'P17', {'concept': 'Q15617994'}]
['Choice FM', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q5104020,P17,c(Q15617994))
action filter_type
action find
entity Q5104020
relation P17
type Q15617994
That business enterprise is located in [ANSWER]
['Q5104020', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q5104020 property:P17 ?q }
United Kingdom
That business enterprise is located in United Kingdom
United Kingdom
action filter_type
action find
entity Choice FM
relation country
type designation for an administrative territorial entity
['Choice FM', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Choice_FM property:country ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q184
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with greater number of administrative territories than Belarus ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?d > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q184 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?x property:P530 ?o . ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?x } }
Belarus
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?d > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Belarus property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?x property:diplomatic_relation ?o . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38 Q230
SYSTEM
Brazil, Italy, Georgia
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with greater number of administrative territories than Belarus
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?d > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q184 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?x property:P530 ?o . ?x rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?x } }
Brazil Italy Georgia
Brazil, Italy and Georgia are known to have diplomatic connections with greater number of administrative territories than Belarus
Brazil Italy Georgia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?d > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Belarus property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?x property:diplomatic_relation ?o . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23043017
P1056
Q80071 Q2425052 Q4830453
USER
How many business enterprises produce around the same number of symbols and electrical apparatus  as Mercedes-Benz Argentina ?
(c(Q4830453),P1056,c(Q80071)|c(Q2425052))
action count
action approx
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q80071
action find_tuple_counts
relation P1056
type Q4830453
type Q2425052
action count
action filter_multi_types
action find
entity Q23043017
relation P1056
type Q80071
type Q2425052
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q80071'}, {'concept': 'Q2425052'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q80071 ) ( ontology:Q2425052 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q23043017 property:P1056 ?e . { { ?e rdf:type ontology:Q80071 } UNION { ?e rdf:type ontology:Q2425052 } } } } . FILTER ( ?n = ?w ) }
Mercedes-Benz Argentina
action count
action approx
action union
action find_tuple_counts
relation product
type business enterprise
type symbol
action find_tuple_counts
relation product
type business enterprise
type electrical apparatus
action count
action filter_multi_types
action find
entity Mercedes-Benz Argentina
relation product
type symbol
type electrical apparatus
[{'concept': 'business enterprise'}, 'product', [{'concept': 'symbol'}, {'concept': 'electrical apparatus'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:symbol ) ( ontology:electrical_apparatus ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Mercedes-Benz_Argentina property:product ?e . { { ?e rdf:type ontology:symbol } UNION { ?e rdf:type ontology:electrical_apparatus } } } } . FILTER ( ?n = ?w ) }
[]
symbol electrical apparatus business enterprise
SYSTEM
6
Q316522 Q663300 Q4926914 Q23043017 Q23041421 Q6818138
(c(Q4830453),P1056,c(Q80071)|c(Q2425052))
action count
action approx
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q80071
action find_tuple_counts
relation P1056
type Q4830453
type Q2425052
action count
action filter_multi_types
action find
entity Q23043017
relation P1056
type Q80071
type Q2425052
[ANSWER]
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q80071'}, {'concept': 'Q2425052'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q80071 ) ( ontology:Q2425052 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q23043017 property:P1056 ?e . { { ?e rdf:type ontology:Q80071 } UNION { ?e rdf:type ontology:Q2425052 } } } } . FILTER ( ?n = ?w ) }
Karl Kässbohrer Fahrzeugwerke Bulova Watch Company Blistex, Incorporated Mercedes-Benz Argentina Mercedes-Benz do Brasil Mercedes-Benz Mexico
6
action count
action approx
action union
action find_tuple_counts
relation product
type business enterprise
type symbol
action find_tuple_counts
relation product
type business enterprise
type electrical apparatus
action count
action filter_multi_types
action find
entity Mercedes-Benz Argentina
relation product
type symbol
type electrical apparatus
[{'concept': 'business enterprise'}, 'product', [{'concept': 'symbol'}, {'concept': 'electrical apparatus'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:symbol ) ( ontology:electrical_apparatus ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Mercedes-Benz_Argentina property:product ?e . { { ?e rdf:type ontology:symbol } UNION { ?e rdf:type ontology:electrical_apparatus } } } } . FILTER ( ?n = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P35
Q502895
USER
Who are the chiefs of state of Brazil ?
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q155 property:P35 ?s . ?s rdf:type ontology:Q502895 }
Brazil
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Brazil property:head_of_state ?s . ?s rdf:type ontology:common_name }
[]
common name
Q37181 Q230578 Q40722
SYSTEM
Luiz Inácio Lula da Silva, Fernando Henrique Cardoso, Dilma Rousseff
Q37181 Q230578 Q463533 Q485946 Q236503 Q40722
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
The chiefs of state of Brazil are the [ANSWERS]
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q155 property:P35 ?s . ?s rdf:type ontology:Q502895 }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Michel Temer Itamar Franco Fernando Collor de Mello Dilma Rousseff
The chiefs of state of Brazil are the Luiz Inácio Lula da Silva, Fernando Henrique Cardoso and Dilma Rousseff
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Brazil property:head_of_state ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q37181 Q230578 Q40722
P26
Q502895
USER
Who are the spouse of Luiz Inácio Lula da Silva, Fernando Henrique Cardoso and Dilma Rousseff ?
(c(Q502895),P26,Q37181) (c(Q502895),P26,Q230578) (c(Q502895),P26,Q40722)
action union
action filter_type
action find
entity Q37181
relation P26
type Q502895
action filter_type
action find
entity Q230578
relation P26
type Q502895
action filter_type
action find
entity Q40722
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q37181'] [{'concept': 'Q502895'}, 'P26', 'Q230578'] [{'concept': 'Q502895'}, 'P26', 'Q40722']
SELECT DISTINCT ?s WHERE { VALUES ( ?v ) { ( resource:Q37181 ) ( resource:Q230578 ) } . ?v property:P26 ?s }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
action union
action filter_type
action find
entity Luiz Inácio Lula da Silva
relation spouse
type common name
action filter_type
action find
entity Fernando Henrique Cardoso
relation spouse
type common name
action filter_type
action find
entity Dilma Rousseff
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Luiz Inácio Lula da Silva'] [{'concept': 'common name'}, 'spouse', 'Fernando Henrique Cardoso'] [{'concept': 'common name'}, 'spouse', 'Dilma Rousseff']
SELECT DISTINCT ?s WHERE { VALUES ( ?v ) { ( resource:Luiz_Inácio_Lula_da_Silva ) ( resource:Fernando_Henrique_Cardoso ) } . ?v property:spouse ?s }
[]
common name
Q264341 Q4199383 Q17278001
SYSTEM
Ruth Cardoso, Marisa Letícia Lula da Silva, Maria de Lurdes da Silva
Q4199383 Q17278001 Q264341 Q17278012 Q17277971 Q17277973
(c(Q502895),P26,Q37181) (c(Q502895),P26,Q230578) (c(Q502895),P26,Q40722)
action union
action filter_type
action find
entity Q37181
relation P26
type Q502895
action filter_type
action find
entity Q230578
relation P26
type Q502895
action filter_type
action find
entity Q40722
relation P26
type Q502895
The spouse of Luiz Inácio Lula da Silva , Fernando Henrique Cardoso and Dilma Rousseff are named [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q37181'] [{'concept': 'Q502895'}, 'P26', 'Q230578'] [{'concept': 'Q502895'}, 'P26', 'Q40722']
SELECT DISTINCT ?s WHERE { VALUES ( ?v ) { ( resource:Q37181 ) ( resource:Q230578 ) } . ?v property:P26 ?s }
Marisa Letícia Lula da Silva Maria de Lurdes da Silva Ruth Cardoso Patrícia Kundrát Cláudio Linhares Carlos Araújo
The spouse of Luiz Inácio Lula da Silva , Fernando Henrique Cardoso and Dilma Rousseff are named Ruth Cardoso, Marisa Letícia Lula da Silva and Maria de Lurdes da Silva
Ruth Cardoso Marisa Letícia Lula da Silva Maria de Lurdes da Silva
action union
action filter_type
action find
entity Luiz Inácio Lula da Silva
relation spouse
type common name
action filter_type
action find
entity Fernando Henrique Cardoso
relation spouse
type common name
action filter_type
action find
entity Dilma Rousseff
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Luiz Inácio Lula da Silva'] [{'concept': 'common name'}, 'spouse', 'Fernando Henrique Cardoso'] [{'concept': 'common name'}, 'spouse', 'Dilma Rousseff']
SELECT DISTINCT ?s WHERE { VALUES ( ?v ) { ( resource:Luiz_Inácio_Lula_da_Silva ) ( resource:Fernando_Henrique_Cardoso ) } . ?v property:spouse ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4199383
P25
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P25,Q4199383)
action filter_type
action find_reverse
entity Q4199383
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q4199383']
SELECT DISTINCT ?f WHERE { ?f property:P25 resource:Q4199383 . ?f rdf:type ontology:Q502895 }
Marisa Letícia Lula da Silva
action filter_type
action find_reverse
entity Marisa Letícia Lula da Silva
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marisa Letícia Lula da Silva']
SELECT DISTINCT ?f WHERE { ?f property:mother resource:Marisa_Letícia_Lula_da_Silva . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4199383
SYSTEM
Did you mean Marisa Letícia Lula da Silva ?
Q264341 Q4199383 Q17278001
(c(Q502895),P25,Q264341) (c(Q502895),P25,Q4199383) (c(Q502895),P25,Q17278001)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q264341'] [{'concept': 'Q502895'}, 'P25', 'Q4199383'] [{'concept': 'Q502895'}, 'P25', 'Q17278001']
SELECT DISTINCT ?f WHERE { ?f property:P25 resource:Q4199383 . ?f rdf:type ontology:Q502895 }
Ruth Cardoso Marisa Letícia Lula da Silva Maria de Lurdes da Silva
Did you mean Marisa Letícia Lula da Silva ?
Marisa Letícia Lula da Silva
[{'concept': 'common name'}, 'mother', 'Ruth Cardoso'] [{'concept': 'common name'}, 'mother', 'Marisa Letícia Lula da Silva'] [{'concept': 'common name'}, 'mother', 'Maria de Lurdes da Silva']
SELECT DISTINCT ?f WHERE { ?f property:mother resource:Marisa_Letícia_Lula_da_Silva . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P25,Q4199383)
[{'concept': 'Q502895'}, 'P25', 'Q4199383']
[{'concept': 'common name'}, 'mother', 'Marisa Letícia Lula da Silva']
[]
Q10325423 Q10286880
SYSTEM
Marcos Claudio Lula da Silva, Fábio Luís Lula da Silva
Q10325423 Q10286880
(c(Q502895),P25,Q4199383)
action filter_type
action find_reverse
entity Q4199383
relation P25
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P25', 'Q4199383']
SELECT DISTINCT ?f WHERE { ?f property:P25 resource:Q4199383 . ?f rdf:type ontology:Q502895 }
Marcos Claudio Lula da Silva Fábio Luís Lula da Silva
Marcos Claudio Lula da Silva and Fábio Luís Lula da Silva have that one as a parent
Marcos Claudio Lula da Silva Fábio Luís Lula da Silva
action filter_type
action find_reverse
entity Marisa Letícia Lula da Silva
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marisa Letícia Lula da Silva']
SELECT DISTINCT ?f WHERE { ?f property:mother resource:Marisa_Letícia_Lula_da_Silva . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10286880
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q10286880)
action filter_type
action find
entity Q10286880
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q10286880']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q10286880 property:P7 ?r }
Fábio Luís Lula da Silva
action filter_type
action find
entity Fábio Luís Lula da Silva
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Fábio Luís Lula da Silva']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Fábio_Luís_Lula_da_Silva property:brother ?r }
[]
common name
Clarification for simple ques.
Q10325423
SYSTEM
Did you mean Marcos Claudio Lula da Silva ?
Q10325423 Q10286880
(c(Q502895),P7,Q10325423) (c(Q502895),P7,Q10286880)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q10325423'] [{'concept': 'Q502895'}, 'P7', 'Q10286880']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q10286880 property:P7 ?r }
Marcos Claudio Lula da Silva Fábio Luís Lula da Silva
Did you mean Marcos Claudio Lula da Silva ?
Marcos Claudio Lula da Silva
[{'concept': 'common name'}, 'brother', 'Marcos Claudio Lula da Silva'] [{'concept': 'common name'}, 'brother', 'Fábio Luís Lula da Silva']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Fábio_Luís_Lula_da_Silva property:brother ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Fábio Luís Lula da Silva. Could you tell me the answer for that?
(c(Q502895),P7,Q10286880)
Q10286880
[{'concept': 'Q502895'}, 'P7', 'Q10286880']
[{'concept': 'common name'}, 'brother', 'Fábio Luís Lula da Silva']
[]
Q10325423
SYSTEM
Marcos Claudio Lula da Silva
Q10325423
(c(Q502895),P7,Q10286880)
action filter_type
action find
entity Q10286880
relation P7
type Q502895
A sibling of that one is [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q10286880']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q10286880 property:P7 ?r }
Marcos Claudio Lula da Silva
A sibling of that one is Marcos Claudio Lula da Silva
Marcos Claudio Lula da Silva
action filter_type
action find
entity Fábio Luís Lula da Silva
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Fábio Luís Lula da Silva']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Fábio_Luís_Lula_da_Silva property:brother ?r }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2849034 Q84
P19 P190
Q13220204
USER
Which administrative country subdivisions are sister towns of London and were Andrés López Forero born in ?
AND((Q84,P190,c(Q13220204)), (Q2849034,P19,c(Q13220204)))
action filter_type
action intersection
action find
entity Q84
relation P190
action find
entity Q2849034
relation P19
type Q13220204
{'AND': [['Q84', 'P190', {'concept': 'Q13220204'}], ['Q2849034', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?v WHERE { resource:Q84 property:P190 ?v . resource:Q2849034 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Andrés López Forero London
action filter_type
action intersection
action find
entity London
relation sister city
action find
entity Andrés López Forero
relation place of birth
type second-level administrative country subdivision
{'AND': [['London', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Andrés López Forero', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?v WHERE { resource:London property:sister_city ?v . resource:Andrés_López_Forero property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2841
SYSTEM
Bogotá
Q2841
AND((Q84,P190,c(Q13220204)), (Q2849034,P19,c(Q13220204)))
action filter_type
action intersection
action find
entity Q84
relation P190
action find
entity Q2849034
relation P19
type Q13220204
[ANSWER] is sister towns of London and were Andrés López Forero born in
{'AND': [['Q84', 'P190', {'concept': 'Q13220204'}], ['Q2849034', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?v WHERE { resource:Q84 property:P190 ?v . resource:Q2849034 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Bogotá
Bogotá is sister towns of London and were Andrés López Forero born in
Bogotá
action filter_type
action intersection
action find
entity London
relation sister city
action find
entity Andrés López Forero
relation place of birth
type second-level administrative country subdivision
{'AND': [['London', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Andrés López Forero', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?v WHERE { resource:London property:sister_city ?v . resource:Andrés_López_Forero property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10325423
P7
Q502895
USER
Who is a sibling of Marcos Claudio Lula da Silva ?
(c(Q502895),P7,Q10325423)
action filter_type
action find
entity Q10325423
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q10325423']
SELECT DISTINCT ?w WHERE { resource:Q10325423 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Marcos Claudio Lula da Silva
action filter_type
action find
entity Marcos Claudio Lula da Silva
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Marcos Claudio Lula da Silva']
SELECT DISTINCT ?w WHERE { resource:Marcos_Claudio_Lula_da_Silva property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q10286880
SYSTEM
Fábio Luís Lula da Silva
Q10286880
(c(Q502895),P7,Q10325423)
action filter_type
action find
entity Q10325423
relation P7
type Q502895
A sibling of Marcos Claudio Lula da Silva is named [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q10325423']
SELECT DISTINCT ?w WHERE { resource:Q10325423 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Fábio Luís Lula da Silva
A sibling of Marcos Claudio Lula da Silva is named Fábio Luís Lula da Silva
Fábio Luís Lula da Silva
action filter_type
action find
entity Marcos Claudio Lula da Silva
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Marcos Claudio Lula da Silva']
SELECT DISTINCT ?w WHERE { resource:Marcos_Claudio_Lula_da_Silva property:brother ?w . ?w rdf:type ontology:common_name }
[]