Simple Question (Direct)
Simple Question
Q692636
P21
Q290
USER
What is the sex of Arne Lorenz ?
(Q692636,P21,c(Q290))
action filter_type
action find
entity Q692636
relation P21
type Q290
['Q692636', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q692636 property:P21 ?v . ?v rdf:type ontology:Q290 }
Arne Lorenz
action filter_type
action find
entity Arne Lorenz
relation gender
type sex
['Arne Lorenz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Arne_Lorenz property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q692636,P21,c(Q290))
action filter_type
action find
entity Q692636
relation P21
type Q290
The sex of Arne Lorenz is the [ANSWER]
['Q692636', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q692636 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Arne Lorenz is the male
male
action filter_type
action find
entity Arne Lorenz
relation gender
type sex
['Arne Lorenz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Arne_Lorenz property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q692636
P19
Q486972
USER
Which human settlement was Arne Lorenz born at ?
(Q692636,P19,c(Q486972))
action filter_type
action find
entity Q692636
relation P19
type Q486972
['Q692636', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q692636 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Arne Lorenz
action filter_type
action find
entity Arne Lorenz
relation place of birth
type human settlement
['Arne Lorenz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Arne_Lorenz property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q2843
SYSTEM
Lübeck
Q2843
(Q692636,P19,c(Q486972))
action filter_type
action find
entity Q692636
relation P19
type Q486972
Arne Lorenz was born in [ANSWER]
['Q692636', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q692636 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Lübeck
Arne Lorenz was born in Lübeck
Lübeck
action filter_type
action find
entity Arne Lorenz
relation place of birth
type human settlement
['Arne Lorenz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Arne_Lorenz property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q807096
Q486972
USER
And also tell me about Johann Baptist Michael Johann?
(Q807096,P19,c(Q486972))
action filter_type
action find
entity Q807096
relation P19
type Q486972
['Q807096', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q486972 . resource:Q807096 property:P19 ?b }
Johann Baptist Michael Johann
action filter_type
action find
entity Johann Baptist Michael Johann
relation place of birth
type human settlement
['Johann Baptist Michael Johann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:human_settlement . resource:Johann_Baptist_Michael_Johann property:place_of_birth ?b }
[]
human settlement
Q1528292
SYSTEM
Steinach
Q1528292
(Q807096,P19,c(Q486972))
action filter_type
action find
entity Q807096
relation P19
type Q486972
[ANSWER]
['Q807096', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q486972 . resource:Q807096 property:P19 ?b }
Steinach
Steinach
action filter_type
action find
entity Johann Baptist Michael Johann
relation place of birth
type human settlement
['Johann Baptist Michael Johann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:human_settlement . resource:Johann_Baptist_Michael_Johann property:place_of_birth ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2843 Q1465454
P108
Q502895
USER
How many people works for Lübeck or Fritz ?
(c(Q502895),P108,Q2843) (c(Q502895),P108,Q1465454)
action count
action union
action filter_type
action find_reverse
entity Q2843
relation P108
type Q502895
action filter_type
action find_reverse
entity Q1465454
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q2843'] [{'concept': 'Q502895'}, 'P108', 'Q1465454']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Q2843 ) ( resource:Q1465454 ) } . ?v property:P108 ?q }
Lübeck Fritz
action count
action union
action filter_type
action find_reverse
entity Lübeck
relation employer
type common name
action filter_type
action find_reverse
entity Fritz
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Lübeck'] [{'concept': 'common name'}, 'employer', 'Fritz']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Lübeck ) ( resource:Fritz ) } . ?v property:employer ?q }
[]
common name
SYSTEM
5
Q1738618 Q2040343 Q16937713 Q1545580 Q1461664
(c(Q502895),P108,Q2843) (c(Q502895),P108,Q1465454)
action count
action union
action filter_type
action find_reverse
entity Q2843
relation P108
type Q502895
action filter_type
action find_reverse
entity Q1465454
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q2843'] [{'concept': 'Q502895'}, 'P108', 'Q1465454']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Q2843 ) ( resource:Q1465454 ) } . ?v property:P108 ?q }
Ken Jebsen Otto Roth Johann August Hermann Heylandt Paul Brockhaus Friedrich Reeh
5
action count
action union
action filter_type
action find_reverse
entity Lübeck
relation employer
type common name
action filter_type
action find_reverse
entity Fritz
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Lübeck'] [{'concept': 'common name'}, 'employer', 'Fritz']
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Lübeck ) ( resource:Fritz ) } . ?v property:employer ?q }
[]