Simple Question (Direct)
Simple Question
Q1600779
P102
Q7210356
USER
Which political organization is Heinz Quirin a member of ?
(Q1600779,P102,c(Q7210356))
action filter_type
action find
entity Q1600779
relation P102
type Q7210356
['Q1600779', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1600779 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Heinz Quirin
action filter_type
action find
entity Heinz Quirin
relation member of political party
type political organization
['Heinz Quirin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Heinz_Quirin property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1600779,P102,c(Q7210356))
action filter_type
action find
entity Q1600779
relation P102
type Q7210356
The [ANSWER] is Heinz Quirin a member of
['Q1600779', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1600779 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Nazi Party
The Nazi Party is Heinz Quirin a member of
Nazi Party
action filter_type
action find
entity Heinz Quirin
relation member of political party
type political organization
['Heinz Quirin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Heinz_Quirin property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1600779
P108
Q19335303
USER
Who is the employer of that person ?
(Q7320,P108,c(Q19335303))
action filter_type
action find
entity Q1600779
relation P108
type Q19335303
['Q7320', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?v WHERE { resource:Q1600779 property:P108 ?v . ?v rdf:type ontology:Q19335303 }
Heinz Quirin
action filter_type
action find
entity Heinz Quirin
relation employer
type type of business entity in Germany
['Nazi Party', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?v WHERE { resource:Heinz_Quirin property:employer ?v . ?v rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q153006
SYSTEM
Free University of Berlin
Q153006
(Q7320,P108,c(Q19335303))
action filter_type
action find
entity Q1600779
relation P108
type Q19335303
The employer of that person is the [ANSWER]
['Q7320', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?v WHERE { resource:Q1600779 property:P108 ?v . ?v rdf:type ontology:Q19335303 }
Free University of Berlin
The employer of that person is the Free University of Berlin
Free University of Berlin
action filter_type
action find
entity Heinz Quirin
relation employer
type type of business entity in Germany
['Nazi Party', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?v WHERE { resource:Heinz_Quirin property:employer ?v . ?v rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1152190
P112
Q502895
USER
Which person was the founder of Ritsumeikan University ?
(Q1152190,P112,c(Q502895))
action filter_type
action find
entity Q1152190
relation P112
type Q502895
['Q1152190', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1152190 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Ritsumeikan University
action filter_type
action find
entity Ritsumeikan University
relation founder
type common name
['Ritsumeikan University', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ritsumeikan_University property:founder ?c . ?c rdf:type ontology:common_name }
[]
common name
Q297628
SYSTEM
Saionji Kinmochi
Q297628
(Q1152190,P112,c(Q502895))
action filter_type
action find
entity Q1152190
relation P112
type Q502895
[ANSWER] was the founder of Ritsumeikan University
['Q1152190', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1152190 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Saionji Kinmochi
Saionji Kinmochi was the founder of Ritsumeikan University
Saionji Kinmochi
action filter_type
action find
entity Ritsumeikan University
relation founder
type common name
['Ritsumeikan University', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Ritsumeikan_University property:founder ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4071497
Q502895
USER
And how about Uttar Pradesh Association of Dead People?
(Q4071497,P112,c(Q502895))
action filter_type
action find
entity Q4071497
relation P112
type Q502895
['Q4071497', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q4071497 property:P112 ?g . ?g rdf:type ontology:Q502895 }
Uttar Pradesh Association of Dead People
action filter_type
action find
entity Uttar Pradesh Association of Dead People
relation founder
type common name
['Uttar Pradesh Association of Dead People', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Uttar_Pradesh_Association_of_Dead_People property:founder ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1345427
SYSTEM
Lal Bihari
Q1345427
(Q4071497,P112,c(Q502895))
action filter_type
action find
entity Q4071497
relation P112
type Q502895
[ANSWER]
['Q4071497', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q4071497 property:P112 ?g . ?g rdf:type ontology:Q502895 }
Lal Bihari
Lal Bihari
action filter_type
action find
entity Uttar Pradesh Association of Dead People
relation founder
type common name
['Uttar Pradesh Association of Dead People', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Uttar_Pradesh_Association_of_Dead_People property:founder ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1345427 Q668 Q217571
P27
Q15617994
USER
Is Lal Bihari a native of India and Molazzana ?
(Q1345427,P27,Q668) (Q1345427,P27,Q217571)
action is_in
entity Q1345427
action intersection
action find_reverse
entity Q668
relation P27
action find_reverse
entity Q217571
relation P27
['Q1345427', 'P27', 'Q668'] ['Q1345427', 'P27', 'Q217571']
ASK WHERE { resource:Q1345427 property:P27 resource:Q668 . resource:Q1345427 property:P27 resource:Q217571 }
Lal Bihari India Molazzana
action is_in
entity Lal Bihari
action intersection
action find_reverse
entity India
relation country of citizenship
action find_reverse
entity Molazzana
relation country of citizenship
['Lal Bihari', 'country of citizenship', 'India'] ['Lal Bihari', 'country of citizenship', 'Molazzana']
ASK WHERE { resource:Lal_Bihari property:country_of_citizenship resource:India . resource:Lal_Bihari property:country_of_citizenship resource:Molazzana }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1345427,P27,Q668) (Q1345427,P27,Q217571)
action is_in
entity Q1345427
action intersection
action find_reverse
entity Q668
relation P27
action find_reverse
entity Q217571
relation P27
[ANSWER]
['Q1345427', 'P27', 'Q668'] ['Q1345427', 'P27', 'Q217571']
ASK WHERE { resource:Q1345427 property:P27 resource:Q668 . resource:Q1345427 property:P27 resource:Q217571 }
YES and NO respectively
action is_in
entity Lal Bihari
action intersection
action find_reverse
entity India
relation country of citizenship
action find_reverse
entity Molazzana
relation country of citizenship
['Lal Bihari', 'country of citizenship', 'India'] ['Lal Bihari', 'country of citizenship', 'Molazzana']
ASK WHERE { resource:Lal_Bihari property:country_of_citizenship resource:India . resource:Lal_Bihari property:country_of_citizenship resource:Molazzana }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1600779 Q183
P27
Q1048835
USER
Does Heinz Quirin belong to Germany ?
(Q1600779,P27,Q183)
action is_in
entity Q183
action find
entity Q1600779
relation P27
['Q1600779', 'P27', 'Q183']
ASK WHERE { resource:Q1600779 property:P27 resource:Q183 }
Heinz Quirin Germany
action is_in
entity Germany
action find
entity Heinz Quirin
relation country of citizenship
['Heinz Quirin', 'country of citizenship', 'Germany']
ASK WHERE { resource:Heinz_Quirin property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1600779,P27,Q183)
action is_in
entity Q183
action find
entity Q1600779
relation P27
[ANSWER]
['Q1600779', 'P27', 'Q183']
ASK WHERE { resource:Q1600779 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Heinz Quirin
relation country of citizenship
['Heinz Quirin', 'country of citizenship', 'Germany']
ASK WHERE { resource:Heinz_Quirin property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q297628 Q7417941
P27
Q15617994
USER
Does Saionji Kinmochi belong to Sanger Independent School District ?
(Q297628,P27,Q7417941)
action is_in
entity Q7417941
action find
entity Q297628
relation P27
['Q297628', 'P27', 'Q7417941']
ASK WHERE { resource:Q297628 property:P27 resource:Q7417941 }
Saionji Kinmochi Sanger Independent School District
action is_in
entity Sanger Independent School District
action find
entity Saionji Kinmochi
relation country of citizenship
['Saionji Kinmochi', 'country of citizenship', 'Sanger Independent School District']
ASK WHERE { resource:Saionji_Kinmochi property:country_of_citizenship resource:Sanger_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q297628,P27,Q7417941)
action is_in
entity Q7417941
action find
entity Q297628
relation P27
[ANSWER]
['Q297628', 'P27', 'Q7417941']
ASK WHERE { resource:Q297628 property:P27 resource:Q7417941 }
No
action is_in
entity Sanger Independent School District
action find
entity Saionji Kinmochi
relation country of citizenship
['Saionji Kinmochi', 'country of citizenship', 'Sanger Independent School District']
ASK WHERE { resource:Saionji_Kinmochi property:country_of_citizenship resource:Sanger_Independent_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q297628
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q297628
relation P21
type Q290
SELECT DISTINCT ?v WHERE { resource:Q297628 property:P21 ?v . ?v rdf:type ontology:Q290 }
Saionji Kinmochi
action filter_type
action find
entity Saionji Kinmochi
relation gender
type sex
SELECT DISTINCT ?v WHERE { resource:Saionji_Kinmochi property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q297628
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q297628 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Saionji Kinmochi
relation gender
type sex
SELECT DISTINCT ?v WHERE { resource:Saionji_Kinmochi property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1345427
P106
Q12737077
USER
What are the job of Lal Bihari ?
(Q1345427,P106,c(Q12737077))
action filter_type
action find
entity Q1345427
relation P106
type Q12737077
['Q1345427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1345427 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Lal Bihari
action filter_type
action find
entity Lal Bihari
relation occupation
type occupation
['Lal Bihari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lal_Bihari property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q131512 Q82955
SYSTEM
farmer, politician
Q131512 Q82955
(Q1345427,P106,c(Q12737077))
action filter_type
action find
entity Q1345427
relation P106
type Q12737077
The job of Lal Bihari are a [ANSWERS]
['Q1345427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1345427 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
farmer politician
The job of Lal Bihari are a farmer and politician
farmer politician
action filter_type
action find
entity Lal Bihari
relation occupation
type occupation
['Lal Bihari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lal_Bihari property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q12737077 Q376799 Q41176
USER
How many occupations are the etymology of lesser number of transport infrastructures and buildings than that occupation ?
(c(Q376799)|c(Q41176),P138,c(Q12737077))
[[{'concept': 'Q376799'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?o property:P138 ?y . VALUES ( ?o ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q376799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
[[{'concept': 'transport infrastructure'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?o property:named_after ?y . VALUES ( ?o ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:transport_infrastructure . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]
occupation transport infrastructure building
Comparative|Count over More/Less|Mult. entity type|Clarification
Q82955
SYSTEM
Did you mean politician ?
(c(Q376799)|c(Q41176),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q376799'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?o property:P138 ?y . VALUES ( ?o ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q376799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
Did you mean politician ?
politician
[[{'concept': 'transport infrastructure'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?o property:named_after ?y . VALUES ( ?o ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:transport_infrastructure . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant farmer. Could you tell me the answer for that?
(c(Q376799)|c(Q41176),P138,c(Q12737077))
Q131512
[[{'concept': 'Q376799'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'transport infrastructure'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
[]
SYSTEM
0
(c(Q376799)|c(Q41176),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q376799'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q376799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
0
[[{'concept': 'transport infrastructure'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:transport_infrastructure . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7320
P159
Q56061
USER
Which administrative territory is the head office of Nazi Party ?
(Q7320,P159,c(Q56061))
action filter_type
action find
entity Q7320
relation P159
type Q56061
['Q7320', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7320 property:P159 ?k . ?k rdf:type ontology:Q56061 }
Nazi Party
action filter_type
action find
entity Nazi Party
relation headquarters location
type administrative territorial entity
['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nazi_Party property:headquarters_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q7320,P159,c(Q56061))
action filter_type
action find
entity Q7320
relation P159
type Q56061
[ANSWER] is the head office of Nazi Party
['Q7320', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7320 property:P159 ?k . ?k rdf:type ontology:Q56061 }
Munich
Munich is the head office of Nazi Party
Munich
action filter_type
action find
entity Nazi Party
relation headquarters location
type administrative territorial entity
['Nazi Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nazi_Party property:headquarters_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1726 Q16747647
P6
Q502895
USER
Is that administrative territory the head of goverment of Charles-Eugène Cœuret de Saint-Georges ?
(Q1726,P6,Q16747647)
action is_in
entity Q16747647
action find
entity Q1726
relation P6
['Q1726', 'P6', 'Q16747647']
ASK WHERE { resource:Q1726 property:P6 resource:Q16747647 }
Munich Charles-Eugène Cœuret de Saint-Georges
action is_in
entity Charles-Eugène Cœuret de Saint-Georges
action find
entity Munich
relation head of government
['Munich', 'head of government', 'Charles-Eugène Cœuret de Saint-Georges']
ASK WHERE { resource:Munich property:head_of_government resource:Charles-Eugène_Cœuret_de_Saint-Georges }
[]
common name
SYSTEM
NO
(Q1726,P6,Q16747647)
action is_in
entity Q16747647
action find
entity Q1726
relation P6
[ANSWER]
['Q1726', 'P6', 'Q16747647']
ASK WHERE { resource:Q1726 property:P6 resource:Q16747647 }
No
action is_in
entity Charles-Eugène Cœuret de Saint-Georges
action find
entity Munich
relation head of government
['Munich', 'head of government', 'Charles-Eugène Cœuret de Saint-Georges']
ASK WHERE { resource:Munich property:head_of_government resource:Charles-Eugène_Cœuret_de_Saint-Georges }
[]