Simple Question (Direct)
Simple Question
Q4204102
P512
Q3412758
USER
What is the degree held by Tagir Ismailov ?
(Q4204102,P512,c(Q3412758))
action filter_type
action find
entity Q4204102
relation P512
type Q3412758
['Q4204102', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q4204102 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
Tagir Ismailov
action filter_type
action find
entity Tagir Ismailov
relation academic degree
type qualification
['Tagir Ismailov', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Tagir_Ismailov property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
qualification
Q17281125
SYSTEM
Doktor Nauk in Engineering
Q17281125
(Q4204102,P512,c(Q3412758))
action filter_type
action find
entity Q4204102
relation P512
type Q3412758
The degree held by Tagir Ismailov is a [ANSWER]
['Q4204102', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q4204102 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
Doktor Nauk in Engineering
The degree held by Tagir Ismailov is a Doktor Nauk in Engineering
Doktor Nauk in Engineering
action filter_type
action find
entity Tagir Ismailov
relation academic degree
type qualification
['Tagir Ismailov', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Tagir_Ismailov property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4204102
P21
Q290
USER
What is the sex of Tagir Ismailov ?
(Q4204102,P21,c(Q290))
action filter_type
action find
entity Q4204102
relation P21
type Q290
['Q4204102', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q4204102 property:P21 ?m . ?m rdf:type ontology:Q290 }
Tagir Ismailov
action filter_type
action find
entity Tagir Ismailov
relation gender
type sex
['Tagir Ismailov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tagir_Ismailov property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4204102,P21,c(Q290))
action filter_type
action find
entity Q4204102
relation P21
type Q290
The sex of Tagir Ismailov is a [ANSWER]
['Q4204102', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q4204102 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Tagir Ismailov is a male
male
action filter_type
action find
entity Tagir Ismailov
relation gender
type sex
['Tagir Ismailov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tagir_Ismailov property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20481256
Q290
USER
And what about Sándor Barabás?
(Q20481256,P21,c(Q290))
action filter_type
action find
entity Q20481256
relation P21
type Q290
['Q20481256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20481256 property:P21 ?y . ?y rdf:type ontology:Q290 }
Sándor Barabás
action filter_type
action find
entity Sándor Barabás
relation gender
type sex
['Sándor Barabás', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sándor_Barabás property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20481256,P21,c(Q290))
action filter_type
action find
entity Q20481256
relation P21
type Q290
[ANSWER]
['Q20481256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20481256 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Sándor Barabás
relation gender
type sex
['Sándor Barabás', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sándor_Barabás property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17281125
P425
Q11862829
USER
Which academic discipline has Doktor Nauk in Engineering as thier associated field of occupation ?
(Q17281125,P425,c(Q11862829))
action filter_type
action find
entity Q17281125
relation P425
type Q11862829
['Q17281125', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?s WHERE { resource:Q17281125 property:P425 ?s . ?s rdf:type ontology:Q11862829 }
Doktor Nauk in Engineering
action filter_type
action find
entity Doktor Nauk in Engineering
relation field of this occupation
type academic discipline
['Doktor Nauk in Engineering', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?s WHERE { resource:Doktor_Nauk_in_Engineering property:field_of_this_occupation ?s . ?s rdf:type ontology:academic_discipline }
[]
academic discipline
Q11023
SYSTEM
engineering
Q11023
(Q17281125,P425,c(Q11862829))
action filter_type
action find
entity Q17281125
relation P425
type Q11862829
[ANSWER] has Doktor Nauk in [ANSWER] as thier associated field of occupation
['Q17281125', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?s WHERE { resource:Q17281125 property:P425 ?s . ?s rdf:type ontology:Q11862829 }
engineering
Engineering has Doktor Nauk in Engineering as thier associated field of occupation
engineering
action filter_type
action find
entity Doktor Nauk in Engineering
relation field of this occupation
type academic discipline
['Doktor Nauk in Engineering', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?s WHERE { resource:Doktor_Nauk_in_Engineering property:field_of_this_occupation ?s . ?s rdf:type ontology:academic_discipline }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22693692
Q11862829
USER
And also tell me about Diplomi-insinööri?
(Q22693692,P425,c(Q11862829))
action filter_type
action find
entity Q22693692
relation P425
type Q11862829
['Q22693692', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?y WHERE { resource:Q22693692 property:P425 ?y . ?y rdf:type ontology:Q11862829 }
Diplomi-insinööri
action filter_type
action find
entity Diplomi-insinööri
relation field of this occupation
type academic discipline
['Diplomi-insinööri', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?y WHERE { resource:Diplomi-insinööri property:field_of_this_occupation ?y . ?y rdf:type ontology:academic_discipline }
[]
academic discipline
Q11023
SYSTEM
engineering
Q11023
(Q22693692,P425,c(Q11862829))
action filter_type
action find
entity Q22693692
relation P425
type Q11862829
[ANSWER]
['Q22693692', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?y WHERE { resource:Q22693692 property:P425 ?y . ?y rdf:type ontology:Q11862829 }
engineering
engineering
action filter_type
action find
entity Diplomi-insinööri
relation field of this occupation
type academic discipline
['Diplomi-insinööri', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?y WHERE { resource:Diplomi-insinööri property:field_of_this_occupation ?y . ?y rdf:type ontology:academic_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17281125
P106
Q502895
USER
Which person has Doktor Nauk in Engineering as his/her means of employment ?
(c(Q502895),P106,Q17281125)
action filter_type
action find_reverse
entity Q17281125
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q17281125']
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q17281125 . ?n rdf:type ontology:Q502895 }
Doktor Nauk in Engineering
action filter_type
action find_reverse
entity Doktor Nauk in Engineering
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Doktor Nauk in Engineering']
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:Doktor_Nauk_in_Engineering . ?n rdf:type ontology:common_name }
[]
common name
Q22928255
SYSTEM
Yury Gushcho
Q22928255
(c(Q502895),P106,Q17281125)
action filter_type
action find_reverse
entity Q17281125
relation P106
type Q502895
[ANSWER] has Doktor Nauk in Engineering as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q17281125']
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q17281125 . ?n rdf:type ontology:Q502895 }
Yury Gushcho
Yury Gushcho has Doktor Nauk in Engineering as his/her means of employment
Yury Gushcho
action filter_type
action find_reverse
entity Doktor Nauk in Engineering
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Doktor Nauk in Engineering']
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:Doktor_Nauk_in_Engineering . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17281125
P17
Q7275
USER
Which state is Doktor Nauk in Engineering located in ?
(Q17281125,P17,c(Q7275))
action filter_type
action find
entity Q17281125
relation P17
type Q7275
['Q17281125', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q17281125 property:P17 ?w }
Doktor Nauk in Engineering
action filter_type
action find
entity Doktor Nauk in Engineering
relation country
type state
['Doktor Nauk in Engineering', 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Doktor_Nauk_in_Engineering property:country ?w }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q17281125,P17,c(Q7275))
action filter_type
action find
entity Q17281125
relation P17
type Q7275
Doktor Nauk in Engineering is located in [ANSWER]
['Q17281125', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q17281125 property:P17 ?w }
Soviet Union
Doktor Nauk in Engineering is located in Soviet Union
Soviet Union
action filter_type
action find
entity Doktor Nauk in Engineering
relation country
type state
['Doktor Nauk in Engineering', 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Doktor_Nauk_in_Engineering property:country ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7653679
Q7275
USER
And what about Swansea District?
(Q7653679,P17,c(Q7275))
action filter_type
action find
entity Q7653679
relation P17
type Q7275
['Q7653679', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q7653679 property:P17 ?d . ?d rdf:type ontology:Q7275 }
Swansea District
action filter_type
action find
entity Swansea District
relation country
type state
['Swansea District', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Swansea_District property:country ?d . ?d rdf:type ontology:state }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q7653679,P17,c(Q7275))
action filter_type
action find
entity Q7653679
relation P17
type Q7275
[ANSWER]
['Q7653679', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q7653679 property:P17 ?d . ?d rdf:type ontology:Q7275 }
United Kingdom of Great Britain and Ireland
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity Swansea District
relation country
type state
['Swansea District', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Swansea_District property:country ?d . ?d rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q174193 Q18530192
P27
Q502895
USER
Is John William Buck a civilian of that state ?
(Q18530192,P27,Q174193)
action is_in
entity Q174193
action find
entity Q18530192
relation P27
['Q18530192', 'P27', 'Q174193']
ASK WHERE { resource:Q18530192 property:P27 resource:Q174193 }
United Kingdom of Great Britain and Ireland John William Buck
action is_in
entity United Kingdom of Great Britain and Ireland
action find
entity John William Buck
relation country of citizenship
['John William Buck', 'country of citizenship', 'United Kingdom of Great Britain and Ireland']
ASK WHERE { resource:John_William_Buck property:country_of_citizenship resource:United_Kingdom_of_Great_Britain_and_Ireland }
[]
common name
SYSTEM
YES
(Q18530192,P27,Q174193)
action is_in
entity Q174193
action find
entity Q18530192
relation P27
[ANSWER]
['Q18530192', 'P27', 'Q174193']
ASK WHERE { resource:Q18530192 property:P27 resource:Q174193 }
Yes
action is_in
entity United Kingdom of Great Britain and Ireland
action find
entity John William Buck
relation country of citizenship
['John William Buck', 'country of citizenship', 'United Kingdom of Great Britain and Ireland']
ASK WHERE { resource:John_William_Buck property:country_of_citizenship resource:United_Kingdom_of_Great_Britain_and_Ireland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4204102 Q537922
P27
Q15617994
USER
Is Anger the country of citizenship of Tagir Ismailov ?
(Q4204102,P27,Q537922)
action is_in
entity Q537922
action find
entity Q4204102
relation P27
['Q4204102', 'P27', 'Q537922']
ASK WHERE { resource:Q4204102 property:P27 resource:Q537922 }
Tagir Ismailov Anger
action is_in
entity Anger
action find
entity Tagir Ismailov
relation country of citizenship
['Tagir Ismailov', 'country of citizenship', 'Anger']
ASK WHERE { resource:Tagir_Ismailov property:country_of_citizenship resource:Anger }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4204102,P27,Q537922)
action is_in
entity Q537922
action find
entity Q4204102
relation P27
[ANSWER]
['Q4204102', 'P27', 'Q537922']
ASK WHERE { resource:Q4204102 property:P27 resource:Q537922 }
No
action is_in
entity Anger
action find
entity Tagir Ismailov
relation country of citizenship
['Tagir Ismailov', 'country of citizenship', 'Anger']
ASK WHERE { resource:Tagir_Ismailov property:country_of_citizenship resource:Anger }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for exactly 2 states ?
(c(Q7275),P194,c(Q1752346))
action equal
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q7275 . ?e rdf:type ontology:Q1752346 . ?x property:P194 ?e } GROUP BY ?e } . FILTER ( ?p = 2 ) }
action equal
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:state . ?e rdf:type ontology:assembly . ?x property:legislative_body ?e } GROUP BY ?e } . FILTER ( ?p = 2 ) }
[]
assembly state
Q641439 Q371576 Q639704
SYSTEM
Landtag of Bavaria, Parliament of Croatia, National Assembly
Q1889821 Q650248 Q641439 Q371576 Q1484825 Q697775 Q639704
(c(Q7275),P194,c(Q1752346))
action equal
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 2
[ANSWERS] are the legislative bodies for exactly 2 states
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q7275 . ?e rdf:type ontology:Q1752346 . ?x property:P194 ?e } GROUP BY ?e } . FILTER ( ?p = 2 ) }
Irish Parliament Landtag of Prussia Landtag of Bavaria Parliament of Croatia Congress of the Union Imperial Council National Assembly
Landtag of Bavaria, Parliament of Croatia and National Assembly are the legislative bodies for exactly 2 states
Landtag of Bavaria Parliament of Croatia National Assembly
action equal
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:state . ?e rdf:type ontology:assembly . ?x property:legislative_body ?e } GROUP BY ?e } . FILTER ( ?p = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7181086 Q4204102
P27 P495
Q15617994
USER
Which administrative territories are the native countriesof Tagir Ismailov or did hagal poster originate ?
OR((Q4204102,P27,c(Q15617994)), (Q7181086,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q4204102
relation P27
action find
entity Q7181086
relation P495
type Q15617994
{'OR': [['Q4204102', 'P27', {'concept': 'Q15617994'}], ['Q7181086', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4204102 property:P27 ?v } UNION { resource:Q7181086 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
hagal poster Tagir Ismailov
action filter_type
action union
action find
entity Tagir Ismailov
relation country of citizenship
action find
entity hagal poster
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Tagir Ismailov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['hagal poster', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Tagir_Ismailov property:country_of_citizenship ?v } UNION { resource:hagal_poster property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q668
SYSTEM
Russia, India
Q159 Q668
OR((Q4204102,P27,c(Q15617994)), (Q7181086,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q4204102
relation P27
action find
entity Q7181086
relation P495
type Q15617994
[ANSWERS] are the native countriesof Tagir Ismailov or did hagal poster originate
{'OR': [['Q4204102', 'P27', {'concept': 'Q15617994'}], ['Q7181086', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4204102 property:P27 ?v } UNION { resource:Q7181086 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Russia India
Russia and India are the native countriesof Tagir Ismailov or did hagal poster originate
Russia India
action filter_type
action union
action find
entity Tagir Ismailov
relation country of citizenship
action find
entity hagal poster
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Tagir Ismailov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['hagal poster', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Tagir_Ismailov property:country_of_citizenship ?v } UNION { resource:hagal_poster property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]