Simple Question (Direct)
Simple Question
Q3765256
P21
Q290
USER
Which sex does Dasaradhi possess ?
(Q3765256,P21,c(Q290))
action filter_type
action find
entity Q3765256
relation P21
type Q290
['Q3765256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q3765256 property:P21 ?x }
Dasaradhi
action filter_type
action find
entity Dasaradhi
relation gender
type sex
['Dasaradhi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Dasaradhi property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3765256,P21,c(Q290))
action filter_type
action find
entity Q3765256
relation P21
type Q290
Dasaradhi possesses the [ANSWER]
['Q3765256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q3765256 property:P21 ?x }
male
Dasaradhi possesses the male
male
action filter_type
action find
entity Dasaradhi
relation gender
type sex
['Dasaradhi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Dasaradhi property:gender ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3765256
P106
Q12737077 Q151885
USER
How many occupations and concepts have Dasaradhi as his/her as a career ?
(Q3765256,P106,c(Q12737077)) (Q3765256,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q3765256
relation P106
type Q12737077
action filter_type
action find
entity Q3765256
relation P106
type Q151885
['Q3765256', 'P106', {'concept': 'Q12737077'}] ['Q3765256', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Q3765256 property:P106 ?l . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q151885 . resource:Q3765256 property:P106 ?l } }
Dasaradhi
action count
action union
action filter_type
action find
entity Dasaradhi
relation occupation
type occupation
action filter_type
action find
entity Dasaradhi
relation occupation
type concept
['Dasaradhi', 'occupation', {'concept': 'occupation'}] ['Dasaradhi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Dasaradhi property:occupation ?l . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:concept . resource:Dasaradhi property:occupation ?l } }
[]
occupation concept
SYSTEM
3 occupations and 1 concepts
Q753110 Q482980 Q822146 Q49757
(Q3765256,P106,c(Q12737077)) (Q3765256,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q3765256
relation P106
type Q12737077
action filter_type
action find
entity Q3765256
relation P106
type Q151885
[ANSWER]
['Q3765256', 'P106', {'concept': 'Q12737077'}] ['Q3765256', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Q3765256 property:P106 ?l . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q151885 . resource:Q3765256 property:P106 ?l } }
songwriter author lyricist poet
3 occupations and 1 concepts
action count
action union
action filter_type
action find
entity Dasaradhi
relation occupation
type occupation
action filter_type
action find
entity Dasaradhi
relation occupation
type concept
['Dasaradhi', 'occupation', {'concept': 'occupation'}] ['Dasaradhi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Dasaradhi property:occupation ?l . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:concept . resource:Dasaradhi property:occupation ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3765256
P7
Q502895
USER
Who is that one a brother of ?
action filter_type
action find
entity Q3765256
relation P7
type Q502895
SELECT DISTINCT ?w WHERE { resource:Q3765256 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Dasaradhi
action filter_type
action find
entity Dasaradhi
relation brother
type common name
SELECT DISTINCT ?w WHERE { resource:Dasaradhi property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q12999718
SYSTEM
Dasaradhi Rangacharya
Q12999718
action filter_type
action find
entity Q3765256
relation P7
type Q502895
That one a brother of is [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q3765256 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Dasaradhi Rangacharya
That one a brother of is Dasaradhi Rangacharya
Dasaradhi Rangacharya
action filter_type
action find
entity Dasaradhi
relation brother
type common name
SELECT DISTINCT ?w WHERE { resource:Dasaradhi property:brother ?w . ?w rdf:type ontology:common_name }
[]