Simple Question (Direct)
Simple Question
Q11988272
P106
Q12737077
USER
Which occupations have Marie Louise Moestue as his/her 's career ?
(Q11988272,P106,c(Q12737077))
action filter_type
action find
entity Q11988272
relation P106
type Q12737077
['Q11988272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q11988272 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Marie Louise Moestue
action filter_type
action find
entity Marie Louise Moestue
relation occupation
type occupation
['Marie Louise Moestue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marie_Louise_Moestue property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q36834 Q36180 Q639669
SYSTEM
composer, writer, musician
Q36180 Q639669 Q177220 Q36834 Q876864
(Q11988272,P106,c(Q12737077))
action filter_type
action find
entity Q11988272
relation P106
type Q12737077
[ANSWERS] have Marie Louise Moestue as his/her 's career
['Q11988272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q11988272 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
writer musician singer composer contributing editor
Composer, writer and musician have Marie Louise Moestue as his/her 's career
composer writer musician
action filter_type
action find
entity Marie Louise Moestue
relation occupation
type occupation
['Marie Louise Moestue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Marie_Louise_Moestue property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11988272
P21
Q290
USER
What is the sex of Marie Louise Moestue ?
(Q11988272,P21,c(Q290))
action filter_type
action find
entity Q11988272
relation P21
type Q290
['Q11988272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q11988272 property:P21 ?y . ?y rdf:type ontology:Q290 }
Marie Louise Moestue
action filter_type
action find
entity Marie Louise Moestue
relation gender
type sex
['Marie Louise Moestue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Marie_Louise_Moestue property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q11988272,P21,c(Q290))
action filter_type
action find
entity Q11988272
relation P21
type Q290
The sex of Marie Louise Moestue is the [ANSWER]
['Q11988272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q11988272 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
The sex of Marie Louise Moestue is the female
female
action filter_type
action find
entity Marie Louise Moestue
relation gender
type sex
['Marie Louise Moestue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Marie_Louise_Moestue property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6706123
Q290
USER
And also tell me about Luvli?
(Q6706123,P21,c(Q290))
action filter_type
action find
entity Q6706123
relation P21
type Q290
['Q6706123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6706123 property:P21 ?n . ?n rdf:type ontology:Q290 }
Luvli
action filter_type
action find
entity Luvli
relation gender
type sex
['Luvli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Luvli property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6706123,P21,c(Q290))
action filter_type
action find
entity Q6706123
relation P21
type Q290
[ANSWER]
['Q6706123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6706123 property:P21 ?n . ?n rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Luvli
relation gender
type sex
['Luvli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Luvli property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q16002504
P21
Q502895
USER
Does Laylah Ali have that sex as the sex ?
(Q16002504,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q16002504
relation P21
['Q16002504', 'P21', 'Q6581072']
ASK WHERE { resource:Q16002504 property:P21 resource:Q6581072 }
female Laylah Ali
action is_in
entity female
action find
entity Laylah Ali
relation gender
['Laylah Ali', 'gender', 'female']
ASK WHERE { resource:Laylah_Ali property:gender resource:female }
[]
common name
SYSTEM
YES
(Q16002504,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q16002504
relation P21
[ANSWER]
['Q16002504', 'P21', 'Q6581072']
ASK WHERE { resource:Q16002504 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Laylah Ali
relation gender
['Laylah Ali', 'gender', 'female']
ASK WHERE { resource:Laylah_Ali property:gender resource:female }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11988272 Q3056474
P106
Q12737077
USER
How many occupations are the professions of Marie Louise Moestue and Mohamed Fawzi ?
(Q11988272,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q11988272
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
['Q11988272', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q11988272 property:P106 ?k . ?k rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Marie Louise Moestue Mohamed Fawzi
action count
action intersection
action filter_type
action find
entity Marie Louise Moestue
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Marie Louise Moestue', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Marie_Louise_Moestue property:occupation ?k . ?k rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q36834 Q177220
(Q11988272,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q11988272
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
[ANSWER]
['Q11988272', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q11988272 property:P106 ?k . ?k rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
composer singer
2
action count
action intersection
action filter_type
action find
entity Marie Louise Moestue
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Marie Louise Moestue', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Marie_Louise_Moestue property:occupation ?k . ?k rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36834
P106
Q95074 Q484692
USER
How many fictional characters and hymns have career as composer ?
(c(Q95074),P106,Q36834) (c(Q484692),P106,Q36834)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P106
type Q95074
action filter_type
action find_reverse
entity Q36834
relation P106
type Q484692
[{'concept': 'Q95074'}, 'P106', 'Q36834'] [{'concept': 'Q484692'}, 'P106', 'Q36834']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { ?o property:P106 resource:Q36834 . ?o rdf:type ontology:Q95074 } UNION { ?o property:P106 resource:Q36834 . ?o rdf:type ontology:Q484692 } }
composer
action count
action union
action filter_type
action find_reverse
entity composer
relation occupation
type fictional character
action filter_type
action find_reverse
entity composer
relation occupation
type hymn
[{'concept': 'fictional character'}, 'occupation', 'composer'] [{'concept': 'hymn'}, 'occupation', 'composer']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { ?o property:occupation resource:composer . ?o rdf:type ontology:fictional_character } UNION { ?o property:occupation resource:composer . ?o rdf:type ontology:hymn } }
[]
fictional character hymn
SYSTEM
2 fictional characters and 1 hymns
Q7885388 Q27145361 Q3056474
(c(Q95074),P106,Q36834) (c(Q484692),P106,Q36834)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P106
type Q95074
action filter_type
action find_reverse
entity Q36834
relation P106
type Q484692
[ANSWER]
[{'concept': 'Q95074'}, 'P106', 'Q36834'] [{'concept': 'Q484692'}, 'P106', 'Q36834']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { ?o property:P106 resource:Q36834 . ?o rdf:type ontology:Q95074 } UNION { ?o property:P106 resource:Q36834 . ?o rdf:type ontology:Q484692 } }
Sebastian Roger Radcliffe Mohamed Fawzi
2 fictional characters and 1 hymns
action count
action union
action filter_type
action find_reverse
entity composer
relation occupation
type fictional character
action filter_type
action find_reverse
entity composer
relation occupation
type hymn
[{'concept': 'fictional character'}, 'occupation', 'composer'] [{'concept': 'hymn'}, 'occupation', 'composer']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { ?o property:occupation resource:composer . ?o rdf:type ontology:fictional_character } UNION { ?o property:occupation resource:composer . ?o rdf:type ontology:hymn } }
[]