Simple Question (Direct)
Simple Question
Q3229795
P607
Q198
USER
What was the war that Leonti Gourtiev took part in
(Q3229795,P607,c(Q198))
action filter_type
action find
entity Q3229795
relation P607
type Q198
['Q3229795', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { resource:Q3229795 property:P607 ?e . ?e rdf:type ontology:Q198 }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation conflict
type war
['Leonti Gourtiev', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { resource:Leonti_Gourtiev property:conflict ?e . ?e rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3229795,P607,c(Q198))
action filter_type
action find
entity Q3229795
relation P607
type Q198
The war that Leonti Gourtiev took part in was during [ANSWER]
['Q3229795', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { resource:Q3229795 property:P607 ?e . ?e rdf:type ontology:Q198 }
World War I
The war that Leonti Gourtiev took part in was during World War I
World War I
action filter_type
action find
entity Leonti Gourtiev
relation conflict
type war
['Leonti Gourtiev', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { resource:Leonti_Gourtiev property:conflict ?e . ?e rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229795
P166
Q1788716
USER
What was won by that person ?
(Q361,P166,c(Q1788716))
action filter_type
action find
entity Q3229795
relation P166
type Q1788716
['Q361', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?e WHERE { resource:Q3229795 property:P166 ?e . ?e rdf:type ontology:Q1788716 }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation award received
type military decoration
['World War I', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?e WHERE { resource:Leonti_Gourtiev property:award_received ?e . ?e rdf:type ontology:military_decoration }
[]
military decoration
Q241821
SYSTEM
Medal "For the Defence of Stalingrad"
Q241821
(Q361,P166,c(Q1788716))
action filter_type
action find
entity Q3229795
relation P166
type Q1788716
The [ANSWER] was won by that person
['Q361', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?e WHERE { resource:Q3229795 property:P166 ?e . ?e rdf:type ontology:Q1788716 }
Medal "For the Defence of Stalingrad"
The Medal "For the Defence of Stalingrad" was won by that person
Medal "For the Defence of Stalingrad"
action filter_type
action find
entity Leonti Gourtiev
relation award received
type military decoration
['World War I', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?e WHERE { resource:Leonti_Gourtiev property:award_received ?e . ?e rdf:type ontology:military_decoration }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229795
P410
Q4189293
USER
Which title has that person achieved ?
(Q241821,P410,c(Q4189293))
action filter_type
action find
entity Q3229795
relation P410
type Q4189293
['Q241821', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q3229795 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation military rank
type title
['Medal "For the Defence of Stalingrad"', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Leonti_Gourtiev property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Q157148
SYSTEM
major general
Q157148
(Q241821,P410,c(Q4189293))
action filter_type
action find
entity Q3229795
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q241821', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q3229795 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
major general
That person has achieved a major general
major general
action filter_type
action find
entity Leonti Gourtiev
relation military rank
type title
['Medal "For the Defence of Stalingrad"', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Leonti_Gourtiev property:military_rank ?k . ?k rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229795
P21
Q290
USER
Which sex does that person have ?
(Q157148,P21,c(Q290))
action filter_type
action find
entity Q3229795
relation P21
type Q290
['Q157148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3229795 property:P21 ?i }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation gender
type sex
['major general', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Leonti_Gourtiev property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q157148,P21,c(Q290))
action filter_type
action find
entity Q3229795
relation P21
type Q290
That person has a [ANSWER]
['Q157148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3229795 property:P21 ?i }
male
That person has a male
male
action filter_type
action find
entity Leonti Gourtiev
relation gender
type sex
['major general', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Leonti_Gourtiev property:gender ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q24339660 Q337060
USER
How many Norse religious concepts and perceptible objects are a that sex ?
(c(Q24339660),P21,Q6581097) (c(Q337060),P21,Q6581097) (c(Q24339660),P21,Q6581097) (c(Q337060),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q24339660
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q337060
[{'concept': 'Q24339660'}, 'P21', 'Q6581097'] [{'concept': 'Q337060'}, 'P21', 'Q6581097'] [{'concept': 'Q24339660'}, 'P21', 'Q6581097'] [{'concept': 'Q337060'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:Q337060 ) ( ontology:Q24339660 ) } . ?v rdf:type ?g }
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type Norse religious concept
action filter_type
action find_reverse
entity male
relation gender
type perceptible object
[{'concept': 'Norse religious concept'}, 'gender', 'male'] [{'concept': 'perceptible object'}, 'gender', 'male'] [{'concept': 'Norse religious concept'}, 'gender', 'male'] [{'concept': 'perceptible object'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:perceptible_object ) ( ontology:Norse_religious_concept ) } . ?v rdf:type ?g }
[]
Norse religious concept perceptible object
SYSTEM
31 Norse religious concepts and 1 perceptible objects
Q199959 Q43610 Q505509 Q1617533 Q293560 Q204927 Q372614 Q213479 Q5569275 Q1136300 Q172713 Q131474 Q1845668 Q1402029 Q836029 Q1136295 Q609434 Q336496 Q133147 Q62548 Q131196 Q42952 Q846981 Q216763 Q944790 Q579612 Q551700 Q204900 Q24576910 Q601453 Q131658 Q193879
(c(Q24339660),P21,Q6581097) (c(Q337060),P21,Q6581097) (c(Q24339660),P21,Q6581097) (c(Q337060),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q24339660
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q337060
[ANSWER]
[{'concept': 'Q24339660'}, 'P21', 'Q6581097'] [{'concept': 'Q337060'}, 'P21', 'Q6581097'] [{'concept': 'Q24339660'}, 'P21', 'Q6581097'] [{'concept': 'Q337060'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:Q337060 ) ( ontology:Q24339660 ) } . ?v rdf:type ?g }
Bragi Odin Vili Meili Óðr Ægir Víðarr Ull Glenr Hymir Tyr Freyr Magni Gaut Hœnir Dagr Vé Mímir Loki Forseti Heimdall Thor Váli Kvasir Dellingr Hermod Kennewick Man Hodhr Nat Móði Baldur Njord
31 Norse religious concepts and 1 perceptible objects
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type Norse religious concept
action filter_type
action find_reverse
entity male
relation gender
type perceptible object
[{'concept': 'Norse religious concept'}, 'gender', 'male'] [{'concept': 'perceptible object'}, 'gender', 'male'] [{'concept': 'Norse religious concept'}, 'gender', 'male'] [{'concept': 'perceptible object'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:perceptible_object ) ( ontology:Norse_religious_concept ) } . ?v rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3229795
P19
Q56061
USER
Which administrative territory was Leonti Gourtiev born at ?
(Q3229795,P19,c(Q56061))
action filter_type
action find
entity Q3229795
relation P19
type Q56061
['Q3229795', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3229795 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation place of birth
type administrative territorial entity
['Leonti Gourtiev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Leonti_Gourtiev property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q388224
SYSTEM
Şamaxı
Q388224
(Q3229795,P19,c(Q56061))
action filter_type
action find
entity Q3229795
relation P19
type Q56061
Leonti Gourtiev was born in [ANSWER]
['Q3229795', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3229795 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Şamaxı
Leonti Gourtiev was born in Şamaxı
Şamaxı
action filter_type
action find
entity Leonti Gourtiev
relation place of birth
type administrative territorial entity
['Leonti Gourtiev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Leonti_Gourtiev property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229795
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q388224,P106,c(Q12737077))
action filter_type
action find
entity Q3229795
relation P106
type Q12737077
['Q388224', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3229795 property:P106 ?x }
Leonti Gourtiev
action filter_type
action find
entity Leonti Gourtiev
relation occupation
type occupation
['Şamaxı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Leonti_Gourtiev property:occupation ?x }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q388224,P106,c(Q12737077))
action filter_type
action find
entity Q3229795
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q388224', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3229795 property:P106 ?x }
military personnel
The military personnel is the profession of that person
military personnel
action filter_type
action find
entity Leonti Gourtiev
relation occupation
type occupation
['Şamaxı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Leonti_Gourtiev property:occupation ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q198 Q838948 Q2342494
USER
How many wars were the main subjects of exactly 4 works of art and collectables 's work ?
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 4
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?r WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?a rdf:type ?k } GROUP BY ?r } . FILTER ( ?e = 4 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 4
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?r WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?a rdf:type ?k } GROUP BY ?r } . FILTER ( ?e = 4 ) }
[]
war work of art collectable
SYSTEM
2
Q242352 Q201424
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 4
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?r WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?a rdf:type ?k } GROUP BY ?r } . FILTER ( ?e = 4 ) }
Yugoslav Wars nuclear war
2
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 4
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?r WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?a rdf:type ?k } GROUP BY ?r } . FILTER ( ?e = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q388224
P36
Q7688
USER
Which raion is Şamaxı the capital of ?
(c(Q7688),P36,Q388224)
action filter_type
action find_reverse
entity Q388224
relation P36
type Q7688
[{'concept': 'Q7688'}, 'P36', 'Q388224']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q388224 . ?y rdf:type ontology:Q7688 }
Şamaxı
action filter_type
action find_reverse
entity Şamaxı
relation capital
type raion
[{'concept': 'raion'}, 'capital', 'Şamaxı']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Şamaxı . ?y rdf:type ontology:raion }
[]
raion
Q330839
SYSTEM
Shamakhi District
Q330839
(c(Q7688),P36,Q388224)
action filter_type
action find_reverse
entity Q388224
relation P36
type Q7688
Which raion is Şamaxı the capital of
[{'concept': 'Q7688'}, 'P36', 'Q388224']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q388224 . ?y rdf:type ontology:Q7688 }
Shamakhi District
Which raion is Şamaxı the capital of
Shamakhi District
action filter_type
action find_reverse
entity Şamaxı
relation capital
type raion
[{'concept': 'raion'}, 'capital', 'Şamaxı']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Şamaxı . ?y rdf:type ontology:raion }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q388224
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q330839)
action filter_type
action find_reverse
entity Q388224
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q330839']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q388224 . ?x rdf:type ontology:Q502895 }
Şamaxı
action filter_type
action find_reverse
entity Şamaxı
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Shamakhi District']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Şamaxı . ?x rdf:type ontology:common_name }
[]
common name
Q2637299 Q8050611 Q4497394
SYSTEM
Ibrahim I of Shirvan, Yazid III Shirvanshah, Khasta Qasim
Q14419061 Q7499011 Q12842606 Q16415225 Q4073174 Q2637299 Q4481325 Q12844507 Q2500179 Q12849442 Q8050611 Q12845443 Q2505967 Q16369140 Q4131502 Q16369122 Q7499026 Q7499027 Q2651897 Q4497394 Q7499023 Q4481233 Q12840645 Q4295292 Q12840666
(c(Q502895),P20,Q330839)
action filter_type
action find_reverse
entity Q388224
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q330839']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q388224 . ?x rdf:type ontology:Q502895 }
Shirvanshah Fariburz II Shirvanshah Afridun I Muhammad IV of Shirvan Ali II of Shirvan Shirvanshah Akhsitan II Ibrahim I of Shirvan Shirvanshah Farrukhzad II Qubad of Shirvan Seyid Azim Shirvani Shahanshah Yazid III Shirvanshah Sallar of Shirvan Akhsitan I ibn Minuchihr III Muhammad III of Shirvan Gasim bey Hajibababeyov Shirvanshah Afridun II Shirvanshah Gushtasb I Shirvanshah Manuchehr I Mirza Alakbar Sabir Khasta Qasim Shirvanshah Farrukhzad I Fariburz III Shirvanshah Manuchehr II Shirvanshah Manuchehr III Fariburz I
Ibrahim I of Shirvan, Yazid III Shirvanshah and Khasta Qasim expired at that administrative territory
Ibrahim I of Shirvan Yazid III Shirvanshah Khasta Qasim
action filter_type
action find_reverse
entity Şamaxı
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Shamakhi District']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Şamaxı . ?x rdf:type ontology:common_name }
[]