Simple Question (Direct)
Simple Question
Q711997
P119
Q43229
USER
Where was Peter Jackson buried ?
(Q711997,P119,c(Q43229))
action filter_type
action find
entity Q711997
relation P119
type Q43229
['Q711997', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q711997 property:P119 ?n . ?n rdf:type ontology:Q43229 }
Peter Jackson
action filter_type
action find
entity Peter Jackson
relation place of burial
type organization
['Peter Jackson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Peter_Jackson property:place_of_burial ?n . ?n rdf:type ontology:organization }
[]
organization
Q7824339
SYSTEM
Toowong Cemetery
Q7824339
(Q711997,P119,c(Q43229))
action filter_type
action find
entity Q711997
relation P119
type Q43229
[ANSWER]
['Q711997', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q711997 property:P119 ?n . ?n rdf:type ontology:Q43229 }
Toowong Cemetery
Toowong Cemetery
action filter_type
action find
entity Peter Jackson
relation place of burial
type organization
['Peter Jackson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Peter_Jackson property:place_of_burial ?n . ?n rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711997
P1050
Q2057971
USER
Which health problem does Peter Jackson suffer from ?
(Q711997,P1050,c(Q2057971))
action filter_type
action find
entity Q711997
relation P1050
type Q2057971
['Q711997', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q711997 property:P1050 ?e . ?e rdf:type ontology:Q2057971 }
Peter Jackson
action filter_type
action find
entity Peter Jackson
relation medical condition
type health problem
['Peter Jackson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Peter_Jackson property:medical_condition ?e . ?e rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q711997,P1050,c(Q2057971))
action filter_type
action find
entity Q711997
relation P1050
type Q2057971
[ANSWER]
['Q711997', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q711997 property:P1050 ?e . ?e rdf:type ontology:Q2057971 }
tuberculosis
tuberculosis
action filter_type
action find
entity Peter Jackson
relation medical condition
type health problem
['Peter Jackson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Peter_Jackson property:medical_condition ?e . ?e rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711997
P20
Q56061
USER
Where did Peter Jackson expire ?
(Q711997,P20,c(Q56061))
action filter_type
action find
entity Q711997
relation P20
type Q56061
['Q711997', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q711997 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Peter Jackson
action filter_type
action find
entity Peter Jackson
relation place of death
type administrative territorial entity
['Peter Jackson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Jackson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2063327
SYSTEM
Roma
Q2063327
(Q711997,P20,c(Q56061))
action filter_type
action find
entity Q711997
relation P20
type Q56061
[ANSWER]
['Q711997', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q711997 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Roma
Roma
action filter_type
action find
entity Peter Jackson
relation place of death
type administrative territorial entity
['Peter Jackson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Jackson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4720371
Q56061
USER
And what about Alexander William Campbell?
(Q4720371,P20,c(Q56061))
action filter_type
action find
entity Q4720371
relation P20
type Q56061
['Q4720371', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q4720371 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Alexander William Campbell
action filter_type
action find
entity Alexander William Campbell
relation place of death
type administrative territorial entity
['Alexander William Campbell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Alexander_William_Campbell property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q985409
SYSTEM
Jackson
Q985409
(Q4720371,P20,c(Q56061))
action filter_type
action find
entity Q4720371
relation P20
type Q56061
[ANSWER]
['Q4720371', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q4720371 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Jackson
Jackson
action filter_type
action find
entity Alexander William Campbell
relation place of death
type administrative territorial entity
['Alexander William Campbell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Alexander_William_Campbell property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q985409 Q53250
P17
Q15617994
USER
Is Jackson a part of Corno di Rosazzo ?
(Q985409,P17,Q53250)
action is_in
entity Q53250
action find
entity Q985409
relation P17
['Q985409', 'P17', 'Q53250']
ASK WHERE { resource:Q985409 property:P17 resource:Q53250 }
Jackson Corno di Rosazzo
action is_in
entity Corno di Rosazzo
action find
entity Jackson
relation country
['Jackson', 'country', 'Corno di Rosazzo']
ASK WHERE { resource:Jackson property:country resource:Corno_di_Rosazzo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q985409,P17,Q53250)
action is_in
entity Q53250
action find
entity Q985409
relation P17
[ANSWER]
['Q985409', 'P17', 'Q53250']
ASK WHERE { resource:Q985409 property:P17 resource:Q53250 }
No
action is_in
entity Corno di Rosazzo
action find
entity Jackson
relation country
['Jackson', 'country', 'Corno di Rosazzo']
ASK WHERE { resource:Jackson property:country resource:Corno_di_Rosazzo }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1565249 Q711997
P27
Q1048835
USER
Which political territories are Peter Jackson or Predrag J. Marković a civilian of ?
OR((Q711997,P27,c(Q1048835)), (Q1565249,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q711997
relation P27
action find
entity Q1565249
relation P27
type Q1048835
{'OR': [['Q711997', 'P27', {'concept': 'Q1048835'}], ['Q1565249', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q711997 property:P27 ?c } UNION { resource:Q1565249 property:P27 ?c } } }
Predrag J. Marković Peter Jackson
action filter_type
action union
action find
entity Peter Jackson
relation country of citizenship
action find
entity Predrag J. Marković
relation country of citizenship
type political territorial entity
{'OR': [['Peter Jackson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Predrag J. Marković', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Peter_Jackson property:country_of_citizenship ?c } UNION { resource:Predrag_J._Marković property:country_of_citizenship ?c } } }
[]
political territorial entity
Q408 Q838261
SYSTEM
Australia, Federal Republic of Yugoslavia
Q408 Q838261
OR((Q711997,P27,c(Q1048835)), (Q1565249,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q711997
relation P27
action find
entity Q1565249
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q711997', 'P27', {'concept': 'Q1048835'}], ['Q1565249', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q711997 property:P27 ?c } UNION { resource:Q1565249 property:P27 ?c } } }
Australia Federal Republic of Yugoslavia
Australia Federal Republic of Yugoslavia
action filter_type
action union
action find
entity Peter Jackson
relation country of citizenship
action find
entity Predrag J. Marković
relation country of citizenship
type political territorial entity
{'OR': [['Peter Jackson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Predrag J. Marković', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Peter_Jackson property:country_of_citizenship ?c } UNION { resource:Predrag_J._Marković property:country_of_citizenship ?c } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories are around the same number of people an inhabitant of as that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|More/Less|Single entity type|Clarification
Q838261
SYSTEM
Did you mean Federal Republic of Yugoslavia ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Federal Republic of Yugoslavia ?
Federal Republic of Yugoslavia
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q35 Q5705 Q664
SYSTEM
Denmark, Catalonia, New Zealand
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q35 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q18221 Q650682 Q778 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
[ANSWERS]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Denmark Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Turks and Caicos Islands Denbighshire The Bahamas Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
Denmark Catalonia New Zealand
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q5705 Q664
P6
Q502895
USER
Which people have Denmark, Catalonia and New Zealand as their heads of government ?
(Q35,P6,c(Q502895)) (Q5705,P6,c(Q502895)) (Q664,P6,c(Q502895))
action union
action filter_type
action find
entity Q35
relation P6
type Q502895
action filter_type
action find
entity Q5705
relation P6
type Q502895
action filter_type
action find
entity Q664
relation P6
type Q502895
['Q35', 'P6', {'concept': 'Q502895'}] ['Q5705', 'P6', {'concept': 'Q502895'}] ['Q664', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . resource:Q35 property:P6 ?r } UNION { resource:Q5705 property:P6 ?r . ?r rdf:type ontology:Q502895 } }
Denmark Catalonia New Zealand
action union
action filter_type
action find
entity Denmark
relation head of government
type common name
action filter_type
action find
entity Catalonia
relation head of government
type common name
action filter_type
action find
entity New Zealand
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}] ['Catalonia', 'head of government', {'concept': 'common name'}] ['New Zealand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . resource:Denmark property:head_of_government ?r } UNION { resource:Catalonia property:head_of_government ?r . ?r rdf:type ontology:common_name } }
[]
common name
Q4740163 Q46052 Q458702
SYSTEM
Carles Puigdemont i Casamajó, Anders Fogh Rasmussen, Jordi Pujol i Soley
Q441330 Q1040851 Q1037599 Q966436 Q918287 Q57652 Q503087 Q725118 Q264340 Q727237 Q1634992 Q1274220 Q782403 Q351178 Q367557 Q1375737 Q1343866 Q491280 Q721358 Q1375094 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q572189 Q664052 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q731504 Q982328 Q7981 Q355265 Q1806213 Q4740163 Q731289 Q465464 Q458702 Q8015 Q8005 Q57783
(Q35,P6,c(Q502895)) (Q5705,P6,c(Q502895)) (Q664,P6,c(Q502895))
action union
action filter_type
action find
entity Q35
relation P6
type Q502895
action filter_type
action find
entity Q5705
relation P6
type Q502895
action filter_type
action find
entity Q664
relation P6
type Q502895
[ANSWERS]
['Q35', 'P6', {'concept': 'Q502895'}] ['Q5705', 'P6', {'concept': 'Q502895'}] ['Q664', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . resource:Q35 property:P6 ?r } UNION { resource:Q5705 property:P6 ?r . ?r rdf:type ontology:Q502895 } }
Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Christen Andreas Fonnesbech Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Hilmar Baunsgaard Hugo Egmont Hørring Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Thorvald Stauning Michael Pedersen Friis Ludvig Holstein-Holsteinborg Anders Sandøe Ørsted H. C. Hansen Niels Neergaard Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Johan Henrik Deuntzer Vilhelm Buhl Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Erik Scavenius Thomas Madsen-Mygdal Lluís Companys Pasqual Maragall i Mira Francesc Macià i Llussà Carles Puigdemont i Casamajó Josep Irla i Bosch José Montilla Jordi Pujol i Soley Artur Mas Josep Tarradellas i Joan John Key
Carles Puigdemont i Casamajó Anders Fogh Rasmussen Jordi Pujol i Soley
action union
action filter_type
action find
entity Denmark
relation head of government
type common name
action filter_type
action find
entity Catalonia
relation head of government
type common name
action filter_type
action find
entity New Zealand
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}] ['Catalonia', 'head of government', {'concept': 'common name'}] ['New Zealand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . resource:Denmark property:head_of_government ?r } UNION { resource:Catalonia property:head_of_government ?r . ?r rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P206
Q15324
USER
Which body of water is situated close to Denmark ?
(Q4740163,P206,c(Q15324)) (Q46052,P206,c(Q15324)) (Q458702,P206,c(Q15324))
action filter_type
action find
entity Q35
relation P206
type Q15324
['Q4740163', 'P206', {'concept': 'Q15324'}] ['Q46052', 'P206', {'concept': 'Q15324'}] ['Q458702', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?p WHERE { resource:Q35 property:P206 ?p . ?p rdf:type ontology:Q15324 }
Denmark
action filter_type
action find
entity Denmark
relation located next to body of water
type body of water
['Carles Puigdemont i Casamajó', 'located next to body of water', {'concept': 'body of water'}] ['Anders Fogh Rasmussen', 'located next to body of water', {'concept': 'body of water'}] ['Jordi Pujol i Soley', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?p WHERE { resource:Denmark property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water }
[]
body of water
Q1693
SYSTEM
North Sea
Q1693
(Q4740163,P206,c(Q15324)) (Q46052,P206,c(Q15324)) (Q458702,P206,c(Q15324))
action filter_type
action find
entity Q35
relation P206
type Q15324
[ANSWER]
['Q4740163', 'P206', {'concept': 'Q15324'}] ['Q46052', 'P206', {'concept': 'Q15324'}] ['Q458702', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?p WHERE { resource:Q35 property:P206 ?p . ?p rdf:type ontology:Q15324 }
North Sea
North Sea
action filter_type
action find
entity Denmark
relation located next to body of water
type body of water
['Carles Puigdemont i Casamajó', 'located next to body of water', {'concept': 'body of water'}] ['Anders Fogh Rasmussen', 'located next to body of water', {'concept': 'body of water'}] ['Jordi Pujol i Soley', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?p WHERE { resource:Denmark property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water }
[]