Simple Question (Direct)
Simple Question
Q1596839
P21
Q290
USER
Which sex does Heinrich Brockhaus have ?
(Q1596839,P21,c(Q290))
action filter_type
action find
entity Q1596839
relation P21
type Q290
['Q1596839', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1596839 property:P21 ?f . ?f rdf:type ontology:Q290 }
Heinrich Brockhaus
action filter_type
action find
entity Heinrich Brockhaus
relation gender
type sex
['Heinrich Brockhaus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Heinrich_Brockhaus property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1596839,P21,c(Q290))
action filter_type
action find
entity Q1596839
relation P21
type Q290
Heinrich Brockhaus has 1 [ANSWER]
['Q1596839', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1596839 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Heinrich Brockhaus has 1 male
male
action filter_type
action find
entity Heinrich Brockhaus
relation gender
type sex
['Heinrich Brockhaus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Heinrich_Brockhaus property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1596839
P106
Q12737077
USER
What do that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1596839
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1596839 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Heinrich Brockhaus
action filter_type
action find
entity Heinrich Brockhaus
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Heinrich_Brockhaus property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1792450 Q36180 Q1622272
SYSTEM
art historian, writer, university teacher
Q1792450 Q36180 Q1622272
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1596839
relation P106
type Q12737077
The [ANSWERS] that person do for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1596839 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
art historian writer university teacher
The art historian, writer and university teacher that person do for a living
art historian writer university teacher
action filter_type
action find
entity Heinrich Brockhaus
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Heinrich_Brockhaus property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1792450 Q36180 Q1622272
P101
Q502895
USER
Which people work in the domain of those occupations ?
(c(Q502895),P101,Q1792450) (c(Q502895),P101,Q36180) (c(Q502895),P101,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1792450'] [{'concept': 'Q502895'}, 'P101', 'Q36180'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:Q1792450 ) ( resource:Q36180 ) ( resource:Q1622272 ) } . ?b property:P101 ?g . ?b rdf:type ontology:Q502895 }
art historian writer university teacher
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'art historian'] [{'concept': 'common name'}, 'field of work', 'writer'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:art_historian ) ( resource:writer ) ( resource:university_teacher ) } . ?b property:field_of_work ?g . ?b rdf:type ontology:common_name }
[]
common name
Q20967511 Q168569 Q21030230
SYSTEM
Juan Miguel Serrera, Martin Andersen Nexø, Eliška Klimková-Deutschová
Q20967511 Q168569 Q21030230
(c(Q502895),P101,Q1792450) (c(Q502895),P101,Q36180) (c(Q502895),P101,Q1622272)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q1792450'] [{'concept': 'Q502895'}, 'P101', 'Q36180'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:Q1792450 ) ( resource:Q36180 ) ( resource:Q1622272 ) } . ?b property:P101 ?g . ?b rdf:type ontology:Q502895 }
Juan Miguel Serrera Martin Andersen Nexø Eliška Klimková-Deutschová
Juan Miguel Serrera, Martin Andersen Nexø and Eliška Klimková-Deutschová work in the domain of those occupations
Juan Miguel Serrera Martin Andersen Nexø Eliška Klimková-Deutschová
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'art historian'] [{'concept': 'common name'}, 'field of work', 'writer'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?b WHERE { VALUES ( ?g ) { ( resource:art_historian ) ( resource:writer ) ( resource:university_teacher ) } . ?b property:field_of_work ?g . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20967511 Q168569 Q21030230
P21
Q290
USER
Which sexes do those people belong to ?
(Q20967511,P21,c(Q290)) (Q168569,P21,c(Q290)) (Q21030230,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q20967511', 'P21', {'concept': 'Q290'}] ['Q168569', 'P21', {'concept': 'Q290'}] ['Q21030230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?f property:P21 ?r . ?r rdf:type ontology:Q290 . VALUES ( ?f ) { ( resource:Q20967511 ) ( resource:Q168569 ) ( resource:Q21030230 ) } }
Juan Miguel Serrera Martin Andersen Nexø Eliška Klimková-Deutschová
action filter_type
action find
entity prev_answer
relation gender
type sex
['Juan Miguel Serrera', 'gender', {'concept': 'sex'}] ['Martin Andersen Nexø', 'gender', {'concept': 'sex'}] ['Eliška Klimková-Deutschová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?f property:gender ?r . ?r rdf:type ontology:sex . VALUES ( ?f ) { ( resource:Juan_Miguel_Serrera ) ( resource:Martin_Andersen_Nexø ) ( resource:Eliška_Klimková-Deutschová ) } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q20967511,P21,c(Q290)) (Q168569,P21,c(Q290)) (Q21030230,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q20967511', 'P21', {'concept': 'Q290'}] ['Q168569', 'P21', {'concept': 'Q290'}] ['Q21030230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?f property:P21 ?r . ?r rdf:type ontology:Q290 . VALUES ( ?f ) { ( resource:Q20967511 ) ( resource:Q168569 ) ( resource:Q21030230 ) } }
male male female
Those people belong to male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Juan Miguel Serrera', 'gender', {'concept': 'sex'}] ['Martin Andersen Nexø', 'gender', {'concept': 'sex'}] ['Eliška Klimková-Deutschová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?f property:gender ?r . ?r rdf:type ontology:sex . VALUES ( ?f ) { ( resource:Juan_Miguel_Serrera ) ( resource:Martin_Andersen_Nexø ) ( resource:Eliška_Klimková-Deutschová ) } }
[]