Simple Question (Direct)
Simple Question
Q1729135
P106
Q12737077
USER
What are the professions of Karekin Deveciyan ?
(Q1729135,P106,c(Q12737077))
action filter_type
action find
entity Q1729135
relation P106
type Q12737077
['Q1729135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1729135 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Karekin Deveciyan
action filter_type
action find
entity Karekin Deveciyan
relation occupation
type occupation
['Karekin Deveciyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Karekin_Deveciyan property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q36180 Q350979
SYSTEM
writer, zoologist
Q36180 Q350979
(Q1729135,P106,c(Q12737077))
action filter_type
action find
entity Q1729135
relation P106
type Q12737077
The professions of Karekin Deveciyan are a [ANSWERS]
['Q1729135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1729135 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
writer zoologist
The professions of Karekin Deveciyan are a writer and zoologist
writer zoologist
action filter_type
action find
entity Karekin Deveciyan
relation occupation
type occupation
['Karekin Deveciyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Karekin_Deveciyan property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q350979
P425
Q336
USER
Who is associated with the field of occupation that one ?
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { resource:Q350979 property:P425 ?m . ?m rdf:type ontology:Q336 }
zoologist
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { resource:zoologist property:field_of_this_occupation ?m . ?m rdf:type ontology:science }
[]
science
Clarification for simple ques.
Q36180
SYSTEM
Did you mean writer ?
Q36180 Q350979
(Q36180,P425,c(Q336)) (Q350979,P425,c(Q336))
[ANSWER]
['Q36180', 'P425', {'concept': 'Q336'}] ['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { resource:Q350979 property:P425 ?m . ?m rdf:type ontology:Q336 }
writer zoologist
Did you mean writer ?
writer
['writer', 'field of this occupation', {'concept': 'science'}] ['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { resource:zoologist property:field_of_this_occupation ?m . ?m rdf:type ontology:science }
[]
Simple Question (Coreferenced)
USER
No, I meant zoologist. Could you tell me the answer for that?
(Q350979,P425,c(Q336))
Q350979
['Q350979', 'P425', {'concept': 'Q336'}]
['zoologist', 'field of this occupation', {'concept': 'science'}]
[]
Q431
SYSTEM
zoology
Q431
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
[ANSWER] is associated with the field of occupation that one
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { resource:Q350979 property:P425 ?m . ?m rdf:type ontology:Q336 }
zoology
Zoology is associated with the field of occupation that one
zoology
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { resource:zoologist property:field_of_this_occupation ?m . ?m rdf:type ontology:science }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36180 Q3356245
P425
Q874405
USER
How many social groups have writer or Civilekonom as thier associated field of occupation ?
(Q36180,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q36180
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q36180', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Q36180 property:P425 ?i . ?i rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?i . ?i rdf:type ontology:Q874405 } }
writer Civilekonom
action count
action union
action filter_type
action find
entity writer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['writer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:writer property:field_of_this_occupation ?i . ?i rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?i . ?i rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q36180,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q36180
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q36180', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Q36180 property:P425 ?i . ?i rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?i . ?i rdf:type ontology:Q874405 } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity writer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['writer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:writer property:field_of_this_occupation ?i . ?i rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?i . ?i rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P180
Q838948
USER
Which work of art demonstrates writer ?
(c(Q838948),P180,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q36180']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q36180 . ?n rdf:type ontology:Q838948 }
writer
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'writer']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:writer . ?n rdf:type ontology:work_of_art }
[]
work of art
Q19204877
SYSTEM
D'Alembert
Q19204877
(c(Q838948),P180,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[ANSWER] demonstrates writer
[{'concept': 'Q838948'}, 'P180', 'Q36180']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q36180 . ?n rdf:type ontology:Q838948 }
D'Alembert
D'Alembert demonstrates writer
D'Alembert
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'writer']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:writer . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P937
Q502895
USER
Which person has writer as work location ?
(c(Q502895),P937,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q36180']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q36180 . ?l rdf:type ontology:Q502895 }
writer
action filter_type
action find_reverse
entity writer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:writer . ?l rdf:type ontology:common_name }
[]
common name
Q3398852
SYSTEM
Lidija Dimkovska
Q3398852
(c(Q502895),P937,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
[ANSWER] has writer as work location
[{'concept': 'Q502895'}, 'P937', 'Q36180']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q36180 . ?l rdf:type ontology:Q502895 }
Lidija Dimkovska
Lidija Dimkovska has writer as work location
Lidija Dimkovska
action filter_type
action find_reverse
entity writer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:writer . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art have been dubbed by atleast 23 people ?
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 23
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?a ) WHERE { ?p property:P725 ?e . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 } GROUP BY ?p } . FILTER ( ?a >= 23 ) }
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 23
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?a ) WHERE { ?p property:voice_actor ?e . ?e rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art } GROUP BY ?p } . FILTER ( ?a >= 23 ) }
[]
common name work of art
Q477365 Q16857406 Q19263748
SYSTEM
101 Dalmatians II: Patch's London Adventure, The Jungle Book, The Anthem of the Heart
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 23
[ANSWERS] have been dubbed by atleast 23 people
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?a ) WHERE { ?p property:P725 ?e . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 } GROUP BY ?p } . FILTER ( ?a >= 23 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
101 Dalmatians II: Patch's London Adventure, The Jungle Book and The Anthem of the Heart have been dubbed by atleast 23 people
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 23
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?a ) WHERE { ?p property:voice_actor ?e . ?e rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art } GROUP BY ?p } . FILTER ( ?a >= 23 ) }
[]