Simple Question (Direct)
Simple Question
Q1026959
P106
Q12737077
USER
What are the professions of Henry Busse ?
(Q1026959,P106,c(Q12737077))
action filter_type
action find
entity Q1026959
relation P106
type Q12737077
['Q1026959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1026959 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Henry Busse
action filter_type
action find
entity Henry Busse
relation occupation
type occupation
['Henry Busse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Busse property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q15981151 Q158852
SYSTEM
jazz musician, conductor
Q15981151 Q158852
(Q1026959,P106,c(Q12737077))
action filter_type
action find
entity Q1026959
relation P106
type Q12737077
The professions of Henry Busse are [ANSWERS]
['Q1026959', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1026959 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
jazz musician conductor
The professions of Henry Busse are jazz musician and conductor
jazz musician conductor
action filter_type
action find
entity Henry Busse
relation occupation
type occupation
['Henry Busse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Busse property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q158852
P425
Q9332
USER
Which behavior has that one as thier associated field of occupation ?
(Q158852,P425,c(Q9332))
action filter_type
action find
entity Q158852
relation P425
type Q9332
['Q158852', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?t WHERE { resource:Q158852 property:P425 ?t . ?t rdf:type ontology:Q9332 }
conductor
action filter_type
action find
entity conductor
relation field of this occupation
type behavior
['conductor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?t WHERE { resource:conductor property:field_of_this_occupation ?t . ?t rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q15981151
SYSTEM
Did you mean jazz musician ?
Q15981151 Q158852
(Q15981151,P425,c(Q9332)) (Q158852,P425,c(Q9332))
[ANSWER]
['Q15981151', 'P425', {'concept': 'Q9332'}] ['Q158852', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?t WHERE { resource:Q158852 property:P425 ?t . ?t rdf:type ontology:Q9332 }
jazz musician conductor
Did you mean jazz musician ?
jazz musician
['jazz musician', 'field of this occupation', {'concept': 'behavior'}] ['conductor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?t WHERE { resource:conductor property:field_of_this_occupation ?t . ?t rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
No, I meant conductor. Could you tell me the answer for that?
(Q158852,P425,c(Q9332))
Q158852
['Q158852', 'P425', {'concept': 'Q9332'}]
['conductor', 'field of this occupation', {'concept': 'behavior'}]
[]
Q6989196
SYSTEM
conducting
Q6989196
(Q158852,P425,c(Q9332))
action filter_type
action find
entity Q158852
relation P425
type Q9332
[ANSWER] has that one as thier associated field of occupation
['Q158852', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?t WHERE { resource:Q158852 property:P425 ?t . ?t rdf:type ontology:Q9332 }
conducting
Conducting has that one as thier associated field of occupation
conducting
action filter_type
action find
entity conductor
relation field of this occupation
type behavior
['conductor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?t WHERE { resource:conductor property:field_of_this_occupation ?t . ?t rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P425
Q9332 Q151885 Q12737077
USER
How many behaviors are associated with the field of occupation less number of concepts or occupations than that behavior ?
(c(Q151885)|c(Q12737077),P425,c(Q9332))
action count
action less
action union
action find_reverse_tuple_counts
relation P425
type Q9332
type Q151885
action find_reverse_tuple_counts
relation P425
type Q9332
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q6989196
relation P425
type Q151885
type Q12737077
[[{'concept': 'Q151885'}, {'concept': 'Q12737077'}], 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P425 resource:Q6989196 . { { ?t rdf:type ontology:Q151885 } UNION { ?t rdf:type ontology:Q12737077 } } } } . FILTER ( ?m < ?b ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of this occupation
type behavior
type concept
action find_reverse_tuple_counts
relation field of this occupation
type behavior
type occupation
action count
action filter_multi_types
action find_reverse
entity conducting
relation field of this occupation
type concept
type occupation
[[{'concept': 'concept'}, {'concept': 'occupation'}], 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:occupation ) ( ontology:concept ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_this_occupation resource:conducting . { { ?t rdf:type ontology:concept } UNION { ?t rdf:type ontology:occupation } } } } . FILTER ( ?m < ?b ) }
[]
behavior concept occupation
SYSTEM
5
Q61509 Q1724915 Q3429919 Q36633 Q15008046
(c(Q151885)|c(Q12737077),P425,c(Q9332))
action count
action less
action union
action find_reverse_tuple_counts
relation P425
type Q9332
type Q151885
action find_reverse_tuple_counts
relation P425
type Q9332
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q6989196
relation P425
type Q151885
type Q12737077
[ANSWER]
[[{'concept': 'Q151885'}, {'concept': 'Q12737077'}], 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P425 resource:Q6989196 . { { ?t rdf:type ontology:Q151885 } UNION { ?t rdf:type ontology:Q12737077 } } } } . FILTER ( ?m < ?b ) }
travel use screenwriting prostitution log driving
5
action count
action less
action union
action find_reverse_tuple_counts
relation field of this occupation
type behavior
type concept
action find_reverse_tuple_counts
relation field of this occupation
type behavior
type occupation
action count
action filter_multi_types
action find_reverse
entity conducting
relation field of this occupation
type concept
type occupation
[[{'concept': 'concept'}, {'concept': 'occupation'}], 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:occupation ) ( ontology:concept ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_this_occupation resource:conducting . { { ?t rdf:type ontology:concept } UNION { ?t rdf:type ontology:occupation } } } } . FILTER ( ?m < ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15981151 Q3356245
P425
Q874405
USER
How many social groups have jazz musician or Civilekonom as the associated field of occupation ?
(Q15981151,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q15981151
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q15981151', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?v property:P425 ?j . VALUES ( ?v ) { ( resource:Q15981151 ) ( resource:Q3356245 ) } }
jazz musician Civilekonom
action count
action union
action filter_type
action find
entity jazz musician
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['jazz musician', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?v property:field_of_this_occupation ?j . VALUES ( ?v ) { ( resource:jazz_musician ) ( resource:Civilekonom ) } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q15981151,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q15981151
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q15981151', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?v property:P425 ?j . VALUES ( ?v ) { ( resource:Q15981151 ) ( resource:Q3356245 ) } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity jazz musician
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['jazz musician', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?v property:field_of_this_occupation ?j . VALUES ( ?v ) { ( resource:jazz_musician ) ( resource:Civilekonom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15981151 Q3356245
P425
Q874405
USER
How many social groups are associated with the field of occupation jazz musician or Civilekonom ?
(Q15981151,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q15981151
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q15981151', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P425 ?x . VALUES ( ?a ) { ( resource:Q3356245 ) ( resource:Q15981151 ) } }
jazz musician Civilekonom
action count
action union
action filter_type
action find
entity jazz musician
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['jazz musician', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:field_of_this_occupation ?x . VALUES ( ?a ) { ( resource:Civilekonom ) ( resource:jazz_musician ) } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q15981151,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q15981151
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q15981151', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:P425 ?x . VALUES ( ?a ) { ( resource:Q3356245 ) ( resource:Q15981151 ) } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity jazz musician
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['jazz musician', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?a property:field_of_this_occupation ?x . VALUES ( ?a ) { ( resource:Civilekonom ) ( resource:jazz_musician ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1502970
P805
Q151885 Q9332
USER
Which concepts have lesser number of behaviors as their subject than Self-denunciation ?
(c(Q9332),P805,c(Q151885))
action less
action find_reverse_tuple_counts
relation P805
type Q151885
type Q9332
action count
action filter_type
action find_reverse
entity Q1502970
relation P805
type Q9332
[{'concept': 'Q9332'}, 'P805', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P805 resource:Q1502970 . ?n rdf:type ontology:Q9332 } } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P805 ?r . ?r rdf:type ontology:Q151885 . ?q rdf:type ontology:Q9332 } GROUP BY ?r } }
Self-denunciation
action less
action find_reverse_tuple_counts
relation subject of
type concept
type behavior
action count
action filter_type
action find_reverse
entity Self-denunciation
relation subject of
type behavior
[{'concept': 'behavior'}, 'subject of', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:subject_of resource:Self-denunciation . ?n rdf:type ontology:behavior } } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:subject_of ?r . ?r rdf:type ontology:concept . ?q rdf:type ontology:behavior } GROUP BY ?r } }
[]
concept behavior
Q2556572 Q211236 Q38848
SYSTEM
order, celebrity, heavy metal music
Q38848 Q2556572 Q211236 Q83270
(c(Q9332),P805,c(Q151885))
action less
action find_reverse_tuple_counts
relation P805
type Q151885
type Q9332
action count
action filter_type
action find_reverse
entity Q1502970
relation P805
type Q9332
[ANSWERS] have lesser number of behaviors as their subject than Self-denunciation
[{'concept': 'Q9332'}, 'P805', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P805 resource:Q1502970 . ?n rdf:type ontology:Q9332 } } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P805 ?r . ?r rdf:type ontology:Q151885 . ?q rdf:type ontology:Q9332 } GROUP BY ?r } }
heavy metal music order celebrity hard rock
Order, celebrity and heavy metal music have lesser number of behaviors as their subject than Self-denunciation
order celebrity heavy metal music
action less
action find_reverse_tuple_counts
relation subject of
type concept
type behavior
action count
action filter_type
action find_reverse
entity Self-denunciation
relation subject of
type behavior
[{'concept': 'behavior'}, 'subject of', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:subject_of resource:Self-denunciation . ?n rdf:type ontology:behavior } } . FILTER ( ?a < ?u ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:subject_of ?r . ?r rdf:type ontology:concept . ?q rdf:type ontology:behavior } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19921788
Q9332
USER
And also tell me about two points for a win?
(Q19921788,P805,c(Q9332))
action count
action filter_type
action find
entity Q19921788
relation P805
type Q9332
['Q19921788', 'P805', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q19921788 property:P805 ?h . ?h rdf:type ontology:Q9332 }
two points for a win
action count
action filter_type
action find
entity two points for a win
relation subject of
type behavior
['two points for a win', 'subject of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:two_points_for_a_win property:subject_of ?h . ?h rdf:type ontology:behavior }
[]
behavior
SYSTEM
1
(Q19921788,P805,c(Q9332))
action count
action filter_type
action find
entity Q19921788
relation P805
type Q9332
[ANSWER]
['Q19921788', 'P805', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q19921788 property:P805 ?h . ?h rdf:type ontology:Q9332 }
1
action count
action filter_type
action find
entity two points for a win
relation subject of
type behavior
['two points for a win', 'subject of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:two_points_for_a_win property:subject_of ?h . ?h rdf:type ontology:behavior }
[]