Simple Question (Direct)
Simple Question
Q1385486
P106
Q12737077
USER
Which occupations are the professions of Robion Kirby ?
(Q1385486,P106,c(Q12737077))
action filter_type
action find
entity Q1385486
relation P106
type Q12737077
['Q1385486', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1385486 property:P106 ?b }
Robion Kirby
action filter_type
action find
entity Robion Kirby
relation occupation
type occupation
['Robion Kirby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Robion_Kirby property:occupation ?b }
[]
occupation
Q170790 Q18663426 Q1622272
SYSTEM
mathematician, topologist, university teacher
Q170790 Q18663426 Q1622272
(Q1385486,P106,c(Q12737077))
action filter_type
action find
entity Q1385486
relation P106
type Q12737077
[ANSWERS]
['Q1385486', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1385486 property:P106 ?b }
mathematician topologist university teacher
mathematician topologist university teacher
action filter_type
action find
entity Robion Kirby
relation occupation
type occupation
['Robion Kirby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Robion_Kirby property:occupation ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170790
P39
Q502895
USER
Who was responsible for occupying the position of mathematician ?
(c(Q502895),P39,Q170790)
action filter_type
action find_reverse
entity Q170790
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q170790']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q170790 . ?x rdf:type ontology:Q502895 }
mathematician
action filter_type
action find_reverse
entity mathematician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'mathematician']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:mathematician . ?x rdf:type ontology:common_name }
[]
common name
Q27517882
SYSTEM
Colette Guillopé
Q27517882
(c(Q502895),P39,Q170790)
action filter_type
action find_reverse
entity Q170790
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q170790']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q170790 . ?x rdf:type ontology:Q502895 }
Colette Guillopé
Colette Guillopé
action filter_type
action find_reverse
entity mathematician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'mathematician']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:mathematician . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1385486
P184
Q502895
USER
Who have Robion Kirby as advisor for his/her doctoral work ?
(c(Q502895),P184,Q1385486)
action filter_type
action find_reverse
entity Q1385486
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q1385486']
SELECT DISTINCT ?v WHERE { ?v property:P184 resource:Q1385486 . ?v rdf:type ontology:Q502895 }
Robion Kirby
action filter_type
action find_reverse
entity Robion Kirby
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Robion Kirby']
SELECT DISTINCT ?v WHERE { ?v property:doctoral_advisor resource:Robion_Kirby . ?v rdf:type ontology:common_name }
[]
common name
Q21033474 Q18655751
SYSTEM
Stephen John Bigelow, Tim Cochran
Q21033474 Q18655751
(c(Q502895),P184,Q1385486)
action filter_type
action find_reverse
entity Q1385486
relation P184
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P184', 'Q1385486']
SELECT DISTINCT ?v WHERE { ?v property:P184 resource:Q1385486 . ?v rdf:type ontology:Q502895 }
Stephen John Bigelow Tim Cochran
Stephen John Bigelow Tim Cochran
action filter_type
action find_reverse
entity Robion Kirby
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Robion Kirby']
SELECT DISTINCT ?v WHERE { ?v property:doctoral_advisor resource:Robion_Kirby . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21033474 Q18655751
P106
Q12737077
USER
Which occupations are the professions of Stephen John Bigelow and Tim Cochran ?
(Q21033474,P106,c(Q12737077)) (Q18655751,P106,c(Q12737077))
action union
action filter_type
action find
entity Q21033474
relation P106
type Q12737077
action filter_type
action find
entity Q18655751
relation P106
type Q12737077
['Q21033474', 'P106', {'concept': 'Q12737077'}] ['Q18655751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q12737077 . resource:Q21033474 property:P106 ?n } UNION { resource:Q18655751 property:P106 ?n . ?n rdf:type ontology:Q12737077 } }
Stephen John Bigelow Tim Cochran
action union
action filter_type
action find
entity Stephen John Bigelow
relation occupation
type occupation
action filter_type
action find
entity Tim Cochran
relation occupation
type occupation
['Stephen John Bigelow', 'occupation', {'concept': 'occupation'}] ['Tim Cochran', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:occupation . resource:Stephen_John_Bigelow property:occupation ?n } UNION { resource:Tim_Cochran property:occupation ?n . ?n rdf:type ontology:occupation } }
[]
occupation
Q1622272 Q170790 Q170790
SYSTEM
university teacher for 1st, mathematician for 2nd, 3rd
Q1622272 Q170790 Q170790
(Q21033474,P106,c(Q12737077)) (Q18655751,P106,c(Q12737077))
action union
action filter_type
action find
entity Q21033474
relation P106
type Q12737077
action filter_type
action find
entity Q18655751
relation P106
type Q12737077
[ANSWERS]
['Q21033474', 'P106', {'concept': 'Q12737077'}] ['Q18655751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q12737077 . resource:Q21033474 property:P106 ?n } UNION { resource:Q18655751 property:P106 ?n . ?n rdf:type ontology:Q12737077 } }
university teacher mathematician mathematician
university teacher mathematician mathematician
action union
action filter_type
action find
entity Stephen John Bigelow
relation occupation
type occupation
action filter_type
action find
entity Tim Cochran
relation occupation
type occupation
['Stephen John Bigelow', 'occupation', {'concept': 'occupation'}] ['Tim Cochran', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:occupation . resource:Stephen_John_Bigelow property:occupation ?n } UNION { resource:Tim_Cochran property:occupation ?n . ?n rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27517882
P166
Q618779
USER
Which award was received by Colette Guillopé ?
(Q27517882,P166,c(Q618779))
action filter_type
action find
entity Q27517882
relation P166
type Q618779
['Q27517882', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q27517882 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Colette Guillopé
action filter_type
action find
entity Colette Guillopé
relation award received
type award
['Colette Guillopé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Colette_Guillopé property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q10855195
SYSTEM
Officer of the Legion of Honour
Q10855195
(Q27517882,P166,c(Q618779))
action filter_type
action find
entity Q27517882
relation P166
type Q618779
[ANSWER]
['Q27517882', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q27517882 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Officer of the Legion of Honour
Officer of the Legion of Honour
action filter_type
action find
entity Colette Guillopé
relation award received
type award
['Colette Guillopé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Colette_Guillopé property:award_received ?f . ?f rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27517882 Q636101
P108
Q3918
USER
How many universities are the employers of Colette Guillopé or Masakatsu Shibasaki ?
(Q27517882,P108,c(Q3918)) (Q636101,P108,c(Q3918))
action count
action union
action filter_type
action find
entity Q27517882
relation P108
type Q3918
action filter_type
action find
entity Q636101
relation P108
type Q3918
['Q27517882', 'P108', {'concept': 'Q3918'}] ['Q636101', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { VALUES ( ?s ) { ( resource:Q27517882 ) ( resource:Q636101 ) } . ?s property:P108 ?e }
Colette Guillopé Masakatsu Shibasaki
action count
action union
action filter_type
action find
entity Colette Guillopé
relation employer
type university
action filter_type
action find
entity Masakatsu Shibasaki
relation employer
type university
['Colette Guillopé', 'employer', {'concept': 'university'}] ['Masakatsu Shibasaki', 'employer', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { VALUES ( ?s ) { ( resource:Colette_Guillopé ) ( resource:Masakatsu_Shibasaki ) } . ?s property:employer ?e }
[]
university
SYSTEM
2
Q1057199 Q7842
(Q27517882,P108,c(Q3918)) (Q636101,P108,c(Q3918))
action count
action union
action filter_type
action find
entity Q27517882
relation P108
type Q3918
action filter_type
action find
entity Q636101
relation P108
type Q3918
[ANSWER]
['Q27517882', 'P108', {'concept': 'Q3918'}] ['Q636101', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { VALUES ( ?s ) { ( resource:Q27517882 ) ( resource:Q636101 ) } . ?s property:P108 ?e }
Hokkaido University University of Tokyo
2
action count
action union
action filter_type
action find
entity Colette Guillopé
relation employer
type university
action filter_type
action find
entity Masakatsu Shibasaki
relation employer
type university
['Colette Guillopé', 'employer', {'concept': 'university'}] ['Masakatsu Shibasaki', 'employer', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { VALUES ( ?s ) { ( resource:Colette_Guillopé ) ( resource:Masakatsu_Shibasaki ) } . ?s property:employer ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27517882
P21
Q290
USER
Which sex does Colette Guillopé belong to ?
action filter_type
action find
entity Q27517882
relation P21
type Q290
SELECT DISTINCT ?q WHERE { resource:Q27517882 property:P21 ?q . ?q rdf:type ontology:Q290 }
Colette Guillopé
action filter_type
action find
entity Colette Guillopé
relation gender
type sex
SELECT DISTINCT ?q WHERE { resource:Colette_Guillopé property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q27517882
relation P21
type Q290
[ANSWER]
SELECT DISTINCT ?q WHERE { resource:Q27517882 property:P21 ?q . ?q rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Colette Guillopé
relation gender
type sex
SELECT DISTINCT ?q WHERE { resource:Colette_Guillopé property:gender ?q . ?q rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q26261198
P21
Q502895
USER
Is Susann Bjørnsen a that sex ?
(Q26261198,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q26261198
relation P21
['Q26261198', 'P21', 'Q6581072']
ASK WHERE { resource:Q26261198 property:P21 resource:Q6581072 }
female Susann Bjørnsen
action is_in
entity female
action find
entity Susann Bjørnsen
relation gender
['Susann Bjørnsen', 'gender', 'female']
ASK WHERE { resource:Susann_Bjørnsen property:gender resource:female }
[]
common name
SYSTEM
YES
(Q26261198,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q26261198
relation P21
[ANSWER]
['Q26261198', 'P21', 'Q6581072']
ASK WHERE { resource:Q26261198 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Susann Bjørnsen
relation gender
['Susann Bjørnsen', 'gender', 'female']
ASK WHERE { resource:Susann_Bjørnsen property:gender resource:female }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q470334 Q27517882
P39 P106
Q12737077
USER
Which occupations were the positions for which Colette Guillopé were appointed or have Euclides da Cunha as his/her as a career ?
OR((Q27517882,P39,c(Q12737077)), (Q470334,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q27517882
relation P39
action find
entity Q470334
relation P106
type Q12737077
{'OR': [['Q27517882', 'P39', {'concept': 'Q12737077'}], ['Q470334', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q470334 property:P106 ?c } UNION { resource:Q27517882 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
Euclides da Cunha Colette Guillopé
action filter_type
action union
action find
entity Colette Guillopé
relation position held
action find
entity Euclides da Cunha
relation occupation
type occupation
{'OR': [['Colette Guillopé', 'position held', {'concept': 'occupation'}], ['Euclides da Cunha', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Euclides_da_Cunha property:occupation ?c } UNION { resource:Colette_Guillopé property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
occupation
Q6625963 Q1622272 Q47064 Q1930187 Q2306091 Q36180 Q81096 Q170790 Q49757
SYSTEM
novelist, university teacher, military personnel, journalist, sociologist, writer, engineer, mathematician, poet
Q6625963 Q1622272 Q47064 Q1930187 Q2306091 Q36180 Q81096 Q170790 Q49757
OR((Q27517882,P39,c(Q12737077)), (Q470334,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q27517882
relation P39
action find
entity Q470334
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q27517882', 'P39', {'concept': 'Q12737077'}], ['Q470334', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q470334 property:P106 ?c } UNION { resource:Q27517882 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
novelist university teacher military personnel journalist sociologist writer engineer mathematician poet
novelist university teacher military personnel journalist sociologist writer engineer mathematician poet
action filter_type
action union
action find
entity Colette Guillopé
relation position held
action find
entity Euclides da Cunha
relation occupation
type occupation
{'OR': [['Colette Guillopé', 'position held', {'concept': 'occupation'}], ['Euclides da Cunha', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Euclides_da_Cunha property:occupation ?c } UNION { resource:Colette_Guillopé property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q838948
USER
Which occupations were atleast 26 publications or works of art mainly about ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 26
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P921 ?y . ?a rdf:type ontology:Q732577 . ?y rdf:type ontology:Q12737077 } UNION { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?f >= 26 ) }
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 26
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:main_subject ?y . ?a rdf:type ontology:publication . ?y rdf:type ontology:occupation } UNION { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?f >= 26 ) }
[]
occupation publication work of art
Q33999 Q9402 Q33231
SYSTEM
actor, ninja, photographer
Q33999 Q9402 Q33231
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 26
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P921 ?y . ?a rdf:type ontology:Q732577 . ?y rdf:type ontology:Q12737077 } UNION { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?f >= 26 ) }
actor ninja photographer
actor ninja photographer
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 26
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:main_subject ?y . ?a rdf:type ontology:publication . ?y rdf:type ontology:occupation } UNION { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?f >= 26 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q289420 Q1930187
P106 P425
Q12737077
USER
What have journalist as the associated fields of occupation or are the professions of James Cutler Dunn Parker ?
OR((Q1930187,P425,c(Q12737077)), (Q289420,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1930187
relation P425
action find
entity Q289420
relation P106
type Q12737077
{'OR': [['Q1930187', 'P425', {'concept': 'Q12737077'}], ['Q289420', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . { { resource:Q1930187 property:P425 ?y } UNION { resource:Q289420 property:P106 ?y } } }
James Cutler Dunn Parker journalist
action filter_type
action union
action find
entity journalist
relation field of this occupation
action find
entity James Cutler Dunn Parker
relation occupation
type occupation
{'OR': [['journalist', 'field of this occupation', {'concept': 'occupation'}], ['James Cutler Dunn Parker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . { { resource:journalist property:field_of_this_occupation ?y } UNION { resource:James_Cutler_Dunn_Parker property:occupation ?y } } }
[]
occupation
Q36834 Q16145150 Q36180 Q486748
SYSTEM
composer, music educator, writer, pianist
Q36834 Q16145150 Q36180 Q486748
OR((Q1930187,P425,c(Q12737077)), (Q289420,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1930187
relation P425
action find
entity Q289420
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q1930187', 'P425', {'concept': 'Q12737077'}], ['Q289420', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . { { resource:Q1930187 property:P425 ?y } UNION { resource:Q289420 property:P106 ?y } } }
composer music educator writer pianist
composer music educator writer pianist
action filter_type
action union
action find
entity journalist
relation field of this occupation
action find
entity James Cutler Dunn Parker
relation occupation
type occupation
{'OR': [['journalist', 'field of this occupation', {'concept': 'occupation'}], ['James Cutler Dunn Parker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . { { resource:journalist property:field_of_this_occupation ?y } UNION { resource:James_Cutler_Dunn_Parker property:occupation ?y } } }
[]