Simple Question (Direct)
Simple Question
Q1511360
P39
Q12737077
USER
What was the position for which Gerhard Bothur was appointed ?
(Q1511360,P39,c(Q12737077))
action filter_type
action find
entity Q1511360
relation P39
type Q12737077
['Q1511360', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1511360 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Gerhard Bothur
action filter_type
action find
entity Gerhard Bothur
relation position held
type occupation
['Gerhard Bothur', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gerhard_Bothur property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q1511360,P39,c(Q12737077))
action filter_type
action find
entity Q1511360
relation P39
type Q12737077
Constituency [ANSWER]
['Q1511360', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1511360 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
Constituency member of the Landtag of North Rhine-Westphalia
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Gerhard Bothur
relation position held
type occupation
['Gerhard Bothur', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gerhard_Bothur property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17781726 Q4323282
P17
Q1048835
USER
Is that occupation a part of Novobulakhivka ?
(Q17781726,P17,Q4323282)
action is_in
entity Q4323282
action find
entity Q17781726
relation P17
['Q17781726', 'P17', 'Q4323282']
ASK WHERE { resource:Q17781726 property:P17 resource:Q4323282 }
member of the Landtag of North Rhine-Westphalia Novobulakhivka
action is_in
entity Novobulakhivka
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Novobulakhivka']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Novobulakhivka }
[]
political territorial entity
SYSTEM
NO
(Q17781726,P17,Q4323282)
action is_in
entity Q4323282
action find
entity Q17781726
relation P17
[ANSWER]
['Q17781726', 'P17', 'Q4323282']
ASK WHERE { resource:Q17781726 property:P17 resource:Q4323282 }
No
action is_in
entity Novobulakhivka
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Novobulakhivka']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Novobulakhivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1511360 Q4423573 Q183
P27
Q1048835
USER
Is Gerhard Bothur a native of Sloboda, Novoselytsia Raion and Germany ?
(Q1511360,P27,Q4423573) (Q1511360,P27,Q183)
action is_in
entity Q1511360
action intersection
action find_reverse
entity Q4423573
relation P27
action find_reverse
entity Q183
relation P27
['Q1511360', 'P27', 'Q4423573'] ['Q1511360', 'P27', 'Q183']
ASK WHERE { resource:Q1511360 property:P27 resource:Q4423573 . resource:Q1511360 property:P27 resource:Q183 }
Gerhard Bothur Sloboda, Novoselytsia Raion Germany
action is_in
entity Gerhard Bothur
action intersection
action find_reverse
entity Sloboda, Novoselytsia Raion
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Gerhard Bothur', 'country of citizenship', 'Sloboda, Novoselytsia Raion'] ['Gerhard Bothur', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gerhard_Bothur property:country_of_citizenship resource:Sloboda,_Novoselytsia_Raion . resource:Gerhard_Bothur property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1511360,P27,Q4423573) (Q1511360,P27,Q183)
action is_in
entity Q1511360
action intersection
action find_reverse
entity Q4423573
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q1511360', 'P27', 'Q4423573'] ['Q1511360', 'P27', 'Q183']
ASK WHERE { resource:Q1511360 property:P27 resource:Q4423573 . resource:Q1511360 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Gerhard Bothur
action intersection
action find_reverse
entity Sloboda, Novoselytsia Raion
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Gerhard Bothur', 'country of citizenship', 'Sloboda, Novoselytsia Raion'] ['Gerhard Bothur', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gerhard_Bothur property:country_of_citizenship resource:Sloboda,_Novoselytsia_Raion . resource:Gerhard_Bothur property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17781726 Q183
P17
Q1048835
USER
Is member of the Landtag of North Rhine-Westphalia situated in Germany ?
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
member of the Landtag of North Rhine-Westphalia Germany
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
[ANSWER]
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q155155 Q4423573
P17
Q15617994
USER
Which administrative territories do Sloboda, Novoselytsia Raion or Uus Maailm belong to ?
OR((Q4423573,P17,c(Q15617994)), (Q155155,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4423573
relation P17
action find
entity Q155155
relation P17
type Q15617994
{'OR': [['Q4423573', 'P17', {'concept': 'Q15617994'}], ['Q155155', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4423573 property:P17 ?o } UNION { resource:Q155155 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Uus Maailm Sloboda, Novoselytsia Raion
action filter_type
action union
action find
entity Sloboda, Novoselytsia Raion
relation country
action find
entity Uus Maailm
relation country
type designation for an administrative territorial entity
{'OR': [['Sloboda, Novoselytsia Raion', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Uus Maailm', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Sloboda,_Novoselytsia_Raion property:country ?o } UNION { resource:Uus_Maailm property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q191
SYSTEM
Ukraine, Estonia
Q212 Q191
OR((Q4423573,P17,c(Q15617994)), (Q155155,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4423573
relation P17
action find
entity Q155155
relation P17
type Q15617994
[ANSWERS] Sloboda, Novoselytsia Raion or Uus Maailm belong to
{'OR': [['Q4423573', 'P17', {'concept': 'Q15617994'}], ['Q155155', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4423573 property:P17 ?o } UNION { resource:Q155155 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Ukraine Estonia
Ukraine and Estonia Sloboda, Novoselytsia Raion or Uus Maailm belong to
Ukraine Estonia
action filter_type
action union
action find
entity Sloboda, Novoselytsia Raion
relation country
action find
entity Uus Maailm
relation country
type designation for an administrative territorial entity
{'OR': [['Sloboda, Novoselytsia Raion', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Uus Maailm', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Sloboda,_Novoselytsia_Raion property:country ?o } UNION { resource:Uus_Maailm property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q212
P1001
Q4164871 Q14660
USER
How many positions and flags have control over the jurisdiction of Ukraine ?
(c(Q4164871),P1001,Q212) (c(Q14660),P1001,Q212)
action count
action union
action filter_type
action find_reverse
entity Q212
relation P1001
type Q4164871
action filter_type
action find_reverse
entity Q212
relation P1001
type Q14660
[{'concept': 'Q4164871'}, 'P1001', 'Q212'] [{'concept': 'Q14660'}, 'P1001', 'Q212']
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:P1001 resource:Q212 . ?a rdf:type ontology:Q4164871 } UNION { ?a property:P1001 resource:Q212 . ?a rdf:type ontology:Q14660 } }
Ukraine
action count
action union
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type position
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type flag
[{'concept': 'position'}, 'applies to jurisdiction', 'Ukraine'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Ukraine']
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:applies_to_jurisdiction resource:Ukraine . ?a rdf:type ontology:position } UNION { ?a property:applies_to_jurisdiction resource:Ukraine . ?a rdf:type ontology:flag } }
[]
position flag
SYSTEM
2 positions and 1 flags
Q25525260 Q127974 Q25827669
(c(Q4164871),P1001,Q212) (c(Q14660),P1001,Q212)
action count
action union
action filter_type
action find_reverse
entity Q212
relation P1001
type Q4164871
action filter_type
action find_reverse
entity Q212
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', 'Q212'] [{'concept': 'Q14660'}, 'P1001', 'Q212']
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:P1001 resource:Q212 . ?a rdf:type ontology:Q4164871 } UNION { ?a property:P1001 resource:Q212 . ?a rdf:type ontology:Q14660 } }
Minister of Finance Flag of Ukraine Minister of Fuel and Energy
2 positions and 1 flags
action count
action union
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type position
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type flag
[{'concept': 'position'}, 'applies to jurisdiction', 'Ukraine'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Ukraine']
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:applies_to_jurisdiction resource:Ukraine . ?a rdf:type ontology:position } UNION { ?a property:applies_to_jurisdiction resource:Ukraine . ?a rdf:type ontology:flag } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q215101 Q1511360
P937
Q56061
USER
Which administrative territories did Gerhard Bothur or Helmut Kater work ?
OR((Q1511360,P937,c(Q56061)), (Q215101,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1511360
relation P937
action find
entity Q215101
relation P937
type Q56061
{'OR': [['Q1511360', 'P937', {'concept': 'Q56061'}], ['Q215101', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q1511360 property:P937 ?a } UNION { resource:Q215101 property:P937 ?a } } }
Helmut Kater Gerhard Bothur
action filter_type
action union
action find
entity Gerhard Bothur
relation work location
action find
entity Helmut Kater
relation work location
type administrative territorial entity
{'OR': [['Gerhard Bothur', 'work location', {'concept': 'administrative territorial entity'}], ['Helmut Kater', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Gerhard_Bothur property:work_location ?a } UNION { resource:Helmut_Kater property:work_location ?a } } }
[]
administrative territorial entity
Q1718 Q586 Q239
SYSTEM
Düsseldorf, Bonn, Brussels
Q1718 Q586 Q239
OR((Q1511360,P937,c(Q56061)), (Q215101,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1511360
relation P937
action find
entity Q215101
relation P937
type Q56061
Gerhard Bothur or Helmut Kater worked in [ANSWERS]
{'OR': [['Q1511360', 'P937', {'concept': 'Q56061'}], ['Q215101', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q1511360 property:P937 ?a } UNION { resource:Q215101 property:P937 ?a } } }
Düsseldorf Bonn Brussels
Gerhard Bothur or Helmut Kater worked in Düsseldorf, Bonn and Brussels
Düsseldorf Bonn Brussels
action filter_type
action union
action find
entity Gerhard Bothur
relation work location
action find
entity Helmut Kater
relation work location
type administrative territorial entity
{'OR': [['Gerhard Bothur', 'work location', {'concept': 'administrative territorial entity'}], ['Helmut Kater', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Gerhard_Bothur property:work_location ?a } UNION { resource:Helmut_Kater property:work_location ?a } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1718 Q586 Q239
P190
Q515
USER
Which cities are the sister cities of Düsseldorf, Bonn and Brussels ?
(Q1718,P190,c(Q515)) (Q586,P190,c(Q515)) (Q239,P190,c(Q515))
action union
action filter_type
action find
entity Q1718
relation P190
type Q515
action filter_type
action find
entity Q586
relation P190
type Q515
action filter_type
action find
entity Q239
relation P190
type Q515
['Q1718', 'P190', {'concept': 'Q515'}] ['Q586', 'P190', {'concept': 'Q515'}] ['Q239', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?y ) { ( resource:Q1718 ) ( resource:Q586 ) } . ?y property:P190 ?k }
Düsseldorf Bonn Brussels
action union
action filter_type
action find
entity Düsseldorf
relation sister city
type city
action filter_type
action find
entity Bonn
relation sister city
type city
action filter_type
action find
entity Brussels
relation sister city
type city
['Düsseldorf', 'sister city', {'concept': 'city'}] ['Bonn', 'sister city', {'concept': 'city'}] ['Brussels', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?y ) { ( resource:Düsseldorf ) ( resource:Bonn ) } . ?y property:sister_city ?k }
[]
city
Q1899 Q19689 Q1711
SYSTEM
Kyiv, Tirana, Potsdam
Q623549 Q2795 Q11725 Q34217 Q485581 Q1711 Q221283 Q7568 Q19689 Q1899
(Q1718,P190,c(Q515)) (Q586,P190,c(Q515)) (Q239,P190,c(Q515))
action union
action filter_type
action find
entity Q1718
relation P190
type Q515
action filter_type
action find
entity Q586
relation P190
type Q515
action filter_type
action find
entity Q239
relation P190
type Q515
[ANSWERS] are the sister cities of Düsseldorf, Bonn and Brussels
['Q1718', 'P190', {'concept': 'Q515'}] ['Q586', 'P190', {'concept': 'Q515'}] ['Q239', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?y ) { ( resource:Q1718 ) ( resource:Q586 ) } . ?y property:P190 ?k }
Puerto de la Cruz Chemnitz Chongqing Oxford Aveiro Potsdam Cape Coast Yogyakarta Tirana Kyiv
Kyiv, Tirana and Potsdam are the sister cities of Düsseldorf, Bonn and Brussels
Kyiv Tirana Potsdam
action union
action filter_type
action find
entity Düsseldorf
relation sister city
type city
action filter_type
action find
entity Bonn
relation sister city
type city
action filter_type
action find
entity Brussels
relation sister city
type city
['Düsseldorf', 'sister city', {'concept': 'city'}] ['Bonn', 'sister city', {'concept': 'city'}] ['Brussels', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?y ) { ( resource:Düsseldorf ) ( resource:Bonn ) } . ?y property:sister_city ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19689
P206
Q355304
USER
Which watercourses are situated in the neighbourhood of that city ?
(Q19689,P206,c(Q355304))
action filter_type
action find
entity Q19689
relation P206
type Q355304
['Q19689', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q19689 property:P206 ?d . ?d rdf:type ontology:Q355304 }
Tirana
action filter_type
action find
entity Tirana
relation located next to body of water
type watercourse
['Tirana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:Tirana property:located_next_to_body_of_water ?d . ?d rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q1899
SYSTEM
Did you mean Kyiv ?
Q1899 Q19689 Q1711
(Q1899,P206,c(Q355304)) (Q19689,P206,c(Q355304)) (Q1711,P206,c(Q355304))
[ANSWER]
['Q1899', 'P206', {'concept': 'Q355304'}] ['Q19689', 'P206', {'concept': 'Q355304'}] ['Q1711', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q19689 property:P206 ?d . ?d rdf:type ontology:Q355304 }
Kyiv Tirana Potsdam
Did you mean Kyiv ?
Kyiv
['Kyiv', 'located next to body of water', {'concept': 'watercourse'}] ['Tirana', 'located next to body of water', {'concept': 'watercourse'}] ['Potsdam', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:Tirana property:located_next_to_body_of_water ?d . ?d rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
No, I meant Tirana. Could you tell me the answer for that?
(Q19689,P206,c(Q355304))
Q19689
['Q19689', 'P206', {'concept': 'Q355304'}]
['Tirana', 'located next to body of water', {'concept': 'watercourse'}]
[]
Q3303567 Q1274495
SYSTEM
Tiranë, Lanë
Q3303567 Q1274495
(Q19689,P206,c(Q355304))
action filter_type
action find
entity Q19689
relation P206
type Q355304
[ANSWERS] are situated in the neighbourhood of that city
['Q19689', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { resource:Q19689 property:P206 ?d . ?d rdf:type ontology:Q355304 }
Tiranë Lanë
Tiranë and Lanë are situated in the neighbourhood of that city
Tiranë Lanë
action filter_type
action find
entity Tirana
relation located next to body of water
type watercourse
['Tirana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { resource:Tirana property:located_next_to_body_of_water ?d . ?d rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19689
P237
Q17335294
USER
Which coat of arms serves as the ensign for Tirana ?
(Q19689,P237,c(Q17335294))
action filter_type
action find
entity Q19689
relation P237
type Q17335294
['Q19689', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q19689 property:P237 ?r . ?r rdf:type ontology:Q17335294 }
Tirana
action filter_type
action find
entity Tirana
relation coat of arms
type flag or coat of arms
['Tirana', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:Tirana property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q3303528
SYSTEM
Symbols of Tirana
Q3303528
(Q19689,P237,c(Q17335294))
action filter_type
action find
entity Q19689
relation P237
type Q17335294
The [ANSWER] serves as the ensign for Tirana
['Q19689', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q19689 property:P237 ?r . ?r rdf:type ontology:Q17335294 }
Symbols of Tirana
The Symbols of Tirana serves as the ensign for Tirana
Symbols of Tirana
action filter_type
action find
entity Tirana
relation coat of arms
type flag or coat of arms
['Tirana', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:Tirana property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19689
P20
Q502895
USER
Which people have Tirana as place of death ?
(c(Q502895),P20,Q19689)
action filter_type
action find_reverse
entity Q19689
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q19689']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 resource:Q19689 }
Tirana
action filter_type
action find_reverse
entity Tirana
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tirana']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death resource:Tirana }
[]
common name
Q53783 Q1390782 Q560694
SYSTEM
Enver Hoxha, Loro Boriçi, Ardian Klosi
Q439848 Q3301397 Q1750434 Q9359993 Q9335382 Q462435 Q18634714 Q1635699 Q3301907 Q997883 Q4775790 Q1390782 Q9268480 Q3299184 Q11762618 Q9368213 Q9368216 Q19975846 Q7267379 Q1606026 Q9169753 Q3665444 Q4837290 Q793657 Q7702065 Q7916561 Q531472 Q13036980 Q2533292 Q2166532 Q5734132 Q6275937 Q3905301 Q3302469 Q560630 Q18639771 Q11748229 Q9340296 Q836480 Q127004 Q2845484 Q13045607 Q11770365 Q3299525 Q3301924 Q3301376 Q11802602 Q3338647 Q53783 Q3300364 Q15818017 Q349211 Q1226933 Q494232 Q5444295 Q4832698 Q3303422 Q813942 Q11835181 Q7266421 Q3302165 Q1115013 Q16347991 Q774965 Q5506897 Q9160413 Q349208 Q9254174 Q18639727 Q9156425 Q359776 Q11777574 Q3300634 Q3303534 Q3302485 Q814440 Q899056 Q7266423 Q3901067 Q4842889 Q172213 Q3338574 Q11748233 Q775065 Q19405087 Q9343478 Q938525 Q2072002 Q9358441 Q18391463 Q18353710 Q462752 Q669615 Q1535184 Q3302033 Q560694 Q3300595 Q9336005 Q9150530 Q939345 Q560670 Q9368212 Q20559852 Q3301037 Q3280529 Q531408 Q3300658 Q9258974 Q1026924 Q9169546 Q4501482 Q255033 Q659388 Q785736 Q3302063 Q3300323 Q737845 Q3303587 Q3118782 Q11827654 Q212666 Q1125693 Q4715729 Q6880415 Q3303604 Q156833 Q357219 Q5621260 Q7448749 Q12131319 Q782976 Q691706
(c(Q502895),P20,Q19689)
action filter_type
action find_reverse
entity Q19689
relation P20
type Q502895
[ANSWERS] have Tirana as place of death
[{'concept': 'Q502895'}, 'P20', 'Q19689']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 resource:Q19689 }
Emmy Pjetër Gjoka Vangjush Mio Tonin Ujka Serafin Fanko Markéta Fialková Fatma Naime Sultan Qemal Stafa Kel Kodheli Fejzi Alizoti Anton Harapi Loro Boriçi Gjon Karma Haki Stërmilli Loro Kovaçi Vangjel Heba Vangjush Furxhi Besim Fagu Qemal Butka Todi Lubonja Bexhet Nelku Cesare Grossi Baba Faja Martaneshi Azem Hajdari Terenzio Tocci Vasil Laçi Fadil Paçrami Amik Kasoruho Kadri Roshi Rrok Mirdita Dr. Flori Jonuz Kaceli Pino Zaccheria Dhimitër Pasko Omer Nishani Rexhep Spahiu Kristo Frashëri Spiro Urumi Nako Spiru Josif Pashko Anastase Frashëri Sevasti Qiriazi Marko Bitraku Susan Cullen-Ward Marie Kraja Skënder Sallaku Pandi Raidhi Ibrahim Tukiqi Enver Hoxha Parashqevi Qiriazi Muharem Bekteshi Leka, Crown Prince of Albania Dionis Bubani Andrea Kushi Ferial Alibali Aziz Çami Kujtim Laro Bedri Spahiu Roland Trebicka Qamil Teliti Dritan Hoxha Dhimiter Çani Ahmet Krasniqi Odhise Paskali Fuat Dibra Artan Minarolli Hafiz Sabri Koçi Enver Dauti Xhevdet Shaqiri Antoneta Papapavli Adnan Qatipi Met Bega Naim Frashëri Violeta Manushi Lef Nosi Behar Shtylla Prenkë Jakova Qamil Çami Petro Kito Bahri Omari Mehmet Shehu Besa Imami Kristofor Kisi Ndrek Luca Luigi Goytre Stanisław Zuber Jakup Mato Refik Resmja Thimi Filipi Myslym Alla Enver Shehu Esma Agolli Agim Zajmi Medar Shtylla Sulejman Pitarka Ardian Klosi Liza Vorfi Sheri Mita Anastas Kondo Vasillaq Vangjeli Dervish Hima Vangjel Grabocka Lazër Shantoja Kristaq Rama Aleks Buda Koçi Xoxe Abdurrahim Buza Ferdinand Radi Fatmir Haxhiu Besim Levonja Spiro Moisiu Géraldine Apponyi de Nagyappony Marie Logoreci Agim Qirjaqi Vojo Kushi Murat Toptani Sabri Godo Dhimitër Xhuvani Tish Daija Prokop Mima Haxhi Lleshi Sterjo Spasse Aleksandër Xhuvani Misto Mame Ali Asllani Ramiz Alia Adil Çarçani Gustav von Myrdacz Selman Stërmasi Milto Sotir Gurra Avni Rustemi Sadik Kaceli
Enver Hoxha, Loro Boriçi and Ardian Klosi have Tirana as place of death
Enver Hoxha Loro Boriçi Ardian Klosi
action filter_type
action find_reverse
entity Tirana
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tirana']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death resource:Tirana }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q53783 Q1390782 Q560694
P21
Q290
USER
What are the sex of those people ?
(Q53783,P21,c(Q290)) (Q1390782,P21,c(Q290)) (Q560694,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q53783', 'P21', {'concept': 'Q290'}] ['Q1390782', 'P21', {'concept': 'Q290'}] ['Q560694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?a property:P21 ?k . VALUES ( ?a ) { ( resource:Q439848 ) ( resource:Q3301397 ) ( resource:Q1750434 ) } . ?k rdf:type ontology:Q290 }
Enver Hoxha Loro Boriçi Ardian Klosi
action filter_type
action find
entity prev_answer
relation gender
type sex
['Enver Hoxha', 'gender', {'concept': 'sex'}] ['Loro Boriçi', 'gender', {'concept': 'sex'}] ['Ardian Klosi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?a property:gender ?k . VALUES ( ?a ) { ( resource:Emmy ) ( resource:Pjetër_Gjoka ) ( resource:Vangjush_Mio ) } . ?k rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q53783,P21,c(Q290)) (Q1390782,P21,c(Q290)) (Q560694,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q53783', 'P21', {'concept': 'Q290'}] ['Q1390782', 'P21', {'concept': 'Q290'}] ['Q560694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?a property:P21 ?k . VALUES ( ?a ) { ( resource:Q439848 ) ( resource:Q3301397 ) ( resource:Q1750434 ) } . ?k rdf:type ontology:Q290 }
male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Enver Hoxha', 'gender', {'concept': 'sex'}] ['Loro Boriçi', 'gender', {'concept': 'sex'}] ['Ardian Klosi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?a property:gender ?k . VALUES ( ?a ) { ( resource:Emmy ) ( resource:Pjetër_Gjoka ) ( resource:Vangjush_Mio ) } . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53783
P102
Q7210356
USER
Which political organization is Enver Hoxha a member of ?
(Q53783,P102,c(Q7210356))
action filter_type
action find
entity Q53783
relation P102
type Q7210356
['Q53783', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q53783 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Enver Hoxha
action filter_type
action find
entity Enver Hoxha
relation member of political party
type political organization
['Enver Hoxha', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Enver_Hoxha property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q161395
SYSTEM
Party of Labour of Albania
Q161395
(Q53783,P102,c(Q7210356))
action filter_type
action find
entity Q53783
relation P102
type Q7210356
[ANSWER] is Enver Hoxha a member of
['Q53783', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q53783 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Party of Labour of Albania
Party of Labour of Albania is Enver Hoxha a member of
Party of Labour of Albania
action filter_type
action find
entity Enver Hoxha
relation member of political party
type political organization
['Enver Hoxha', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Enver_Hoxha property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]