Simple Question (Direct)
Simple Question
Q1078280
P106
Q12737077
USER
Which occupations have Christel Buschmann as his/her 's career ?
(Q1078280,P106,c(Q12737077))
action filter_type
action find
entity Q1078280
relation P106
type Q12737077
['Q1078280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q1078280 property:P106 ?x }
Christel Buschmann
action filter_type
action find
entity Christel Buschmann
relation occupation
type occupation
['Christel Buschmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Christel_Buschmann property:occupation ?x }
[]
occupation
Q1930187 Q333634 Q36180
SYSTEM
journalist, translator, writer
Q1930187 Q333634 Q36180
(Q1078280,P106,c(Q12737077))
action filter_type
action find
entity Q1078280
relation P106
type Q12737077
[ANSWERS] have Christel Buschmann as his/her 's career
['Q1078280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q1078280 property:P106 ?x }
journalist translator writer
Journalist, translator and writer have Christel Buschmann as his/her 's career
journalist translator writer
action filter_type
action find
entity Christel Buschmann
relation occupation
type occupation
['Christel Buschmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Christel_Buschmann property:occupation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1078280
P21
Q290
USER
What is the sex of that person ?
(Q1930187,P21,c(Q290)) (Q333634,P21,c(Q290)) (Q36180,P21,c(Q290))
action filter_type
action find
entity Q1078280
relation P21
type Q290
['Q1930187', 'P21', {'concept': 'Q290'}] ['Q333634', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q1078280 property:P21 ?f }
Christel Buschmann
action filter_type
action find
entity Christel Buschmann
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}] ['translator', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Christel_Buschmann property:gender ?f }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1930187,P21,c(Q290)) (Q333634,P21,c(Q290)) (Q36180,P21,c(Q290))
action filter_type
action find
entity Q1078280
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q1930187', 'P21', {'concept': 'Q290'}] ['Q333634', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q1078280 property:P21 ?f }
female
The sex of that person is the female
female
action filter_type
action find
entity Christel Buschmann
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}] ['translator', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Christel_Buschmann property:gender ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1502621 Q1078280
P21
Q290
USER
Or Wolfgang Benzino?
OR((Q1078280,P21,c(Q290)), (Q1502621,P21,c(Q290)))
action filter_type
action union
action find
entity Q1078280
relation P21
action find
entity Q1502621
relation P21
type Q290
{'OR': [['Q1078280', 'P21', {'concept': 'Q290'}], ['Q1502621', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1502621 property:P21 ?r } UNION { resource:Q1078280 property:P21 ?r } } . ?r rdf:type ontology:Q290 }
Wolfgang Benzino Christel Buschmann
action filter_type
action union
action find
entity Christel Buschmann
relation gender
action find
entity Wolfgang Benzino
relation gender
type sex
{'OR': [['Christel Buschmann', 'gender', {'concept': 'sex'}], ['Wolfgang Benzino', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Wolfgang_Benzino property:gender ?r } UNION { resource:Christel_Buschmann property:gender ?r } } . ?r rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q1078280,P21,c(Q290)), (Q1502621,P21,c(Q290)))
action filter_type
action union
action find
entity Q1078280
relation P21
action find
entity Q1502621
relation P21
type Q290
[ANSWERS]
{'OR': [['Q1078280', 'P21', {'concept': 'Q290'}], ['Q1502621', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1502621 property:P21 ?r } UNION { resource:Q1078280 property:P21 ?r } } . ?r rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Christel Buschmann
relation gender
action find
entity Wolfgang Benzino
relation gender
type sex
{'OR': [['Christel Buschmann', 'gender', {'concept': 'sex'}], ['Wolfgang Benzino', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Wolfgang_Benzino property:gender ?r } UNION { resource:Christel_Buschmann property:gender ?r } } . ?r rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q333634 Q46158
P106
Q502895
USER
How many people have translator and humanism as his/her means of employment ?
(c(Q502895),P106,Q333634) (c(Q502895),P106,Q46158)
action count
action intersection
action filter_type
action find_reverse
entity Q333634
relation P106
type Q502895
action filter_type
action find_reverse
entity Q46158
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q333634'] [{'concept': 'Q502895'}, 'P106', 'Q46158']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P106 resource:Q333634 . ?l rdf:type ontology:Q502895 . ?l property:P106 resource:Q46158 . ?l rdf:type ontology:Q502895 }
translator humanism
action count
action intersection
action filter_type
action find_reverse
entity translator
relation occupation
type common name
action filter_type
action find_reverse
entity humanism
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'translator'] [{'concept': 'common name'}, 'occupation', 'humanism']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:occupation resource:translator . ?l rdf:type ontology:common_name . ?l property:occupation resource:humanism . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q13570581 Q21112580
(c(Q502895),P106,Q333634) (c(Q502895),P106,Q46158)
action count
action intersection
action filter_type
action find_reverse
entity Q333634
relation P106
type Q502895
action filter_type
action find_reverse
entity Q46158
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q333634'] [{'concept': 'Q502895'}, 'P106', 'Q46158']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P106 resource:Q333634 . ?l rdf:type ontology:Q502895 . ?l property:P106 resource:Q46158 . ?l rdf:type ontology:Q502895 }
Bartolomeo della Fonte Dionies Vos
2
action count
action intersection
action filter_type
action find_reverse
entity translator
relation occupation
type common name
action filter_type
action find_reverse
entity humanism
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'translator'] [{'concept': 'common name'}, 'occupation', 'humanism']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:occupation resource:translator . ?l rdf:type ontology:common_name . ?l property:occupation resource:humanism . ?l rdf:type ontology:common_name }
[]