Simple Question (Direct)
Simple Question
Q3619322
P102
Q7210356
USER
Which party does Antonio Buonfiglio belong to ?
(Q3619322,P102,c(Q7210356))
action filter_type
action find
entity Q3619322
relation P102
type Q7210356
['Q3619322', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q3619322 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Antonio Buonfiglio
action filter_type
action find
entity Antonio Buonfiglio
relation member of political party
type political organization
['Antonio Buonfiglio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Antonio_Buonfiglio property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q662849
SYSTEM
National Alliance
Q662849
(Q3619322,P102,c(Q7210356))
action filter_type
action find
entity Q3619322
relation P102
type Q7210356
Antonio Buonfiglio belongs to [ANSWER]
['Q3619322', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q3619322 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
National Alliance
Antonio Buonfiglio belongs to National Alliance
National Alliance
action filter_type
action find
entity Antonio Buonfiglio
relation member of political party
type political organization
['Antonio Buonfiglio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Antonio_Buonfiglio property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q662849
P159
Q56061
USER
Where is the headquarter of that political organization located ?
(Q662849,P159,c(Q56061))
action filter_type
action find
entity Q662849
relation P159
type Q56061
['Q662849', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q662849 property:P159 ?s . ?s rdf:type ontology:Q56061 }
National Alliance
action filter_type
action find
entity National Alliance
relation headquarters location
type administrative territorial entity
['National Alliance', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:National_Alliance property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q662849,P159,c(Q56061))
action filter_type
action find
entity Q662849
relation P159
type Q56061
[ANSWER] is the headquarter of that political organization located
['Q662849', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q662849 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Rome
Rome is the headquarter of that political organization located
Rome
action filter_type
action find
entity National Alliance
relation headquarters location
type administrative territorial entity
['National Alliance', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:National_Alliance property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q220,P17,c(Q15617994))
action filter_type
action find
entity Q220
relation P17
type Q15617994
['Q220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q220 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Rome
action filter_type
action find
entity Rome
relation country
type designation for an administrative territorial entity
['Rome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rome property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q220,P17,c(Q15617994))
action filter_type
action find
entity Q220
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q220 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Italy
That administrative territory belongs to Italy
Italy
action filter_type
action find
entity Rome
relation country
type designation for an administrative territorial entity
['Rome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rome property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q220
P551 P21
Q502895
USER
Which people reside at Rome and have the gender as male ?
AND((c(Q502895),P551,Q220), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q220
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q220'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P551 resource:Q220 . ?e property:P21 resource:Q6581097 }
male Rome
action filter_type
action intersection
action find_reverse
entity Rome
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Rome'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:residence resource:Rome . ?e property:gender resource:male }
[]
common name
Q104859 Q12784446 Q185462 Q13512902 Q97466 Q1395422 Q1009918 Q978509 Q1430 Q267328
SYSTEM
Some of them are Michael Collins, Ambrogio Bollati, Flavio Cipolla, Igor Gaudi, August Kestner, Famulus, Brunello Rondi, Renato Zero, Marcus Aurelius Antoninus, Antonio Zugarelli
Q541972 Q709909 Q185462 Q4006499 Q27192669 Q1169248 Q1395422 Q2114256 Q19515261 Q7302 Q1005945 Q6233875 Q1009918 Q205519 Q1430 Q104859 Q11879 Q2659120 Q50005 Q2262449 Q4716454 Q4891703 Q1007923 Q2054 Q27450675 Q1054161 Q3624280 Q1696398 Q228644 Q1010436 Q568575 Q267328 Q1006997 Q1109324 Q17502791 Q12784446 Q270670 Q21993221 Q3308753 Q17309136 Q1635395 Q18921228 Q97466 Q1077542 Q1638123 Q2511268 Q1682362 Q2713814 Q7322912 Q13512902 Q3807575 Q16528415 Q978509 Q3779202
AND((c(Q502895),P551,Q220), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q220
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] reside at Rome and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q220'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P551 resource:Q220 . ?e property:P21 resource:Q6581097 }
Stefano Pescosolido Nicola Pietrangeli Flavio Cipolla Uros Vico Friedrich Maler Daniele Del Giudice Famulus Servando Teresa de Mier Gaspare da Verona George Frideric Handel Silvio D'Amico John Francis Charles, 7th Count de Salis-Soglio Brunello Rondi Jacopo Peri Marcus Aurelius Antoninus Michael Collins Adriaen van der Cabel John Gadsby Chapman Giulio Andreotti Fulvio Orsini Alessandro de Minicis Nicanor Piñole Daniele Luchetti Seneca Dante Cerilli Leonardo Agostini Arthur John Strutt Pieter van Bloemen Sergius II Carlo Vanzina Jan Frans van Bloemen Antonio Zugarelli Carlo Di Palma Norbert van Bloemen Domingo Gallego y Álvarez Ambrogio Bollati Abraham ibn Ezra Jose Villegas Y Cordero René-Michel Slodtz William H. Herriman Vincenzo Santopadre Bernardo Giorgio Mattarella August Kestner Adriano Giannini Wahbi al-Hariri Justo Sierra Méndez Jan Willem Crous Corrado Barazzutti Riccardo Ghedin Igor Gaudi Juan Bautista Frener Alejandro de la Cruz Renato Zero Guido Brunetti
Michael Collins, Ambrogio Bollati, Flavio Cipolla, Igor Gaudi, August Kestner, Famulus, Brunello Rondi, Renato Zero, Marcus Aurelius Antoninus and Antonio Zugarelli reside at Rome and have the gender as male
Michael Collins Ambrogio Bollati Flavio Cipolla Igor Gaudi August Kestner Famulus Brunello Rondi Renato Zero Marcus Aurelius Antoninus Antonio Zugarelli
action filter_type
action intersection
action find_reverse
entity Rome
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Rome'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:residence resource:Rome . ?e property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1430
P180
Q3305213 Q838948
USER
How many paintings or works of art depict Marcus Aurelius Antoninus ?
(c(Q3305213),P180,Q1430) (c(Q838948),P180,Q1430)
action count
action union
action filter_type
action find_reverse
entity Q1430
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1430
relation P180
type Q838948
[{'concept': 'Q3305213'}, 'P180', 'Q1430'] [{'concept': 'Q838948'}, 'P180', 'Q1430']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?q rdf:type ?t }
Marcus Aurelius Antoninus
action count
action union
action filter_type
action find_reverse
entity Marcus Aurelius Antoninus
relation depicts
type painting
action filter_type
action find_reverse
entity Marcus Aurelius Antoninus
relation depicts
type work of art
[{'concept': 'painting'}, 'depicts', 'Marcus Aurelius Antoninus'] [{'concept': 'work of art'}, 'depicts', 'Marcus Aurelius Antoninus']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?q rdf:type ?t }
[]
painting work of art
SYSTEM
3
Q907387 Q15150145 Q21141671
(c(Q3305213),P180,Q1430) (c(Q838948),P180,Q1430)
action count
action union
action filter_type
action find_reverse
entity Q1430
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1430
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q1430'] [{'concept': 'Q838948'}, 'P180', 'Q1430']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?q rdf:type ?t }
Equestrian Statue of Marcus Aurelius Aux gloires du Lyonnais et du Beaujolais equestrian statue of Marcus Aurelius
3
action count
action union
action filter_type
action find_reverse
entity Marcus Aurelius Antoninus
relation depicts
type painting
action filter_type
action find_reverse
entity Marcus Aurelius Antoninus
relation depicts
type work of art
[{'concept': 'painting'}, 'depicts', 'Marcus Aurelius Antoninus'] [{'concept': 'work of art'}, 'depicts', 'Marcus Aurelius Antoninus']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?q rdf:type ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1430
P40
Q502895
USER
Who are the children of that one ?
action filter_type
action find
entity Q1430
relation P40
type Q502895
SELECT DISTINCT ?p WHERE { resource:Q1430 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Marcus Aurelius Antoninus
action filter_type
action find
entity Marcus Aurelius Antoninus
relation child
type common name
SELECT DISTINCT ?p WHERE { resource:Marcus_Aurelius_Antoninus property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1434 Q242466 Q2055853
SYSTEM
Commodus, Lucilla, Fadilla
Q567222 Q2055853 Q441706 Q3655950 Q242466 Q3656003 Q1434
action filter_type
action find
entity Q1430
relation P40
type Q502895
The children of that one are the [ANSWERS]
SELECT DISTINCT ?p WHERE { resource:Q1430 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Marcus Annius Verus Caesar Fadilla Annia Cornificia Faustina Minor Annia Aurelia Galeria Faustina Lucilla Vibia Aurelia Sabina Commodus
The children of that one are the Commodus, Lucilla and Fadilla
Commodus Lucilla Fadilla
action filter_type
action find
entity Marcus Aurelius Antoninus
relation child
type common name
SELECT DISTINCT ?p WHERE { resource:Marcus_Aurelius_Antoninus property:child ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q242466
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q242466)
action filter_type
action find_reverse
entity Q242466
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q242466']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P9 resource:Q242466 }
Lucilla
action filter_type
action find_reverse
entity Lucilla
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Lucilla']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:sister resource:Lucilla }
[]
common name
Clarification for simple ques.
Q242466
SYSTEM
Did you mean Lucilla ?
Q1434 Q242466 Q2055853
(c(Q502895),P9,Q1434) (c(Q502895),P9,Q242466) (c(Q502895),P9,Q2055853)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q1434'] [{'concept': 'Q502895'}, 'P9', 'Q242466'] [{'concept': 'Q502895'}, 'P9', 'Q2055853']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P9 resource:Q242466 }
Commodus Lucilla Fadilla
Did you mean Lucilla ?
Lucilla
[{'concept': 'common name'}, 'sister', 'Commodus'] [{'concept': 'common name'}, 'sister', 'Lucilla'] [{'concept': 'common name'}, 'sister', 'Fadilla']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:sister resource:Lucilla }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P9,Q242466)
[{'concept': 'Q502895'}, 'P9', 'Q242466']
[{'concept': 'common name'}, 'sister', 'Lucilla']
[]
Q3656003 Q1434 Q2055853
SYSTEM
Vibia Aurelia Sabina, Commodus, Fadilla
Q567222 Q2055853 Q441706 Q3655950 Q3656003 Q1434
(c(Q502895),P9,Q242466)
action filter_type
action find_reverse
entity Q242466
relation P9
type Q502895
[ANSWERS] had that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q242466']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P9 resource:Q242466 }
Marcus Annius Verus Caesar Fadilla Annia Cornificia Faustina Minor Annia Aurelia Galeria Faustina Vibia Aurelia Sabina Commodus
Vibia Aurelia Sabina, Commodus and Fadilla had that one as their sibling
Vibia Aurelia Sabina Commodus Fadilla
action filter_type
action find_reverse
entity Lucilla
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Lucilla']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:sister resource:Lucilla }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2055853
P26
Q502895
USER
Who is married to that one ?
(Q2055853,P26,c(Q502895))
action filter_type
action find
entity Q2055853
relation P26
type Q502895
['Q2055853', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2055853 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Fadilla
action filter_type
action find
entity Fadilla
relation spouse
type common name
['Fadilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Fadilla property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2055853
SYSTEM
Did you mean Fadilla ?
Q3656003 Q1434 Q2055853
(Q3656003,P26,c(Q502895)) (Q1434,P26,c(Q502895)) (Q2055853,P26,c(Q502895))
[ANSWER]
['Q3656003', 'P26', {'concept': 'Q502895'}] ['Q1434', 'P26', {'concept': 'Q502895'}] ['Q2055853', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2055853 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Vibia Aurelia Sabina Commodus Fadilla
Did you mean Fadilla ?
Fadilla
['Vibia Aurelia Sabina', 'spouse', {'concept': 'common name'}] ['Commodus', 'spouse', {'concept': 'common name'}] ['Fadilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Fadilla property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2055853,P26,c(Q502895))
['Q2055853', 'P26', {'concept': 'Q502895'}]
['Fadilla', 'spouse', {'concept': 'common name'}]
[]
Q333064
SYSTEM
Marcus Peducaeus Plautius Quintillus
Q333064
(Q2055853,P26,c(Q502895))
action filter_type
action find
entity Q2055853
relation P26
type Q502895
[ANSWER] is married to that one
['Q2055853', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2055853 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Marcus Peducaeus Plautius Quintillus
Marcus Peducaeus Plautius Quintillus is married to that one
Marcus Peducaeus Plautius Quintillus
action filter_type
action find
entity Fadilla
relation spouse
type common name
['Fadilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Fadilla property:spouse ?s . ?s rdf:type ontology:common_name }
[]