Simple Question (Direct)
Simple Question
Q18763880
P27
Q15617994
USER
Which administrative territory is Sverre Bjørkkjær a civilian of ?
(Q18763880,P27,c(Q15617994))
action filter_type
action find
entity Q18763880
relation P27
type Q15617994
['Q18763880', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q18763880 property:P27 ?l }
Sverre Bjørkkjær
action filter_type
action find
entity Sverre Bjørkkjær
relation country of citizenship
type designation for an administrative territorial entity
['Sverre Bjørkkjær', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sverre_Bjørkkjær property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q18763880,P27,c(Q15617994))
action filter_type
action find
entity Q18763880
relation P27
type Q15617994
[ANSWER] is Sverre Bjørkkjær a civilian of
['Q18763880', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q18763880 property:P27 ?l }
Norway
Norway is Sverre Bjørkkjær a civilian of
Norway
action filter_type
action find
entity Sverre Bjørkkjær
relation country of citizenship
type designation for an administrative territorial entity
['Sverre Bjørkkjær', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sverre_Bjørkkjær property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18763880
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q20,P19,c(Q15617994))
action filter_type
action find
entity Q18763880
relation P19
type Q15617994
['Q20', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q18763880 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Sverre Bjørkkjær
action filter_type
action find
entity Sverre Bjørkkjær
relation place of birth
type designation for an administrative territorial entity
['Norway', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sverre_Bjørkkjær property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
(Q20,P19,c(Q15617994))
action filter_type
action find
entity Q18763880
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q20', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q18763880 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Philippines
Philippines is the place of birth of that person
Philippines
action filter_type
action find
entity Sverre Bjørkkjær
relation place of birth
type designation for an administrative territorial entity
['Norway', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Sverre_Bjørkkjær property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18763880
P641
Q349
USER
Which sport did that person participate in ?
(Q928,P641,c(Q349))
action filter_type
action find
entity Q18763880
relation P641
type Q349
['Q928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q18763880 property:P641 ?u . ?u rdf:type ontology:Q349 }
Sverre Bjørkkjær
action filter_type
action find
entity Sverre Bjørkkjær
relation sport
type sport
['Philippines', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Sverre_Bjørkkjær property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q928,P641,c(Q349))
action filter_type
action find
entity Q18763880
relation P641
type Q349
That person participated in [ANSWER]
['Q928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q18763880 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Sverre Bjørkkjær
relation sport
type sport
['Philippines', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Sverre_Bjørkkjær property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18763880
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18763880
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q18763880 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Sverre Bjørkkjær
action filter_type
action find
entity Sverre Bjørkkjær
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Sverre_Bjørkkjær property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18763880
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q18763880 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Sverre Bjørkkjær
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Sverre_Bjørkkjær property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P463
Q43229
USER
Which organizations were Philippines a member of ?
(Q928,P463,c(Q43229))
action filter_type
action find
entity Q928
relation P463
type Q43229
['Q928', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q928 property:P463 ?h . ?h rdf:type ontology:Q43229 }
Philippines
action filter_type
action find
entity Philippines
relation member of
type organization
['Philippines', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Philippines property:member_of ?h . ?h rdf:type ontology:organization }
[]
organization
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q191384 Q899770 Q656801 Q7825 Q170481 Q827525
(Q928,P463,c(Q43229))
action filter_type
action find
entity Q928
relation P463
type Q43229
Philippines were the [ANSWERS]
['Q928', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q928 property:P463 ?h . ?h rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
Philippines were the World Trade Organization, International Bank for Reconstruction and Development and International Finance Corporation
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Philippines
relation member of
type organization
['Philippines', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Philippines property:member_of ?h . ?h rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q928
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
(Q7825,P6,c(Q502895)) (Q191384,P6,c(Q502895)) (Q656801,P6,c(Q502895))
action filter_type
action find
entity Q928
relation P6
type Q502895
['Q7825', 'P6', {'concept': 'Q502895'}] ['Q191384', 'P6', {'concept': 'Q502895'}] ['Q656801', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q928 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Philippines
action filter_type
action find
entity Philippines
relation head of government
type common name
['World Trade Organization', 'head of government', {'concept': 'common name'}] ['International Bank for Reconstruction and Development', 'head of government', {'concept': 'common name'}] ['International Finance Corporation', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Philippines property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q457786
SYSTEM
Rodrigo Duterte
Q457786
(Q7825,P6,c(Q502895)) (Q191384,P6,c(Q502895)) (Q656801,P6,c(Q502895))
action filter_type
action find
entity Q928
relation P6
type Q502895
[ANSWER] has that administrative territory as its head of government
['Q7825', 'P6', {'concept': 'Q502895'}] ['Q191384', 'P6', {'concept': 'Q502895'}] ['Q656801', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q928 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Rodrigo Duterte
Rodrigo Duterte has that administrative territory as its head of government
Rodrigo Duterte
action filter_type
action find
entity Philippines
relation head of government
type common name
['World Trade Organization', 'head of government', {'concept': 'common name'}] ['International Bank for Reconstruction and Development', 'head of government', {'concept': 'common name'}] ['International Finance Corporation', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Philippines property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q928
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with Philippines ?
(Q928,P530,c(Q15617994)) (Q928,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q928
relation P530
type Q15617994
action filter_type
action find
entity Q928
relation P530
type Q1048835
['Q928', 'P530', {'concept': 'Q15617994'}] ['Q928', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Q928 property:P530 ?l . ?l rdf:type ontology:Q1048835 } UNION { resource:Q928 property:P530 ?l . ?l rdf:type ontology:Q15617994 } }
Philippines
action count
action union
action filter_type
action find
entity Philippines
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Philippines
relation diplomatic relation
type political territorial entity
['Philippines', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Philippines', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Philippines property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } UNION { resource:Philippines property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q977 Q16 Q408 Q38 Q34
(Q928,P530,c(Q15617994)) (Q928,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q928
relation P530
type Q15617994
action filter_type
action find
entity Q928
relation P530
type Q1048835
[ANSWER]
['Q928', 'P530', {'concept': 'Q15617994'}] ['Q928', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Q928 property:P530 ?l . ?l rdf:type ontology:Q1048835 } UNION { resource:Q928 property:P530 ?l . ?l rdf:type ontology:Q15617994 } }
Djibouti Canada Australia Italy Sweden
5
action count
action union
action filter_type
action find
entity Philippines
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Philippines
relation diplomatic relation
type political territorial entity
['Philippines', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Philippines', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Philippines property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } UNION { resource:Philippines property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q928
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
action filter_type
action find
entity Q928
relation P30
type Q2221906
SELECT DISTINCT ?w WHERE { resource:Q928 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Philippines
action filter_type
action find
entity Philippines
relation continent
type geographic location
SELECT DISTINCT ?w WHERE { resource:Philippines property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
action filter_type
action find
entity Q928
relation P30
type Q2221906
[ANSWER] is that administrative territory a part of
SELECT DISTINCT ?w WHERE { resource:Q928 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Asia
Asia is that administrative territory a part of
Asia
action filter_type
action find
entity Philippines
relation continent
type geographic location
SELECT DISTINCT ?w WHERE { resource:Philippines property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q928
P1001
Q14660 Q1292279
USER
How many flags and political borders apply to jurisdiction over Philippines ?
(c(Q14660),P1001,Q928) (c(Q1292279),P1001,Q928)
action count
action union
action filter_type
action find_reverse
entity Q928
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q928
relation P1001
type Q1292279
[{'concept': 'Q14660'}, 'P1001', 'Q928'] [{'concept': 'Q1292279'}, 'P1001', 'Q928']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?m rdf:type ?e }
Philippines
action count
action union
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type political border
[{'concept': 'flag'}, 'applies to jurisdiction', 'Philippines'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Philippines']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:flag ) ( ontology:political_border ) } . ?m rdf:type ?e }
[]
flag political border
SYSTEM
1 flags and 5 political borders
Q6742083 Q17351726 Q17351791 Q17351821 Q134627 Q17351777
(c(Q14660),P1001,Q928) (c(Q1292279),P1001,Q928)
action count
action union
action filter_type
action find_reverse
entity Q928
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q928
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q928'] [{'concept': 'Q1292279'}, 'P1001', 'Q928']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?m rdf:type ?e }
Malaysia–Philippines border China–Philippines border Japan–Philippines border Palau–Philippines border flag of the Philippines Indonesia–Philippines border
1 flags and 5 political borders
action count
action union
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type political border
[{'concept': 'flag'}, 'applies to jurisdiction', 'Philippines'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Philippines']
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?e ) { ( ontology:flag ) ( ontology:political_border ) } . ?m rdf:type ?e }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2948844 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and were 1978–79 Algerian Championnat National a part of ?
AND((Q937857,P425,c(Q349)), (Q2948844,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2948844
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2948844', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q2948844 property:P641 ?l . resource:Q937857 property:P425 ?l }
1978–79 Algerian Championnat National association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity 1978–79 Algerian Championnat National
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['1978–79 Algerian Championnat National', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:1978–79_Algerian_Championnat_National property:sport ?l . resource:association_football_player property:field_of_this_occupation ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q2948844,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q2948844
relation P641
type Q349
[ANSWER] have [ANSWER] player as the associated field of occupation and were 1978–79 Algerian Championnat National a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2948844', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q2948844 property:P641 ?l . resource:Q937857 property:P425 ?l }
association football
Association football have association football player as the associated field of occupation and were 1978–79 Algerian Championnat National a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity 1978–79 Algerian Championnat National
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['1978–79 Algerian Championnat National', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:1978–79_Algerian_Championnat_National property:sport ?l . resource:association_football_player property:field_of_this_occupation ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q1703873
P641
Q502895
USER
Does Red Smith play that sport ?
(Q1703873,P641,Q2736)
action is_in
entity Q1703873
action find
entity Q2736
relation P641
['Q1703873', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1703873 }
association football Red Smith
action is_in
entity Red Smith
action find
entity association football
relation sport
['Red Smith', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Red_Smith }
[]
common name
SYSTEM
NO
(Q1703873,P641,Q2736)
action is_in
entity Q1703873
action find
entity Q2736
relation P641
[ANSWER]
['Q1703873', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1703873 }
No
action is_in
entity Red Smith
action find
entity association football
relation sport
['Red Smith', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Red_Smith }
[]