Simple Question (Direct)
Simple Question
Q2928057
P140
Q874405
USER
Which social group is the religion of Paul Goethals ?
(Q2928057,P140,c(Q874405))
action filter_type
action find
entity Q2928057
relation P140
type Q874405
['Q2928057', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q2928057 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Paul Goethals
action filter_type
action find
entity Paul Goethals
relation religion
type social group
['Paul Goethals', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Goethals property:religion ?h . ?h rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2928057,P140,c(Q874405))
action filter_type
action find
entity Q2928057
relation P140
type Q874405
U [ANSWER] is the religion of Paul Goethals
['Q2928057', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q2928057 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Catholicism
U Catholicism is the religion of Paul Goethals
Catholicism
action filter_type
action find
entity Paul Goethals
relation religion
type social group
['Paul Goethals', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Goethals property:religion ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2928057
P734
Q82799
USER
Who has the surname Paul Goethals ?
(Q2928057,P734,c(Q82799))
action filter_type
action find
entity Q2928057
relation P734
type Q82799
['Q2928057', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q2928057 property:P734 ?c }
Paul Goethals
action filter_type
action find
entity Paul Goethals
relation family name
type name
['Paul Goethals', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Paul_Goethals property:family_name ?c }
[]
name
Q21492228
SYSTEM
Goethals
Q21492228
(Q2928057,P734,c(Q82799))
action filter_type
action find
entity Q2928057
relation P734
type Q82799
[ANSWER] has the surname Paul [ANSWER]
['Q2928057', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q2928057 property:P734 ?c }
Goethals
Goethals has the surname Paul Goethals
Goethals
action filter_type
action find
entity Paul Goethals
relation family name
type name
['Paul Goethals', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Paul_Goethals property:family_name ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16200066
Q82799
USER
And what about Wendel Smith?
(Q16200066,P734,c(Q82799))
action filter_type
action find
entity Q16200066
relation P734
type Q82799
['Q16200066', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q16200066 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Wendel Smith
action filter_type
action find
entity Wendel Smith
relation family name
type name
['Wendel Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Wendel_Smith property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q16200066,P734,c(Q82799))
action filter_type
action find
entity Q16200066
relation P734
type Q82799
[ANSWER]
['Q16200066', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q16200066 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Smith
Smith
action filter_type
action find
entity Wendel Smith
relation family name
type name
['Wendel Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Wendel_Smith property:family_name ?f . ?f rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1158446 Q2721451 Q1860
P407
Q34770
USER
Is that name composed in Indian numerals and English ?
(Q1158446,P407,Q2721451) (Q1158446,P407,Q1860)
action is_in
entity Q1158446
action intersection
action find_reverse
entity Q2721451
relation P407
action find_reverse
entity Q1860
relation P407
['Q1158446', 'P407', 'Q2721451'] ['Q1158446', 'P407', 'Q1860']
ASK WHERE { resource:Q1158446 property:P407 resource:Q2721451 . resource:Q1158446 property:P407 resource:Q1860 }
Smith Indian numerals English
action is_in
entity Smith
action intersection
action find_reverse
entity Indian numerals
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Smith', 'language of work or name', 'Indian numerals'] ['Smith', 'language of work or name', 'English']
ASK WHERE { resource:Smith property:language_of_work_or_name resource:Indian_numerals . resource:Smith property:language_of_work_or_name resource:English }
[]
language
SYSTEM
NO and YES respectively
(Q1158446,P407,Q2721451) (Q1158446,P407,Q1860)
action is_in
entity Q1158446
action intersection
action find_reverse
entity Q2721451
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q1158446', 'P407', 'Q2721451'] ['Q1158446', 'P407', 'Q1860']
ASK WHERE { resource:Q1158446 property:P407 resource:Q2721451 . resource:Q1158446 property:P407 resource:Q1860 }
NO and YES respectively
action is_in
entity Smith
action intersection
action find_reverse
entity Indian numerals
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Smith', 'language of work or name', 'Indian numerals'] ['Smith', 'language of work or name', 'English']
ASK WHERE { resource:Smith property:language_of_work_or_name resource:Indian_numerals . resource:Smith property:language_of_work_or_name resource:English }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2928057 Q20755728
P19
Q56061
USER
Is Mustene the place of birth of Paul Goethals ?
(Q2928057,P19,Q20755728)
action is_in
entity Q20755728
action find
entity Q2928057
relation P19
['Q2928057', 'P19', 'Q20755728']
ASK WHERE { resource:Q2928057 property:P19 resource:Q20755728 }
Paul Goethals Mustene
action is_in
entity Mustene
action find
entity Paul Goethals
relation place of birth
['Paul Goethals', 'place of birth', 'Mustene']
ASK WHERE { resource:Paul_Goethals property:place_of_birth resource:Mustene }
[]
administrative territorial entity
SYSTEM
NO
(Q2928057,P19,Q20755728)
action is_in
entity Q20755728
action find
entity Q2928057
relation P19
[ANSWER]
['Q2928057', 'P19', 'Q20755728']
ASK WHERE { resource:Q2928057 property:P19 resource:Q20755728 }
No
action is_in
entity Mustene
action find
entity Paul Goethals
relation place of birth
['Paul Goethals', 'place of birth', 'Mustene']
ASK WHERE { resource:Paul_Goethals property:place_of_birth resource:Mustene }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16200066
P106
Q28640
USER
What is the profession of Wendel Smith ?
(Q16200066,P106,c(Q28640))
action filter_type
action find
entity Q16200066
relation P106
type Q28640
['Q16200066', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q16200066 property:P106 ?o . ?o rdf:type ontology:Q28640 }
Wendel Smith
action filter_type
action find
entity Wendel Smith
relation occupation
type profession
['Wendel Smith', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Wendel_Smith property:occupation ?o . ?o rdf:type ontology:profession }
[]
profession
Q3246315
SYSTEM
head coach
Q3246315
(Q16200066,P106,c(Q28640))
action filter_type
action find
entity Q16200066
relation P106
type Q28640
The profession of Wendel Smith is the [ANSWER]
['Q16200066', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q16200066 property:P106 ?o . ?o rdf:type ontology:Q28640 }
head coach
The profession of Wendel Smith is the head coach
head coach
action filter_type
action find
entity Wendel Smith
relation occupation
type profession
['Wendel Smith', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Wendel_Smith property:occupation ?o . ?o rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1526597
Q28640
USER
And how about Hans-Joachim Kanzler?
(Q1526597,P106,c(Q28640))
action filter_type
action find
entity Q1526597
relation P106
type Q28640
['Q1526597', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q1526597 property:P106 ?q . ?q rdf:type ontology:Q28640 }
Hans-Joachim Kanzler
action filter_type
action find
entity Hans-Joachim Kanzler
relation occupation
type profession
['Hans-Joachim Kanzler', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:Hans-Joachim_Kanzler property:occupation ?q . ?q rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q1526597,P106,c(Q28640))
action filter_type
action find
entity Q1526597
relation P106
type Q28640
[ANSWER]
['Q1526597', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q1526597 property:P106 ?q . ?q rdf:type ontology:Q28640 }
lawyer
lawyer
action filter_type
action find
entity Hans-Joachim Kanzler
relation occupation
type profession
['Hans-Joachim Kanzler', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:Hans-Joachim_Kanzler property:occupation ?q . ?q rdf:type ontology:profession }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q40348 Q173248
P417
Q502895
USER
Is Sid Watkins the patron saint of that profession ?
(Q40348,P417,Q173248)
action is_in
entity Q173248
action find
entity Q40348
relation P417
['Q40348', 'P417', 'Q173248']
ASK WHERE { resource:Q40348 property:P417 resource:Q173248 }
lawyer Sid Watkins
action is_in
entity Sid Watkins
action find
entity lawyer
relation patron saint
['lawyer', 'patron saint', 'Sid Watkins']
ASK WHERE { resource:lawyer property:patron_saint resource:Sid_Watkins }
[]
common name
SYSTEM
NO
(Q40348,P417,Q173248)
action is_in
entity Q173248
action find
entity Q40348
relation P417
[ANSWER]
['Q40348', 'P417', 'Q173248']
ASK WHERE { resource:Q40348 property:P417 resource:Q173248 }
No
action is_in
entity Sid Watkins
action find
entity lawyer
relation patron saint
['lawyer', 'patron saint', 'Sid Watkins']
ASK WHERE { resource:lawyer property:patron_saint resource:Sid_Watkins }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q4830453
USER
How many business enterprises contains atleast 1 profession as their subordinate ?
(c(Q4830453),P355,c(Q28640))
action count
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?q ) WHERE { ?g property:P355 ?a . ?g rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q28640 } GROUP BY ?g } . FILTER ( ?q >= 1 ) }
action count
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?q ) WHERE { ?g property:subsidiary ?a . ?g rdf:type ontology:business_enterprise . ?a rdf:type ontology:profession } GROUP BY ?g } . FILTER ( ?q >= 1 ) }
[]
profession business enterprise
SYSTEM
2
Q1457152 Q19604369
(c(Q4830453),P355,c(Q28640))
action count
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q28640
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?q ) WHERE { ?g property:P355 ?a . ?g rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q28640 } GROUP BY ?g } . FILTER ( ?q >= 1 ) }
Sega Sammy Holdings Columbus Nova
2
action count
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type profession
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?q ) WHERE { ?g property:subsidiary ?a . ?g rdf:type ontology:business_enterprise . ?a rdf:type ontology:profession } GROUP BY ?g } . FILTER ( ?q >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q40348
P106
Q5 Q14934048
USER
How many humen or political ideologies have the profession as lawyer ?
(c(Q5),P106,Q40348) (c(Q14934048),P106,Q40348)
action count
action union
action filter_type
action find_reverse
entity Q40348
relation P106
type Q5
action filter_type
action find_reverse
entity Q40348
relation P106
type Q14934048
[{'concept': 'Q5'}, 'P106', 'Q40348'] [{'concept': 'Q14934048'}, 'P106', 'Q40348']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q5 ) ( ontology:Q14934048 ) } }
lawyer
action count
action union
action filter_type
action find_reverse
entity lawyer
relation occupation
type human
action filter_type
action find_reverse
entity lawyer
relation occupation
type political ideology
[{'concept': 'human'}, 'occupation', 'lawyer'] [{'concept': 'political ideology'}, 'occupation', 'lawyer']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:human ) ( ontology:political_ideology ) } }
[]
human political ideology
SYSTEM
2
Q3848792 Q13786674
(c(Q5),P106,Q40348) (c(Q14934048),P106,Q40348)
action count
action union
action filter_type
action find_reverse
entity Q40348
relation P106
type Q5
action filter_type
action find_reverse
entity Q40348
relation P106
type Q14934048
[ANSWER]
[{'concept': 'Q5'}, 'P106', 'Q40348'] [{'concept': 'Q14934048'}, 'P106', 'Q40348']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q5 ) ( ontology:Q14934048 ) } }
Olaf Kullmann Inés Arrimadas
2
action count
action union
action filter_type
action find_reverse
entity lawyer
relation occupation
type human
action filter_type
action find_reverse
entity lawyer
relation occupation
type political ideology
[{'concept': 'human'}, 'occupation', 'lawyer'] [{'concept': 'political ideology'}, 'occupation', 'lawyer']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:human ) ( ontology:political_ideology ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2928057
P20
Q56061
USER
Where did Paul Goethals expire ?
(Q2928057,P20,c(Q56061))
action filter_type
action find
entity Q2928057
relation P20
type Q56061
['Q2928057', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2928057 property:P20 ?m }
Paul Goethals
action filter_type
action find
entity Paul Goethals
relation place of death
type administrative territorial entity
['Paul Goethals', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Paul_Goethals property:place_of_death ?m }
[]
administrative territorial entity
Q1348
SYSTEM
Kolkata
Q1348
(Q2928057,P20,c(Q56061))
action filter_type
action find
entity Q2928057
relation P20
type Q56061
Paul Goethals expired in [ANSWER]
['Q2928057', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2928057 property:P20 ?m }
Kolkata
Paul Goethals expired in Kolkata
Kolkata
action filter_type
action find
entity Paul Goethals
relation place of death
type administrative territorial entity
['Paul Goethals', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Paul_Goethals property:place_of_death ?m }
[]