Simple Question (Direct)
Simple Question
Q339885
P135
Q7257
USER
Which ideology was Sergio Bagú linked with ?
(Q339885,P135,c(Q7257))
action filter_type
action find
entity Q339885
relation P135
type Q7257
['Q339885', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?e WHERE { resource:Q339885 property:P135 ?e . ?e rdf:type ontology:Q7257 }
Sergio Bagú
action filter_type
action find
entity Sergio Bagú
relation movement
type ideology
['Sergio Bagú', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?e WHERE { resource:Sergio_Bagú property:movement ?e . ?e rdf:type ontology:ideology }
[]
ideology
Q7264
SYSTEM
Marxism
Q7264
(Q339885,P135,c(Q7257))
action filter_type
action find
entity Q339885
relation P135
type Q7257
Sergio Bagú was linked to [ANSWER]
['Q339885', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?e WHERE { resource:Q339885 property:P135 ?e . ?e rdf:type ontology:Q7257 }
Marxism
Sergio Bagú was linked to Marxism
Marxism
action filter_type
action find
entity Sergio Bagú
relation movement
type ideology
['Sergio Bagú', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?e WHERE { resource:Sergio_Bagú property:movement ?e . ?e rdf:type ontology:ideology }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q339885
P101
Q5962346
USER
Which field does Sergio Bagú belong to ?
(Q339885,P101,c(Q5962346))
action filter_type
action find
entity Q339885
relation P101
type Q5962346
['Q339885', 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q339885 property:P101 ?u . ?u rdf:type ontology:Q5962346 }
Sergio Bagú
action filter_type
action find
entity Sergio Bagú
relation field of work
type classification scheme
['Sergio Bagú', 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Sergio_Bagú property:field_of_work ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Q179805
SYSTEM
political philosophy
Q179805
(Q339885,P101,c(Q5962346))
action filter_type
action find
entity Q339885
relation P101
type Q5962346
Sergio Bagú belongs to [ANSWER]
['Q339885', 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q339885 property:P101 ?u . ?u rdf:type ontology:Q5962346 }
political philosophy
Sergio Bagú belongs to political philosophy
political philosophy
action filter_type
action find
entity Sergio Bagú
relation field of work
type classification scheme
['Sergio Bagú', 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Sergio_Bagú property:field_of_work ?u . ?u rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q339885
P106
Q12737077
USER
Which occupations are the professions of Sergio Bagú ?
(Q339885,P106,c(Q12737077))
action filter_type
action find
entity Q339885
relation P106
type Q12737077
['Q339885', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q339885 property:P106 ?f }
Sergio Bagú
action filter_type
action find
entity Sergio Bagú
relation occupation
type occupation
['Sergio Bagú', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Sergio_Bagú property:occupation ?f }
[]
occupation
Q201788 Q2306091
SYSTEM
historian, sociologist
Q201788 Q2306091
(Q339885,P106,c(Q12737077))
action filter_type
action find
entity Q339885
relation P106
type Q12737077
The professions of Sergio Bagú are [ANSWERS]
['Q339885', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q339885 property:P106 ?f }
historian sociologist
The professions of Sergio Bagú are historian and sociologist
historian sociologist
action filter_type
action find
entity Sergio Bagú
relation occupation
type occupation
['Sergio Bagú', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Sergio_Bagú property:occupation ?f }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q129133
P106
Q502895
USER
Do Sergey Kara-Murza have career as those occupations ?
(Q129133,P106,Q201788) (Q129133,P106,Q2306091)
action is_in
entity prev_answer
action find
entity Q129133
relation P106
['Q129133', 'P106', 'Q201788'] ['Q129133', 'P106', 'Q2306091']
ASK WHERE { resource:Q129133 property:P106 ?y . VALUES ( ?y ) { ( resource:Q201788 ) ( resource:Q2306091 ) } }
Sergey Kara-Murza
action is_in
entity prev_answer
action find
entity Sergey Kara-Murza
relation occupation
['Sergey Kara-Murza', 'occupation', 'historian'] ['Sergey Kara-Murza', 'occupation', 'sociologist']
ASK WHERE { resource:Sergey_Kara-Murza property:occupation ?y . VALUES ( ?y ) { ( resource:historian ) ( resource:sociologist ) } }
[]
common name
SYSTEM
YES
(Q129133,P106,Q201788) (Q129133,P106,Q2306091)
action is_in
entity prev_answer
action find
entity Q129133
relation P106
[ANSWER]
['Q129133', 'P106', 'Q201788'] ['Q129133', 'P106', 'Q2306091']
ASK WHERE { resource:Q129133 property:P106 ?y . VALUES ( ?y ) { ( resource:Q201788 ) ( resource:Q2306091 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sergey Kara-Murza
relation occupation
['Sergey Kara-Murza', 'occupation', 'historian'] ['Sergey Kara-Murza', 'occupation', 'sociologist']
ASK WHERE { resource:Sergey_Kara-Murza property:occupation ?y . VALUES ( ?y ) { ( resource:historian ) ( resource:sociologist ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1120172 Q339885
P19
Q515
USER
Which cities were Sergio Bagú or István Kovács born ?
OR((Q339885,P19,c(Q515)), (Q1120172,P19,c(Q515)))
action filter_type
action union
action find
entity Q339885
relation P19
action find
entity Q1120172
relation P19
type Q515
{'OR': [['Q339885', 'P19', {'concept': 'Q515'}], ['Q1120172', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q339885 property:P19 ?u } UNION { resource:Q1120172 property:P19 ?u } } . ?u rdf:type ontology:Q515 }
István Kovács Sergio Bagú
action filter_type
action union
action find
entity Sergio Bagú
relation place of birth
action find
entity István Kovács
relation place of birth
type city
{'OR': [['Sergio Bagú', 'place of birth', {'concept': 'city'}], ['István Kovács', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Sergio_Bagú property:place_of_birth ?u } UNION { resource:István_Kovács property:place_of_birth ?u } } . ?u rdf:type ontology:city }
[]
city
Q1486 Q189769
SYSTEM
Buenos Aires, Salgótarján
Q1486 Q189769
OR((Q339885,P19,c(Q515)), (Q1120172,P19,c(Q515)))
action filter_type
action union
action find
entity Q339885
relation P19
action find
entity Q1120172
relation P19
type Q515
Sergio Bagú or István Kovács were born in [ANSWERS]
{'OR': [['Q339885', 'P19', {'concept': 'Q515'}], ['Q1120172', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q339885 property:P19 ?u } UNION { resource:Q1120172 property:P19 ?u } } . ?u rdf:type ontology:Q515 }
Buenos Aires Salgótarján
Sergio Bagú or István Kovács were born in Buenos Aires and Salgótarján
Buenos Aires Salgótarján
action filter_type
action union
action find
entity Sergio Bagú
relation place of birth
action find
entity István Kovács
relation place of birth
type city
{'OR': [['Sergio Bagú', 'place of birth', {'concept': 'city'}], ['István Kovács', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Sergio_Bagú property:place_of_birth ?u } UNION { resource:István_Kovács property:place_of_birth ?u } } . ?u rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P190
Q56061
USER
Which administrative territories are partner towns of Buenos Aires ?
(Q1486,P190,c(Q56061))
action filter_type
action find
entity Q1486
relation P190
type Q56061
['Q1486', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1486 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Buenos_Aires property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q8678 Q3766 Q628 Q649 Q8745 Q15682 Q1449 Q2807 Q34820 Q25395 Q15695 Q1524 Q2634 Q1489 Q1218 Q71 Q8692 Q518431 Q3711 Q2868 Q33935 Q2656 Q84 Q85 Q34370 Q7880 Q13678 Q40269 Q406 Q1930 Q10400 Q174 Q244324 Q270 Q8717 Q490 Q14314 Q597 Q956 Q1335 Q64 Q1492 Q3820 Q5465 Q1085 Q1897
(Q1486,P190,c(Q56061))
action filter_type
action find
entity Q1486
relation P190
type Q56061
[ANSWERS] are partner towns of Buenos Aires
['Q1486', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1486 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Rio de Janeiro Damascus Bergamo Moscow Vigo Cádiz Genoa Madrid Santo Domingo Newark Salamanca Athens Naples Mexico City Jerusalem Geneva Bilbao Chimbote Belgrade Lima Tel Aviv Palermo London Cairo Rotterdam Toulouse Agrigento Porto Alegre Istanbul Ottawa Almería São Paulo Guadix Warsaw Seville Milan Santiago de Compostela Lisbon Beijing Montevideo Berlin Barcelona Beirut Cape Town Prague Cagliari
Prague, Moscow and Madrid are partner towns of Buenos Aires
Prague Moscow Madrid
action filter_type
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Buenos_Aires property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q649 Q2807
P190
Q13220204
USER
Which administrative country subdivisions are twin cities of those administrative territories ?
(Q1085,P190,c(Q13220204)) (Q649,P190,c(Q13220204)) (Q2807,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}] ['Q2807', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?o WHERE { ?q property:P190 ?o . ?o rdf:type ontology:Q13220204 . VALUES ( ?q ) { ( resource:Q8678 ) ( resource:Q3766 ) ( resource:Q628 ) } }
Prague Moscow Madrid
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Madrid', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?o WHERE { ?q property:sister_city ?o . ?o rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?q ) { ( resource:Rio_de_Janeiro ) ( resource:Damascus ) ( resource:Bergamo ) } }
[]
second-level administrative country subdivision
Q9899 Q9899 Q2933
SYSTEM
Asunción for 3rd, Amsterdam for 1st, 2nd
Q9899 Q9899 Q156711 Q2933 Q2841
(Q1085,P190,c(Q13220204)) (Q649,P190,c(Q13220204)) (Q2807,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
[ANSWERS]
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}] ['Q2807', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?o WHERE { ?q property:P190 ?o . ?o rdf:type ontology:Q13220204 . VALUES ( ?q ) { ( resource:Q8678 ) ( resource:Q3766 ) ( resource:Q628 ) } }
Amsterdam Amsterdam Uzhhorod Asunción Bogotá
Amsterdam, Amsterdam and Asunción are twin cities of those administrative territories
Amsterdam Amsterdam Asunción
action filter_type
action find
entity prev_answer
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Madrid', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?o WHERE { ?q property:sister_city ?o . ?o rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?q ) { ( resource:Rio_de_Janeiro ) ( resource:Damascus ) ( resource:Bergamo ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P36
Q15617994
USER
Which administrative territory consists of Madrid as its capital ?
(c(Q15617994),P36,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . ?i property:P36 resource:Q2807 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:capital resource:Madrid }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(c(Q15617994),P36,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P36
type Q15617994
[ANSWER] consists of Madrid as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . ?i property:P36 resource:Q2807 }
Spain
Spain consists of Madrid as its capital
Spain
action filter_type
action find_reverse
entity Madrid
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:capital resource:Madrid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P17
Q7275
USER
Which states are that administrative territory a part of ?
(Q29,P17,c(Q7275))
action filter_type
action find
entity Q2807
relation P17
type Q7275
['Q29', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q2807 property:P17 ?t . ?t rdf:type ontology:Q7275 }
Madrid
action filter_type
action find
entity Madrid
relation country
type state
['Spain', 'country', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Madrid property:country ?t . ?t rdf:type ontology:state }
[]
state
Q179293 Q217196
SYSTEM
Kingdom of Castile, Crown of Castile
Q179293 Q217196
(Q29,P17,c(Q7275))
action filter_type
action find
entity Q2807
relation P17
type Q7275
[ANSWERS] are that administrative territory a part of
['Q29', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q2807 property:P17 ?t . ?t rdf:type ontology:Q7275 }
Kingdom of Castile Crown of Castile
Kingdom of Castile and Crown of Castile are that administrative territory a part of
Kingdom of Castile Crown of Castile
action filter_type
action find
entity Madrid
relation country
type state
['Spain', 'country', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Madrid property:country ?t . ?t rdf:type ontology:state }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q94919 Q649
P190
Q56061
USER
Which administrative territories are twin towns of Moscow or Waukesha ?
OR((Q649,P190,c(Q56061)), (Q94919,P190,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q94919
relation P190
type Q56061
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q94919', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?t ) { ( resource:Q649 ) ( resource:Q94919 ) } . ?t property:P190 ?b } . ?b rdf:type ontology:Q56061 }
Waukesha Moscow
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Waukesha
relation sister city
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Waukesha', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?t ) { ( resource:Moscow ) ( resource:Waukesha ) } . ?t property:sister_city ?b } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3561 Q41572 Q216 Q85 Q486282 Q472 Q1718 Q1861 Q25409 Q23564
SYSTEM
Some of them are Algiers, Mykolaiv, Vilnius, Cairo, Pavlodar, Sofia, Düsseldorf, Bangkok, Košice, Podgorica
Q807 Q41572 Q131290 Q994 Q437 Q1353 Q727 Q472 Q23564 Q179830 Q13498 Q178373 Q42308 Q1770 Q1718 Q18808 Q1297 Q1490 Q196678 Q490643 Q1524 Q1780 Q1520 Q1741 Q3630 Q140147 Q25409 Q33935 Q3561 Q3805 Q84 Q85 Q486282 Q19566 Q1861 Q3820 Q216 Q43070 Q270 Q987 Q239 Q2807 Q205648 Q956 Q3640 Q64 Q1491 Q1218 Q133026 Q186576 Q1085
OR((Q649,P190,c(Q56061)), (Q94919,P190,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q94919
relation P190
type Q56061
[ANSWERS] are twin towns of Moscow or Waukesha
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q94919', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?t ) { ( resource:Q649 ) ( resource:Q94919 ) } . ?t property:P190 ?b } . ?b rdf:type ontology:Q56061 }
Lausanne Mykolaiv Ganja Tbilisi Ljubljana Delhi Amsterdam Sofia Podgorica Jelgava Taranto Rasht Kharkiv Tallinn Düsseldorf Pyongyang Chicago Tokyo Torzhok Kokshetau Athens Bratislava Astana Vienna Jakarta Brest Košice Tel Aviv Algiers Amman London Cairo Pavlodar Simferopol Bangkok Beirut Vilnius Donetsk Warsaw New Delhi Brussels Madrid Granada Beijing Ankara Berlin La Paz Jerusalem Kolomna Pazardzhik Prague
Algiers, Mykolaiv, Vilnius, Cairo, Pavlodar, Sofia, Düsseldorf, Bangkok, Košice and Podgorica are twin towns of Moscow or Waukesha
Algiers Mykolaiv Vilnius Cairo Pavlodar Sofia Düsseldorf Bangkok Košice Podgorica
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Waukesha
relation sister city
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Waukesha', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?t ) { ( resource:Moscow ) ( resource:Waukesha ) } . ?t property:sister_city ?b } . ?b rdf:type ontology:administrative_territorial_entity }
[]