Simple Question (Direct)
Simple Question
Q6003451
P140
Q874405
USER
What is the religion associated with María Bolívar ?
(Q6003451,P140,c(Q874405))
action filter_type
action find
entity Q6003451
relation P140
type Q874405
['Q6003451', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q6003451 property:P140 ?y . ?y rdf:type ontology:Q874405 }
María Bolívar
action filter_type
action find
entity María Bolívar
relation religion
type social group
['María Bolívar', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:María_Bolívar property:religion ?y . ?y rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q6003451,P140,c(Q874405))
action filter_type
action find
entity Q6003451
relation P140
type Q874405
The religion associated with María Bolívar is a [ANSWER]
['Q6003451', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q6003451 property:P140 ?y . ?y rdf:type ontology:Q874405 }
Catholicism
The religion associated with María Bolívar is a Catholicism
Catholicism
action filter_type
action find
entity María Bolívar
relation religion
type social group
['María Bolívar', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:María_Bolívar property:religion ?y . ?y rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6003451
P106
Q12737077
USER
What are the professions of María Bolívar ?
(Q6003451,P106,c(Q12737077))
action filter_type
action find
entity Q6003451
relation P106
type Q12737077
['Q6003451', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6003451 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
María Bolívar
action filter_type
action find
entity María Bolívar
relation occupation
type occupation
['María Bolívar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:María_Bolívar property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955 Q215536
SYSTEM
politician, merchant
Q82955 Q215536
(Q6003451,P106,c(Q12737077))
action filter_type
action find
entity Q6003451
relation P106
type Q12737077
The professions of María Bolívar are a [ANSWERS]
['Q6003451', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6003451 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician merchant
The professions of María Bolívar are a politician and merchant
politician merchant
action filter_type
action find
entity María Bolívar
relation occupation
type occupation
['María Bolívar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:María_Bolívar property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation that one ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?m WHERE { resource:Q82955 property:P425 ?m . ?m rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?m WHERE { resource:politician property:field_of_this_occupation ?m . ?m rdf:type ontology:human_behaviour }
[]
human behaviour
Clarification for simple ques.
Q82955
SYSTEM
Did you mean politician ?
Q82955 Q215536
(Q82955,P425,c(Q3769299)) (Q215536,P425,c(Q3769299))
[ANSWER]
['Q82955', 'P425', {'concept': 'Q3769299'}] ['Q215536', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?m WHERE { resource:Q82955 property:P425 ?m . ?m rdf:type ontology:Q3769299 }
politician merchant
Did you mean politician ?
politician
['politician', 'field of this occupation', {'concept': 'human behaviour'}] ['merchant', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?m WHERE { resource:politician property:field_of_this_occupation ?m . ?m rdf:type ontology:human_behaviour }
[]
Simple Question (Coreferenced)
USER
Yes
(Q82955,P425,c(Q3769299))
['Q82955', 'P425', {'concept': 'Q3769299'}]
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
[]
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
That [ANSWER] is associated with the field of occupation that one
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?m WHERE { resource:Q82955 property:P425 ?m . ?m rdf:type ontology:Q3769299 }
politics
That politics is associated with the field of occupation that one
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?m WHERE { resource:politician property:field_of_this_occupation ?m . ?m rdf:type ontology:human_behaviour }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q3769299 Q502895
USER
How many human behaviours are the field of work of lesser number of people than that human behaviour ?
(c(Q502895),P101,c(Q3769299))
action count
action less
action find_reverse_tuple_counts
relation P101
type Q3769299
type Q502895
action count
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q3769299'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P101 ?v . ?t rdf:type ontology:Q502895 . ?v rdf:type ontology:Q3769299 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P101 resource:Q7163 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?n < ?h ) }
action count
action less
action find_reverse_tuple_counts
relation field of work
type human behaviour
type common name
action count
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', {'concept': 'human behaviour'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:field_of_work ?v . ?t rdf:type ontology:common_name . ?v rdf:type ontology:human_behaviour } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:field_of_work resource:politics . ?f rdf:type ontology:common_name } } . FILTER ( ?n < ?h ) }
[]
human behaviour common name
SYSTEM
2
Q3007315 Q1515099
(c(Q502895),P101,c(Q3769299))
action count
action less
action find_reverse_tuple_counts
relation P101
type Q3769299
type Q502895
action count
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q3769299'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P101 ?v . ?t rdf:type ontology:Q502895 . ?v rdf:type ontology:Q3769299 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P101 resource:Q7163 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?n < ?h ) }
media culture Children's culture
2
action count
action less
action find_reverse_tuple_counts
relation field of work
type human behaviour
type common name
action count
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', {'concept': 'human behaviour'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:field_of_work ?v . ?t rdf:type ontology:common_name . ?v rdf:type ontology:human_behaviour } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:field_of_work resource:politics . ?f rdf:type ontology:common_name } } . FILTER ( ?n < ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215536
P180
Q3305213
USER
Which painting expresses merchant ?
(c(Q3305213),P180,Q215536)
action filter_type
action find_reverse
entity Q215536
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q215536']
SELECT DISTINCT ?d WHERE { ?d property:P180 resource:Q215536 . ?d rdf:type ontology:Q3305213 }
merchant
action filter_type
action find_reverse
entity merchant
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'merchant']
SELECT DISTINCT ?d WHERE { ?d property:depicts resource:merchant . ?d rdf:type ontology:painting }
[]
painting
Q577165
SYSTEM
Sermon and Deeds of the Antichrist
Q577165
(c(Q3305213),P180,Q215536)
action filter_type
action find_reverse
entity Q215536
relation P180
type Q3305213
[ANSWER] expresses merchant
[{'concept': 'Q3305213'}, 'P180', 'Q215536']
SELECT DISTINCT ?d WHERE { ?d property:P180 resource:Q215536 . ?d rdf:type ontology:Q3305213 }
Sermon and Deeds of the Antichrist
Sermon and Deeds of the Antichrist expresses merchant
Sermon and Deeds of the Antichrist
action filter_type
action find_reverse
entity merchant
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'merchant']
SELECT DISTINCT ?d WHERE { ?d property:depicts resource:merchant . ?d rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215536
P425
Q58778
USER
Which system has merchant as the associated field of occupation ?
(Q215536,P425,c(Q58778))
action filter_type
action find
entity Q215536
relation P425
type Q58778
['Q215536', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q58778 . resource:Q215536 property:P425 ?w }
merchant
action filter_type
action find
entity merchant
relation field of this occupation
type system
['merchant', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:system . resource:merchant property:field_of_this_occupation ?w }
[]
system
Q601401
SYSTEM
trade
Q601401
(Q215536,P425,c(Q58778))
action filter_type
action find
entity Q215536
relation P425
type Q58778
[ANSWER] has merchant as the associated field of occupation
['Q215536', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q58778 . resource:Q215536 property:P425 ?w }
trade
Trade has merchant as the associated field of occupation
trade
action filter_type
action find
entity merchant
relation field of this occupation
type system
['merchant', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:system . resource:merchant property:field_of_this_occupation ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21468747
Q58778
USER
And what about coal miner?
(Q21468747,P425,c(Q58778))
action filter_type
action find
entity Q21468747
relation P425
type Q58778
['Q21468747', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?r WHERE { resource:Q21468747 property:P425 ?r . ?r rdf:type ontology:Q58778 }
coal miner
action filter_type
action find
entity coal miner
relation field of this occupation
type system
['coal miner', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?r WHERE { resource:coal_miner property:field_of_this_occupation ?r . ?r rdf:type ontology:system }
[]
system
Q12880211
SYSTEM
coal mining
Q12880211
(Q21468747,P425,c(Q58778))
action filter_type
action find
entity Q21468747
relation P425
type Q58778
[ANSWER]
['Q21468747', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?r WHERE { resource:Q21468747 property:P425 ?r . ?r rdf:type ontology:Q58778 }
coal mining
coal mining
action filter_type
action find
entity coal miner
relation field of this occupation
type system
['coal miner', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?r WHERE { resource:coal_miner property:field_of_this_occupation ?r . ?r rdf:type ontology:system }
[]