Simple Question (Direct)
Simple Question
Q1262107
P21
Q290
USER
What is the sex of Jehad Muntasser ?
(Q1262107,P21,c(Q290))
action filter_type
action find
entity Q1262107
relation P21
type Q290
['Q1262107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1262107 property:P21 ?k . ?k rdf:type ontology:Q290 }
Jehad Muntasser
action filter_type
action find
entity Jehad Muntasser
relation gender
type sex
['Jehad Muntasser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jehad_Muntasser property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1262107,P21,c(Q290))
action filter_type
action find
entity Q1262107
relation P21
type Q290
The sex of Jehad Muntasser is the [ANSWER]
['Q1262107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1262107 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Jehad Muntasser is the male
male
action filter_type
action find
entity Jehad Muntasser
relation gender
type sex
['Jehad Muntasser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jehad_Muntasser property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1262107
P54
Q1194951
USER
Which national sports team is Jehad Muntasser a member of ?
(Q1262107,P54,c(Q1194951))
action filter_type
action find
entity Q1262107
relation P54
type Q1194951
['Q1262107', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q1262107 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Jehad Muntasser
action filter_type
action find
entity Jehad Muntasser
relation member of sports team
type national sports team
['Jehad Muntasser', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Jehad_Muntasser property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q276089
SYSTEM
Libya national football team
Q276089
(Q1262107,P54,c(Q1194951))
action filter_type
action find
entity Q1262107
relation P54
type Q1194951
[ANSWER] is Jehad Muntasser a member of
['Q1262107', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q1262107 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Libya national football team
Libya national football team is Jehad Muntasser a member of
Libya national football team
action filter_type
action find
entity Jehad Muntasser
relation member of sports team
type national sports team
['Jehad Muntasser', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Jehad_Muntasser property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q276089
P641
Q349
USER
Which sport did that national sports team participate in ?
(Q276089,P641,c(Q349))
action filter_type
action find
entity Q276089
relation P641
type Q349
['Q276089', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q276089 property:P641 ?k . ?k rdf:type ontology:Q349 }
Libya national football team
action filter_type
action find
entity Libya national football team
relation sport
type sport
['Libya national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Libya_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q276089,P641,c(Q349))
action filter_type
action find
entity Q276089
relation P641
type Q349
That national sports team participated in [ANSWER]
['Q276089', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q276089 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
That national sports team participated in association football
association football
action filter_type
action find
entity Libya national football team
relation sport
type sport
['Libya national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Libya_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q276089
P17
Q15617994
USER
Which administrative territory is that national sports team a part of ?
(Q2736,P17,c(Q15617994))
action filter_type
action find
entity Q276089
relation P17
type Q15617994
['Q2736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q276089 property:P17 ?j }
Libya national football team
action filter_type
action find
entity Libya national football team
relation country
type designation for an administrative territorial entity
['association football', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Libya_national_football_team property:country ?j }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q2736,P17,c(Q15617994))
action filter_type
action find
entity Q276089
relation P17
type Q15617994
[ANSWER] is that national sports team a part of
['Q2736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q276089 property:P17 ?j }
Libya
Libya is that national sports team a part of
Libya
action filter_type
action find
entity Libya national football team
relation country
type designation for an administrative territorial entity
['association football', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Libya_national_football_team property:country ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q276089
P466
Q483110
USER
Which stadium is occupied by that national sports team ?
(c(Q483110),P466,Q1016)
action filter_type
action find_reverse
entity Q276089
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q1016']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q276089 . ?y rdf:type ontology:Q483110 }
Libya national football team
action filter_type
action find_reverse
entity Libya national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Libya']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Libya_national_football_team . ?y rdf:type ontology:stadium }
[]
stadium
Q1511121
SYSTEM
June 11 Stadium
Q1511121
(c(Q483110),P466,Q1016)
action filter_type
action find_reverse
entity Q276089
relation P466
type Q483110
[ANSWER] is occupied by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q1016']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q276089 . ?y rdf:type ontology:Q483110 }
June 11 Stadium
June 11 Stadium is occupied by that national sports team
June 11 Stadium
action filter_type
action find_reverse
entity Libya national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Libya']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Libya_national_football_team . ?y rdf:type ontology:stadium }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1511121 Q22105
P17
Q15617994
USER
Is that stadium a part of Borgolavezzaro ?
(Q1511121,P17,Q22105)
action is_in
entity Q22105
action find
entity Q1511121
relation P17
['Q1511121', 'P17', 'Q22105']
ASK WHERE { resource:Q1511121 property:P17 resource:Q22105 }
June 11 Stadium Borgolavezzaro
action is_in
entity Borgolavezzaro
action find
entity June 11 Stadium
relation country
['June 11 Stadium', 'country', 'Borgolavezzaro']
ASK WHERE { resource:June_11_Stadium property:country resource:Borgolavezzaro }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1511121,P17,Q22105)
action is_in
entity Q22105
action find
entity Q1511121
relation P17
[ANSWER]
['Q1511121', 'P17', 'Q22105']
ASK WHERE { resource:Q1511121 property:P17 resource:Q22105 }
No
action is_in
entity Borgolavezzaro
action find
entity June 11 Stadium
relation country
['June 11 Stadium', 'country', 'Borgolavezzaro']
ASK WHERE { resource:June_11_Stadium property:country resource:Borgolavezzaro }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1016 Q948 Q1342138
P47
Q15617994
USER
Is Libya bordered by Tunisia and Xingbin District ?
(Q1016,P47,Q948) (Q1016,P47,Q1342138)
action is_in
entity Q1016
action intersection
action find_reverse
entity Q948
relation P47
action find_reverse
entity Q1342138
relation P47
['Q1016', 'P47', 'Q948'] ['Q1016', 'P47', 'Q1342138']
ASK WHERE { resource:Q1016 property:P47 resource:Q948 . resource:Q1016 property:P47 resource:Q1342138 }
Libya Tunisia Xingbin District
action is_in
entity Libya
action intersection
action find_reverse
entity Tunisia
relation shares border with
action find_reverse
entity Xingbin District
relation shares border with
['Libya', 'shares border with', 'Tunisia'] ['Libya', 'shares border with', 'Xingbin District']
ASK WHERE { resource:Libya property:shares_border_with resource:Tunisia . resource:Libya property:shares_border_with resource:Xingbin_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1016,P47,Q948) (Q1016,P47,Q1342138)
action is_in
entity Q1016
action intersection
action find_reverse
entity Q948
relation P47
action find_reverse
entity Q1342138
relation P47
[ANSWER]
['Q1016', 'P47', 'Q948'] ['Q1016', 'P47', 'Q1342138']
ASK WHERE { resource:Q1016 property:P47 resource:Q948 . resource:Q1016 property:P47 resource:Q1342138 }
YES and NO respectively
action is_in
entity Libya
action intersection
action find_reverse
entity Tunisia
relation shares border with
action find_reverse
entity Xingbin District
relation shares border with
['Libya', 'shares border with', 'Tunisia'] ['Libya', 'shares border with', 'Xingbin District']
ASK WHERE { resource:Libya property:shares_border_with resource:Tunisia . resource:Libya property:shares_border_with resource:Xingbin_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1016
P159
Q43229 Q874405
USER
How many organizations and social groups have their head office location at Libya ?
(c(Q43229),P159,Q1016) (c(Q874405),P159,Q1016)
action count
action union
action filter_type
action find_reverse
entity Q1016
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1016
relation P159
type Q874405
[{'concept': 'Q43229'}, 'P159', 'Q1016'] [{'concept': 'Q874405'}, 'P159', 'Q1016']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P159 resource:Q1016 . ?u rdf:type ontology:Q43229 } UNION { ?u property:P159 resource:Q1016 . ?u rdf:type ontology:Q874405 } }
Libya
action count
action union
action filter_type
action find_reverse
entity Libya
relation headquarters location
type organization
action filter_type
action find_reverse
entity Libya
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Libya'] [{'concept': 'social group'}, 'headquarters location', 'Libya']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:headquarters_location resource:Libya . ?u rdf:type ontology:organization } UNION { ?u property:headquarters_location resource:Libya . ?u rdf:type ontology:social_group } }
[]
organization social group
SYSTEM
2 organizations and 1 social groups
Q7275820 Q17012344 Q8067446
(c(Q43229),P159,Q1016) (c(Q874405),P159,Q1016)
action count
action union
action filter_type
action find_reverse
entity Q1016
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1016
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q1016'] [{'concept': 'Q874405'}, 'P159', 'Q1016']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P159 resource:Q1016 . ?u rdf:type ontology:Q43229 } UNION { ?u property:P159 resource:Q1016 . ?u rdf:type ontology:Q874405 } }
RASCO Network of Free Ulema – Libya Zawia Oil Refining Company
2 organizations and 1 social groups
action count
action union
action filter_type
action find_reverse
entity Libya
relation headquarters location
type organization
action filter_type
action find_reverse
entity Libya
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Libya'] [{'concept': 'social group'}, 'headquarters location', 'Libya']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:headquarters_location resource:Libya . ?u rdf:type ontology:organization } UNION { ?u property:headquarters_location resource:Libya . ?u rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016
P710
Q930933
USER
What event did Libya particiate in ?
(c(Q930933),P710,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q1016']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q1016 . ?j rdf:type ontology:Q930933 }
Libya
action filter_type
action find_reverse
entity Libya
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Libya']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Libya . ?j rdf:type ontology:relationship }
[]
relationship
Q4398189
SYSTEM
Libya–Russia relations
Q4398189
(c(Q930933),P710,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P710
type Q930933
Libya particiated in [ANSWER]
[{'concept': 'Q930933'}, 'P710', 'Q1016']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q1016 . ?j rdf:type ontology:Q930933 }
Libya–Russia relations
Libya particiated in Libya–Russia relations
Libya–Russia relations
action filter_type
action find_reverse
entity Libya
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Libya']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Libya . ?j rdf:type ontology:relationship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(c(Q56061),P1376,Q4398189)
action filter_type
action find_reverse
entity Q1016
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q4398189']
SELECT DISTINCT ?z WHERE { ?z property:P1376 resource:Q1016 . ?z rdf:type ontology:Q56061 }
Libya
action filter_type
action find_reverse
entity Libya
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Libya–Russia relations']
SELECT DISTINCT ?z WHERE { ?z property:capital_of resource:Libya . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3579
SYSTEM
Tripoli
Q3579
(c(Q56061),P1376,Q4398189)
action filter_type
action find_reverse
entity Q1016
relation P1376
type Q56061
Of [ANSWER] is the capital of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q4398189']
SELECT DISTINCT ?z WHERE { ?z property:P1376 resource:Q1016 . ?z rdf:type ontology:Q56061 }
Tripoli
Of Tripoli is the capital of that administrative territory
Tripoli
action filter_type
action find_reverse
entity Libya
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Libya–Russia relations']
SELECT DISTINCT ?z WHERE { ?z property:capital_of resource:Libya . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3579
P504
Q2235308
USER
What has that administrative territory as its home port ?
(c(Q2235308),P504,Q3579)
action filter_type
action find_reverse
entity Q3579
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q3579']
SELECT DISTINCT ?l WHERE { ?l property:P504 resource:Q3579 . ?l rdf:type ontology:Q2235308 }
Tripoli
action filter_type
action find_reverse
entity Tripoli
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Tripoli']
SELECT DISTINCT ?l WHERE { ?l property:home_port resource:Tripoli . ?l rdf:type ontology:ship_type }
[]
ship type
Q7880980
SYSTEM
Um El Faroud
Q7880980
(c(Q2235308),P504,Q3579)
action filter_type
action find_reverse
entity Q3579
relation P504
type Q2235308
[ANSWER] has that administrative territory as its home port
[{'concept': 'Q2235308'}, 'P504', 'Q3579']
SELECT DISTINCT ?l WHERE { ?l property:P504 resource:Q3579 . ?l rdf:type ontology:Q2235308 }
Um El Faroud
Um El Faroud has that administrative territory as its home port
Um El Faroud
action filter_type
action find_reverse
entity Tripoli
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Tripoli']
SELECT DISTINCT ?l WHERE { ?l property:home_port resource:Tripoli . ?l rdf:type ontology:ship_type }
[]