Simple Question (Direct)
Simple Question
Q1933723
P937
Q56061
USER
What is the work location of Mikko Juva ?
(Q1933723,P937,c(Q56061))
action filter_type
action find
entity Q1933723
relation P937
type Q56061
['Q1933723', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1933723 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Mikko Juva
action filter_type
action find
entity Mikko Juva
relation work location
type administrative territorial entity
['Mikko Juva', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mikko_Juva property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q1933723,P937,c(Q56061))
action filter_type
action find
entity Q1933723
relation P937
type Q56061
The work location of Mikko Juva is in [ANSWER]
['Q1933723', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1933723 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Helsinki
The work location of Mikko Juva is in Helsinki
Helsinki
action filter_type
action find
entity Mikko Juva
relation work location
type administrative territorial entity
['Mikko Juva', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mikko_Juva property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1933723
P21
Q290
USER
What is the sex of that person ?
(Q1757,P21,c(Q290))
action filter_type
action find
entity Q1933723
relation P21
type Q290
['Q1757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1933723 property:P21 ?s . ?s rdf:type ontology:Q290 }
Mikko Juva
action filter_type
action find
entity Mikko Juva
relation gender
type sex
['Helsinki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mikko_Juva property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1757,P21,c(Q290))
action filter_type
action find
entity Q1933723
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1933723 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Mikko Juva
relation gender
type sex
['Helsinki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mikko_Juva property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1933723
P106
Q12737077
USER
What are the job of Mikko Juva ?
(Q1933723,P106,c(Q12737077))
action filter_type
action find
entity Q1933723
relation P106
type Q12737077
['Q1933723', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1933723 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Mikko Juva
action filter_type
action find
entity Mikko Juva
relation occupation
type occupation
['Mikko Juva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Mikko_Juva property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272 Q1743122
SYSTEM
historian, university teacher, church historian
Q201788 Q1743122 Q82955 Q1622272 Q1234713 Q42603
(Q1933723,P106,c(Q12737077))
action filter_type
action find
entity Q1933723
relation P106
type Q12737077
The job of Mikko Juva are university [ANSWERS]
['Q1933723', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1933723 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
historian church historian politician university teacher theologian priest
The job of Mikko Juva are university historian, university teacher and church historian
historian university teacher church historian
action filter_type
action find
entity Mikko Juva
relation occupation
type occupation
['Mikko Juva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Mikko_Juva property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1933723
P19
Q56061
USER
Which administrative territory is the birthplace of Mikko Juva ?
(Q1933723,P19,c(Q56061))
action filter_type
action find
entity Q1933723
relation P19
type Q56061
['Q1933723', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1933723 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Mikko Juva
action filter_type
action find
entity Mikko Juva
relation place of birth
type administrative territorial entity
['Mikko Juva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mikko_Juva property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q207891
SYSTEM
Kokkola
Q207891
(Q1933723,P19,c(Q56061))
action filter_type
action find
entity Q1933723
relation P19
type Q56061
[ANSWER] is the birthplace of Mikko Juva
['Q1933723', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1933723 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Kokkola
Kokkola is the birthplace of Mikko Juva
Kokkola
action filter_type
action find
entity Mikko Juva
relation place of birth
type administrative territorial entity
['Mikko Juva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mikko_Juva property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11637871
Q56061
USER
And also tell me about Tomoaki Tatsumi?
(Q11637871,P19,c(Q56061))
action filter_type
action find
entity Q11637871
relation P19
type Q56061
['Q11637871', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q11637871 property:P19 ?o }
Tomoaki Tatsumi
action filter_type
action find
entity Tomoaki Tatsumi
relation place of birth
type administrative territorial entity
['Tomoaki Tatsumi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Tomoaki_Tatsumi property:place_of_birth ?o }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q11637871,P19,c(Q56061))
action filter_type
action find
entity Q11637871
relation P19
type Q56061
[ANSWER]
['Q11637871', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q11637871 property:P19 ?o }
Tokyo
Tokyo
action filter_type
action find
entity Tomoaki Tatsumi
relation place of birth
type administrative territorial entity
['Tomoaki Tatsumi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Tomoaki_Tatsumi property:place_of_birth ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q201788
P106
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings have historian as his/her means of employment ?
(c(Q6619679),P106,Q201788) (c(Q15619164),P106,Q201788)
action count
action union
action filter_type
action find_reverse
entity Q201788
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q201788
relation P106
type Q15619164
[{'concept': 'Q6619679'}, 'P106', 'Q201788'] [{'concept': 'Q15619164'}, 'P106', 'Q201788']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P106 resource:Q201788 . ?l rdf:type ontology:Q6619679 } UNION { ?l property:P106 resource:Q201788 . ?l rdf:type ontology:Q15619164 } }
historian
action count
action union
action filter_type
action find_reverse
entity historian
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity historian
relation occupation
type abstract being
[{'concept': 'fictional humanoid'}, 'occupation', 'historian'] [{'concept': 'abstract being'}, 'occupation', 'historian']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:occupation resource:historian . ?l rdf:type ontology:fictional_humanoid } UNION { ?l property:occupation resource:historian . ?l rdf:type ontology:abstract_being } }
[]
fictional humanoid abstract being
SYSTEM
2 fictional humanoids and 8 abstract beings
Q7816735 Q4697548 Q1081052 Q3807065 Q12899111 Q4063579 Q5419956 Q2549549 Q3735941 Q5234329
(c(Q6619679),P106,Q201788) (c(Q15619164),P106,Q201788)
action count
action union
action filter_type
action find_reverse
entity Q201788
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q201788
relation P106
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P106', 'Q201788'] [{'concept': 'Q15619164'}, 'P106', 'Q201788']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P106 resource:Q201788 . ?l rdf:type ontology:Q6619679 } UNION { ?l property:P106 resource:Q201788 . ?l rdf:type ontology:Q15619164 } }
Tom Mason Aio Dors Venabili Janov Pelorat Caelestinus Altaïr Ibn-La'Ahad Exedore Nightwolf Exsedol Folmo David Graves
2 fictional humanoids and 8 abstract beings
action count
action union
action filter_type
action find_reverse
entity historian
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity historian
relation occupation
type abstract being
[{'concept': 'fictional humanoid'}, 'occupation', 'historian'] [{'concept': 'abstract being'}, 'occupation', 'historian']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:occupation resource:historian . ?l rdf:type ontology:fictional_humanoid } UNION { ?l property:occupation resource:historian . ?l rdf:type ontology:abstract_being } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201788
P101
Q502895
USER
Which people work in the domain of that occupation ?
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q201788 . ?d rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:historian . ?d rdf:type ontology:common_name }
[]
common name
Q60217 Q61648 Q981839
SYSTEM
Johann Gustav Droysen, Georg Gottfried Gervinus, Frederick Copleston
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] work in the domain of that occupation
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q201788 . ?d rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Johann Gustav Droysen, Georg Gottfried Gervinus and Frederick Copleston work in the domain of that occupation
Johann Gustav Droysen Georg Gottfried Gervinus Frederick Copleston
action filter_type
action find_reverse
entity historian
relation field of work
type common name
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:historian . ?d rdf:type ontology:common_name }
[]