Simple Question (Direct)
Simple Question
Q87533
P607
Q198
USER
What was the war that Klaus von Bismarck took part in
(Q87533,P607,c(Q198))
action filter_type
action find
entity Q87533
relation P607
type Q198
['Q87533', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q87533 property:P607 ?v . ?v rdf:type ontology:Q198 }
Klaus von Bismarck
action filter_type
action find
entity Klaus von Bismarck
relation conflict
type war
['Klaus von Bismarck', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Klaus_von_Bismarck property:conflict ?v . ?v rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q87533,P607,c(Q198))
action filter_type
action find
entity Q87533
relation P607
type Q198
The war that Klaus von Bismarck took part in was during [ANSWER]
['Q87533', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q87533 property:P607 ?v . ?v rdf:type ontology:Q198 }
World War II
The war that Klaus von Bismarck took part in was during World War II
World War II
action filter_type
action find
entity Klaus von Bismarck
relation conflict
type war
['Klaus von Bismarck', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Klaus_von_Bismarck property:conflict ?v . ?v rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q87533
P166
Q618779
USER
What were awarded to Klaus von Bismarck ?
(Q87533,P166,c(Q618779))
action filter_type
action find
entity Q87533
relation P166
type Q618779
['Q87533', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q87533 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Klaus von Bismarck
action filter_type
action find
entity Klaus von Bismarck
relation award received
type award
['Klaus von Bismarck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Klaus_von_Bismarck property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q10905171 Q3003469
SYSTEM
Grand Cross of the Order of Merit of the Federal Republic of Germany, Knight's Cross of the Iron Cross with Oak Leaves
Q10905171 Q3003469
(Q87533,P166,c(Q618779))
action filter_type
action find
entity Q87533
relation P166
type Q618779
Germany [ANSWERS] were awarded to Klaus von Bismarck
['Q87533', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q87533 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Grand Cross of the Order of Merit of the Federal Republic of Germany Knight's Cross of the Iron Cross with Oak Leaves
Germany Grand Cross of the Order of Merit of the Federal Republic of Germany and Knight's Cross of the Iron Cross with Oak Leaves were awarded to Klaus von Bismarck
Grand Cross of the Order of Merit of the Federal Republic of Germany Knight's Cross of the Iron Cross with Oak Leaves
action filter_type
action find
entity Klaus von Bismarck
relation award received
type award
['Klaus von Bismarck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Klaus_von_Bismarck property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4293572
Q618779
USER
And also tell me about Mikhail Millionshikov?
(Q4293572,P166,c(Q618779))
action filter_type
action find
entity Q4293572
relation P166
type Q618779
['Q4293572', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q4293572 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Mikhail Millionshikov
action filter_type
action find
entity Mikhail Millionshikov
relation award received
type award
['Mikhail Millionshikov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Mikhail_Millionshikov property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q185493 Q208167 Q728960
SYSTEM
Order of Lenin, Hero of Socialist Labour, Order of the October Revolution
Q185493 Q208167 Q728960
(Q4293572,P166,c(Q618779))
action filter_type
action find
entity Q4293572
relation P166
type Q618779
[ANSWERS]
['Q4293572', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q4293572 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Order of Lenin Hero of Socialist Labour Order of the October Revolution
Order of Lenin Hero of Socialist Labour Order of the October Revolution
action filter_type
action find
entity Mikhail Millionshikov
relation award received
type award
['Mikhail Millionshikov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Mikhail_Millionshikov property:award_received ?n . ?n rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18045405
P166
Q502895
USER
Did Fyodor Koshkin receive the award titled those ones ?
(Q18045405,P166,Q185493) (Q18045405,P166,Q208167) (Q18045405,P166,Q728960)
action is_in
entity prev_answer
action find
entity Q18045405
relation P166
['Q18045405', 'P166', 'Q185493'] ['Q18045405', 'P166', 'Q208167'] ['Q18045405', 'P166', 'Q728960']
ASK WHERE { VALUES ( ?p ) { ( resource:Q185493 ) ( resource:Q208167 ) ( resource:Q728960 ) } . resource:Q18045405 property:P166 ?p }
Fyodor Koshkin
action is_in
entity prev_answer
action find
entity Fyodor Koshkin
relation award received
['Fyodor Koshkin', 'award received', 'Order of Lenin'] ['Fyodor Koshkin', 'award received', 'Hero of Socialist Labour'] ['Fyodor Koshkin', 'award received', 'Order of the October Revolution']
ASK WHERE { VALUES ( ?p ) { ( resource:Order_of_Lenin ) ( resource:Hero_of_Socialist_Labour ) ( resource:Order_of_the_October_Revolution ) } . resource:Fyodor_Koshkin property:award_received ?p }
[]
common name
SYSTEM
YES
(Q18045405,P166,Q185493) (Q18045405,P166,Q208167) (Q18045405,P166,Q728960)
action is_in
entity prev_answer
action find
entity Q18045405
relation P166
[ANSWER]
['Q18045405', 'P166', 'Q185493'] ['Q18045405', 'P166', 'Q208167'] ['Q18045405', 'P166', 'Q728960']
ASK WHERE { VALUES ( ?p ) { ( resource:Q185493 ) ( resource:Q208167 ) ( resource:Q728960 ) } . resource:Q18045405 property:P166 ?p }
Yes
action is_in
entity prev_answer
action find
entity Fyodor Koshkin
relation award received
['Fyodor Koshkin', 'award received', 'Order of Lenin'] ['Fyodor Koshkin', 'award received', 'Hero of Socialist Labour'] ['Fyodor Koshkin', 'award received', 'Order of the October Revolution']
ASK WHERE { VALUES ( ?p ) { ( resource:Order_of_Lenin ) ( resource:Hero_of_Socialist_Labour ) ( resource:Order_of_the_October_Revolution ) } . resource:Fyodor_Koshkin property:award_received ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q87533 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Klaus von Bismarck ?
(Q87533,P27,Q183)
action is_in
entity Q183
action find
entity Q87533
relation P27
['Q87533', 'P27', 'Q183']
ASK WHERE { resource:Q87533 property:P27 resource:Q183 }
Klaus von Bismarck Germany
action is_in
entity Germany
action find
entity Klaus von Bismarck
relation country of citizenship
['Klaus von Bismarck', 'country of citizenship', 'Germany']
ASK WHERE { resource:Klaus_von_Bismarck property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q87533,P27,Q183)
action is_in
entity Q183
action find
entity Q87533
relation P27
[ANSWER]
['Q87533', 'P27', 'Q183']
ASK WHERE { resource:Q87533 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Klaus von Bismarck
relation country of citizenship
['Klaus von Bismarck', 'country of citizenship', 'Germany']
ASK WHERE { resource:Klaus_von_Bismarck property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q836115 Q4293572
P184 P161
Q502895
USER
Which people were the doctoral advisors of Mikhail Millionshikov or starred in Lacombe ?
OR((Q4293572,P184,c(Q502895)), (Q836115,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4293572
relation P184
action find
entity Q836115
relation P161
type Q502895
{'OR': [['Q4293572', 'P184', {'concept': 'Q502895'}], ['Q836115', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q4293572 property:P184 ?q } UNION { resource:Q836115 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
Lacombe Mikhail Millionshikov
action filter_type
action union
action find
entity Mikhail Millionshikov
relation doctoral advisor
action find
entity Lacombe
relation cast member
type common name
{'OR': [['Mikhail Millionshikov', 'doctoral advisor', {'concept': 'common name'}], ['Lacombe', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Mikhail_Millionshikov property:doctoral_advisor ?q } UNION { resource:Lacombe property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q3425909 Q3501631 Q3139319 Q136221 Q727031 Q3170944 Q3174435 Q69638 Q153224 Q696347
SYSTEM
Some of them are René Bouloc, Stéphane Bouy, Holger Löwenadler, Aurore Clément, Pierre Blaise, Jean Bousquet, Jean Rougerie, Therese Giehse, Andrey Kolmogorov, Ave Ninchi
Q3157806 Q3170944 Q3501631 Q3174435 Q136221 Q153224 Q69638 Q727031 Q3384660 Q3139319 Q696347 Q3425909
OR((Q4293572,P184,c(Q502895)), (Q836115,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4293572
relation P184
action find
entity Q836115
relation P161
type Q502895
[ANSWERS] were the doctoral advisors of Mikhail Millionshikov or starred in Lacombe
{'OR': [['Q4293572', 'P184', {'concept': 'Q502895'}], ['Q836115', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q4293572 property:P184 ?q } UNION { resource:Q836115 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
Jacqueline Staup Jean Bousquet Stéphane Bouy Jean Rougerie Aurore Clément Andrey Kolmogorov Therese Giehse Pierre Blaise Pierre Decazes Holger Löwenadler Ave Ninchi René Bouloc
René Bouloc, Stéphane Bouy, Holger Löwenadler, Aurore Clément, Pierre Blaise, Jean Bousquet, Jean Rougerie, Therese Giehse, Andrey Kolmogorov and Ave Ninchi were the doctoral advisors of Mikhail Millionshikov or starred in Lacombe
René Bouloc Stéphane Bouy Holger Löwenadler Aurore Clément Pierre Blaise Jean Bousquet Jean Rougerie Therese Giehse Andrey Kolmogorov Ave Ninchi
action filter_type
action union
action find
entity Mikhail Millionshikov
relation doctoral advisor
action find
entity Lacombe
relation cast member
type common name
{'OR': [['Mikhail Millionshikov', 'doctoral advisor', {'concept': 'common name'}], ['Lacombe', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Mikhail_Millionshikov property:doctoral_advisor ?q } UNION { resource:Lacombe property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q153224
P184
Q502895
USER
How many people have Andrey Kolmogorov as advisor for his/her doctoral work ?
(c(Q502895),P184,Q153224)
action count
action filter_type
action find_reverse
entity Q153224
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q153224']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P184 resource:Q153224 . ?g rdf:type ontology:Q502895 }
Andrey Kolmogorov
action count
action filter_type
action find_reverse
entity Andrey Kolmogorov
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Andrey Kolmogorov']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:doctoral_advisor resource:Andrey_Kolmogorov . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
28
Q34458 Q4079811 Q4330048 Q4138947 Q419464 Q1418239 Q2156320 Q958015 Q950897 Q4226696 Q4224103 Q3294206 Q951438 Q4293572 Q4301752 Q157642 Q2450566 Q1100660 Q2067227 Q487778 Q1356831 Q315414 Q487735 Q2585814 Q92966 Q951222 Q16062135 Q381357
(c(Q502895),P184,Q153224)
action count
action filter_type
action find_reverse
entity Q153224
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q153224']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P184 resource:Q153224 . ?g rdf:type ontology:Q502895 }
Sergey Nikolsky Nikolai Bakhvalov Alexander Obukhov Igor Girsanov Akiva Yaglom Vladimir Tikhomirov Robert Adol'fovich Minlos Vladimir Uspensky Yakov Sinay Valery Kozlov Boris Kloss Mark Pinsker Sergei Fomin Mikhail Millionshikov Andrei Monin Vladimir Arnold Yury Prokhorov Yuri Petrovich Ofman Per Martin-Löf Anatoly Maltsev Eugene Dynkin Israel Gelfand Anatoli Georgievich Vitushkin Grigory Barenblatt Leonid Levin Albert Shiryaev Sergei N. Artemov Roland Dobrushin
28
action count
action filter_type
action find_reverse
entity Andrey Kolmogorov
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Andrey Kolmogorov']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:doctoral_advisor resource:Andrey_Kolmogorov . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6837088
P184
Q502895
USER
And how about Abul Lais Siddiqui?
(c(Q502895),P184,Q6837088)
action count
action filter_type
action find_reverse
entity Q6837088
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q6837088']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P184 resource:Q6837088 }
Abul Lais Siddiqui
action count
action filter_type
action find_reverse
entity Abul Lais Siddiqui
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Abul Lais Siddiqui']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ontology:common_name . ?x property:doctoral_advisor resource:Abul_Lais_Siddiqui }
[]
common name
SYSTEM
3
Q5435655 Q4670598 Q6894663
(c(Q502895),P184,Q6837088)
action count
action filter_type
action find_reverse
entity Q6837088
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q6837088']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P184 resource:Q6837088 }
Farman Fatehpuri Abul Khair Kashfi Moinuddin Aqeel
3
action count
action filter_type
action find_reverse
entity Abul Lais Siddiqui
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Abul Lais Siddiqui']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ontology:common_name . ?x property:doctoral_advisor resource:Abul_Lais_Siddiqui }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 3726 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3726
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?j rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?j } GROUP BY ?j } . FILTER ( ?r >= 3726 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3726
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?j rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?j } GROUP BY ?j } . FILTER ( ?r >= 3726 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3726
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?j rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?j } GROUP BY ?j } . FILTER ( ?r >= 3726 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3726
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?j rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?j } GROUP BY ?j } . FILTER ( ?r >= 3726 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 3361 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3361
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?m = 3361 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?q rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?q } GROUP BY ?q } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3361
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?m = 3361 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?q rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?q } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3361
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?m = 3361 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?q rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?q } GROUP BY ?q } }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3361
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?m = 3361 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?q rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?q } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 2680 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2680
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?l >= 2680 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P1303 ?x . ?b rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2680
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?l >= 2680 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:instrument ?x . ?b rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2680
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?l >= 2680 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P1303 ?x . ?b rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2680
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?l >= 2680 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:instrument ?x . ?b rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153224
P512
Q3412758
USER
What is the name of the degree held by Andrey Kolmogorov ?
(Q153224,P512,c(Q3412758))
action filter_type
action find
entity Q153224
relation P512
type Q3412758
['Q153224', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?r WHERE { resource:Q153224 property:P512 ?r . ?r rdf:type ontology:Q3412758 }
Andrey Kolmogorov
action filter_type
action find
entity Andrey Kolmogorov
relation academic degree
type qualification
['Andrey Kolmogorov', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?r WHERE { resource:Andrey_Kolmogorov property:academic_degree ?r . ?r rdf:type ontology:qualification }
[]
qualification
Q17281097
SYSTEM
Doktor Nauk in Physics and Mathematics
Q17281097
(Q153224,P512,c(Q3412758))
action filter_type
action find
entity Q153224
relation P512
type Q3412758
The name of the degree held by Andrey Kolmogorov is the [ANSWER]
['Q153224', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?r WHERE { resource:Q153224 property:P512 ?r . ?r rdf:type ontology:Q3412758 }
Doktor Nauk in Physics and Mathematics
The name of the degree held by Andrey Kolmogorov is the Doktor Nauk in Physics and Mathematics
Doktor Nauk in Physics and Mathematics
action filter_type
action find
entity Andrey Kolmogorov
relation academic degree
type qualification
['Andrey Kolmogorov', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?r WHERE { resource:Andrey_Kolmogorov property:academic_degree ?r . ?r rdf:type ontology:qualification }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q124659 Q153224
P512
Q3412758
USER
Or Arnold Hottinger?
OR((Q153224,P512,c(Q3412758)), (Q124659,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q153224
relation P512
action find
entity Q124659
relation P512
type Q3412758
{'OR': [['Q153224', 'P512', {'concept': 'Q3412758'}], ['Q124659', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q153224 property:P512 ?u } UNION { resource:Q124659 property:P512 ?u } } . ?u rdf:type ontology:Q3412758 }
Arnold Hottinger Andrey Kolmogorov
action filter_type
action union
action find
entity Andrey Kolmogorov
relation academic degree
action find
entity Arnold Hottinger
relation academic degree
type qualification
{'OR': [['Andrey Kolmogorov', 'academic degree', {'concept': 'qualification'}], ['Arnold Hottinger', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Andrey_Kolmogorov property:academic_degree ?u } UNION { resource:Arnold_Hottinger property:academic_degree ?u } } . ?u rdf:type ontology:qualification }
[]
qualification
Q17281097 Q849697
SYSTEM
Doktor Nauk in Physics and Mathematics, doctoral degree
Q17281097 Q849697
OR((Q153224,P512,c(Q3412758)), (Q124659,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q153224
relation P512
action find
entity Q124659
relation P512
type Q3412758
[ANSWERS]
{'OR': [['Q153224', 'P512', {'concept': 'Q3412758'}], ['Q124659', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q153224 property:P512 ?u } UNION { resource:Q124659 property:P512 ?u } } . ?u rdf:type ontology:Q3412758 }
Doktor Nauk in Physics and Mathematics doctoral degree
Doktor Nauk in Physics and Mathematics doctoral degree
action filter_type
action union
action find
entity Andrey Kolmogorov
relation academic degree
action find
entity Arnold Hottinger
relation academic degree
type qualification
{'OR': [['Andrey Kolmogorov', 'academic degree', {'concept': 'qualification'}], ['Arnold Hottinger', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Andrey_Kolmogorov property:academic_degree ?u } UNION { resource:Arnold_Hottinger property:academic_degree ?u } } . ?u rdf:type ontology:qualification }
[]