Simple Question (Direct)
Simple Question
Q4236740
P102
Q766570
USER
Which political party in Russia is Igor Kochetkov a member of ?
(Q4236740,P102,c(Q766570))
action filter_type
action find
entity Q4236740
relation P102
type Q766570
['Q4236740', 'P102', {'concept': 'Q766570'}]
SELECT DISTINCT ?j WHERE { resource:Q4236740 property:P102 ?j . ?j rdf:type ontology:Q766570 }
Igor Kochetkov
action filter_type
action find
entity Igor Kochetkov
relation member of political party
type political party in Russia
['Igor Kochetkov', 'member of political party', {'concept': 'political party in Russia'}]
SELECT DISTINCT ?j WHERE { resource:Igor_Kochetkov property:member_of_political_party ?j . ?j rdf:type ontology:political_party_in_Russia }
[]
political party in Russia
Q15332
SYSTEM
Yabloko
Q15332
(Q4236740,P102,c(Q766570))
action filter_type
action find
entity Q4236740
relation P102
type Q766570
[ANSWER] is Igor Kochetkov a member of
['Q4236740', 'P102', {'concept': 'Q766570'}]
SELECT DISTINCT ?j WHERE { resource:Q4236740 property:P102 ?j . ?j rdf:type ontology:Q766570 }
Yabloko
Yabloko is Igor Kochetkov a member of
Yabloko
action filter_type
action find
entity Igor Kochetkov
relation member of political party
type political party in Russia
['Igor Kochetkov', 'member of political party', {'concept': 'political party in Russia'}]
SELECT DISTINCT ?j WHERE { resource:Igor_Kochetkov property:member_of_political_party ?j . ?j rdf:type ontology:political_party_in_Russia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15332
P159
Q56061
USER
Which administrative territory is the HQ of that political party in Russia ?
(Q15332,P159,c(Q56061))
action filter_type
action find
entity Q15332
relation P159
type Q56061
['Q15332', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q15332 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Yabloko
action filter_type
action find
entity Yabloko
relation headquarters location
type administrative territorial entity
['Yabloko', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yabloko property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q15332,P159,c(Q56061))
action filter_type
action find
entity Q15332
relation P159
type Q56061
In [ANSWER] is the HQ of that political party in Russia
['Q15332', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q15332 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Moscow
In Moscow is the HQ of that political party in Russia
Moscow
action filter_type
action find
entity Yabloko
relation headquarters location
type administrative territorial entity
['Yabloko', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yabloko property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q52215
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have adopted greater number of people or holidays as patron saint than Tuglie ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q52215
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?t } . FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q52215 property:P417 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q1445650 } } } } }
Tuglie
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Tuglie
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?t } . FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Tuglie property:patron_saint ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:holiday } } } } }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q52215
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?t } . FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q52215 property:P417 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q1445650 } } } } }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Tuglie
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?t } . FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Tuglie property:patron_saint ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:holiday } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2634 Q649
P190
Q56061
USER
Which administrative territories are sister towns of Moscow or Naples ?
OR((Q649,P190,c(Q56061)), (Q2634,P190,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q2634
relation P190
type Q56061
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q2634', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q649 property:P190 ?t } UNION { resource:Q2634 property:P190 ?t } } . ?t rdf:type ontology:Q56061 }
Naples Moscow
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Naples
relation sister city
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Naples', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Moscow property:sister_city ?t } UNION { resource:Naples property:sister_city ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3820 Q62 Q167394 Q44210 Q3640 Q214178 Q1861 Q437 Q1085 Q8826
SYSTEM
Some of them are Beirut, San Francisco, Kragujevac, Córdoba, Ankara, Nablus, Bangkok, Ljubljana, Prague, Palma
Q807 Q41572 Q131290 Q994 Q437 Q1353 Q727 Q472 Q8826 Q23564 Q179830 Q13498 Q178373 Q42308 Q54880 Q1718 Q18808 Q1297 Q117040 Q1524 Q196678 Q9248 Q44210 Q1780 Q1781 Q1520 Q1741 Q257830 Q3630 Q140147 Q25409 Q33935 Q3640 Q1770 Q3561 Q3805 Q466006 Q84 Q85 Q486282 Q1490 Q19566 Q43070 Q1861 Q3820 Q216 Q172 Q270 Q987 Q239 Q15674 Q490 Q2807 Q167394 Q956 Q1085 Q214178 Q64 Q1491 Q1218 Q133026 Q186576 Q62
OR((Q649,P190,c(Q56061)), (Q2634,P190,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q2634
relation P190
type Q56061
[ANSWERS] are sister towns of Moscow or Naples
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q2634', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q649 property:P190 ?t } UNION { resource:Q2634 property:P190 ?t } } . ?t rdf:type ontology:Q56061 }
Lausanne Mykolaiv Ganja Tbilisi Ljubljana Delhi Amsterdam Sofia Palma Podgorica Jelgava Taranto Rasht Kharkiv Valencia Düsseldorf Pyongyang Chicago Santiago de Cuba Athens Torzhok Baku Córdoba Bratislava Budapest Astana Vienna Naples Jakarta Brest Košice Tel Aviv Ankara Tallinn Algiers Amman Gafsa London Cairo Pavlodar Tokyo Simferopol Donetsk Bangkok Beirut Vilnius Toronto Warsaw New Delhi Brussels Kagoshima Milan Madrid Kragujevac Beijing Prague Nablus Berlin La Paz Jerusalem Kolomna Pazardzhik San Francisco
Beirut, San Francisco, Kragujevac, Córdoba, Ankara, Nablus, Bangkok, Ljubljana, Prague and Palma are sister towns of Moscow or Naples
Beirut San Francisco Kragujevac Córdoba Ankara Nablus Bangkok Ljubljana Prague Palma
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Naples
relation sister city
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Naples', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Moscow property:sister_city ?t } UNION { resource:Naples property:sister_city ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q167394
P551
Q502895
USER
Which people dwell at that administrative territory ?
(c(Q502895),P551,Q167394)
action filter_type
action find_reverse
entity Q167394
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q167394']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q167394 . ?h rdf:type ontology:Q502895 }
Kragujevac
action filter_type
action find_reverse
entity Kragujevac
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kragujevac']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Kragujevac . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q44210
SYSTEM
Did you mean Córdoba ?
Q3820 Q62 Q167394 Q44210 Q3640 Q214178 Q1861 Q437 Q1085 Q8826
(c(Q502895),P551,Q3820) (c(Q502895),P551,Q62) (c(Q502895),P551,Q167394) (c(Q502895),P551,Q44210) (c(Q502895),P551,Q3640) (c(Q502895),P551,Q214178) (c(Q502895),P551,Q1861) (c(Q502895),P551,Q437) (c(Q502895),P551,Q1085) (c(Q502895),P551,Q8826)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q3820'] [{'concept': 'Q502895'}, 'P551', 'Q62'] [{'concept': 'Q502895'}, 'P551', 'Q167394'] [{'concept': 'Q502895'}, 'P551', 'Q44210'] [{'concept': 'Q502895'}, 'P551', 'Q3640'] [{'concept': 'Q502895'}, 'P551', 'Q214178'] [{'concept': 'Q502895'}, 'P551', 'Q1861'] [{'concept': 'Q502895'}, 'P551', 'Q437'] [{'concept': 'Q502895'}, 'P551', 'Q1085'] [{'concept': 'Q502895'}, 'P551', 'Q8826']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q167394 . ?h rdf:type ontology:Q502895 }
Beirut San Francisco Kragujevac Córdoba Ankara Nablus Bangkok Ljubljana Prague Palma
Did you mean Córdoba ?
Córdoba
[{'concept': 'common name'}, 'residence', 'Beirut'] [{'concept': 'common name'}, 'residence', 'San Francisco'] [{'concept': 'common name'}, 'residence', 'Kragujevac'] [{'concept': 'common name'}, 'residence', 'Córdoba'] [{'concept': 'common name'}, 'residence', 'Ankara'] [{'concept': 'common name'}, 'residence', 'Nablus'] [{'concept': 'common name'}, 'residence', 'Bangkok'] [{'concept': 'common name'}, 'residence', 'Ljubljana'] [{'concept': 'common name'}, 'residence', 'Prague'] [{'concept': 'common name'}, 'residence', 'Palma']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Kragujevac . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Kragujevac. Could you tell me the answer for that?
(c(Q502895),P551,Q167394)
Q167394
[{'concept': 'Q502895'}, 'P551', 'Q167394']
[{'concept': 'common name'}, 'residence', 'Kragujevac']
[]
Q57431 Q391573 Q376036
SYSTEM
Tomislav Nikolić, Jovan Ristić, Svetozar Marković
Q317561 Q1272627 Q391573 Q432858 Q376036 Q6874031 Q232748 Q57431 Q434252 Q226701
(c(Q502895),P551,Q167394)
action filter_type
action find_reverse
entity Q167394
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q167394']
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q167394 . ?h rdf:type ontology:Q502895 }
Milan Obrenović II Dragomir Bojanić Jovan Ristić Mija Aleksić Svetozar Marković Miroslav Nikolić Jelena Tomašević Tomislav Nikolić Mihailo Obrenović III Marija Šerifović
Tomislav Nikolić, Jovan Ristić and Svetozar Marković dwell at that administrative territory
Tomislav Nikolić Jovan Ristić Svetozar Marković
action filter_type
action find_reverse
entity Kragujevac
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kragujevac']
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Kragujevac . ?h rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P27
Q7275 Q15617994
USER
How many states and administrative territories are the countries of citizenship of that person ?
(Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q57431,P27,c(Q7275)) (Q57431,P27,c(Q15617994)) (Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q376036,P27,c(Q7275)) (Q376036,P27,c(Q15617994))
['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q57431', 'P27', {'concept': 'Q7275'}] ['Q57431', 'P27', {'concept': 'Q15617994'}] ['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q376036', 'P27', {'concept': 'Q7275'}] ['Q376036', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q57431 property:P27 ?z } UNION { resource:Q57431 property:P27 ?y } UNION { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q376036 property:P27 ?z } UNION { resource:Q376036 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'state'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'state'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?z } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?y } UNION { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Svetozar_Marković property:country_of_citizenship ?z } UNION { resource:Svetozar_Marković property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
state designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q57431
SYSTEM
Did you mean Tomislav Nikolić ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q57431 property:P27 ?z } UNION { resource:Q57431 property:P27 ?y } UNION { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q376036 property:P27 ?z } UNION { resource:Q376036 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
Did you mean Tomislav Nikolić ?
Tomislav Nikolić
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?z } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?y } UNION { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Svetozar_Marković property:country_of_citizenship ?z } UNION { resource:Svetozar_Marković property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Jovan Ristić. Could you tell me the answer for that?
(Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q57431,P27,c(Q7275)) (Q57431,P27,c(Q15617994)) (Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q376036,P27,c(Q7275)) (Q376036,P27,c(Q15617994))
Q391573
['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q57431', 'P27', {'concept': 'Q7275'}] ['Q57431', 'P27', {'concept': 'Q15617994'}] ['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q376036', 'P27', {'concept': 'Q7275'}] ['Q376036', 'P27', {'concept': 'Q15617994'}]
['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'state'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'state'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1 states and 1 administrative territories
Q241748 Q684030
(Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q57431,P27,c(Q7275)) (Q57431,P27,c(Q15617994)) (Q391573,P27,c(Q7275)) (Q391573,P27,c(Q15617994)) (Q376036,P27,c(Q7275)) (Q376036,P27,c(Q15617994))
[ANSWER]
['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q57431', 'P27', {'concept': 'Q7275'}] ['Q57431', 'P27', {'concept': 'Q15617994'}] ['Q391573', 'P27', {'concept': 'Q7275'}] ['Q391573', 'P27', {'concept': 'Q15617994'}] ['Q376036', 'P27', {'concept': 'Q7275'}] ['Q376036', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q57431 property:P27 ?z } UNION { resource:Q57431 property:P27 ?y } UNION { resource:Q391573 property:P27 ?z } UNION { resource:Q391573 property:P27 ?y } UNION { resource:Q376036 property:P27 ?z } UNION { resource:Q376036 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
Kingdom of Serbia Principality of Serbia
1 states and 1 administrative territories
['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'state'}] ['Tomislav Nikolić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'state'}] ['Jovan Ristić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'state'}] ['Svetozar Marković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?z } UNION { resource:Tomislav_Nikolić property:country_of_citizenship ?y } UNION { resource:Jovan_Ristić property:country_of_citizenship ?z } UNION { resource:Jovan_Ristić property:country_of_citizenship ?y } UNION { resource:Svetozar_Marković property:country_of_citizenship ?z } UNION { resource:Svetozar_Marković property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q391573
P172
Q2472587
USER
What is the ethnicity of that person ?
action filter_type
action find
entity Q391573
relation P172
type Q2472587
SELECT DISTINCT ?d WHERE { resource:Q391573 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
Jovan Ristić
action filter_type
action find
entity Jovan Ristić
relation ethnic group
type people
SELECT DISTINCT ?d WHERE { resource:Jovan_Ristić property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
people
Q127885
SYSTEM
Serbs
Q127885
action filter_type
action find
entity Q391573
relation P172
type Q2472587
The ethnicity of that person is ethnic [ANSWER]
SELECT DISTINCT ?d WHERE { resource:Q391573 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
Serbs
The ethnicity of that person is ethnic Serbs
Serbs
action filter_type
action find
entity Jovan Ristić
relation ethnic group
type people
SELECT DISTINCT ?d WHERE { resource:Jovan_Ristić property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15332
P488
Q502895
USER
Who were the chair of Yabloko ?
(Q15332,P488,c(Q502895))
action filter_type
action find
entity Q15332
relation P488
type Q502895
['Q15332', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q15332 property:P488 ?p . ?p rdf:type ontology:Q502895 }
Yabloko
action filter_type
action find
entity Yabloko
relation chairperson
type common name
['Yabloko', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yabloko property:chairperson ?p . ?p rdf:type ontology:common_name }
[]
common name
Q438603 Q21786412 Q544851
SYSTEM
Grigory Yavlinsky, Emilia Slabunova, Sergey Mitrokhin
Q438603 Q21786412 Q544851
(Q15332,P488,c(Q502895))
action filter_type
action find
entity Q15332
relation P488
type Q502895
The chair of Yabloko were the [ANSWERS]
['Q15332', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q15332 property:P488 ?p . ?p rdf:type ontology:Q502895 }
Grigory Yavlinsky Emilia Slabunova Sergey Mitrokhin
The chair of Yabloko were the Grigory Yavlinsky, Emilia Slabunova and Sergey Mitrokhin
Grigory Yavlinsky Emilia Slabunova Sergey Mitrokhin
action filter_type
action find
entity Yabloko
relation chairperson
type common name
['Yabloko', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yabloko property:chairperson ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4345966
P488
Q766570
USER
Do Party of Peace and Unity have those people as their chairperson ?
(Q4345966,P488,Q438603) (Q4345966,P488,Q21786412) (Q4345966,P488,Q544851)
action is_in
entity prev_answer
action find
entity Q4345966
relation P488
['Q4345966', 'P488', 'Q438603'] ['Q4345966', 'P488', 'Q21786412'] ['Q4345966', 'P488', 'Q544851']
ASK WHERE { resource:Q4345966 property:P488 ?g . VALUES ( ?g ) { ( resource:Q438603 ) ( resource:Q21786412 ) ( resource:Q544851 ) } }
Party of Peace and Unity
action is_in
entity prev_answer
action find
entity Party of Peace and Unity
relation chairperson
['Party of Peace and Unity', 'chairperson', 'Grigory Yavlinsky'] ['Party of Peace and Unity', 'chairperson', 'Emilia Slabunova'] ['Party of Peace and Unity', 'chairperson', 'Sergey Mitrokhin']
ASK WHERE { resource:Party_of_Peace_and_Unity property:chairperson ?g . VALUES ( ?g ) { ( resource:Grigory_Yavlinsky ) ( resource:Emilia_Slabunova ) ( resource:Sergey_Mitrokhin ) } }
[]
political party in Russia
SYSTEM
NO
(Q4345966,P488,Q438603) (Q4345966,P488,Q21786412) (Q4345966,P488,Q544851)
action is_in
entity prev_answer
action find
entity Q4345966
relation P488
[ANSWER]
['Q4345966', 'P488', 'Q438603'] ['Q4345966', 'P488', 'Q21786412'] ['Q4345966', 'P488', 'Q544851']
ASK WHERE { resource:Q4345966 property:P488 ?g . VALUES ( ?g ) { ( resource:Q438603 ) ( resource:Q21786412 ) ( resource:Q544851 ) } }
No
action is_in
entity prev_answer
action find
entity Party of Peace and Unity
relation chairperson
['Party of Peace and Unity', 'chairperson', 'Grigory Yavlinsky'] ['Party of Peace and Unity', 'chairperson', 'Emilia Slabunova'] ['Party of Peace and Unity', 'chairperson', 'Sergey Mitrokhin']
ASK WHERE { resource:Party_of_Peace_and_Unity property:chairperson ?g . VALUES ( ?g ) { ( resource:Grigory_Yavlinsky ) ( resource:Emilia_Slabunova ) ( resource:Sergey_Mitrokhin ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62
P119
Q502895
USER
Which person has San Francisco as his/her tomb ?
(c(Q502895),P119,Q62)
action filter_type
action find_reverse
entity Q62
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q62']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q62 . ?u rdf:type ontology:Q502895 }
San Francisco
action filter_type
action find_reverse
entity San Francisco
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'San Francisco']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:San_Francisco . ?u rdf:type ontology:common_name }
[]
common name
Q24090678
SYSTEM
James Irvine
Q24090678
(c(Q502895),P119,Q62)
action filter_type
action find_reverse
entity Q62
relation P119
type Q502895
[ANSWER] has San Francisco as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q62']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q62 . ?u rdf:type ontology:Q502895 }
James Irvine
James Irvine has San Francisco as his/her tomb
James Irvine
action filter_type
action find_reverse
entity San Francisco
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'San Francisco']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:San_Francisco . ?u rdf:type ontology:common_name }
[]