Simple Question (Direct)
Simple Question
Q518833
P641
Q349
USER
Which sport did Mattias Bjärsmyr participate in ?
(Q518833,P641,c(Q349))
action filter_type
action find
entity Q518833
relation P641
type Q349
['Q518833', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q518833 property:P641 ?y . ?y rdf:type ontology:Q349 }
Mattias Bjärsmyr
action filter_type
action find
entity Mattias Bjärsmyr
relation sport
type sport
['Mattias Bjärsmyr', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Mattias_Bjärsmyr property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q518833,P641,c(Q349))
action filter_type
action find
entity Q518833
relation P641
type Q349
Mattias Bjärsmyr participated in [ANSWER]
['Q518833', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q518833 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Mattias Bjärsmyr participated in association football
association football
action filter_type
action find
entity Mattias Bjärsmyr
relation sport
type sport
['Mattias Bjärsmyr', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Mattias_Bjärsmyr property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q518833
P19
Q914262
USER
Which administrative territory of Sweden was that person born in ?
(Q2736,P19,c(Q914262))
action filter_type
action find
entity Q518833
relation P19
type Q914262
['Q2736', 'P19', {'concept': 'Q914262'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q914262 . resource:Q518833 property:P19 ?z }
Mattias Bjärsmyr
action filter_type
action find
entity Mattias Bjärsmyr
relation place of birth
type administrative territorial entity of Sweden
['association football', 'place of birth', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Mattias_Bjärsmyr property:place_of_birth ?z }
[]
administrative territorial entity of Sweden
Q505259
SYSTEM
Gislaved
Q505259
(Q2736,P19,c(Q914262))
action filter_type
action find
entity Q518833
relation P19
type Q914262
Which administrative territory of Sweden was that person born in
['Q2736', 'P19', {'concept': 'Q914262'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q914262 . resource:Q518833 property:P19 ?z }
Gislaved
Which administrative territory of Sweden was that person born in
Gislaved
action filter_type
action find
entity Mattias Bjärsmyr
relation place of birth
type administrative territorial entity of Sweden
['association football', 'place of birth', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Mattias_Bjärsmyr property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q505259
P1376
Q15700808
USER
Which urban unit definition is the capital of that administrative territory of Sweden ?
(c(Q15700808),P1376,Q505259)
action filter_type
action find_reverse
entity Q505259
relation P1376
type Q15700808
[{'concept': 'Q15700808'}, 'P1376', 'Q505259']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q505259 . ?v rdf:type ontology:Q15700808 }
Gislaved
action filter_type
action find_reverse
entity Gislaved
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Gislaved']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Gislaved . ?v rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1021557
SYSTEM
Gislaved
Q1021557
(c(Q15700808),P1376,Q505259)
action filter_type
action find_reverse
entity Q505259
relation P1376
type Q15700808
[ANSWER] is the capital of that administrative territory of Sweden
[{'concept': 'Q15700808'}, 'P1376', 'Q505259']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q505259 . ?v rdf:type ontology:Q15700808 }
Gislaved
Gislaved is the capital of that administrative territory of Sweden
Gislaved
action filter_type
action find_reverse
entity Gislaved
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Gislaved']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Gislaved . ?v rdf:type ontology:urban_unit_definition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3416138
P106
Q12737077
USER
Which occupation is the profession of Rachid Ali Yahia ?
(Q3416138,P106,c(Q12737077))
action filter_type
action find
entity Q3416138
relation P106
type Q12737077
['Q3416138', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3416138 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Rachid Ali Yahia
action filter_type
action find
entity Rachid Ali Yahia
relation occupation
type occupation
['Rachid Ali Yahia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Rachid_Ali_Yahia property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3416138,P106,c(Q12737077))
action filter_type
action find
entity Q3416138
relation P106
type Q12737077
So [ANSWER] is the profession of Rachid Ali Yahia
['Q3416138', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3416138 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
So politician is the profession of Rachid Ali Yahia
politician
action filter_type
action find
entity Rachid Ali Yahia
relation occupation
type occupation
['Rachid Ali Yahia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Rachid_Ali_Yahia property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3416138
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3416138
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3416138 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Rachid Ali Yahia
action filter_type
action find
entity Rachid Ali Yahia
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rachid_Ali_Yahia property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262
SYSTEM
Algeria
Q262
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3416138
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3416138 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Algeria
The Algeria is that person a civilian of
Algeria
action filter_type
action find
entity Rachid Ali Yahia
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rachid_Ali_Yahia property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6053016 Q3416138
P27
Q15617994
USER
Or Belit Özükan?
OR((Q3416138,P27,c(Q15617994)), (Q6053016,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3416138
relation P27
action find
entity Q6053016
relation P27
type Q15617994
{'OR': [['Q3416138', 'P27', {'concept': 'Q15617994'}], ['Q6053016', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3416138 property:P27 ?r } UNION { resource:Q6053016 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Belit Özükan Rachid Ali Yahia
action filter_type
action union
action find
entity Rachid Ali Yahia
relation country of citizenship
action find
entity Belit Özükan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rachid Ali Yahia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Belit Özükan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rachid_Ali_Yahia property:country_of_citizenship ?r } UNION { resource:Belit_Özükan property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262 Q43
SYSTEM
Algeria, Turkey
Q262 Q43
OR((Q3416138,P27,c(Q15617994)), (Q6053016,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3416138
relation P27
action find
entity Q6053016
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q3416138', 'P27', {'concept': 'Q15617994'}], ['Q6053016', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3416138 property:P27 ?r } UNION { resource:Q6053016 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Algeria Turkey
Algeria Turkey
action filter_type
action union
action find
entity Rachid Ali Yahia
relation country of citizenship
action find
entity Belit Özükan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rachid Ali Yahia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Belit Özükan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rachid_Ali_Yahia property:country_of_citizenship ?r } UNION { resource:Belit_Özükan property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q262 Q43
P163
Q14660
USER
Which flags are associated with Algeria and Turkey ?
(Q262,P163,c(Q14660)) (Q43,P163,c(Q14660))
action union
action filter_type
action find
entity Q262
relation P163
type Q14660
action filter_type
action find
entity Q43
relation P163
type Q14660
['Q262', 'P163', {'concept': 'Q14660'}] ['Q43', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?h WHERE { { resource:Q262 property:P163 ?h . ?h rdf:type ontology:Q14660 } UNION { resource:Q43 property:P163 ?h . ?h rdf:type ontology:Q14660 } }
Algeria Turkey
action union
action filter_type
action find
entity Algeria
relation flag
type flag
action filter_type
action find
entity Turkey
relation flag
type flag
['Algeria', 'flag', {'concept': 'flag'}] ['Turkey', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?h WHERE { { resource:Algeria property:flag ?h . ?h rdf:type ontology:flag } UNION { resource:Turkey property:flag ?h . ?h rdf:type ontology:flag } }
[]
flag
Q83392 Q81952
SYSTEM
Flag of Algeria, flag of Turkey
Q83392 Q81952
(Q262,P163,c(Q14660)) (Q43,P163,c(Q14660))
action union
action filter_type
action find
entity Q262
relation P163
type Q14660
action filter_type
action find
entity Q43
relation P163
type Q14660
And [ANSWERS] are associated with Algeria and Turkey
['Q262', 'P163', {'concept': 'Q14660'}] ['Q43', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?h WHERE { { resource:Q262 property:P163 ?h . ?h rdf:type ontology:Q14660 } UNION { resource:Q43 property:P163 ?h . ?h rdf:type ontology:Q14660 } }
Flag of Algeria flag of Turkey
And Flag of Algeria and flag of Turkey are associated with Algeria and Turkey
Flag of Algeria flag of Turkey
action union
action filter_type
action find
entity Algeria
relation flag
type flag
action filter_type
action find
entity Turkey
relation flag
type flag
['Algeria', 'flag', {'concept': 'flag'}] ['Turkey', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?h WHERE { { resource:Algeria property:flag ?h . ?h rdf:type ontology:flag } UNION { resource:Turkey property:flag ?h . ?h rdf:type ontology:flag } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q83392 Q81952
P1001
Q15617994
USER
Which administrative territories are judicially linked to Flag of Algeria and flag of Turkey ?
(Q83392,P1001,c(Q15617994)) (Q81952,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q83392
relation P1001
type Q15617994
action filter_type
action find
entity Q81952
relation P1001
type Q15617994
['Q83392', 'P1001', {'concept': 'Q15617994'}] ['Q81952', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q83392 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q81952 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } }
Flag of Algeria flag of Turkey
action union
action filter_type
action find
entity Flag of Algeria
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity flag of Turkey
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Algeria', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Turkey', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:Flag_of_Algeria property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:flag_of_Turkey property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q262 Q43
SYSTEM
Algeria, Turkey
Q262 Q43
(Q83392,P1001,c(Q15617994)) (Q81952,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q83392
relation P1001
type Q15617994
action filter_type
action find
entity Q81952
relation P1001
type Q15617994
[ANSWERS] are judicially linked to Flag of Algeria and flag of Turkey
['Q83392', 'P1001', {'concept': 'Q15617994'}] ['Q81952', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q83392 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q81952 property:P1001 ?w . ?w rdf:type ontology:Q15617994 } }
Algeria Turkey
Algeria and Turkey are judicially linked to Flag of Algeria and flag of Turkey
Algeria Turkey
action union
action filter_type
action find
entity Flag of Algeria
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity flag of Turkey
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Algeria', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Turkey', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:Flag_of_Algeria property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:flag_of_Turkey property:applies_to_jurisdiction ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q262 Q43
P17
Q271669
USER
Which landforms are located in those administrative territories ?
(c(Q271669),P17,Q262) (c(Q271669),P17,Q43)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q271669
[{'concept': 'Q271669'}, 'P17', 'Q262'] [{'concept': 'Q271669'}, 'P17', 'Q43']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q271669 . VALUES ( ?x ) { ( resource:Q262 ) ( resource:Q43 ) } . ?q property:P17 ?x }
Algeria Turkey
action filter_type
action find_reverse
entity prev_answer
relation country
type landform
[{'concept': 'landform'}, 'country', 'Algeria'] [{'concept': 'landform'}, 'country', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:landform . VALUES ( ?x ) { ( resource:Algeria ) ( resource:Turkey ) } . ?q property:country ?x }
[]
landform
Q23522 Q658437 Q211817
SYSTEM
Balkans, Imbros, Bozcaada
Q2892108 Q1621943 Q7179708 Q706943 Q607439 Q110585 Q2666727 Q1526709 Q3122010 Q2254939 Q6370300 Q1046643 Q272668 Q20469952 Q192860 Q1969910 Q989883 Q950908 Q2882101 Q253317 Q4811146 Q1972163 Q12824780 Q6367485 Q4707433 Q23522 Q4347531 Q3084314 Q2740733 Q677112 Q1799887 Q1972153 Q4822274 Q17166946 Q14936827 Q1014806 Q32083 Q2397604 Q6822803 Q2825493 Q579117 Q6103275 Q5214669 Q658437 Q343902 Q791572 Q4702051 Q4811576 Q6003648 Q6977885 Q5289027 Q3083368 Q772555 Q4811584 Q4810690 Q6977923 Q6454222 Q211817 Q2663933
(c(Q271669),P17,Q262) (c(Q271669),P17,Q43)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q271669
[ANSWERS] are located in those administrative territories
[{'concept': 'Q271669'}, 'P17', 'Q262'] [{'concept': 'Q271669'}, 'P17', 'Q43']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q271669 . VALUES ( ?x ) { ( resource:Q262 ) ( resource:Q43 ) } . ?q property:P17 ?x }
Habibas Islands Hautes Plaines Peñón of Algiers Kuş Island Tavşan Adası Kaşık Island Kekova Giresun Island Çarpanak Island Kara Ada Kargı Adası Anatolian plateau Çatalada Güvercin Island Gallipoli Cape Jason Büyükada Marmara Island Fener Ada Heybeliada Galatasaray Islet Yassıada Asia Minor Kara Ada Girekol Balkans Çatalca Peninsula Uzunada Cunda Island Sedef Island Ladé Sivriada Salih Ada Anatolian Peninsula Pigeon Island Burgazada Akdamar Island Tavşan Adası Metalik Ada Adır Island Kınalıada Iç Ada, Antalya Dana Adası Imbros İmralı Avşa Akça Sedir Island Imbros and Tenedos Yılancık Ada Dolichiste Paşalimanı Datça Peninsula Gemiler Island Büyük Ada Incir Ada Küçük Tavşan Adası Bozcaada Dilek Peninsula
Balkans, Imbros and Bozcaada are located in those administrative territories
Balkans Imbros Bozcaada
action filter_type
action find_reverse
entity prev_answer
relation country
type landform
[{'concept': 'landform'}, 'country', 'Algeria'] [{'concept': 'landform'}, 'country', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:landform . VALUES ( ?x ) { ( resource:Algeria ) ( resource:Turkey ) } . ?q property:country ?x }
[]
Clarification
Simple Question|Single Entity|Indirect
Q658437
P20
Q502895
USER
Which person has that landform as the location of death ?
(c(Q502895),P20,Q658437)
action filter_type
action find_reverse
entity Q658437
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q658437']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q658437 . ?o rdf:type ontology:Q502895 }
Imbros
action filter_type
action find_reverse
entity Imbros
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Imbros']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Imbros . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q23522
SYSTEM
Did you mean Balkans ?
Q23522 Q658437 Q211817
(c(Q502895),P20,Q23522) (c(Q502895),P20,Q658437) (c(Q502895),P20,Q211817)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q23522'] [{'concept': 'Q502895'}, 'P20', 'Q658437'] [{'concept': 'Q502895'}, 'P20', 'Q211817']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q658437 . ?o rdf:type ontology:Q502895 }
Balkans Imbros Bozcaada
Did you mean Balkans ?
Balkans
[{'concept': 'common name'}, 'place of death', 'Balkans'] [{'concept': 'common name'}, 'place of death', 'Imbros'] [{'concept': 'common name'}, 'place of death', 'Bozcaada']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Imbros . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Imbros. Could you tell me the answer for that?
(c(Q502895),P20,Q658437)
Q658437
[{'concept': 'Q502895'}, 'P20', 'Q658437']
[{'concept': 'common name'}, 'place of death', 'Imbros']
[]
Q5076378
SYSTEM
Charles Collet
Q5076378
(c(Q502895),P20,Q658437)
action filter_type
action find_reverse
entity Q658437
relation P20
type Q502895
[ANSWER] has that landform as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q658437']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q658437 . ?o rdf:type ontology:Q502895 }
Charles Collet
Charles Collet has that landform as the location of death
Charles Collet
action filter_type
action find_reverse
entity Imbros
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Imbros']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Imbros . ?o rdf:type ontology:common_name }
[]