Simple Question (Direct)
Simple Question
Q17226567
P734
Q82799
USER
Who has the surname Nobuo Nakanishi ?
(Q17226567,P734,c(Q82799))
action filter_type
action find
entity Q17226567
relation P734
type Q82799
['Q17226567', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q17226567 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Nobuo Nakanishi
action filter_type
action find
entity Nobuo Nakanishi
relation family name
type name
['Nobuo Nakanishi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Nobuo_Nakanishi property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q23304479
SYSTEM
Nakanishi
Q23304479
(Q17226567,P734,c(Q82799))
action filter_type
action find
entity Q17226567
relation P734
type Q82799
To [ANSWER] has the surname Nobuo [ANSWER]
['Q17226567', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q17226567 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Nakanishi
To Nakanishi has the surname Nobuo Nakanishi
Nakanishi
action filter_type
action find
entity Nobuo Nakanishi
relation family name
type name
['Nobuo Nakanishi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Nobuo_Nakanishi property:family_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17226567
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q23304479,P27,c(Q15617994))
action filter_type
action find
entity Q17226567
relation P27
type Q15617994
['Q23304479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q17226567 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Nobuo Nakanishi
action filter_type
action find
entity Nobuo Nakanishi
relation country of citizenship
type designation for an administrative territorial entity
['Nakanishi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Nobuo_Nakanishi property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q23304479,P27,c(Q15617994))
action filter_type
action find
entity Q17226567
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q23304479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q17226567 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Japan
That person belongs to the Japan
Japan
action filter_type
action find
entity Nobuo Nakanishi
relation country of citizenship
type designation for an administrative territorial entity
['Nakanishi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Nobuo_Nakanishi property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17226567
P19
Q56061
USER
Where was Nobuo Nakanishi born ?
(Q17226567,P19,c(Q56061))
action filter_type
action find
entity Q17226567
relation P19
type Q56061
['Q17226567', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17226567 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Nobuo Nakanishi
action filter_type
action find
entity Nobuo Nakanishi
relation place of birth
type administrative territorial entity
['Nobuo Nakanishi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nobuo_Nakanishi property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q17226567,P19,c(Q56061))
action filter_type
action find
entity Q17226567
relation P19
type Q56061
Nobuo Nakanishi was born in [ANSWER]
['Q17226567', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17226567 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Tokyo
Nobuo Nakanishi was born in Tokyo
Tokyo
action filter_type
action find
entity Nobuo Nakanishi
relation place of birth
type administrative territorial entity
['Nobuo Nakanishi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nobuo_Nakanishi property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q520832
Q56061
USER
And also tell me about Elena Timina?
(Q520832,P19,c(Q56061))
action filter_type
action find
entity Q520832
relation P19
type Q56061
['Q520832', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q520832 property:P19 ?i }
Elena Timina
action filter_type
action find
entity Elena Timina
relation place of birth
type administrative territorial entity
['Elena Timina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Elena_Timina property:place_of_birth ?i }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q520832,P19,c(Q56061))
action filter_type
action find
entity Q520832
relation P19
type Q56061
[ANSWER]
['Q520832', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q520832 property:P19 ?i }
Moscow
Moscow
action filter_type
action find
entity Elena Timina
relation place of birth
type administrative territorial entity
['Elena Timina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Elena_Timina property:place_of_birth ?i }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24884935 Q17226567
P106
Q12737077
USER
Which occupations have Nobuo Nakanishi or Matthew Noszka as his/her as a career ?
OR((Q17226567,P106,c(Q12737077)), (Q24884935,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17226567
relation P106
action find
entity Q24884935
relation P106
type Q12737077
{'OR': [['Q17226567', 'P106', {'concept': 'Q12737077'}], ['Q24884935', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?n ) { ( resource:Q17226567 ) ( resource:Q24884935 ) } . ?n property:P106 ?u } . ?u rdf:type ontology:Q12737077 }
Matthew Noszka Nobuo Nakanishi
action filter_type
action union
action find
entity Nobuo Nakanishi
relation occupation
action find
entity Matthew Noszka
relation occupation
type occupation
{'OR': [['Nobuo Nakanishi', 'occupation', {'concept': 'occupation'}], ['Matthew Noszka', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?n ) { ( resource:Nobuo_Nakanishi ) ( resource:Matthew_Noszka ) } . ?n property:occupation ?u } . ?u rdf:type ontology:occupation }
[]
occupation
Q4610556 Q212980
SYSTEM
model, psychologist
Q4610556 Q212980
OR((Q17226567,P106,c(Q12737077)), (Q24884935,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17226567
relation P106
action find
entity Q24884935
relation P106
type Q12737077
As [ANSWERS] have Nobuo Nakanishi or Matthew Noszka as his/her as a career
{'OR': [['Q17226567', 'P106', {'concept': 'Q12737077'}], ['Q24884935', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?n ) { ( resource:Q17226567 ) ( resource:Q24884935 ) } . ?n property:P106 ?u } . ?u rdf:type ontology:Q12737077 }
model psychologist
As model and psychologist have Nobuo Nakanishi or Matthew Noszka as his/her as a career
model psychologist
action filter_type
action union
action find
entity Nobuo Nakanishi
relation occupation
action find
entity Matthew Noszka
relation occupation
type occupation
{'OR': [['Nobuo Nakanishi', 'occupation', {'concept': 'occupation'}], ['Matthew Noszka', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?n ) { ( resource:Nobuo_Nakanishi ) ( resource:Matthew_Noszka ) } . ?n property:occupation ?u } . ?u rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2195593
P106
Q502895
USER
Do Goedele Liekens have a job as those occupations ?
(Q2195593,P106,Q4610556) (Q2195593,P106,Q212980)
action is_in
entity prev_answer
action find
entity Q2195593
relation P106
['Q2195593', 'P106', 'Q4610556'] ['Q2195593', 'P106', 'Q212980']
ASK WHERE { resource:Q2195593 property:P106 ?m . VALUES ( ?m ) { ( resource:Q4610556 ) ( resource:Q212980 ) } }
Goedele Liekens
action is_in
entity prev_answer
action find
entity Goedele Liekens
relation occupation
['Goedele Liekens', 'occupation', 'model'] ['Goedele Liekens', 'occupation', 'psychologist']
ASK WHERE { resource:Goedele_Liekens property:occupation ?m . VALUES ( ?m ) { ( resource:model ) ( resource:psychologist ) } }
[]
common name
SYSTEM
YES
(Q2195593,P106,Q4610556) (Q2195593,P106,Q212980)
action is_in
entity prev_answer
action find
entity Q2195593
relation P106
[ANSWER]
['Q2195593', 'P106', 'Q4610556'] ['Q2195593', 'P106', 'Q212980']
ASK WHERE { resource:Q2195593 property:P106 ?m . VALUES ( ?m ) { ( resource:Q4610556 ) ( resource:Q212980 ) } }
Yes
action is_in
entity prev_answer
action find
entity Goedele Liekens
relation occupation
['Goedele Liekens', 'occupation', 'model'] ['Goedele Liekens', 'occupation', 'psychologist']
ASK WHERE { resource:Goedele_Liekens property:occupation ?m . VALUES ( ?m ) { ( resource:model ) ( resource:psychologist ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4610556 Q3356245
P425
Q874405
USER
How many social groups have model or Civilekonom as the associated field of occupation ?
(Q4610556,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q4610556
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q4610556', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q4610556 property:P425 ?c . ?c rdf:type ontology:Q874405 } UNION { ?c rdf:type ontology:Q874405 . resource:Q3356245 property:P425 ?c } }
model Civilekonom
action count
action union
action filter_type
action find
entity model
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['model', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:model property:field_of_this_occupation ?c . ?c rdf:type ontology:social_group } UNION { ?c rdf:type ontology:social_group . resource:Civilekonom property:field_of_this_occupation ?c } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q4610556,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q4610556
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q4610556', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q4610556 property:P425 ?c . ?c rdf:type ontology:Q874405 } UNION { ?c rdf:type ontology:Q874405 . resource:Q3356245 property:P425 ?c } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity model
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['model', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:model property:field_of_this_occupation ?c . ?c rdf:type ontology:social_group } UNION { ?c rdf:type ontology:social_group . resource:Civilekonom property:field_of_this_occupation ?c } }
[]