Simple Question (Direct)
Simple Question
Q21284942
P106
Q12737077
USER
Which occupation has Abdelrahman Ramadan Fetori as his/her 's career ?
(Q21284942,P106,c(Q12737077))
action filter_type
action find
entity Q21284942
relation P106
type Q12737077
['Q21284942', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q21284942 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Abdelrahman Ramadan Fetori
action filter_type
action find
entity Abdelrahman Ramadan Fetori
relation occupation
type occupation
['Abdelrahman Ramadan Fetori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Abdelrahman_Ramadan_Fetori property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q21284942,P106,c(Q12737077))
action filter_type
action find
entity Q21284942
relation P106
type Q12737077
The [ANSWER] has Abdelrahman Ramadan Fetori as his/her 's career
['Q21284942', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q21284942 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The association football player has Abdelrahman Ramadan Fetori as his/her 's career
association football player
action filter_type
action find
entity Abdelrahman Ramadan Fetori
relation occupation
type occupation
['Abdelrahman Ramadan Fetori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Abdelrahman_Ramadan_Fetori property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21284942
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q21284942
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21284942 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Abdelrahman Ramadan Fetori
action filter_type
action find
entity Abdelrahman Ramadan Fetori
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Abdelrahman_Ramadan_Fetori property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q21284942
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21284942 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Libya
The Libya is that person an inhabitant of
Libya
action filter_type
action find
entity Abdelrahman Ramadan Fetori
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Abdelrahman_Ramadan_Fetori property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q292045 Q21284942
P47 P27
Q15617994
USER
Which administrative territories are Abdelrahman Ramadan Fetori a civilian of or share the border with Ledro ?
OR((Q21284942,P27,c(Q15617994)), (Q292045,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q21284942
relation P27
action find
entity Q292045
relation P47
type Q15617994
{'OR': [['Q21284942', 'P27', {'concept': 'Q15617994'}], ['Q292045', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q292045 property:P47 ?o } UNION { resource:Q21284942 property:P27 ?o } } }
Ledro Abdelrahman Ramadan Fetori
action filter_type
action union
action find
entity Abdelrahman Ramadan Fetori
relation country of citizenship
action find
entity Ledro
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Abdelrahman Ramadan Fetori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ledro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ledro property:shares_border_with ?o } UNION { resource:Abdelrahman_Ramadan_Fetori property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q1016 Q228151 Q286808 Q326968 Q269720 Q298747 Q241855 Q194136 Q112127 Q105101
SYSTEM
Some of them are Libya, Zuclo, Fiavè, Tenno, Trentino, Condino, Pieve di Bono, Storo, Riva del Garda, Tremosine, Magasa
Q267713 Q269720 Q244220 Q104973 Q326968 Q1016 Q228151 Q298747 Q105101 Q194136 Q327207 Q241855 Q112127 Q286808
OR((Q21284942,P27,c(Q15617994)), (Q292045,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q21284942
relation P27
action find
entity Q292045
relation P47
type Q15617994
[ANSWERS] are Abdelrahman Ramadan Fetori a civilian of or share the border with Ledro
{'OR': [['Q21284942', 'P27', {'concept': 'Q15617994'}], ['Q292045', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q292045 property:P47 ?o } UNION { resource:Q21284942 property:P27 ?o } } }
Cimego Condino Bleggio Superiore Limone sul Garda Tenno, Trentino Libya Zuclo Pieve di Bono Magasa Riva del Garda Tione di Trento Storo Tremosine Fiavè
Libya, Zuclo, Fiavè, Tenno, Trentino, Condino, Pieve di Bono, Storo, Riva del Garda, Tremosine and Magasa are Abdelrahman Ramadan Fetori a civilian of or share the border with Ledro
Libya Zuclo Fiavè Tenno, Trentino Condino Pieve di Bono Storo Riva del Garda Tremosine Magasa
action filter_type
action union
action find
entity Abdelrahman Ramadan Fetori
relation country of citizenship
action find
entity Ledro
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Abdelrahman Ramadan Fetori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ledro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ledro property:shares_border_with ?o } UNION { resource:Abdelrahman_Ramadan_Fetori property:country_of_citizenship ?o } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q54754 Q228151
P47
Q15617994
USER
Which administrative territories are bordered by Zuclo or Zungri ?
OR((c(Q15617994),P47,Q228151), (c(Q15617994),P47,Q54754))
action filter_type
action union
action find_reverse
entity Q228151
relation P47
action find_reverse
entity Q54754
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q228151'], [{'concept': 'Q15617994'}, 'P47', 'Q54754']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P47 resource:Q228151 } UNION { ?v property:P47 resource:Q54754 } } . ?v rdf:type ontology:Q15617994 }
Zungri Zuclo
action filter_type
action union
action find_reverse
entity Zuclo
relation shares border with
action find_reverse
entity Zungri
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Zuclo'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Zungri']]}
SELECT DISTINCT ?v WHERE { { { ?v property:shares_border_with resource:Zuclo } UNION { ?v property:shares_border_with resource:Zungri } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q21922238 Q54745 Q54705 Q292045 Q54698 Q54708 Q327207 Q54733 Q54701 Q244267
SYSTEM
Some of them are Sella Giudicarie, Spilinga, Drapia, Ledro, Briatico, Filandari, Tione di Trento, Rombiolo, Cessaniti, Bolbeno
Q54733 Q54745 Q54708 Q244220 Q54698 Q244272 Q54701 Q54705 Q244267 Q327207 Q54751 Q292045 Q21922238 Q300104
OR((c(Q15617994),P47,Q228151), (c(Q15617994),P47,Q54754))
action filter_type
action union
action find_reverse
entity Q228151
relation P47
action find_reverse
entity Q54754
relation P47
type Q15617994
[ANSWERS] are bordered by Zuclo or Zungri
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q228151'], [{'concept': 'Q15617994'}, 'P47', 'Q54754']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P47 resource:Q228151 } UNION { ?v property:P47 resource:Q54754 } } . ?v rdf:type ontology:Q15617994 }
Rombiolo Spilinga Filandari Bleggio Superiore Briatico Bondo, Trentino Cessaniti Drapia Bolbeno Tione di Trento Zaccanopoli Ledro Sella Giudicarie Preore
Sella Giudicarie, Spilinga, Drapia, Ledro, Briatico, Filandari, Tione di Trento, Rombiolo, Cessaniti and Bolbeno are bordered by Zuclo or Zungri
Sella Giudicarie Spilinga Drapia Ledro Briatico Filandari Tione di Trento Rombiolo Cessaniti Bolbeno
action filter_type
action union
action find_reverse
entity Zuclo
relation shares border with
action find_reverse
entity Zungri
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Zuclo'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Zungri']]}
SELECT DISTINCT ?v WHERE { { { ?v property:shares_border_with resource:Zuclo } UNION { ?v property:shares_border_with resource:Zungri } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7309803 Q244267
P495 P17
Q15617994
USER
Which administrative territories are Bolbeno located in or are the countries of origin of Rehguzar ?
OR((Q244267,P17,c(Q15617994)), (Q7309803,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q244267
relation P17
action find
entity Q7309803
relation P495
type Q15617994
{'OR': [['Q244267', 'P17', {'concept': 'Q15617994'}], ['Q7309803', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7309803 property:P495 ?b } UNION { resource:Q244267 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Rehguzar Bolbeno
action filter_type
action union
action find
entity Bolbeno
relation country
action find
entity Rehguzar
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolbeno', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rehguzar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Rehguzar property:country_of_origin ?b } UNION { resource:Bolbeno property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q668
SYSTEM
Italy, India
Q38 Q668
OR((Q244267,P17,c(Q15617994)), (Q7309803,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q244267
relation P17
action find
entity Q7309803
relation P495
type Q15617994
Bolbeno are located in [ANSWERS] or are the countries of origin of Rehguzar
{'OR': [['Q244267', 'P17', {'concept': 'Q15617994'}], ['Q7309803', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7309803 property:P495 ?b } UNION { resource:Q244267 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Italy India
Bolbeno are located in Italy and India or are the countries of origin of Rehguzar
Italy India
action filter_type
action union
action find
entity Bolbeno
relation country
action find
entity Rehguzar
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolbeno', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rehguzar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Rehguzar property:country_of_origin ?b } UNION { resource:Bolbeno property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those administrative territories ?
(Q408,P530,Q38) (Q408,P530,Q668)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q668']
ASK WHERE { resource:Q408 property:P530 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q668 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'India']
ASK WHERE { resource:Australia property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:India ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q38) (Q408,P530,Q668)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q668']
ASK WHERE { resource:Q408 property:P530 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'India']
ASK WHERE { resource:Australia property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:India ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q244267 Q1116529 Q38
P17
Q15617994
USER
Is Bolbeno situated in Principality of Heitersheim and Italy ?
(Q244267,P17,Q1116529) (Q244267,P17,Q38)
action is_in
entity Q244267
action intersection
action find_reverse
entity Q1116529
relation P17
action find_reverse
entity Q38
relation P17
['Q244267', 'P17', 'Q1116529'] ['Q244267', 'P17', 'Q38']
ASK WHERE { resource:Q244267 property:P17 resource:Q1116529 . resource:Q244267 property:P17 resource:Q38 }
Bolbeno Principality of Heitersheim Italy
action is_in
entity Bolbeno
action intersection
action find_reverse
entity Principality of Heitersheim
relation country
action find_reverse
entity Italy
relation country
['Bolbeno', 'country', 'Principality of Heitersheim'] ['Bolbeno', 'country', 'Italy']
ASK WHERE { resource:Bolbeno property:country resource:Principality_of_Heitersheim . resource:Bolbeno property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q244267,P17,Q1116529) (Q244267,P17,Q38)
action is_in
entity Q244267
action intersection
action find_reverse
entity Q1116529
relation P17
action find_reverse
entity Q38
relation P17
[ANSWER]
['Q244267', 'P17', 'Q1116529'] ['Q244267', 'P17', 'Q38']
ASK WHERE { resource:Q244267 property:P17 resource:Q1116529 . resource:Q244267 property:P17 resource:Q38 }
NO and YES respectively
action is_in
entity Bolbeno
action intersection
action find_reverse
entity Principality of Heitersheim
relation country
action find_reverse
entity Italy
relation country
['Bolbeno', 'country', 'Principality of Heitersheim'] ['Bolbeno', 'country', 'Italy']
ASK WHERE { resource:Bolbeno property:country resource:Principality_of_Heitersheim . resource:Bolbeno property:country resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016
P6
Q502895
USER
Which person is Libya the head of goverment of ?
(Q1016,P6,c(Q502895))
action filter_type
action find
entity Q1016
relation P6
type Q502895
['Q1016', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1016 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Libya
action filter_type
action find
entity Libya
relation head of government
type common name
['Libya', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Libya property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Q57847
SYSTEM
Ali Zeidan
Q57847
(Q1016,P6,c(Q502895))
action filter_type
action find
entity Q1016
relation P6
type Q502895
[ANSWER] is Libya the head of goverment of
['Q1016', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1016 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Ali Zeidan
Ali Zeidan is Libya the head of goverment of
Ali Zeidan
action filter_type
action find
entity Libya
relation head of government
type common name
['Libya', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Libya property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016
P840
Q571
USER
Which book has its narrative set in Libya ?
(c(Q571),P840,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P840
type Q571
[{'concept': 'Q571'}, 'P840', 'Q1016']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q1016 . ?w rdf:type ontology:Q571 }
Libya
action filter_type
action find_reverse
entity Libya
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Libya']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:Libya . ?w rdf:type ontology:book }
[]
book
Q22679831
SYSTEM
Voyages en Afrique, Asie, Indes orientales et occidentales
Q22679831
(c(Q571),P840,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P840
type Q571
[ANSWER] has its narrative set in Libya
[{'concept': 'Q571'}, 'P840', 'Q1016']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q1016 . ?w rdf:type ontology:Q571 }
Voyages en Afrique, Asie, Indes orientales et occidentales
Voyages en Afrique, Asie, Indes orientales et occidentales has its narrative set in Libya
Voyages en Afrique, Asie, Indes orientales et occidentales
action filter_type
action find_reverse
entity Libya
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Libya']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:Libya . ?w rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016
P30
Q2221906
USER
Where is Libya located ?
(Q1016,P30,c(Q2221906))
action filter_type
action find
entity Q1016
relation P30
type Q2221906
['Q1016', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q1016 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
Libya
action filter_type
action find
entity Libya
relation continent
type geographic location
['Libya', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:Libya property:continent ?t . ?t rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q1016,P30,c(Q2221906))
action filter_type
action find
entity Q1016
relation P30
type Q2221906
Libya is located in [ANSWER]
['Q1016', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q1016 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
Africa
Libya is located in Africa
Africa
action filter_type
action find
entity Libya
relation continent
type geographic location
['Libya', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:Libya property:continent ?t . ?t rdf:type ontology:geographic_location }
[]