Simple Question (Direct)
Simple Question
Q12057600
P140
Q879146
USER
Which Christian denomination is the religion of Svetloslav Veigl ?
(Q12057600,P140,c(Q879146))
action filter_type
action find
entity Q12057600
relation P140
type Q879146
['Q12057600', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?z WHERE { resource:Q12057600 property:P140 ?z . ?z rdf:type ontology:Q879146 }
Svetloslav Veigl
action filter_type
action find
entity Svetloslav Veigl
relation religion
type Christian denomination
['Svetloslav Veigl', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?z WHERE { resource:Svetloslav_Veigl property:religion ?z . ?z rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q12057600,P140,c(Q879146))
action filter_type
action find
entity Q12057600
relation P140
type Q879146
[ANSWER] is the religion of Svetloslav Veigl
['Q12057600', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?z WHERE { resource:Q12057600 property:P140 ?z . ?z rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church is the religion of Svetloslav Veigl
Roman Catholic Church
action filter_type
action find
entity Svetloslav Veigl
relation religion
type Christian denomination
['Svetloslav Veigl', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?z WHERE { resource:Svetloslav_Veigl property:religion ?z . ?z rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12057600
P21
Q290
USER
What is the sex of Svetloslav Veigl ?
(Q12057600,P21,c(Q290))
action filter_type
action find
entity Q12057600
relation P21
type Q290
['Q12057600', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q12057600 property:P21 ?o . ?o rdf:type ontology:Q290 }
Svetloslav Veigl
action filter_type
action find
entity Svetloslav Veigl
relation gender
type sex
['Svetloslav Veigl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Svetloslav_Veigl property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12057600,P21,c(Q290))
action filter_type
action find
entity Q12057600
relation P21
type Q290
The sex of Svetloslav Veigl is a [ANSWER]
['Q12057600', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q12057600 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Svetloslav Veigl is a male
male
action filter_type
action find
entity Svetloslav Veigl
relation gender
type sex
['Svetloslav Veigl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Svetloslav_Veigl property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20033220
Q290
USER
And how about Carlo Hornung-Jensen?
(Q20033220,P21,c(Q290))
action filter_type
action find
entity Q20033220
relation P21
type Q290
['Q20033220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q20033220 property:P21 ?x . ?x rdf:type ontology:Q290 }
Carlo Hornung-Jensen
action filter_type
action find
entity Carlo Hornung-Jensen
relation gender
type sex
['Carlo Hornung-Jensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Carlo_Hornung-Jensen property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20033220,P21,c(Q290))
action filter_type
action find
entity Q20033220
relation P21
type Q290
[ANSWER]
['Q20033220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q20033220 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Carlo Hornung-Jensen
relation gender
type sex
['Carlo Hornung-Jensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Carlo_Hornung-Jensen property:gender ?x . ?x rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q3977918 Q2088357
USER
How many mineral supergroupss or musical ensembles are named after that sex ?
(c(Q3977918),P138,Q6581097) (c(Q2088357),P138,Q6581097) (c(Q3977918),P138,Q6581097) (c(Q2088357),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
[{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3977918 ) ( ontology:Q2088357 ) } }
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:mineral_supergroups ) ( ontology:musical_ensemble ) } }
[]
mineral supergroups musical ensemble
SYSTEM
2
Q19861994 Q15181127
(c(Q3977918),P138,Q6581097) (c(Q2088357),P138,Q6581097) (c(Q3977918),P138,Q6581097) (c(Q2088357),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
[ANSWER]
[{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q3977918'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3977918 ) ( ontology:Q2088357 ) } }
tazzoliite Ausekarane
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
[{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral supergroups'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:mineral_supergroups ) ( ontology:musical_ensemble ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12057600
P106
Q12737077
USER
What do Svetloslav Veigl do for a living ?
(Q12057600,P106,c(Q12737077))
action filter_type
action find
entity Q12057600
relation P106
type Q12737077
['Q12057600', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q12057600 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Svetloslav Veigl
action filter_type
action find
entity Svetloslav Veigl
relation occupation
type occupation
['Svetloslav Veigl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Svetloslav_Veigl property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q250867 Q36180 Q49757
SYSTEM
Catholic priest, writer, poet
Q250867 Q36180 Q49757
(Q12057600,P106,c(Q12737077))
action filter_type
action find
entity Q12057600
relation P106
type Q12737077
Svetloslav Veigl do for a living a [ANSWERS]
['Q12057600', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q12057600 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Catholic priest writer poet
Svetloslav Veigl do for a living a Catholic priest, writer and poet
Catholic priest writer poet
action filter_type
action find
entity Svetloslav Veigl
relation occupation
type occupation
['Svetloslav Veigl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Svetloslav_Veigl property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q250867
P793
Q502895
USER
Which person is that occupation a key event of ?
(c(Q502895),P793,Q250867)
action filter_type
action find_reverse
entity Q250867
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q250867']
SELECT DISTINCT ?r WHERE { ?r property:P793 resource:Q250867 . ?r rdf:type ontology:Q502895 }
Catholic priest
action filter_type
action find_reverse
entity Catholic priest
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Catholic priest']
SELECT DISTINCT ?r WHERE { ?r property:significant_event resource:Catholic_priest . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q36180
SYSTEM
Did you mean writer ?
Q250867 Q36180 Q49757
(c(Q502895),P793,Q250867) (c(Q502895),P793,Q36180) (c(Q502895),P793,Q49757)
[ANSWER]
[{'concept': 'Q502895'}, 'P793', 'Q250867'] [{'concept': 'Q502895'}, 'P793', 'Q36180'] [{'concept': 'Q502895'}, 'P793', 'Q49757']
SELECT DISTINCT ?r WHERE { ?r property:P793 resource:Q250867 . ?r rdf:type ontology:Q502895 }
Catholic priest writer poet
Did you mean writer ?
writer
[{'concept': 'common name'}, 'significant event', 'Catholic priest'] [{'concept': 'common name'}, 'significant event', 'writer'] [{'concept': 'common name'}, 'significant event', 'poet']
SELECT DISTINCT ?r WHERE { ?r property:significant_event resource:Catholic_priest . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Catholic priest. Could you tell me the answer for that?
(c(Q502895),P793,Q250867)
Q250867
[{'concept': 'Q502895'}, 'P793', 'Q250867']
[{'concept': 'common name'}, 'significant event', 'Catholic priest']
[]
Q1309250
SYSTEM
Everard de Jong
Q1309250
(c(Q502895),P793,Q250867)
action filter_type
action find_reverse
entity Q250867
relation P793
type Q502895
[ANSWER] is that occupation a key event of
[{'concept': 'Q502895'}, 'P793', 'Q250867']
SELECT DISTINCT ?r WHERE { ?r property:P793 resource:Q250867 . ?r rdf:type ontology:Q502895 }
Everard de Jong
Everard de Jong is that occupation a key event of
Everard de Jong
action filter_type
action find_reverse
entity Catholic priest
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Catholic priest']
SELECT DISTINCT ?r WHERE { ?r property:significant_event resource:Catholic_priest . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1309250 Q1007051
P19
Q56061
USER
Is Storden the place of birth of Everard de Jong ?
(Q1309250,P19,Q1007051)
action is_in
entity Q1007051
action find
entity Q1309250
relation P19
['Q1309250', 'P19', 'Q1007051']
ASK WHERE { resource:Q1309250 property:P19 resource:Q1007051 }
Everard de Jong Storden
action is_in
entity Storden
action find
entity Everard de Jong
relation place of birth
['Everard de Jong', 'place of birth', 'Storden']
ASK WHERE { resource:Everard_de_Jong property:place_of_birth resource:Storden }
[]
administrative territorial entity
SYSTEM
NO
(Q1309250,P19,Q1007051)
action is_in
entity Q1007051
action find
entity Q1309250
relation P19
[ANSWER]
['Q1309250', 'P19', 'Q1007051']
ASK WHERE { resource:Q1309250 property:P19 resource:Q1007051 }
No
action is_in
entity Storden
action find
entity Everard de Jong
relation place of birth
['Everard de Jong', 'place of birth', 'Storden']
ASK WHERE { resource:Everard_de_Jong property:place_of_birth resource:Storden }
[]