Simple Question (Direct)
Simple Question
Q11867623
P54
Q12973014
USER
Which sports team is Juho Olkinuora a member of ?
(Q11867623,P54,c(Q12973014))
action filter_type
action find
entity Q11867623
relation P54
type Q12973014
['Q11867623', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q11867623 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Juho Olkinuora
action filter_type
action find
entity Juho Olkinuora
relation member of sports team
type sports team
['Juho Olkinuora', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Juho_Olkinuora property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
sports team
Q1474448
SYSTEM
Manitoba Moose
Q1474448
(Q11867623,P54,c(Q12973014))
action filter_type
action find
entity Q11867623
relation P54
type Q12973014
The [ANSWER] is Juho Olkinuora a member of
['Q11867623', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q11867623 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Manitoba Moose
The Manitoba Moose is Juho Olkinuora a member of
Manitoba Moose
action filter_type
action find
entity Juho Olkinuora
relation member of sports team
type sports team
['Juho Olkinuora', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Juho_Olkinuora property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11867623
P106
Q12737077
USER
What is the job of that person ?
(Q1474448,P106,c(Q12737077))
action filter_type
action find
entity Q11867623
relation P106
type Q12737077
['Q1474448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11867623 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Juho Olkinuora
action filter_type
action find
entity Juho Olkinuora
relation occupation
type occupation
['Manitoba Moose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Juho_Olkinuora property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q1474448,P106,c(Q12737077))
action filter_type
action find
entity Q11867623
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q1474448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11867623 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
ice hockey player
The job of that person is an ice hockey player
ice hockey player
action filter_type
action find
entity Juho Olkinuora
relation occupation
type occupation
['Manitoba Moose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Juho_Olkinuora property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11867623
P27
Q15617994
USER
Which administrative territory is Juho Olkinuora a civilian of ?
(Q11867623,P27,c(Q15617994))
action filter_type
action find
entity Q11867623
relation P27
type Q15617994
['Q11867623', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q11867623 property:P27 ?f }
Juho Olkinuora
action filter_type
action find
entity Juho Olkinuora
relation country of citizenship
type designation for an administrative territorial entity
['Juho Olkinuora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Juho_Olkinuora property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q11867623,P27,c(Q15617994))
action filter_type
action find
entity Q11867623
relation P27
type Q15617994
[ANSWER] is Juho Olkinuora a civilian of
['Q11867623', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q11867623 property:P27 ?f }
Finland
Finland is Juho Olkinuora a civilian of
Finland
action filter_type
action find
entity Juho Olkinuora
relation country of citizenship
type designation for an administrative territorial entity
['Juho Olkinuora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Juho_Olkinuora property:country_of_citizenship ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q33 Q183
P530
Q1048835
USER
Does Germany have diplomatic relationships with that administrative territory ?
(Q33,P530,Q183)
action is_in
entity Q183
action find
entity Q33
relation P530
['Q33', 'P530', 'Q183']
ASK WHERE { resource:Q33 property:P530 resource:Q183 }
Finland Germany
action is_in
entity Germany
action find
entity Finland
relation diplomatic relation
['Finland', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Finland property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q33,P530,Q183)
action is_in
entity Q183
action find
entity Q33
relation P530
[ANSWER]
['Q33', 'P530', 'Q183']
ASK WHERE { resource:Q33 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Finland
relation diplomatic relation
['Finland', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Finland property:diplomatic_relation resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33
P1001
Q4164871 Q640506
USER
How many positions and cabinets have jurisdiction over Finland ?
(c(Q4164871),P1001,Q33) (c(Q640506),P1001,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P1001
type Q4164871
action filter_type
action find_reverse
entity Q33
relation P1001
type Q640506
[{'concept': 'Q4164871'}, 'P1001', 'Q33'] [{'concept': 'Q640506'}, 'P1001', 'Q33']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4164871 ) ( ontology:Q640506 ) } }
Finland
action count
action union
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type position
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type cabinet
[{'concept': 'position'}, 'applies to jurisdiction', 'Finland'] [{'concept': 'cabinet'}, 'applies to jurisdiction', 'Finland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:position ) ( ontology:cabinet ) } }
[]
position cabinet
SYSTEM
3 positions and 2 cabinets
Q1425432 Q25713902 Q24205201 Q17227278 Q1574803
(c(Q4164871),P1001,Q33) (c(Q640506),P1001,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P1001
type Q4164871
action filter_type
action find_reverse
entity Q33
relation P1001
type Q640506
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', 'Q33'] [{'concept': 'Q640506'}, 'P1001', 'Q33']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4164871 ) ( ontology:Q640506 ) } }
Minister of the Environment Minister of Transport and Local Government Minister of Agriculture and Forestry Alexander Stubb's cabinet Jyrki Katainen's cabinet
3 positions and 2 cabinets
action count
action union
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type position
action filter_type
action find_reverse
entity Finland
relation applies to jurisdiction
type cabinet
[{'concept': 'position'}, 'applies to jurisdiction', 'Finland'] [{'concept': 'cabinet'}, 'applies to jurisdiction', 'Finland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:position ) ( ontology:cabinet ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33 Q35
P530
Q15617994
USER
How many administrative territories have tactful political relations with Finland and Denmark ?
(c(Q15617994),P530,Q33) (c(Q15617994),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q33'] [{'concept': 'Q15617994'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P530 resource:Q33 . ?u rdf:type ontology:Q15617994 . ?u property:P530 resource:Q35 . ?u rdf:type ontology:Q15617994 }
Finland Denmark
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:diplomatic_relation resource:Finland . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation resource:Denmark . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q184 Q38
(c(Q15617994),P530,Q33) (c(Q15617994),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q33'] [{'concept': 'Q15617994'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P530 resource:Q33 . ?u rdf:type ontology:Q15617994 . ?u property:P530 resource:Q35 . ?u rdf:type ontology:Q15617994 }
Belarus Italy
2
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:diplomatic_relation resource:Finland . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation resource:Denmark . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]