Simple Question (Direct)
Simple Question
Q6138445
P734
Q82799
USER
Who has the surname Tamati Williams ?
(Q6138445,P734,c(Q82799))
action filter_type
action find
entity Q6138445
relation P734
type Q82799
['Q6138445', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q6138445 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Tamati Williams
action filter_type
action find
entity Tamati Williams
relation family name
type name
['Tamati Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Tamati_Williams property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q6138445,P734,c(Q82799))
action filter_type
action find
entity Q6138445
relation P734
type Q82799
[ANSWER] has the surname Tamati [ANSWER]
['Q6138445', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q6138445 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Williams
Williams has the surname Tamati Williams
Williams
action filter_type
action find
entity Tamati Williams
relation family name
type name
['Tamati Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Tamati_Williams property:family_name ?l . ?l rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1688722 Q1860 Q2044323
P407
Q34770
USER
Is that name in English and Law French ?
(Q1688722,P407,Q1860) (Q1688722,P407,Q2044323)
action is_in
entity Q1688722
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q2044323
relation P407
['Q1688722', 'P407', 'Q1860'] ['Q1688722', 'P407', 'Q2044323']
ASK WHERE { resource:Q1688722 property:P407 resource:Q1860 . resource:Q1688722 property:P407 resource:Q2044323 }
Williams English Law French
action is_in
entity Williams
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Law French
relation language of work or name
['Williams', 'language of work or name', 'English'] ['Williams', 'language of work or name', 'Law French']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:English . resource:Williams property:language_of_work_or_name resource:Law_French }
[]
language
SYSTEM
YES and NO respectively
(Q1688722,P407,Q1860) (Q1688722,P407,Q2044323)
action is_in
entity Q1688722
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q2044323
relation P407
[ANSWER]
['Q1688722', 'P407', 'Q1860'] ['Q1688722', 'P407', 'Q2044323']
ASK WHERE { resource:Q1688722 property:P407 resource:Q1860 . resource:Q1688722 property:P407 resource:Q2044323 }
YES and NO respectively
action is_in
entity Williams
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Law French
relation language of work or name
['Williams', 'language of work or name', 'English'] ['Williams', 'language of work or name', 'Law French']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:English . resource:Williams property:language_of_work_or_name resource:Law_French }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6138445 Q664
P27
Q1048835
USER
Is New Zealand the country of citizenship of Tamati Williams ?
(Q6138445,P27,Q664)
action is_in
entity Q664
action find
entity Q6138445
relation P27
['Q6138445', 'P27', 'Q664']
ASK WHERE { resource:Q6138445 property:P27 resource:Q664 }
Tamati Williams New Zealand
action is_in
entity New Zealand
action find
entity Tamati Williams
relation country of citizenship
['Tamati Williams', 'country of citizenship', 'New Zealand']
ASK WHERE { resource:Tamati_Williams property:country_of_citizenship resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q6138445,P27,Q664)
action is_in
entity Q664
action find
entity Q6138445
relation P27
[ANSWER]
['Q6138445', 'P27', 'Q664']
ASK WHERE { resource:Q6138445 property:P27 resource:Q664 }
Yes
action is_in
entity New Zealand
action find
entity Tamati Williams
relation country of citizenship
['Tamati Williams', 'country of citizenship', 'New Zealand']
ASK WHERE { resource:Tamati_Williams property:country_of_citizenship resource:New_Zealand }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1688722
P734
Q874405 Q15619164
USER
How many social groups or abstract beings have Williams as family name ?
(c(Q874405),P734,Q1688722) (c(Q15619164),P734,Q1688722)
action count
action union
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q874405
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q15619164
[{'concept': 'Q874405'}, 'P734', 'Q1688722'] [{'concept': 'Q15619164'}, 'P734', 'Q1688722']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q15619164 ) } . ?j rdf:type ?n }
Williams
action count
action union
action filter_type
action find_reverse
entity Williams
relation family name
type social group
action filter_type
action find_reverse
entity Williams
relation family name
type abstract being
[{'concept': 'social group'}, 'family name', 'Williams'] [{'concept': 'abstract being'}, 'family name', 'Williams']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:abstract_being ) } . ?j rdf:type ?n }
[]
social group abstract being
SYSTEM
10
Q14648342 Q20821253 Q2738631 Q5026161 Q5229465 Q14954752 Q2340829 Q4899011 Q950111 Q15615632
(c(Q874405),P734,Q1688722) (c(Q15619164),P734,Q1688722)
action count
action union
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q874405
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q15619164
[ANSWER]
[{'concept': 'Q874405'}, 'P734', 'Q1688722'] [{'concept': 'Q15619164'}, 'P734', 'Q1688722']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q15619164 ) } . ?j rdf:type ?n }
Remo Williams Williams family Anna Williams Cameron "Buck" Williams Paul Williams Mark Williams Nina Williams Betty Williams Dave Williams George Williams
10
action count
action union
action filter_type
action find_reverse
entity Williams
relation family name
type social group
action filter_type
action find_reverse
entity Williams
relation family name
type abstract being
[{'concept': 'social group'}, 'family name', 'Williams'] [{'concept': 'abstract being'}, 'family name', 'Williams']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:abstract_being ) } . ?j rdf:type ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6138445 Q4364108
P27
Q1048835
USER
Does Tamati Williams belong to Pyschevyk ?
(Q6138445,P27,Q4364108)
action is_in
entity Q4364108
action find
entity Q6138445
relation P27
['Q6138445', 'P27', 'Q4364108']
ASK WHERE { resource:Q6138445 property:P27 resource:Q4364108 }
Tamati Williams Pyschevyk
action is_in
entity Pyschevyk
action find
entity Tamati Williams
relation country of citizenship
['Tamati Williams', 'country of citizenship', 'Pyschevyk']
ASK WHERE { resource:Tamati_Williams property:country_of_citizenship resource:Pyschevyk }
[]
political territorial entity
SYSTEM
NO
(Q6138445,P27,Q4364108)
action is_in
entity Q4364108
action find
entity Q6138445
relation P27
[ANSWER]
['Q6138445', 'P27', 'Q4364108']
ASK WHERE { resource:Q6138445 property:P27 resource:Q4364108 }
No
action is_in
entity Pyschevyk
action find
entity Tamati Williams
relation country of citizenship
['Tamati Williams', 'country of citizenship', 'Pyschevyk']
ASK WHERE { resource:Tamati_Williams property:country_of_citizenship resource:Pyschevyk }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1688722 Q15076611 Q7033199
P407
Q34770
USER
Is Williams created in language Western Peripheral Nahuatl and Night ?
(Q1688722,P407,Q15076611) (Q1688722,P407,Q7033199)
action is_in
entity Q1688722
action intersection
action find_reverse
entity Q15076611
relation P407
action find_reverse
entity Q7033199
relation P407
['Q1688722', 'P407', 'Q15076611'] ['Q1688722', 'P407', 'Q7033199']
ASK WHERE { resource:Q1688722 property:P407 resource:Q7033199 . resource:Q1688722 property:P407 resource:Q15076611 }
Williams Western Peripheral Nahuatl Night
action is_in
entity Williams
action intersection
action find_reverse
entity Western Peripheral Nahuatl
relation language of work or name
action find_reverse
entity Night
relation language of work or name
['Williams', 'language of work or name', 'Western Peripheral Nahuatl'] ['Williams', 'language of work or name', 'Night']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:Night . resource:Williams property:language_of_work_or_name resource:Western_Peripheral_Nahuatl }
[]
language
SYSTEM
NO
(Q1688722,P407,Q15076611) (Q1688722,P407,Q7033199)
action is_in
entity Q1688722
action intersection
action find_reverse
entity Q15076611
relation P407
action find_reverse
entity Q7033199
relation P407
[ANSWER]
['Q1688722', 'P407', 'Q15076611'] ['Q1688722', 'P407', 'Q7033199']
ASK WHERE { resource:Q1688722 property:P407 resource:Q7033199 . resource:Q1688722 property:P407 resource:Q15076611 }
No
action is_in
entity Williams
action intersection
action find_reverse
entity Western Peripheral Nahuatl
relation language of work or name
action find_reverse
entity Night
relation language of work or name
['Williams', 'language of work or name', 'Western Peripheral Nahuatl'] ['Williams', 'language of work or name', 'Night']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:Night . resource:Williams property:language_of_work_or_name resource:Western_Peripheral_Nahuatl }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6138445
P106
Q12737077
USER
Which occupations are the professions of Tamati Williams ?
(Q6138445,P106,c(Q12737077))
action filter_type
action find
entity Q6138445
relation P106
type Q12737077
['Q6138445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q6138445 property:P106 ?g }
Tamati Williams
action filter_type
action find
entity Tamati Williams
relation occupation
type occupation
['Tamati Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Tamati_Williams property:occupation ?g }
[]
occupation
Q4610556 Q937857
SYSTEM
model, association football player
Q4610556 Q937857
(Q6138445,P106,c(Q12737077))
action filter_type
action find
entity Q6138445
relation P106
type Q12737077
The professions of Tamati Williams are [ANSWERS]
['Q6138445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q6138445 property:P106 ?g }
model association football player
The professions of Tamati Williams are model and association football player
model association football player
action filter_type
action find
entity Tamati Williams
relation occupation
type occupation
['Tamati Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Tamati_Williams property:occupation ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5231579
Q12737077
USER
And how about David Boswell Reid?
(Q5231579,P106,c(Q12737077))
action filter_type
action find
entity Q5231579
relation P106
type Q12737077
['Q5231579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5231579 property:P106 ?p }
David Boswell Reid
action filter_type
action find
entity David Boswell Reid
relation occupation
type occupation
['David Boswell Reid', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:David_Boswell_Reid property:occupation ?p }
[]
occupation
Q901
SYSTEM
scientist
Q901
(Q5231579,P106,c(Q12737077))
action filter_type
action find
entity Q5231579
relation P106
type Q12737077
[ANSWER]
['Q5231579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q5231579 property:P106 ?p }
scientist
scientist
action filter_type
action find
entity David Boswell Reid
relation occupation
type occupation
['David Boswell Reid', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:David_Boswell_Reid property:occupation ?p }
[]