Simple Question (Direct)
Simple Question
Q2641669
P21
Q290
USER
Which sex does Alexander Belavin possess ?
(Q2641669,P21,c(Q290))
action filter_type
action find
entity Q2641669
relation P21
type Q290
['Q2641669', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q2641669 property:P21 ?e }
Alexander Belavin
action filter_type
action find
entity Alexander Belavin
relation gender
type sex
['Alexander Belavin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Alexander_Belavin property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2641669,P21,c(Q290))
action filter_type
action find
entity Q2641669
relation P21
type Q290
Alexander Belavin possesses un [ANSWER]
['Q2641669', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q2641669 property:P21 ?e }
male
Alexander Belavin possesses un male
male
action filter_type
action find
entity Alexander Belavin
relation gender
type sex
['Alexander Belavin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Alexander_Belavin property:gender ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2641669
P108
Q31855
USER
Which research institute does that person work for ?
(Q6581097,P108,c(Q31855))
action filter_type
action find
entity Q2641669
relation P108
type Q31855
['Q6581097', 'P108', {'concept': 'Q31855'}]
SELECT DISTINCT ?d WHERE { resource:Q2641669 property:P108 ?d . ?d rdf:type ontology:Q31855 }
Alexander Belavin
action filter_type
action find
entity Alexander Belavin
relation employer
type research institute
['male', 'employer', {'concept': 'research institute'}]
SELECT DISTINCT ?d WHERE { resource:Alexander_Belavin property:employer ?d . ?d rdf:type ontology:research_institute }
[]
research institute
Q688932
SYSTEM
Landau Institute for Theoretical Physics
Q688932
(Q6581097,P108,c(Q31855))
action filter_type
action find
entity Q2641669
relation P108
type Q31855
That person works at [ANSWER]
['Q6581097', 'P108', {'concept': 'Q31855'}]
SELECT DISTINCT ?d WHERE { resource:Q2641669 property:P108 ?d . ?d rdf:type ontology:Q31855 }
Landau Institute for Theoretical Physics
That person works at Landau Institute for Theoretical Physics
Landau Institute for Theoretical Physics
action filter_type
action find
entity Alexander Belavin
relation employer
type research institute
['male', 'employer', {'concept': 'research institute'}]
SELECT DISTINCT ?d WHERE { resource:Alexander_Belavin property:employer ?d . ?d rdf:type ontology:research_institute }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7397488 Q2641669
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Alexander Belavin or are Sadabad-e Fenderesk located in ?
OR((Q2641669,P27,c(Q15617994)), (Q7397488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2641669
relation P27
action find
entity Q7397488
relation P17
type Q15617994
{'OR': [['Q2641669', 'P27', {'concept': 'Q15617994'}], ['Q7397488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2641669 property:P27 ?b } UNION { resource:Q7397488 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Sadabad-e Fenderesk Alexander Belavin
action filter_type
action union
action find
entity Alexander Belavin
relation country of citizenship
action find
entity Sadabad-e Fenderesk
relation country
type designation for an administrative territorial entity
{'OR': [['Alexander Belavin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sadabad-e Fenderesk', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Alexander_Belavin property:country_of_citizenship ?b } UNION { resource:Sadabad-e_Fenderesk property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q794
SYSTEM
Russia, Iran
Q159 Q794
OR((Q2641669,P27,c(Q15617994)), (Q7397488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2641669
relation P27
action find
entity Q7397488
relation P17
type Q15617994
[ANSWERS] are the native countriesof Alexander Belavin or are Sadabad-e Fenderesk located in
{'OR': [['Q2641669', 'P27', {'concept': 'Q15617994'}], ['Q7397488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2641669 property:P27 ?b } UNION { resource:Q7397488 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Russia Iran
Russia and Iran are the native countriesof Alexander Belavin or are Sadabad-e Fenderesk located in
Russia Iran
action filter_type
action union
action find
entity Alexander Belavin
relation country of citizenship
action find
entity Sadabad-e Fenderesk
relation country
type designation for an administrative territorial entity
{'OR': [['Alexander Belavin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sadabad-e Fenderesk', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Alexander_Belavin property:country_of_citizenship ?b } UNION { resource:Sadabad-e_Fenderesk property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q794
P194
Q1752346
USER
Which assemblies are the legislative bodies for Russia and Iran ?
(Q159,P194,c(Q1752346)) (Q794,P194,c(Q1752346))
action union
action filter_type
action find
entity Q159
relation P194
type Q1752346
action filter_type
action find
entity Q794
relation P194
type Q1752346
['Q159', 'P194', {'concept': 'Q1752346'}] ['Q794', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { { resource:Q794 property:P194 ?s . ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q1752346 . resource:Q159 property:P194 ?s } }
Russia Iran
action union
action filter_type
action find
entity Russia
relation legislative body
type assembly
action filter_type
action find
entity Iran
relation legislative body
type assembly
['Russia', 'legislative body', {'concept': 'assembly'}] ['Iran', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { { resource:Iran property:legislative_body ?s . ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:assembly . resource:Russia property:legislative_body ?s } }
[]
assembly
Q2358985 Q378605 Q3154693
SYSTEM
Congress of People's Deputies of Russia, Islamic Consultative Assembly, city council
Q2358985 Q378605 Q3154693
(Q159,P194,c(Q1752346)) (Q794,P194,c(Q1752346))
action union
action filter_type
action find
entity Q159
relation P194
type Q1752346
action filter_type
action find
entity Q794
relation P194
type Q1752346
[ANSWERS] are the legislative bodies for Russia and Iran
['Q159', 'P194', {'concept': 'Q1752346'}] ['Q794', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { { resource:Q794 property:P194 ?s . ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q1752346 . resource:Q159 property:P194 ?s } }
Congress of People's Deputies of Russia Islamic Consultative Assembly city council
Congress of People's Deputies of Russia, Islamic Consultative Assembly and city council are the legislative bodies for Russia and Iran
Congress of People's Deputies of Russia Islamic Consultative Assembly city council
action union
action filter_type
action find
entity Russia
relation legislative body
type assembly
action filter_type
action find
entity Iran
relation legislative body
type assembly
['Russia', 'legislative body', {'concept': 'assembly'}] ['Iran', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { { resource:Iran property:legislative_body ?s . ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:assembly . resource:Russia property:legislative_body ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P463
Q874405
USER
Which social groups were Iran a member of ?
(Q794,P463,c(Q874405))
action filter_type
action find
entity Q794
relation P463
type Q874405
['Q794', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q794 property:P463 ?e . ?e rdf:type ontology:Q874405 }
Iran
action filter_type
action find
entity Iran
relation member of
type social group
['Iran', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Iran property:member_of ?e . ?e rdf:type ontology:social_group }
[]
social group
Q47543 Q83201
SYSTEM
Organisation of Islamic Cooperation, Non-Aligned Movement
Q47543 Q83201
(Q794,P463,c(Q874405))
action filter_type
action find
entity Q794
relation P463
type Q874405
The [ANSWERS] were Iran a member of
['Q794', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q794 property:P463 ?e . ?e rdf:type ontology:Q874405 }
Organisation of Islamic Cooperation Non-Aligned Movement
The Organisation of Islamic Cooperation and Non-Aligned Movement were Iran a member of
Organisation of Islamic Cooperation Non-Aligned Movement
action filter_type
action find
entity Iran
relation member of
type social group
['Iran', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Iran property:member_of ?e . ?e rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q316515
Q874405
USER
And what about René Just Haüy?
(Q316515,P463,c(Q874405))
action filter_type
action find
entity Q316515
relation P463
type Q874405
['Q316515', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q316515 property:P463 ?t . ?t rdf:type ontology:Q874405 }
René Just Haüy
action filter_type
action find
entity René Just Haüy
relation member of
type social group
['René Just Haüy', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:René_Just_Haüy property:member_of ?t . ?t rdf:type ontology:social_group }
[]
social group
Q3291340
SYSTEM
Société Philomathique de Paris
Q3291340
(Q316515,P463,c(Q874405))
action filter_type
action find
entity Q316515
relation P463
type Q874405
[ANSWER]
['Q316515', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q316515 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Société Philomathique de Paris
Société Philomathique de Paris
action filter_type
action find
entity René Just Haüy
relation member of
type social group
['René Just Haüy', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:René_Just_Haüy property:member_of ?t . ?t rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q874405 Q18783400 Q340169
USER
Which social groups are demonstrated in exactly 1 genres of sculpture and medias ?
(c(Q18783400)|c(Q340169),P180,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q874405
type Q340169
value 1
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q340169 ) } } GROUP BY ?g } . FILTER ( ?h = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type social group
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type social group
type media
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:media ) } } GROUP BY ?g } . FILTER ( ?h = 1 ) }
[]
social group genre of sculpture media
Q177232 Q402152 Q7565
SYSTEM
son, ancestor, father
Q177232 Q402152 Q7565
(c(Q18783400)|c(Q340169),P180,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q874405
type Q340169
value 1
[ANSWERS] are demonstrated in exactly 1 genres of sculpture and medias
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q340169 ) } } GROUP BY ?g } . FILTER ( ?h = 1 ) }
son ancestor father
Son, ancestor and father are demonstrated in exactly 1 genres of sculpture and medias
son ancestor father
action equal
action union
action find_reverse_tuple_counts
relation depicts
type social group
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type social group
type media
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:media ) } } GROUP BY ?g } . FILTER ( ?h = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P361
Q2221906
USER
Which geographic location is a component of Russia ?
(c(Q2221906),P361,Q159)
action filter_type
action find_reverse
entity Q159
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', 'Q159']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q159 . ?z rdf:type ontology:Q2221906 }
Russia
action filter_type
action find_reverse
entity Russia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Russia']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Russia . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q2364623
SYSTEM
Dauria
Q2364623
(c(Q2221906),P361,Q159)
action filter_type
action find_reverse
entity Q159
relation P361
type Q2221906
[ANSWER] is a component of Russia
[{'concept': 'Q2221906'}, 'P361', 'Q159']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q159 . ?z rdf:type ontology:Q2221906 }
Dauria
Dauria is a component of Russia
Dauria
action filter_type
action find_reverse
entity Russia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Russia']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Russia . ?z rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P137
Q2424752
USER
Which product can be described as facility operator of that administrative territory ?
(c(Q2424752),P137,Q2364623)
action filter_type
action find_reverse
entity Q159
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q2364623']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q159 . ?x rdf:type ontology:Q2424752 }
Russia
action filter_type
action find_reverse
entity Russia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Dauria']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Russia . ?x rdf:type ontology:product }
[]
product
Q17374524
SYSTEM
Mi-24PN
Q17374524
(c(Q2424752),P137,Q2364623)
action filter_type
action find_reverse
entity Q159
relation P137
type Q2424752
[ANSWER] can be described as facility operator of that administrative territory
[{'concept': 'Q2424752'}, 'P137', 'Q2364623']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q159 . ?x rdf:type ontology:Q2424752 }
Mi-24PN
Mi-24PN can be described as facility operator of that administrative territory
Mi-24PN
action filter_type
action find_reverse
entity Russia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Dauria']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Russia . ?x rdf:type ontology:product }
[]