Simple Question (Direct)
Simple Question
Q5831159
P106
Q28640
USER
Which profession has Emilio Lamarca as his/her 's career ?
(Q5831159,P106,c(Q28640))
action filter_type
action find
entity Q5831159
relation P106
type Q28640
['Q5831159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q5831159 property:P106 ?l . ?l rdf:type ontology:Q28640 }
Emilio Lamarca
action filter_type
action find
entity Emilio Lamarca
relation occupation
type profession
['Emilio Lamarca', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:Emilio_Lamarca property:occupation ?l . ?l rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q5831159,P106,c(Q28640))
action filter_type
action find
entity Q5831159
relation P106
type Q28640
The [ANSWER] has Emilio Lamarca as his/her 's career
['Q5831159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?l WHERE { resource:Q5831159 property:P106 ?l . ?l rdf:type ontology:Q28640 }
lawyer
The lawyer has Emilio Lamarca as his/her 's career
lawyer
action filter_type
action find
entity Emilio Lamarca
relation occupation
type profession
['Emilio Lamarca', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?l WHERE { resource:Emilio_Lamarca property:occupation ?l . ?l rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5831159
P21
Q290
USER
What is the sex of Emilio Lamarca ?
(Q5831159,P21,c(Q290))
action filter_type
action find
entity Q5831159
relation P21
type Q290
['Q5831159', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5831159 property:P21 ?m . ?m rdf:type ontology:Q290 }
Emilio Lamarca
action filter_type
action find
entity Emilio Lamarca
relation gender
type sex
['Emilio Lamarca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Emilio_Lamarca property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5831159,P21,c(Q290))
action filter_type
action find
entity Q5831159
relation P21
type Q290
The sex of Emilio Lamarca is a [ANSWER]
['Q5831159', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5831159 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Emilio Lamarca is a male
male
action filter_type
action find
entity Emilio Lamarca
relation gender
type sex
['Emilio Lamarca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Emilio_Lamarca property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5831159
P20
Q515
USER
Where did the demise of that person occur ?
(Q6581097,P20,c(Q515))
action filter_type
action find
entity Q5831159
relation P20
type Q515
['Q6581097', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q5831159 property:P20 ?x . ?x rdf:type ontology:Q515 }
Emilio Lamarca
action filter_type
action find
entity Emilio Lamarca
relation place of death
type city
['male', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Emilio_Lamarca property:place_of_death ?x . ?x rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q6581097,P20,c(Q515))
action filter_type
action find
entity Q5831159
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q5831159 property:P20 ?x . ?x rdf:type ontology:Q515 }
Buenos Aires
The demise of that person occurred in Buenos Aires
Buenos Aires
action filter_type
action find
entity Emilio Lamarca
relation place of death
type city
['male', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Emilio_Lamarca property:place_of_death ?x . ?x rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P291
Q7397 Q21114848
USER
How many software and magazine genres have that city as their publication place ?
(c(Q7397),P291,Q1486) (c(Q21114848),P291,Q1486) (c(Q7397),P291,Q1486) (c(Q21114848),P291,Q1486)
action count
action union
action filter_type
action find_reverse
entity Q1486
relation P291
type Q7397
action filter_type
action find_reverse
entity Q1486
relation P291
type Q21114848
[{'concept': 'Q7397'}, 'P291', 'Q1486'] [{'concept': 'Q21114848'}, 'P291', 'Q1486'] [{'concept': 'Q7397'}, 'P291', 'Q1486'] [{'concept': 'Q21114848'}, 'P291', 'Q1486']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P291 resource:Q1486 . ?f rdf:type ontology:Q7397 } UNION { ?f property:P291 resource:Q1486 . ?f rdf:type ontology:Q21114848 } }
action count
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type software
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type magazine genre
[{'concept': 'software'}, 'place of publication', 'Buenos Aires'] [{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires'] [{'concept': 'software'}, 'place of publication', 'Buenos Aires'] [{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:place_of_publication resource:Buenos_Aires . ?f rdf:type ontology:software } UNION { ?f property:place_of_publication resource:Buenos_Aires . ?f rdf:type ontology:magazine_genre } }
[]
software magazine genre
SYSTEM
1 software and 1 magazine genres
Q15958643 Q17771532
(c(Q7397),P291,Q1486) (c(Q21114848),P291,Q1486) (c(Q7397),P291,Q1486) (c(Q21114848),P291,Q1486)
action count
action union
action filter_type
action find_reverse
entity Q1486
relation P291
type Q7397
action filter_type
action find_reverse
entity Q1486
relation P291
type Q21114848
[ANSWER]
[{'concept': 'Q7397'}, 'P291', 'Q1486'] [{'concept': 'Q21114848'}, 'P291', 'Q1486'] [{'concept': 'Q7397'}, 'P291', 'Q1486'] [{'concept': 'Q21114848'}, 'P291', 'Q1486']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:P291 resource:Q1486 . ?f rdf:type ontology:Q7397 } UNION { ?f property:P291 resource:Q1486 . ?f rdf:type ontology:Q21114848 } }
Popcorn Time Revista de la  Unión Matemática Argentina
1 software and 1 magazine genres
action count
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type software
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type magazine genre
[{'concept': 'software'}, 'place of publication', 'Buenos Aires'] [{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires'] [{'concept': 'software'}, 'place of publication', 'Buenos Aires'] [{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { ?f property:place_of_publication resource:Buenos_Aires . ?f rdf:type ontology:software } UNION { ?f property:place_of_publication resource:Buenos_Aires . ?f rdf:type ontology:magazine_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Buenos Aires ?
(c(Q12737077),P1001,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1486']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q1486 . ?b rdf:type ontology:Q12737077 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Buenos Aires']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Buenos_Aires . ?b rdf:type ontology:occupation }
[]
occupation
Q21693213 Q21693118
SYSTEM
Mayor of Buenos Aires, Head of Government of the Autonomous City of Buenos Aires
Q21693213 Q21693118
(c(Q12737077),P1001,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of Buenos Aires
[{'concept': 'Q12737077'}, 'P1001', 'Q1486']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q1486 . ?b rdf:type ontology:Q12737077 }
Mayor of Buenos Aires Head of Government of the Autonomous City of Buenos Aires
Mayor of Buenos Aires and Head of Government of the Autonomous City of Buenos Aires have control over the jurisdiction of Buenos Aires
Mayor of Buenos Aires Head of Government of the Autonomous City of Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Buenos Aires']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Buenos_Aires . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21693213 Q21693118
P39
Q502895
USER
Which people were appointed for the position of Mayor of Buenos Aires and Head of Government of the Autonomous City of Buenos Aires ?
(c(Q502895),P39,Q21693213) (c(Q502895),P39,Q21693118)
action union
action filter_type
action find_reverse
entity Q21693213
relation P39
type Q502895
action filter_type
action find_reverse
entity Q21693118
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q21693213'] [{'concept': 'Q502895'}, 'P39', 'Q21693118']
SELECT DISTINCT ?f WHERE { { ?f property:P39 resource:Q21693213 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q21693118 } }
Mayor of Buenos Aires Head of Government of the Autonomous City of Buenos Aires
action union
action filter_type
action find_reverse
entity Mayor of Buenos Aires
relation position held
type common name
action filter_type
action find_reverse
entity Head of Government of the Autonomous City of Buenos Aires
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of Buenos Aires'] [{'concept': 'common name'}, 'position held', 'Head of Government of the Autonomous City of Buenos Aires']
SELECT DISTINCT ?f WHERE { { ?f property:position_held resource:Mayor_of_Buenos_Aires . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?f property:position_held resource:Head_of_Government_of_the_Autonomous_City_of_Buenos_Aires } }
[]
common name
Q561837 Q295007 Q832085
SYSTEM
Mauricio Macri, Fernando de la Rúa, Miguel Cané
Q5865029 Q6115964 Q6122280 Q5932167 Q21694115 Q21694113 Q5896153 Q832085 Q9029031 Q5474647 Q5831330 Q5993921 Q5993921 Q2159496 Q6309249 Q1646739 Q5855240 Q6404212 Q6122091 Q1230972 Q1442208 Q2841264 Q5751634 Q2918964 Q365013 Q5751941 Q5483842 Q5662894 Q5662894 Q1559964 Q21694117 Q21694114 Q21694111 Q21694143 Q21694145 Q5751149 Q5934876 Q6014259 Q1269826 Q21694098 Q21694116 Q21694112 Q21694118 Q21694119 Q960240 Q5559260 Q601910 Q21694123 Q21694122 Q21694121 Q21694120 Q21694126 Q21694125 Q21694124 Q21694136 Q21694130 Q1441894 Q6148525 Q21694034 Q5721786 Q21694009 Q5857794 Q5648561 Q5939399 Q2443800 Q5557346 Q561837 Q470603 Q5833657 Q963284 Q295007
(c(Q502895),P39,Q21693213) (c(Q502895),P39,Q21693118)
action union
action filter_type
action find_reverse
entity Q21693213
relation P39
type Q502895
action filter_type
action find_reverse
entity Q21693118
relation P39
type Q502895
[ANSWERS] were appointed for the position of Mayor of Buenos Aires and Head of Government of the Autonomous City of Buenos Aires
[{'concept': 'Q502895'}, 'P39', 'Q21693213'] [{'concept': 'Q502895'}, 'P39', 'Q21693118']
SELECT DISTINCT ?f WHERE { { ?f property:P39 resource:Q21693213 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q21693118 } }
Francisco Alcobendas Rómulo Sebastián Naón Saúl Bouer Joaquín Llambías Adrián Fernández Casco Virgilio Tedín Uriburu Hernán Giralt Miguel Cané Mariano de Vedia y Mitre Guillermo Jorge del Cioppo Emilio Siri Manuel Obarrio Manuel Obarrio Roberto Etchepareborda Julio César Saguier José Luis Cantilo Facundo Suárez Lastra Carlos Grosso Saturnino Montero Ruiz Guillermo Cranwell Francisco Seeber Emilio Bunge Carlos Roseti Arturo Gramajo Adolfo Bullrich Carlos Torcuato de Alvear Francisco Rabanal Alberto Casares Alberto Casares Osvaldo Cacciatore José Guerrico Horacio Casco Saturnino García Anido Eugenio Schettini Manuel Iricíbar Carlos Noël Jorge Domínguez Miguel Esteves Saguí Joaquín Samuel de Anchorena Enrique Palacio José Cantilo Juan Bartneche Arturo Goyeneche Raúl Savarese Alberto Prebisch Eduardo Crespi Antonio F. Crespo Bernardo Gago César R. Caccia Ernesto E. Padilla Carlos Alberto Pueyrredón Eduardo Bergalli Luis María de la Torre Campos Miguel A. Madero Carlos Riú Ernesto Florit Francisco Bollini Tomás José Caballero Martín Biedma Basilio Pertiné Juan José Montes de Oca Federico Pinedo Manuel Güiraldes José Embrioni Torcuato de Alvear Jorge Sabaté Mauricio Macri Aníbal Ibarra Enrique Olivera Jorge Telerman Fernando de la Rúa
Mauricio Macri, Fernando de la Rúa and Miguel Cané were appointed for the position of Mayor of Buenos Aires and Head of Government of the Autonomous City of Buenos Aires
Mauricio Macri Fernando de la Rúa Miguel Cané
action union
action filter_type
action find_reverse
entity Mayor of Buenos Aires
relation position held
type common name
action filter_type
action find_reverse
entity Head of Government of the Autonomous City of Buenos Aires
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Mayor of Buenos Aires'] [{'concept': 'common name'}, 'position held', 'Head of Government of the Autonomous City of Buenos Aires']
SELECT DISTINCT ?f WHERE { { ?f property:position_held resource:Mayor_of_Buenos_Aires . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?f property:position_held resource:Head_of_Government_of_the_Autonomous_City_of_Buenos_Aires } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q832085
P1412
Q34770
USER
Which language is spoken by that person ?
(Q832085,P1412,c(Q34770))
action filter_type
action find
entity Q832085
relation P1412
type Q34770
['Q832085', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q832085 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Miguel Cané
action filter_type
action find
entity Miguel Cané
relation languages spoken, written or signed
type language
['Miguel Cané', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Miguel_Cané property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q561837
SYSTEM
Did you mean Mauricio Macri ?
Q561837 Q295007 Q832085
(Q561837,P1412,c(Q34770)) (Q295007,P1412,c(Q34770)) (Q832085,P1412,c(Q34770))
[ANSWER]
['Q561837', 'P1412', {'concept': 'Q34770'}] ['Q295007', 'P1412', {'concept': 'Q34770'}] ['Q832085', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q832085 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Mauricio Macri Fernando de la Rúa Miguel Cané
Did you mean Mauricio Macri ?
Mauricio Macri
['Mauricio Macri', 'languages spoken, written or signed', {'concept': 'language'}] ['Fernando de la Rúa', 'languages spoken, written or signed', {'concept': 'language'}] ['Miguel Cané', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Miguel_Cané property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant Miguel Cané. Could you tell me the answer for that?
(Q832085,P1412,c(Q34770))
Q832085
['Q832085', 'P1412', {'concept': 'Q34770'}]
['Miguel Cané', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q1321
SYSTEM
Spanish
Q1321
(Q832085,P1412,c(Q34770))
action filter_type
action find
entity Q832085
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q832085', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q832085 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Miguel Cané
relation languages spoken, written or signed
type language
['Miguel Cané', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Miguel_Cané property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]