Simple Question (Direct)
Simple Question
Q279258
P19
Q56061
USER
Which administrative territory is the place of birth of Jack Greenwell ?
(Q279258,P19,c(Q56061))
action filter_type
action find
entity Q279258
relation P19
type Q56061
['Q279258', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q279258 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Jack Greenwell
action filter_type
action find
entity Jack Greenwell
relation place of birth
type administrative territorial entity
['Jack Greenwell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jack_Greenwell property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1140962
SYSTEM
Crook, County Durham
Q1140962
(Q279258,P19,c(Q56061))
action filter_type
action find
entity Q279258
relation P19
type Q56061
[ANSWER] is the place of birth of Jack Greenwell
['Q279258', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q279258 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Crook, County Durham
Crook, County Durham is the place of birth of Jack Greenwell
Crook, County Durham
action filter_type
action find
entity Jack Greenwell
relation place of birth
type administrative territorial entity
['Jack Greenwell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jack_Greenwell property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279258
P20
Q13220204
USER
Where did Jack Greenwell expire ?
(Q279258,P20,c(Q13220204))
action filter_type
action find
entity Q279258
relation P20
type Q13220204
['Q279258', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q279258 property:P20 ?v }
Jack Greenwell
action filter_type
action find
entity Jack Greenwell
relation place of death
type second-level administrative country subdivision
['Jack Greenwell', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Jack_Greenwell property:place_of_death ?v }
[]
second-level administrative country subdivision
Q2841
SYSTEM
Bogotá
Q2841
(Q279258,P20,c(Q13220204))
action filter_type
action find
entity Q279258
relation P20
type Q13220204
Jack Greenwell expired in [ANSWER]
['Q279258', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q279258 property:P20 ?v }
Bogotá
Jack Greenwell expired in Bogotá
Bogotá
action filter_type
action find
entity Jack Greenwell
relation place of death
type second-level administrative country subdivision
['Jack Greenwell', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Jack_Greenwell property:place_of_death ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279258
P641
Q349
USER
What was the sport that Jack Greenwell was a part of ?
(Q279258,P641,c(Q349))
action filter_type
action find
entity Q279258
relation P641
type Q349
['Q279258', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q279258 property:P641 ?j . ?j rdf:type ontology:Q349 }
Jack Greenwell
action filter_type
action find
entity Jack Greenwell
relation sport
type sport
['Jack Greenwell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Greenwell property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q279258,P641,c(Q349))
action filter_type
action find
entity Q279258
relation P641
type Q349
The sport that Jack Greenwell was a part of was [ANSWER]
['Q279258', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q279258 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Jack Greenwell was a part of was association football
association football
action filter_type
action find
entity Jack Greenwell
relation sport
type sport
['Jack Greenwell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Greenwell property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q385730
Q349
USER
And what about NK Bosna Visoko?
(Q385730,P641,c(Q349))
action filter_type
action find
entity Q385730
relation P641
type Q349
['Q385730', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q385730 property:P641 ?t . ?t rdf:type ontology:Q349 }
NK Bosna Visoko
action filter_type
action find
entity NK Bosna Visoko
relation sport
type sport
['NK Bosna Visoko', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:NK_Bosna_Visoko property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q385730,P641,c(Q349))
action filter_type
action find
entity Q385730
relation P641
type Q349
[ANSWER]
['Q385730', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q385730 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity NK Bosna Visoko
relation sport
type sport
['NK Bosna Visoko', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:NK_Bosna_Visoko property:sport ?t . ?t rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q385730
P54 P21
Q502895
USER
Which people are a member of NK Bosna Visoko and have male as the sex ?
AND((c(Q502895),P54,Q385730), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q385730
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q385730'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P54 resource:Q385730 . ?o rdf:type ontology:Q502895 }
male NK Bosna Visoko
action filter_type
action intersection
action find_reverse
entity NK Bosna Visoko
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'NK Bosna Visoko'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:member_of_sports_team resource:NK_Bosna_Visoko . ?o rdf:type ontology:common_name }
[]
common name
Q8083664 Q6996489 Q5436510 Q4683890 Q6385576 Q559993 Q19568966 Q3043933 Q4796550 Q965786
SYSTEM
Some of them are Željko Rodić, Nermin Vazda, Faruk Ihtijarević, Adnan Hrelja, Kelfala Marah, Elvir Rahimić, Abdulah Oruč, Mirsad Bešlija, Arsim Plepolli, Kenan Hasagić
Q6996489 Q4796550 Q3043933 Q936957 Q965786 Q4683890 Q559993 Q19568966 Q6385576 Q7539409 Q7440304 Q8083664 Q5436510
AND((c(Q502895),P54,Q385730), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q385730
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a member of NK Bosna Visoko and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q385730'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P54 resource:Q385730 . ?o rdf:type ontology:Q502895 }
Nermin Vazda Arsim Plepolli Mirsad Bešlija Almedin Hota Kenan Hasagić Adnan Hrelja Elvir Rahimić Abdulah Oruč Kelfala Marah Slaviša Vukićević Sead Banda Željko Rodić Faruk Ihtijarević
Željko Rodić, Nermin Vazda, Faruk Ihtijarević, Adnan Hrelja, Kelfala Marah, Elvir Rahimić, Abdulah Oruč, Mirsad Bešlija, Arsim Plepolli and Kenan Hasagić are a member of NK Bosna Visoko and have male as the sex
Željko Rodić Nermin Vazda Faruk Ihtijarević Adnan Hrelja Kelfala Marah Elvir Rahimić Abdulah Oruč Mirsad Bešlija Arsim Plepolli Kenan Hasagić
action filter_type
action intersection
action find_reverse
entity NK Bosna Visoko
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'NK Bosna Visoko'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:member_of_sports_team resource:NK_Bosna_Visoko . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8083664 Q6996489 Q5436510 Q4683890 Q6385576 Q559993 Q19568966 Q3043933 Q4796550 Q965786
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q8083664,P106,c(Q12737077)) (Q6996489,P106,c(Q12737077)) (Q5436510,P106,c(Q12737077)) (Q4683890,P106,c(Q12737077)) (Q6385576,P106,c(Q12737077)) (Q559993,P106,c(Q12737077)) (Q19568966,P106,c(Q12737077)) (Q3043933,P106,c(Q12737077)) (Q4796550,P106,c(Q12737077)) (Q965786,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q8083664', 'P106', {'concept': 'Q12737077'}] ['Q6996489', 'P106', {'concept': 'Q12737077'}] ['Q5436510', 'P106', {'concept': 'Q12737077'}] ['Q4683890', 'P106', {'concept': 'Q12737077'}] ['Q6385576', 'P106', {'concept': 'Q12737077'}] ['Q559993', 'P106', {'concept': 'Q12737077'}] ['Q19568966', 'P106', {'concept': 'Q12737077'}] ['Q3043933', 'P106', {'concept': 'Q12737077'}] ['Q4796550', 'P106', {'concept': 'Q12737077'}] ['Q965786', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?p property:P106 ?f . VALUES ( ?p ) { ( resource:Q6996489 ) ( resource:Q4796550 ) ( resource:Q3043933 ) } }
Željko Rodić Nermin Vazda Faruk Ihtijarević Adnan Hrelja Kelfala Marah Elvir Rahimić Abdulah Oruč Mirsad Bešlija Arsim Plepolli Kenan Hasagić
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Željko Rodić', 'occupation', {'concept': 'occupation'}] ['Nermin Vazda', 'occupation', {'concept': 'occupation'}] ['Faruk Ihtijarević', 'occupation', {'concept': 'occupation'}] ['Adnan Hrelja', 'occupation', {'concept': 'occupation'}] ['Kelfala Marah', 'occupation', {'concept': 'occupation'}] ['Elvir Rahimić', 'occupation', {'concept': 'occupation'}] ['Abdulah Oruč', 'occupation', {'concept': 'occupation'}] ['Mirsad Bešlija', 'occupation', {'concept': 'occupation'}] ['Arsim Plepolli', 'occupation', {'concept': 'occupation'}] ['Kenan Hasagić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?p property:occupation ?f . VALUES ( ?p ) { ( resource:Nermin_Vazda ) ( resource:Arsim_Plepolli ) ( resource:Mirsad_Bešlija ) } }
[]
occupation
Q628099 Q937857 Q937857
SYSTEM
association football manager for 1st, association football player for 2nd, 3rd
Q628099 Q937857 Q937857 Q937857 Q937857 Q937857 Q937857 Q628099 Q937857 Q937857 Q937857 Q937857
(Q8083664,P106,c(Q12737077)) (Q6996489,P106,c(Q12737077)) (Q5436510,P106,c(Q12737077)) (Q4683890,P106,c(Q12737077)) (Q6385576,P106,c(Q12737077)) (Q559993,P106,c(Q12737077)) (Q19568966,P106,c(Q12737077)) (Q3043933,P106,c(Q12737077)) (Q4796550,P106,c(Q12737077)) (Q965786,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q8083664', 'P106', {'concept': 'Q12737077'}] ['Q6996489', 'P106', {'concept': 'Q12737077'}] ['Q5436510', 'P106', {'concept': 'Q12737077'}] ['Q4683890', 'P106', {'concept': 'Q12737077'}] ['Q6385576', 'P106', {'concept': 'Q12737077'}] ['Q559993', 'P106', {'concept': 'Q12737077'}] ['Q19568966', 'P106', {'concept': 'Q12737077'}] ['Q3043933', 'P106', {'concept': 'Q12737077'}] ['Q4796550', 'P106', {'concept': 'Q12737077'}] ['Q965786', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?p property:P106 ?f . VALUES ( ?p ) { ( resource:Q6996489 ) ( resource:Q4796550 ) ( resource:Q3043933 ) } }
association football manager association football player association football player association football player association football player association football player association football player association football manager association football player association football player association football player association football player
The professions of those people are association football manager, association football player and association football player
association football manager association football player association football player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Željko Rodić', 'occupation', {'concept': 'occupation'}] ['Nermin Vazda', 'occupation', {'concept': 'occupation'}] ['Faruk Ihtijarević', 'occupation', {'concept': 'occupation'}] ['Adnan Hrelja', 'occupation', {'concept': 'occupation'}] ['Kelfala Marah', 'occupation', {'concept': 'occupation'}] ['Elvir Rahimić', 'occupation', {'concept': 'occupation'}] ['Abdulah Oruč', 'occupation', {'concept': 'occupation'}] ['Mirsad Bešlija', 'occupation', {'concept': 'occupation'}] ['Arsim Plepolli', 'occupation', {'concept': 'occupation'}] ['Kenan Hasagić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?p property:occupation ?f . VALUES ( ?p ) { ( resource:Nermin_Vazda ) ( resource:Arsim_Plepolli ) ( resource:Mirsad_Bešlija ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5436510
P27
Q15617994
USER
Which administrative territory does Faruk Ihtijarević belong to ?
(Q5436510,P27,c(Q15617994))
action filter_type
action find
entity Q5436510
relation P27
type Q15617994
['Q5436510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5436510 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Faruk Ihtijarević
action filter_type
action find
entity Faruk Ihtijarević
relation country of citizenship
type designation for an administrative territorial entity
['Faruk Ihtijarević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Faruk_Ihtijarević property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225
SYSTEM
Bosnia and Herzegovina
Q225
(Q5436510,P27,c(Q15617994))
action filter_type
action find
entity Q5436510
relation P27
type Q15617994
Faruk Ihtijarević belongs to [ANSWER]
['Q5436510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5436510 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Bosnia and Herzegovina
Faruk Ihtijarević belongs to Bosnia and Herzegovina
Bosnia and Herzegovina
action filter_type
action find
entity Faruk Ihtijarević
relation country of citizenship
type designation for an administrative territorial entity
['Faruk Ihtijarević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Faruk_Ihtijarević property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q225
P1376
Q515
USER
Which city is center of administration for that administrative territory ?
(c(Q515),P1376,Q225)
action filter_type
action find_reverse
entity Q225
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q225']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q225 . ?i rdf:type ontology:Q515 }
Bosnia and Herzegovina
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Bosnia and Herzegovina']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Bosnia_and_Herzegovina . ?i rdf:type ontology:city }
[]
city
Q11194
SYSTEM
Sarajevo
Q11194
(c(Q515),P1376,Q225)
action filter_type
action find_reverse
entity Q225
relation P1376
type Q515
Is [ANSWER] is center of administration for that administrative territory
[{'concept': 'Q515'}, 'P1376', 'Q225']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q225 . ?i rdf:type ontology:Q515 }
Sarajevo
Is Sarajevo is center of administration for that administrative territory
Sarajevo
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Bosnia and Herzegovina']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Bosnia_and_Herzegovina . ?i rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q225
P159
Q874405
USER
Which social groups have their HQ location at Bosnia and Herzegovina ?
(c(Q874405),P159,Q225)
action filter_type
action find_reverse
entity Q225
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q225']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q225 . ?a rdf:type ontology:Q874405 }
Bosnia and Herzegovina
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Bosnia_and_Herzegovina . ?a rdf:type ontology:social_group }
[]
social group
Q19840143 Q7238545
SYSTEM
Green cadres, Praskozorje
Q19840143 Q7238545
(c(Q874405),P159,Q225)
action filter_type
action find_reverse
entity Q225
relation P159
type Q874405
[ANSWERS] have their HQ location at Bosnia and Herzegovina
[{'concept': 'Q874405'}, 'P159', 'Q225']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q225 . ?a rdf:type ontology:Q874405 }
Green cadres Praskozorje
Green cadres and Praskozorje have their HQ location at Bosnia and Herzegovina
Green cadres Praskozorje
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Bosnia_and_Herzegovina . ?a rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19840143 Q7238545
P159
Q15617994
USER
Where are the headquarters of Green cadres and Praskozorje located ?
(Q19840143,P159,c(Q15617994)) (Q7238545,P159,c(Q15617994))
action union
action filter_type
action find
entity Q19840143
relation P159
type Q15617994
action filter_type
action find
entity Q7238545
relation P159
type Q15617994
['Q19840143', 'P159', {'concept': 'Q15617994'}] ['Q7238545', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?y ) { ( resource:Q19840143 ) ( resource:Q7238545 ) } . ?y property:P159 ?f }
Green cadres Praskozorje
action union
action filter_type
action find
entity Green cadres
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Praskozorje
relation headquarters location
type designation for an administrative territorial entity
['Green cadres', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Praskozorje', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?y ) { ( resource:Green_cadres ) ( resource:Praskozorje ) } . ?y property:headquarters_location ?f }
[]
designation for an administrative territorial entity
Q225 Q225
SYSTEM
Bosnia and Herzegovina
Q225 Q225
(Q19840143,P159,c(Q15617994)) (Q7238545,P159,c(Q15617994))
action union
action filter_type
action find
entity Q19840143
relation P159
type Q15617994
action filter_type
action find
entity Q7238545
relation P159
type Q15617994
The headquarters of Green cadres and Praskozorje are located in [ANSWER] and [ANSWER]
['Q19840143', 'P159', {'concept': 'Q15617994'}] ['Q7238545', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?y ) { ( resource:Q19840143 ) ( resource:Q7238545 ) } . ?y property:P159 ?f }
Bosnia and Herzegovina Bosnia and Herzegovina
The headquarters of Green cadres and Praskozorje are located in Bosnia and Herzegovina and Bosnia and Herzegovina
Bosnia and Herzegovina Bosnia and Herzegovina
action union
action filter_type
action find
entity Green cadres
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Praskozorje
relation headquarters location
type designation for an administrative territorial entity
['Green cadres', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Praskozorje', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?y ) { ( resource:Green_cadres ) ( resource:Praskozorje ) } . ?y property:headquarters_location ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q225
P47
Q15617994
USER
Which administrative territories are adjacent to that one ?
(Q225,P47,c(Q15617994)) (Q225,P47,c(Q15617994))
action filter_type
action find
entity Q225
relation P47
type Q15617994
['Q225', 'P47', {'concept': 'Q15617994'}] ['Q225', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q225 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Bosnia and Herzegovina
action filter_type
action find
entity Bosnia and Herzegovina
relation shares border with
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bosnia and Herzegovina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bosnia_and_Herzegovina property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q236 Q224
SYSTEM
Serbia, Montenegro, Croatia
Q403 Q236 Q224
(Q225,P47,c(Q15617994)) (Q225,P47,c(Q15617994))
action filter_type
action find
entity Q225
relation P47
type Q15617994
[ANSWERS] are adjacent to that one
['Q225', 'P47', {'concept': 'Q15617994'}] ['Q225', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q225 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Serbia Montenegro Croatia
Serbia, Montenegro and Croatia are adjacent to that one
Serbia Montenegro Croatia
action filter_type
action find
entity Bosnia and Herzegovina
relation shares border with
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bosnia and Herzegovina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bosnia_and_Herzegovina property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic relations with those ones ?
(Q38,P530,Q403) (Q38,P530,Q236) (Q38,P530,Q224)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q403'] ['Q38', 'P530', 'Q236'] ['Q38', 'P530', 'Q224']
ASK WHERE { VALUES ( ?e ) { ( resource:Q403 ) ( resource:Q236 ) ( resource:Q224 ) } . resource:Q38 property:P530 ?e }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Serbia'] ['Italy', 'diplomatic relation', 'Montenegro'] ['Italy', 'diplomatic relation', 'Croatia']
ASK WHERE { VALUES ( ?e ) { ( resource:Serbia ) ( resource:Montenegro ) ( resource:Croatia ) } . resource:Italy property:diplomatic_relation ?e }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q403) (Q38,P530,Q236) (Q38,P530,Q224)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q403'] ['Q38', 'P530', 'Q236'] ['Q38', 'P530', 'Q224']
ASK WHERE { VALUES ( ?e ) { ( resource:Q403 ) ( resource:Q236 ) ( resource:Q224 ) } . resource:Q38 property:P530 ?e }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Serbia'] ['Italy', 'diplomatic relation', 'Montenegro'] ['Italy', 'diplomatic relation', 'Croatia']
ASK WHERE { VALUES ( ?e ) { ( resource:Serbia ) ( resource:Montenegro ) ( resource:Croatia ) } . resource:Italy property:diplomatic_relation ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4681973 Q11194
P17
Q15617994
USER
Which administrative territories are Sarajevo or Vâna Mare River a part of ?
OR((Q11194,P17,c(Q15617994)), (Q4681973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11194
relation P17
action find
entity Q4681973
relation P17
type Q15617994
{'OR': [['Q11194', 'P17', {'concept': 'Q15617994'}], ['Q4681973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q11194 property:P17 ?t } UNION { resource:Q4681973 property:P17 ?t } } }
Vâna Mare River Sarajevo
action filter_type
action union
action find
entity Sarajevo
relation country
action find
entity Vâna Mare River
relation country
type designation for an administrative territorial entity
{'OR': [['Sarajevo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vâna Mare River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sarajevo property:country ?t } UNION { resource:Vâna_Mare_River property:country ?t } } }
[]
designation for an administrative territorial entity
Q225 Q218
SYSTEM
Bosnia and Herzegovina, Romania
Q225 Q218
OR((Q11194,P17,c(Q15617994)), (Q4681973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11194
relation P17
action find
entity Q4681973
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q11194', 'P17', {'concept': 'Q15617994'}], ['Q4681973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q11194 property:P17 ?t } UNION { resource:Q4681973 property:P17 ?t } } }
Bosnia and Herzegovina Romania
Which administrative territories are Sarajevo or Vâna Mare River a part of
Bosnia and Herzegovina Romania
action filter_type
action union
action find
entity Sarajevo
relation country
action find
entity Vâna Mare River
relation country
type designation for an administrative territorial entity
{'OR': [['Sarajevo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vâna Mare River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sarajevo property:country ?t } UNION { resource:Vâna_Mare_River property:country ?t } } }
[]