Simple Question (Direct)
Simple Question
Q257277
P157
Q502895
USER
Who assasinated Lana Clarkson ?
(Q257277,P157,c(Q502895))
action filter_type
action find
entity Q257277
relation P157
type Q502895
['Q257277', 'P157', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q257277 property:P157 ?l . ?l rdf:type ontology:Q502895 }
Lana Clarkson
action filter_type
action find
entity Lana Clarkson
relation killed by
type common name
['Lana Clarkson', 'killed by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Lana_Clarkson property:killed_by ?l . ?l rdf:type ontology:common_name }
[]
common name
Q213793
SYSTEM
Phil Spector
Q213793
(Q257277,P157,c(Q502895))
action filter_type
action find
entity Q257277
relation P157
type Q502895
[ANSWER] assasinated Lana Clarkson
['Q257277', 'P157', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q257277 property:P157 ?l . ?l rdf:type ontology:Q502895 }
Phil Spector
Phil Spector assasinated Lana Clarkson
Phil Spector
action filter_type
action find
entity Lana Clarkson
relation killed by
type common name
['Lana Clarkson', 'killed by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Lana_Clarkson property:killed_by ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257277
P119
Q43229
USER
Where is the place of burial for Lana Clarkson located ?
(Q257277,P119,c(Q43229))
action filter_type
action find
entity Q257277
relation P119
type Q43229
['Q257277', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q257277 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Lana Clarkson
action filter_type
action find
entity Lana Clarkson
relation place of burial
type organization
['Lana Clarkson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Lana_Clarkson property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
organization
Q1624932
SYSTEM
Hollywood Forever Cemetery
Q1624932
(Q257277,P119,c(Q43229))
action filter_type
action find
entity Q257277
relation P119
type Q43229
The place of burial for Lana Clarkson is located in [ANSWER]
['Q257277', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q257277 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Hollywood Forever Cemetery
The place of burial for Lana Clarkson is located in Hollywood Forever Cemetery
Hollywood Forever Cemetery
action filter_type
action find
entity Lana Clarkson
relation place of burial
type organization
['Lana Clarkson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Lana_Clarkson property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1624932
P1435
Q852446
USER
Which US administrative territory represents the heritage status given to that organization ?
(Q1624932,P1435,c(Q852446))
action filter_type
action find
entity Q1624932
relation P1435
type Q852446
['Q1624932', 'P1435', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { resource:Q1624932 property:P1435 ?k . ?k rdf:type ontology:Q852446 }
Hollywood Forever Cemetery
action filter_type
action find
entity Hollywood Forever Cemetery
relation heritage status
type administrative territorial entity of the United States
['Hollywood Forever Cemetery', 'heritage status', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { resource:Hollywood_Forever_Cemetery property:heritage_status ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q20856087
SYSTEM
National Register Historic District
Q20856087
(Q1624932,P1435,c(Q852446))
action filter_type
action find
entity Q1624932
relation P1435
type Q852446
The [ANSWER] represents the heritage status given to that organization
['Q1624932', 'P1435', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { resource:Q1624932 property:P1435 ?k . ?k rdf:type ontology:Q852446 }
National Register Historic District
The National Register Historic District represents the heritage status given to that organization
National Register Historic District
action filter_type
action find
entity Hollywood Forever Cemetery
relation heritage status
type administrative territorial entity of the United States
['Hollywood Forever Cemetery', 'heritage status', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { resource:Hollywood_Forever_Cemetery property:heritage_status ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q1656682 Q20027951
USER
Which people were the team members of max number of events and aircraft power classes ?
(c(Q1656682)|c(Q20027951),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
[[{'concept': 'Q1656682'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?p ) WHERE { { ?f property:P1029 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q20027951 } UNION { ?f property:P1029 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q1656682 } } GROUP BY ?j } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1656682 ) ( ontology:Q20027951 ) } } GROUP BY ?x } . FILTER ( ?b = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
[[{'concept': 'event'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?p ) WHERE { { ?f property:crew_member ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:aircraft_power_class } UNION { ?f property:crew_member ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:event } } GROUP BY ?j } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:event ) ( ontology:aircraft_power_class ) } } GROUP BY ?x } . FILTER ( ?b = ?u ) }
[]
common name event aircraft power class
Q382202
SYSTEM
Jeffrey Williams
Q382202
(c(Q1656682)|c(Q20027951),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
[ANSWER] was the team members of max number of events and aircraft power classes
[[{'concept': 'Q1656682'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?p ) WHERE { { ?f property:P1029 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q20027951 } UNION { ?f property:P1029 ?j . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q1656682 } } GROUP BY ?j } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1656682 ) ( ontology:Q20027951 ) } } GROUP BY ?x } . FILTER ( ?b = ?u ) }
Jeffrey Williams
Jeffrey Williams was the team members of max number of events and aircraft power classes
Jeffrey Williams
action argmax
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
[[{'concept': 'event'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?p ) WHERE { { ?f property:crew_member ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:aircraft_power_class } UNION { ?f property:crew_member ?j . ?j rdf:type ontology:common_name . ?f rdf:type ontology:event } } GROUP BY ?j } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:event ) ( ontology:aircraft_power_class ) } } GROUP BY ?x } . FILTER ( ?b = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382202
P166
Q618779
USER
Which award was received by that person ?
(Q382202,P166,c(Q618779))
action filter_type
action find
entity Q382202
relation P166
type Q618779
['Q382202', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q382202 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Jeffrey Williams
action filter_type
action find
entity Jeffrey Williams
relation award received
type award
['Jeffrey Williams', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Jeffrey_Williams property:award_received ?d . ?d rdf:type ontology:award }
[]
award
Q724443
SYSTEM
Legion of Merit
Q724443
(Q382202,P166,c(Q618779))
action filter_type
action find
entity Q382202
relation P166
type Q618779
Was [ANSWER] was received by that person
['Q382202', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q382202 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Legion of Merit
Was Legion of Merit was received by that person
Legion of Merit
action filter_type
action find
entity Jeffrey Williams
relation award received
type award
['Jeffrey Williams', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Jeffrey_Williams property:award_received ?d . ?d rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q724443
P241
Q502895
USER
Which person has that award as the associated miltary branch ?
(c(Q502895),P241,Q724443)
action filter_type
action find_reverse
entity Q724443
relation P241
type Q502895
[{'concept': 'Q502895'}, 'P241', 'Q724443']
SELECT DISTINCT ?s WHERE { ?s property:P241 resource:Q724443 . ?s rdf:type ontology:Q502895 }
Legion of Merit
action filter_type
action find_reverse
entity Legion of Merit
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Legion of Merit']
SELECT DISTINCT ?s WHERE { ?s property:military_branch resource:Legion_of_Merit . ?s rdf:type ontology:common_name }
[]
common name
Q24852309
SYSTEM
Charles Kettles
Q24852309
(c(Q502895),P241,Q724443)
action filter_type
action find_reverse
entity Q724443
relation P241
type Q502895
[ANSWER] has that award as the associated miltary branch
[{'concept': 'Q502895'}, 'P241', 'Q724443']
SELECT DISTINCT ?s WHERE { ?s property:P241 resource:Q724443 . ?s rdf:type ontology:Q502895 }
Charles Kettles
Charles Kettles has that award as the associated miltary branch
Charles Kettles
action filter_type
action find_reverse
entity Legion of Merit
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'Legion of Merit']
SELECT DISTINCT ?s WHERE { ?s property:military_branch resource:Legion_of_Merit . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P241
Q781132 Q618779
USER
How many military branches and awards are that person associated with ?
(Q24852309,P241,c(Q781132)) (Q24852309,P241,c(Q618779)) (Q24852309,P241,c(Q781132)) (Q24852309,P241,c(Q618779))
action count
action union
action filter_type
action find
entity Q24852309
relation P241
type Q781132
action filter_type
action find
entity Q24852309
relation P241
type Q618779
['Q24852309', 'P241', {'concept': 'Q781132'}] ['Q24852309', 'P241', {'concept': 'Q618779'}] ['Q24852309', 'P241', {'concept': 'Q781132'}] ['Q24852309', 'P241', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q781132 ) ( ontology:Q618779 ) } }
action count
action union
action filter_type
action find
entity Charles Kettles
relation military branch
type military branch
action filter_type
action find
entity Charles Kettles
relation military branch
type award
['Charles Kettles', 'military branch', {'concept': 'military branch'}] ['Charles Kettles', 'military branch', {'concept': 'award'}] ['Charles Kettles', 'military branch', {'concept': 'military branch'}] ['Charles Kettles', 'military branch', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:military_branch ) ( ontology:award ) } }
[]
military branch award
SYSTEM
1 military branches and 3 awards
Q9212 Q1754110 Q724443 Q928314
(Q24852309,P241,c(Q781132)) (Q24852309,P241,c(Q618779)) (Q24852309,P241,c(Q781132)) (Q24852309,P241,c(Q618779))
action count
action union
action filter_type
action find
entity Q24852309
relation P241
type Q781132
action filter_type
action find
entity Q24852309
relation P241
type Q618779
[ANSWER]
['Q24852309', 'P241', {'concept': 'Q781132'}] ['Q24852309', 'P241', {'concept': 'Q618779'}] ['Q24852309', 'P241', {'concept': 'Q781132'}] ['Q24852309', 'P241', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q781132 ) ( ontology:Q618779 ) } }
United States Army Distinguished Flying Cross Legion of Merit Bronze Star Medal
1 military branches and 3 awards
action count
action union
action filter_type
action find
entity Charles Kettles
relation military branch
type military branch
action filter_type
action find
entity Charles Kettles
relation military branch
type award
['Charles Kettles', 'military branch', {'concept': 'military branch'}] ['Charles Kettles', 'military branch', {'concept': 'award'}] ['Charles Kettles', 'military branch', {'concept': 'military branch'}] ['Charles Kettles', 'military branch', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:military_branch ) ( ontology:award ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213793
P136
Q151885
USER
What can be considered as category for Phil Spector ?
(Q213793,P136,c(Q151885))
action filter_type
action find
entity Q213793
relation P136
type Q151885
['Q213793', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q213793 property:P136 ?x . ?x rdf:type ontology:Q151885 }
Phil Spector
action filter_type
action find
entity Phil Spector
relation genre
type concept
['Phil Spector', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Phil_Spector property:genre ?x . ?x rdf:type ontology:concept }
[]
concept
Q37073 Q11399
SYSTEM
pop music, rock music
Q37073 Q11399
(Q213793,P136,c(Q151885))
action filter_type
action find
entity Q213793
relation P136
type Q151885
And [ANSWERS] can be considered as category for Phil Spector
['Q213793', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q213793 property:P136 ?x . ?x rdf:type ontology:Q151885 }
pop music rock music
And pop music and rock music can be considered as category for Phil Spector
pop music rock music
action filter_type
action find
entity Phil Spector
relation genre
type concept
['Phil Spector', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Phil_Spector property:genre ?x . ?x rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213793
P106
Q12737077
USER
What are the professions of that person ?
(Q37073,P106,c(Q12737077)) (Q11399,P106,c(Q12737077))
action filter_type
action find
entity Q213793
relation P106
type Q12737077
['Q37073', 'P106', {'concept': 'Q12737077'}] ['Q11399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q213793 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Phil Spector
action filter_type
action find
entity Phil Spector
relation occupation
type occupation
['pop music', 'occupation', {'concept': 'occupation'}] ['rock music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Phil_Spector property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q36834 Q639669 Q183945
SYSTEM
composer, musician, record producer
Q639669 Q183945 Q36834 Q753110
(Q37073,P106,c(Q12737077)) (Q11399,P106,c(Q12737077))
action filter_type
action find
entity Q213793
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q37073', 'P106', {'concept': 'Q12737077'}] ['Q11399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q213793 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
musician record producer composer songwriter
The professions of that person are composer, musician and record producer
composer musician record producer
action filter_type
action find
entity Phil Spector
relation occupation
type occupation
['pop music', 'occupation', {'concept': 'occupation'}] ['rock music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Phil_Spector property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11364501 Q213793
P106
Q12737077
USER
Or Tsuneo Nakajima?
OR((Q213793,P106,c(Q12737077)), (Q11364501,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q213793
relation P106
action find
entity Q11364501
relation P106
type Q12737077
{'OR': [['Q213793', 'P106', {'concept': 'Q12737077'}], ['Q11364501', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . { VALUES ( ?n ) { ( resource:Q213793 ) ( resource:Q11364501 ) } . ?n property:P106 ?g } }
Tsuneo Nakajima Phil Spector
action filter_type
action union
action find
entity Phil Spector
relation occupation
action find
entity Tsuneo Nakajima
relation occupation
type occupation
{'OR': [['Phil Spector', 'occupation', {'concept': 'occupation'}], ['Tsuneo Nakajima', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . { VALUES ( ?n ) { ( resource:Phil_Spector ) ( resource:Tsuneo_Nakajima ) } . ?n property:occupation ?g } }
[]
occupation
Q639669 Q183945 Q36834 Q82955 Q753110
SYSTEM
musician, record producer, composer, politician, songwriter
Q639669 Q183945 Q36834 Q82955 Q753110
OR((Q213793,P106,c(Q12737077)), (Q11364501,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q213793
relation P106
action find
entity Q11364501
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q213793', 'P106', {'concept': 'Q12737077'}], ['Q11364501', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . { VALUES ( ?n ) { ( resource:Q213793 ) ( resource:Q11364501 ) } . ?n property:P106 ?g } }
musician record producer composer politician songwriter
musician record producer composer politician songwriter
action filter_type
action union
action find
entity Phil Spector
relation occupation
action find
entity Tsuneo Nakajima
relation occupation
type occupation
{'OR': [['Phil Spector', 'occupation', {'concept': 'occupation'}], ['Tsuneo Nakajima', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . { VALUES ( ?n ) { ( resource:Phil_Spector ) ( resource:Tsuneo_Nakajima ) } . ?n property:occupation ?g } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q16334295 Q82799
USER
How many groups of humans or names have the profession of that occupation ?
(c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110) (c(Q16334295),P106,Q639669) (c(Q82799),P106,Q639669) (c(Q16334295),P106,Q183945) (c(Q82799),P106,Q183945) (c(Q16334295),P106,Q36834) (c(Q82799),P106,Q36834) (c(Q16334295),P106,Q82955) (c(Q82799),P106,Q82955) (c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110)
[{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110'] [{'concept': 'Q16334295'}, 'P106', 'Q639669'] [{'concept': 'Q82799'}, 'P106', 'Q639669'] [{'concept': 'Q16334295'}, 'P106', 'Q183945'] [{'concept': 'Q82799'}, 'P106', 'Q183945'] [{'concept': 'Q16334295'}, 'P106', 'Q36834'] [{'concept': 'Q82799'}, 'P106', 'Q36834'] [{'concept': 'Q16334295'}, 'P106', 'Q82955'] [{'concept': 'Q82799'}, 'P106', 'Q82955'] [{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } UNION { ?z property:Q528892 resource:Q639669 } UNION { ?y property:Q528892 resource:Q639669 } UNION { ?z property:Q528892 resource:Q183945 } UNION { ?y property:Q528892 resource:Q183945 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } UNION { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q82799 }
[{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter'] [{'concept': 'group of humans'}, 'occupation', 'musician'] [{'concept': 'name'}, 'occupation', 'musician'] [{'concept': 'group of humans'}, 'occupation', 'record producer'] [{'concept': 'name'}, 'occupation', 'record producer'] [{'concept': 'group of humans'}, 'occupation', 'composer'] [{'concept': 'name'}, 'occupation', 'composer'] [{'concept': 'group of humans'}, 'occupation', 'politician'] [{'concept': 'name'}, 'occupation', 'politician'] [{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } UNION { ?z property:occupation resource:musician } UNION { ?y property:occupation resource:musician } UNION { ?z property:occupation resource:record_producer } UNION { ?y property:occupation resource:record_producer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } UNION { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:name }
[]
group of humans name
Quantitative|Count|Mult. entity type|Clarification
Q82955
SYSTEM
Did you mean politician ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } UNION { ?z property:Q528892 resource:Q639669 } UNION { ?y property:Q528892 resource:Q639669 } UNION { ?z property:Q528892 resource:Q183945 } UNION { ?y property:Q528892 resource:Q183945 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } UNION { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q82799 }
Did you mean politician ?
politician
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } UNION { ?z property:occupation resource:musician } UNION { ?y property:occupation resource:musician } UNION { ?z property:occupation resource:record_producer } UNION { ?y property:occupation resource:record_producer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } UNION { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant songwriter. Could you tell me the answer for that?
(c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110) (c(Q16334295),P106,Q639669) (c(Q82799),P106,Q639669) (c(Q16334295),P106,Q183945) (c(Q82799),P106,Q183945) (c(Q16334295),P106,Q36834) (c(Q82799),P106,Q36834) (c(Q16334295),P106,Q82955) (c(Q82799),P106,Q82955) (c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110)
Q753110
[{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110'] [{'concept': 'Q16334295'}, 'P106', 'Q639669'] [{'concept': 'Q82799'}, 'P106', 'Q639669'] [{'concept': 'Q16334295'}, 'P106', 'Q183945'] [{'concept': 'Q82799'}, 'P106', 'Q183945'] [{'concept': 'Q16334295'}, 'P106', 'Q36834'] [{'concept': 'Q82799'}, 'P106', 'Q36834'] [{'concept': 'Q16334295'}, 'P106', 'Q82955'] [{'concept': 'Q82799'}, 'P106', 'Q82955'] [{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110']
[{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter'] [{'concept': 'group of humans'}, 'occupation', 'musician'] [{'concept': 'name'}, 'occupation', 'musician'] [{'concept': 'group of humans'}, 'occupation', 'record producer'] [{'concept': 'name'}, 'occupation', 'record producer'] [{'concept': 'group of humans'}, 'occupation', 'composer'] [{'concept': 'name'}, 'occupation', 'composer'] [{'concept': 'group of humans'}, 'occupation', 'politician'] [{'concept': 'name'}, 'occupation', 'politician'] [{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter']
[]
SYSTEM
4
Q1275079 Q1193984 Q945153 Q1964625
(c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110) (c(Q16334295),P106,Q639669) (c(Q82799),P106,Q639669) (c(Q16334295),P106,Q183945) (c(Q82799),P106,Q183945) (c(Q16334295),P106,Q36834) (c(Q82799),P106,Q36834) (c(Q16334295),P106,Q82955) (c(Q82799),P106,Q82955) (c(Q16334295),P106,Q753110) (c(Q82799),P106,Q753110)
[ANSWER]
[{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110'] [{'concept': 'Q16334295'}, 'P106', 'Q639669'] [{'concept': 'Q82799'}, 'P106', 'Q639669'] [{'concept': 'Q16334295'}, 'P106', 'Q183945'] [{'concept': 'Q82799'}, 'P106', 'Q183945'] [{'concept': 'Q16334295'}, 'P106', 'Q36834'] [{'concept': 'Q82799'}, 'P106', 'Q36834'] [{'concept': 'Q16334295'}, 'P106', 'Q82955'] [{'concept': 'Q82799'}, 'P106', 'Q82955'] [{'concept': 'Q16334295'}, 'P106', 'Q753110'] [{'concept': 'Q82799'}, 'P106', 'Q753110']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } UNION { ?z property:Q528892 resource:Q639669 } UNION { ?y property:Q528892 resource:Q639669 } UNION { ?z property:Q528892 resource:Q183945 } UNION { ?y property:Q528892 resource:Q183945 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q82955 } UNION { ?y property:Q528892 resource:Q82955 } UNION { ?z property:Q528892 resource:Q753110 } UNION { ?y property:Q528892 resource:Q753110 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q82799 }
Rodgers and Hammerstein Der Graf Stock Aitken Waterman Nanker Phelge
4
[{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter'] [{'concept': 'group of humans'}, 'occupation', 'musician'] [{'concept': 'name'}, 'occupation', 'musician'] [{'concept': 'group of humans'}, 'occupation', 'record producer'] [{'concept': 'name'}, 'occupation', 'record producer'] [{'concept': 'group of humans'}, 'occupation', 'composer'] [{'concept': 'name'}, 'occupation', 'composer'] [{'concept': 'group of humans'}, 'occupation', 'politician'] [{'concept': 'name'}, 'occupation', 'politician'] [{'concept': 'group of humans'}, 'occupation', 'songwriter'] [{'concept': 'name'}, 'occupation', 'songwriter']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } UNION { ?z property:occupation resource:musician } UNION { ?y property:occupation resource:musician } UNION { ?z property:occupation resource:record_producer } UNION { ?y property:occupation resource:record_producer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:politician } UNION { ?y property:occupation resource:politician } UNION { ?z property:occupation resource:songwriter } UNION { ?y property:occupation resource:songwriter } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:name }
[]