Simple Question (Direct)
Simple Question
Q432750
P27
Q15617994
USER
Which administrative territory is Jani Liimatainen a civilian of ?
(Q432750,P27,c(Q15617994))
action filter_type
action find
entity Q432750
relation P27
type Q15617994
['Q432750', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q432750 property:P27 ?m }
Jani Liimatainen
action filter_type
action find
entity Jani Liimatainen
relation country of citizenship
type designation for an administrative territorial entity
['Jani Liimatainen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jani_Liimatainen property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q432750,P27,c(Q15617994))
action filter_type
action find
entity Q432750
relation P27
type Q15617994
[ANSWER] is Jani Liimatainen a civilian of
['Q432750', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q432750 property:P27 ?m }
Finland
Finland is Jani Liimatainen a civilian of
Finland
action filter_type
action find
entity Jani Liimatainen
relation country of citizenship
type designation for an administrative territorial entity
['Jani Liimatainen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jani_Liimatainen property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432750
P735
Q82799
USER
Which name is that person known by ?
(Q33,P735,c(Q82799))
action filter_type
action find
entity Q432750
relation P735
type Q82799
['Q33', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q432750 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Jani Liimatainen
action filter_type
action find
entity Jani Liimatainen
relation given name
type name
['Finland', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jani_Liimatainen property:given_name ?o . ?o rdf:type ontology:name }
[]
name
Q19860316
SYSTEM
Jani
Q19860316
(Q33,P735,c(Q82799))
action filter_type
action find
entity Q432750
relation P735
type Q82799
That person is known as [ANSWER]
['Q33', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q432750 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Jani
That person is known as Jani
Jani
action filter_type
action find
entity Jani Liimatainen
relation given name
type name
['Finland', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jani_Liimatainen property:given_name ?o . ?o rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19860316 Q16144741
P735
Q502895
USER
Does Aimée Madureira have that one as their given name ?
(Q16144741,P735,Q19860316)
action is_in
entity Q16144741
action find
entity Q19860316
relation P735
['Q16144741', 'P735', 'Q19860316']
ASK WHERE { resource:Q19860316 property:P735 resource:Q16144741 }
Jani Aimée Madureira
action is_in
entity Aimée Madureira
action find
entity Jani
relation given name
['Aimée Madureira', 'given name', 'Jani']
ASK WHERE { resource:Jani property:given_name resource:Aimée_Madureira }
[]
common name
SYSTEM
NO
(Q16144741,P735,Q19860316)
action is_in
entity Q16144741
action find
entity Q19860316
relation P735
[ANSWER]
['Q16144741', 'P735', 'Q19860316']
ASK WHERE { resource:Q19860316 property:P735 resource:Q16144741 }
No
action is_in
entity Aimée Madureira
action find
entity Jani
relation given name
['Aimée Madureira', 'given name', 'Jani']
ASK WHERE { resource:Jani property:given_name resource:Aimée_Madureira }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33
P463
Q874405 Q2567147
USER
How many social groups or rapid reaction forces had Finland as their member ?
(Q33,P463,c(Q874405)) (Q33,P463,c(Q2567147))
action count
action union
action filter_type
action find
entity Q33
relation P463
type Q874405
action filter_type
action find
entity Q33
relation P463
type Q2567147
['Q33', 'P463', {'concept': 'Q874405'}] ['Q33', 'P463', {'concept': 'Q2567147'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q874405 } UNION { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q2567147 } }
Finland
action count
action union
action filter_type
action find
entity Finland
relation member of
type social group
action filter_type
action find
entity Finland
relation member of
type rapid reaction force
['Finland', 'member of', {'concept': 'social group'}] ['Finland', 'member of', {'concept': 'rapid reaction force'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { resource:Finland property:member_of ?f . ?f rdf:type ontology:social_group } UNION { resource:Finland property:member_of ?f . ?f rdf:type ontology:rapid_reaction_force } }
[]
social group rapid reaction force
SYSTEM
3
Q782942 Q8908 Q1998131
(Q33,P463,c(Q874405)) (Q33,P463,c(Q2567147))
action count
action union
action filter_type
action find
entity Q33
relation P463
type Q874405
action filter_type
action find
entity Q33
relation P463
type Q2567147
[ANSWER]
['Q33', 'P463', {'concept': 'Q874405'}] ['Q33', 'P463', {'concept': 'Q2567147'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q874405 } UNION { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q2567147 } }
Australia Group Council of Europe Nordic Battle Group
3
action count
action union
action filter_type
action find
entity Finland
relation member of
type social group
action filter_type
action find
entity Finland
relation member of
type rapid reaction force
['Finland', 'member of', {'concept': 'social group'}] ['Finland', 'member of', {'concept': 'rapid reaction force'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { resource:Finland property:member_of ?f . ?f rdf:type ontology:social_group } UNION { resource:Finland property:member_of ?f . ?f rdf:type ontology:rapid_reaction_force } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P530
Q1048835
USER
What political territories have diplomatic relationships with Finland ?
(Q33,P530,c(Q1048835))
action filter_type
action find
entity Q33
relation P530
type Q1048835
['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q33 property:P530 ?c }
Finland
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Finland property:diplomatic_relation ?c }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(Q33,P530,c(Q1048835))
action filter_type
action find
entity Q33
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with Finland
['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q33 property:P530 ?c }
Canada Australia Germany
Canada, Australia and Germany have diplomatic relationships with Finland
Canada Australia Germany
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Finland property:diplomatic_relation ?c }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q33
Q15617994
USER
And which administrative territory?
(Q33,P530,c(Q15617994))
action filter_type
action find
entity Q33
relation P530
type Q15617994
['Q33', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Finland
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q33,P530,c(Q15617994))
action filter_type
action find
entity Q33
relation P530
type Q15617994
[ANSWER]
['Q33', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
['Finland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]