Simple Question (Direct)
Simple Question
Q5984441
P54
Q1194951
USER
Which national sports team is Ibrahim Al Hasan a member of ?
(Q5984441,P54,c(Q1194951))
action filter_type
action find
entity Q5984441
relation P54
type Q1194951
['Q5984441', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q5984441 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Ibrahim Al Hasan
action filter_type
action find
entity Ibrahim Al Hasan
relation member of sports team
type national sports team
['Ibrahim Al Hasan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Ibrahim_Al_Hasan property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q272097
SYSTEM
Syria national football team
Q272097
(Q5984441,P54,c(Q1194951))
action filter_type
action find
entity Q5984441
relation P54
type Q1194951
The [ANSWER] is Ibrahim Al Hasan a member of
['Q5984441', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q5984441 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Syria national football team
The Syria national football team is Ibrahim Al Hasan a member of
Syria national football team
action filter_type
action find
entity Ibrahim Al Hasan
relation member of sports team
type national sports team
['Ibrahim Al Hasan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Ibrahim_Al_Hasan property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272097
P17
Q15617994
USER
Which administrative territory is that national sports team situated in ?
(Q272097,P17,c(Q15617994))
action filter_type
action find
entity Q272097
relation P17
type Q15617994
['Q272097', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q272097 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Syria national football team
action filter_type
action find
entity Syria national football team
relation country
type designation for an administrative territorial entity
['Syria national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Syria_national_football_team property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858
SYSTEM
Syria
Q858
(Q272097,P17,c(Q15617994))
action filter_type
action find
entity Q272097
relation P17
type Q15617994
That national sports team is situated in [ANSWER]
['Q272097', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q272097 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Syria
That national sports team is situated in Syria
Syria
action filter_type
action find
entity Syria national football team
relation country
type designation for an administrative territorial entity
['Syria national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Syria_national_football_team property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with around 65 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 65
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?r ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r = 65 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 65
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?r ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r = 65 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 65
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?r ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r = 65 ) }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 65
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?r ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r = 65 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q858
P36
Q56061
USER
What is the capital of Syria ?
(Q858,P36,c(Q56061))
action filter_type
action find
entity Q858
relation P36
type Q56061
['Q858', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q858 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Syria
action filter_type
action find
entity Syria
relation capital
type administrative territorial entity
['Syria', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Syria property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3766
SYSTEM
Damascus
Q3766
(Q858,P36,c(Q56061))
action filter_type
action find
entity Q858
relation P36
type Q56061
The capital of Syria is [ANSWER]
['Q858', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q858 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Damascus
The capital of Syria is Damascus
Damascus
action filter_type
action find
entity Syria
relation capital
type administrative territorial entity
['Syria', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Syria property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3766
P1376
Q15617994
USER
What have that administrative territory as their capital ?
(Q3766,P1376,c(Q15617994))
action filter_type
action find
entity Q3766
relation P1376
type Q15617994
['Q3766', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3766 property:P1376 ?o . ?o rdf:type ontology:Q15617994 }
Damascus
action filter_type
action find
entity Damascus
relation capital of
type designation for an administrative territorial entity
['Damascus', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Damascus property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858 Q12536 Q8575586
SYSTEM
Syria, Abbasid caliphate, Umayyad Caliphate
Q858 Q12536 Q8575586
(Q3766,P1376,c(Q15617994))
action filter_type
action find
entity Q3766
relation P1376
type Q15617994
[ANSWERS] have that administrative territory as their capital
['Q3766', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3766 property:P1376 ?o . ?o rdf:type ontology:Q15617994 }
Syria Abbasid caliphate Umayyad Caliphate
Syria, Abbasid caliphate and Umayyad Caliphate have that administrative territory as their capital
Syria Abbasid caliphate Umayyad Caliphate
action filter_type
action find
entity Damascus
relation capital of
type designation for an administrative territorial entity
['Damascus', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Damascus property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1434029
P1376
Q56061
USER
Are Carmel, Har Hebron the capital of those administrative territories ?
(Q1434029,P1376,Q858) (Q1434029,P1376,Q12536) (Q1434029,P1376,Q8575586)
action is_in
entity prev_answer
action find
entity Q1434029
relation P1376
['Q1434029', 'P1376', 'Q858'] ['Q1434029', 'P1376', 'Q12536'] ['Q1434029', 'P1376', 'Q8575586']
ASK WHERE { resource:Q1434029 property:P1376 ?t . VALUES ( ?t ) { ( resource:Q858 ) ( resource:Q12536 ) ( resource:Q8575586 ) } }
Carmel, Har Hebron
action is_in
entity prev_answer
action find
entity Carmel, Har Hebron
relation capital of
['Carmel, Har Hebron', 'capital of', 'Syria'] ['Carmel, Har Hebron', 'capital of', 'Abbasid caliphate'] ['Carmel, Har Hebron', 'capital of', 'Umayyad Caliphate']
ASK WHERE { resource:Carmel,_Har_Hebron property:capital_of ?t . VALUES ( ?t ) { ( resource:Syria ) ( resource:Abbasid_caliphate ) ( resource:Umayyad_Caliphate ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q1434029,P1376,Q858) (Q1434029,P1376,Q12536) (Q1434029,P1376,Q8575586)
action is_in
entity prev_answer
action find
entity Q1434029
relation P1376
[ANSWER]
['Q1434029', 'P1376', 'Q858'] ['Q1434029', 'P1376', 'Q12536'] ['Q1434029', 'P1376', 'Q8575586']
ASK WHERE { resource:Q1434029 property:P1376 ?t . VALUES ( ?t ) { ( resource:Q858 ) ( resource:Q12536 ) ( resource:Q8575586 ) } }
No
action is_in
entity prev_answer
action find
entity Carmel, Har Hebron
relation capital of
['Carmel, Har Hebron', 'capital of', 'Syria'] ['Carmel, Har Hebron', 'capital of', 'Abbasid caliphate'] ['Carmel, Har Hebron', 'capital of', 'Umayyad Caliphate']
ASK WHERE { resource:Carmel,_Har_Hebron property:capital_of ?t . VALUES ( ?t ) { ( resource:Syria ) ( resource:Abbasid_caliphate ) ( resource:Umayyad_Caliphate ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272097
P641
Q349
USER
What was the sport that Syria national football team was a part of ?
(Q272097,P641,c(Q349))
action filter_type
action find
entity Q272097
relation P641
type Q349
['Q272097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q272097 property:P641 ?p . ?p rdf:type ontology:Q349 }
Syria national football team
action filter_type
action find
entity Syria national football team
relation sport
type sport
['Syria national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Syria_national_football_team property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q272097,P641,c(Q349))
action filter_type
action find
entity Q272097
relation P641
type Q349
The sport that Syria national football team was a part of was in [ANSWER]
['Q272097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q272097 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The sport that Syria national football team was a part of was in association football
association football
action filter_type
action find
entity Syria national football team
relation sport
type sport
['Syria national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Syria_national_football_team property:sport ?p . ?p rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q16013115
P641
Q502895
USER
Is Ato Turkson associated with playing that sport ?
(Q16013115,P641,Q2736)
action is_in
entity Q16013115
action find
entity Q2736
relation P641
['Q16013115', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q16013115 }
association football Ato Turkson
action is_in
entity Ato Turkson
action find
entity association football
relation sport
['Ato Turkson', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Ato_Turkson }
[]
common name
SYSTEM
NO
(Q16013115,P641,Q2736)
action is_in
entity Q16013115
action find
entity Q2736
relation P641
[ANSWER]
['Q16013115', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q16013115 }
No
action is_in
entity Ato Turkson
action find
entity association football
relation sport
['Ato Turkson', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Ato_Turkson }
[]