Simple Question (Direct)
Simple Question
Q2572518
P734
Q82799
USER
Which name is associated with Lincoln Thompson ?
(Q2572518,P734,c(Q82799))
action filter_type
action find
entity Q2572518
relation P734
type Q82799
['Q2572518', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q2572518 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Lincoln Thompson
action filter_type
action find
entity Lincoln Thompson
relation family name
type name
['Lincoln Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Lincoln_Thompson property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q2803433
SYSTEM
Thompson
Q2803433
(Q2572518,P734,c(Q82799))
action filter_type
action find
entity Q2572518
relation P734
type Q82799
[ANSWER] is associated with Lincoln [ANSWER]
['Q2572518', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q2572518 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Thompson
Thompson is associated with Lincoln Thompson
Thompson
action filter_type
action find
entity Lincoln Thompson
relation family name
type name
['Lincoln Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Lincoln_Thompson property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2572518
P106
Q12737077
USER
What do that person do for a living ?
(Q2803433,P106,c(Q12737077))
action filter_type
action find
entity Q2572518
relation P106
type Q12737077
['Q2803433', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q2572518 property:P106 ?z }
Lincoln Thompson
action filter_type
action find
entity Lincoln Thompson
relation occupation
type occupation
['Thompson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Lincoln_Thompson property:occupation ?z }
[]
occupation
Q639669 Q36834 Q177220
SYSTEM
musician, composer, singer
Q639669 Q36834 Q177220
(Q2803433,P106,c(Q12737077))
action filter_type
action find
entity Q2572518
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q2803433', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q2572518 property:P106 ?z }
musician composer singer
Musician, composer and singer that person do for a living
musician composer singer
action filter_type
action find
entity Lincoln Thompson
relation occupation
type occupation
['Thompson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Lincoln_Thompson property:occupation ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3972709 Q2572518
P106
Q12737077
USER
Or Stefano Santospago?
OR((Q2572518,P106,c(Q12737077)), (Q3972709,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2572518
relation P106
action find
entity Q3972709
relation P106
type Q12737077
{'OR': [['Q2572518', 'P106', {'concept': 'Q12737077'}], ['Q3972709', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { ?u property:P106 ?h . VALUES ( ?u ) { ( resource:Q2572518 ) ( resource:Q3972709 ) } } }
Stefano Santospago Lincoln Thompson
action filter_type
action union
action find
entity Lincoln Thompson
relation occupation
action find
entity Stefano Santospago
relation occupation
type occupation
{'OR': [['Lincoln Thompson', 'occupation', {'concept': 'occupation'}], ['Stefano Santospago', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { ?u property:occupation ?h . VALUES ( ?u ) { ( resource:Lincoln_Thompson ) ( resource:Stefano_Santospago ) } } }
[]
occupation
Q639669 Q33999 Q36834 Q177220
SYSTEM
musician, actor, composer, singer
Q639669 Q33999 Q36834 Q177220
OR((Q2572518,P106,c(Q12737077)), (Q3972709,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2572518
relation P106
action find
entity Q3972709
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2572518', 'P106', {'concept': 'Q12737077'}], ['Q3972709', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { ?u property:P106 ?h . VALUES ( ?u ) { ( resource:Q2572518 ) ( resource:Q3972709 ) } } }
musician actor composer singer
musician actor composer singer
action filter_type
action union
action find
entity Lincoln Thompson
relation occupation
action find
entity Stefano Santospago
relation occupation
type occupation
{'OR': [['Lincoln Thompson', 'occupation', {'concept': 'occupation'}], ['Stefano Santospago', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { ?u property:occupation ?h . VALUES ( ?u ) { ( resource:Lincoln_Thompson ) ( resource:Stefano_Santospago ) } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q639669 Q33999 Q36834 Q177220
P101
Q502895
USER
Which people work in the domain of musician, actor, composer and singer ?
(c(Q502895),P101,Q639669) (c(Q502895),P101,Q33999) (c(Q502895),P101,Q36834) (c(Q502895),P101,Q177220)
action union
action filter_type
action find_reverse
entity Q639669
relation P101
type Q502895
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q639669'] [{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q36834'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?t WHERE { ?t property:P101 ?g . VALUES ( ?g ) { ( resource:Q639669 ) ( resource:Q33999 ) } }
musician actor composer singer
action union
action filter_type
action find_reverse
entity musician
relation field of work
type common name
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity composer
relation field of work
type common name
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musician'] [{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'composer'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?t WHERE { ?t property:field_of_work ?g . VALUES ( ?g ) { ( resource:musician ) ( resource:actor ) } }
[]
common name
Q738505 Q5957599 Q5957599
SYSTEM
Renan Luce for 1st, Hamid Jebelli for 2nd, 3rd
Q961575 Q554775 Q20893924 Q5957599 Q3140773 Q554775 Q18171888 Q738505 Q5957599 Q910761 Q6024866
(c(Q502895),P101,Q639669) (c(Q502895),P101,Q33999) (c(Q502895),P101,Q36834) (c(Q502895),P101,Q177220)
action union
action filter_type
action find_reverse
entity Q639669
relation P101
type Q502895
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q639669'] [{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q36834'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?t WHERE { ?t property:P101 ?g . VALUES ( ?g ) { ( resource:Q639669 ) ( resource:Q33999 ) } }
Johan Agrell Frans Bak Natalia Strelchenko Hamid Jebelli Rikako Aikawa Frans Bak Kim André Arnesen Renan Luce Hamid Jebelli Mac Davis Indila
Renan Luce, Hamid Jebelli and Hamid Jebelli work in the domain of musician, actor, composer and singer
Renan Luce Hamid Jebelli Hamid Jebelli
action union
action filter_type
action find_reverse
entity musician
relation field of work
type common name
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity composer
relation field of work
type common name
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musician'] [{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'composer'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?t WHERE { ?t property:field_of_work ?g . VALUES ( ?g ) { ( resource:musician ) ( resource:actor ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q738505
P264
Q334453
USER
Who sponsored the recoding of that person ?
(Q738505,P264,c(Q334453))
action filter_type
action find
entity Q738505
relation P264
type Q334453
['Q738505', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q738505 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Renan Luce
action filter_type
action find
entity Renan Luce
relation record label
type division
['Renan Luce', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Renan_Luce property:record_label ?a . ?a rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q738505
SYSTEM
Did you mean Renan Luce ?
Q738505 Q5957599 Q5957599
(Q738505,P264,c(Q334453)) (Q5957599,P264,c(Q334453)) (Q5957599,P264,c(Q334453))
[ANSWER]
['Q738505', 'P264', {'concept': 'Q334453'}] ['Q5957599', 'P264', {'concept': 'Q334453'}] ['Q5957599', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q738505 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Renan Luce Hamid Jebelli Hamid Jebelli
Did you mean Renan Luce ?
Renan Luce
['Renan Luce', 'record label', {'concept': 'division'}] ['Hamid Jebelli', 'record label', {'concept': 'division'}] ['Hamid Jebelli', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Renan_Luce property:record_label ?a . ?a rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q738505,P264,c(Q334453))
['Q738505', 'P264', {'concept': 'Q334453'}]
['Renan Luce', 'record label', {'concept': 'division'}]
[]
Q2535085
SYSTEM
Barclay Records
Q2535085
(Q738505,P264,c(Q334453))
action filter_type
action find
entity Q738505
relation P264
type Q334453
[ANSWER] sponsored the recoding of that person
['Q738505', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q738505 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Barclay Records
Barclay Records sponsored the recoding of that person
Barclay Records
action filter_type
action find
entity Renan Luce
relation record label
type division
['Renan Luce', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Renan_Luce property:record_label ?a . ?a rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2535085
P264
Q502895
USER
Which people have been sponsored by that division for their recording ?
(c(Q502895),P264,Q2535085)
action filter_type
action find_reverse
entity Q2535085
relation P264
type Q502895
[{'concept': 'Q502895'}, 'P264', 'Q2535085']
SELECT DISTINCT ?w WHERE { ?w property:P264 resource:Q2535085 . ?w rdf:type ontology:Q502895 }
Barclay Records
action filter_type
action find_reverse
entity Barclay Records
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Barclay Records']
SELECT DISTINCT ?w WHERE { ?w property:record_label resource:Barclay_Records . ?w rdf:type ontology:common_name }
[]
common name
Q320146 Q51023 Q1666
SYSTEM
Léo Ferré, Vanessa Paradis, Jacques Brel
Q545516 Q1429441 Q3288290 Q1373824 Q263170 Q471774 Q3015027 Q895105 Q3367474 Q729067 Q593611 Q822558 Q380045 Q358513 Q448781 Q2093776 Q3047356 Q10679 Q16916427 Q3061205 Q3063804 Q1666 Q3169283 Q440212 Q320146 Q3416123 Q116020 Q2856426 Q19410234 Q3437418 Q3479525 Q51023 Q3350127 Q2092933 Q511219 Q3160023 Q15944790 Q738505 Q130139 Q22137029 Q20241060 Q554557 Q3122950 Q3502125
(c(Q502895),P264,Q2535085)
action filter_type
action find_reverse
entity Q2535085
relation P264
type Q502895
[ANSWERS] have been sponsored by that division for their recording
[{'concept': 'Q502895'}, 'P264', 'Q2535085']
SELECT DISTINCT ?w WHERE { ?w property:P264 resource:Q2535085 . ?w rdf:type ontology:Q502895 }
Bertrand Cantat Florent Marchet Marc Ollivier Pierre Bachelet Tiken Jah Fakoly Ismaël Lô Danielle Licari Boulou Ferré Pascal Krug Jackson and his Computer Band Eddie Barclay Bernard Lavilliers Alain Bashung Michel Sardou Wally Badarou Pierre Perret Eddy Mitchell Denez Prigent Mark Daumail Eva Fabrice Aboulker Jacques Brel Jean-Pierre Ferland Marjorie Noël Léo Ferré Rachel des Bois Patrick Juvet Michel Bernholc Gradur Rocca Serge Sala Vanessa Paradis Ol Kainry Pierpoljak Martine Clémenceau Jacques Souplet Stéphane Kubiak Renan Luce Glenmor Morgane Imbeaud Paulette Rollin Jali Gélou Stéphane Venne
Léo Ferré, Vanessa Paradis and Jacques Brel have been sponsored by that division for their recording
Léo Ferré Vanessa Paradis Jacques Brel
action filter_type
action find_reverse
entity Barclay Records
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Barclay Records']
SELECT DISTINCT ?w WHERE { ?w property:record_label resource:Barclay_Records . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q33231
P921
Q12737077 Q732577 Q838948
USER
How many occupations were discussed in more number of publications or works of art than photographer ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q33231
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q732577 } } . ?u property:P921 resource:Q33231 } } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P921 ?t . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q732577 } UNION { ?m property:P921 ?t . ?m rdf:type ontology:Q838948 . ?t rdf:type ontology:Q12737077 } } GROUP BY ?t } }
photographer
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity photographer
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:publication } } . ?u property:main_subject resource:photographer } } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:main_subject ?t . ?t rdf:type ontology:occupation . ?m rdf:type ontology:publication } UNION { ?m property:main_subject ?t . ?m rdf:type ontology:work_of_art . ?t rdf:type ontology:occupation } } GROUP BY ?t } }
[]
occupation publication work of art
SYSTEM
2
Q33999 Q9402
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q33231
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q732577 } } . ?u property:P921 resource:Q33231 } } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P921 ?t . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q732577 } UNION { ?m property:P921 ?t . ?m rdf:type ontology:Q838948 . ?t rdf:type ontology:Q12737077 } } GROUP BY ?t } }
actor ninja
2
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity photographer
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:publication } } . ?u property:main_subject resource:photographer } } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:main_subject ?t . ?t rdf:type ontology:occupation . ?m rdf:type ontology:publication } UNION { ?m property:main_subject ?t . ?m rdf:type ontology:work_of_art . ?t rdf:type ontology:occupation } } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6337803
P921
Q12737077 Q732577 Q838948
USER
And what about neuroscientist?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q6337803
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P921 resource:Q6337803 . { { ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q838948 } } } } . FILTER ( ?o > ?z ) }
neuroscientist
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity neuroscientist
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:main_subject resource:neuroscientist . { { ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work_of_art } } } } . FILTER ( ?o > ?z ) }
[]
occupation publication work of art
SYSTEM
25
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q3809586 Q7358 Q2094335 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q15320003 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q6337803
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P921 resource:Q6337803 . { { ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q838948 } } } } . FILTER ( ?o > ?z ) }
industrialist business magnate physician lumberjack astronaut actor writer Wikipedian in Residence clown United States Attorney journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student migrant worker elementary school student comedian photographer aviator rag-and-bone man middle school student
25
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity neuroscientist
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:main_subject resource:neuroscientist . { { ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work_of_art } } } } . FILTER ( ?o > ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q20757242 Q6337803
P425 P921
Q1047113
USER
Which special fields have neuroscientist as thier associated field of occupation and were Tankens anatomi mainly about ?
AND((Q6337803,P425,c(Q1047113)), (Q20757242,P921,c(Q1047113)))
action filter_type
action intersection
action find
entity Q6337803
relation P425
action find
entity Q20757242
relation P921
type Q1047113
{'AND': [['Q6337803', 'P425', {'concept': 'Q1047113'}], ['Q20757242', 'P921', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?m WHERE { resource:Q6337803 property:P425 ?m . resource:Q20757242 property:P921 ?m . ?m rdf:type ontology:Q1047113 }
Tankens anatomi neuroscientist
action filter_type
action intersection
action find
entity neuroscientist
relation field of this occupation
action find
entity Tankens anatomi
relation main subject
type special field
{'AND': [['neuroscientist', 'field of this occupation', {'concept': 'special field'}], ['Tankens anatomi', 'main subject', {'concept': 'special field'}]]}
SELECT DISTINCT ?m WHERE { resource:neuroscientist property:field_of_this_occupation ?m . resource:Tankens_anatomi property:main_subject ?m . ?m rdf:type ontology:special_field }
[]
special field
Q207011
SYSTEM
neuroscience
Q207011
AND((Q6337803,P425,c(Q1047113)), (Q20757242,P921,c(Q1047113)))
action filter_type
action intersection
action find
entity Q6337803
relation P425
action find
entity Q20757242
relation P921
type Q1047113
[ANSWER] have neuroscientist as thier associated field of occupation and were Tankens anatomi mainly about
{'AND': [['Q6337803', 'P425', {'concept': 'Q1047113'}], ['Q20757242', 'P921', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?m WHERE { resource:Q6337803 property:P425 ?m . resource:Q20757242 property:P921 ?m . ?m rdf:type ontology:Q1047113 }
neuroscience
Neuroscience have neuroscientist as thier associated field of occupation and were Tankens anatomi mainly about
neuroscience
action filter_type
action intersection
action find
entity neuroscientist
relation field of this occupation
action find
entity Tankens anatomi
relation main subject
type special field
{'AND': [['neuroscientist', 'field of this occupation', {'concept': 'special field'}], ['Tankens anatomi', 'main subject', {'concept': 'special field'}]]}
SELECT DISTINCT ?m WHERE { resource:neuroscientist property:field_of_this_occupation ?m . resource:Tankens_anatomi property:main_subject ?m . ?m rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q207011 Q24182136
P101
Q502895
USER
Does Alastair Compston have field of work as that one ?
(Q24182136,P101,Q207011)
action is_in
entity Q207011
action find
entity Q24182136
relation P101
['Q24182136', 'P101', 'Q207011']
ASK WHERE { resource:Q24182136 property:P101 resource:Q207011 }
neuroscience Alastair Compston
action is_in
entity neuroscience
action find
entity Alastair Compston
relation field of work
['Alastair Compston', 'field of work', 'neuroscience']
ASK WHERE { resource:Alastair_Compston property:field_of_work resource:neuroscience }
[]
common name
SYSTEM
YES
(Q24182136,P101,Q207011)
action is_in
entity Q207011
action find
entity Q24182136
relation P101
[ANSWER]
['Q24182136', 'P101', 'Q207011']
ASK WHERE { resource:Q24182136 property:P101 resource:Q207011 }
Yes
action is_in
entity neuroscience
action find
entity Alastair Compston
relation field of work
['Alastair Compston', 'field of work', 'neuroscience']
ASK WHERE { resource:Alastair_Compston property:field_of_work resource:neuroscience }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207011
P361
Q336
USER
Which science is a portion of neuroscience ?
(c(Q336),P361,Q207011)
action filter_type
action find_reverse
entity Q207011
relation P361
type Q336
[{'concept': 'Q336'}, 'P361', 'Q207011']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q207011 . ?g rdf:type ontology:Q336 }
neuroscience
action filter_type
action find_reverse
entity neuroscience
relation part of
type science
[{'concept': 'science'}, 'part of', 'neuroscience']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:neuroscience . ?g rdf:type ontology:science }
[]
science
Q1931480
SYSTEM
neuroinformatics
Q1931480
(c(Q336),P361,Q207011)
action filter_type
action find_reverse
entity Q207011
relation P361
type Q336
[ANSWER] is a portion of neuroscience
[{'concept': 'Q336'}, 'P361', 'Q207011']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q207011 . ?g rdf:type ontology:Q336 }
neuroinformatics
Neuroinformatics is a portion of neuroscience
neuroinformatics
action filter_type
action find_reverse
entity neuroscience
relation part of
type science
[{'concept': 'science'}, 'part of', 'neuroscience']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:neuroscience . ?g rdf:type ontology:science }
[]