Simple Question (Direct)
Simple Question
Q736515
P1313
Q12737077
USER
What is the occupation held by Munilla ?
(Q736515,P1313,c(Q12737077))
action filter_type
action find
entity Q736515
relation P1313
type Q12737077
['Q736515', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q736515 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
Munilla
action filter_type
action find
entity Munilla
relation office held by head of government
type occupation
['Munilla', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Munilla property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q26699774
SYSTEM
mayor of Munilla
Q26699774
(Q736515,P1313,c(Q12737077))
action filter_type
action find
entity Q736515
relation P1313
type Q12737077
The occupation held by Munilla is the [ANSWER]
['Q736515', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q736515 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
mayor of Munilla
The occupation held by Munilla is the mayor of Munilla
mayor of Munilla
action filter_type
action find
entity Munilla
relation office held by head of government
type occupation
['Munilla', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Munilla property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q736515
P19
Q502895
USER
Which person has place of birth as Munilla ?
(c(Q502895),P19,Q736515)
action filter_type
action find_reverse
entity Q736515
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q736515']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P19 resource:Q736515 }
Munilla
action filter_type
action find_reverse
entity Munilla
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Munilla']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_birth resource:Munilla }
[]
common name
Q11934949
SYSTEM
Manuel Frías Enciso
Q11934949
(c(Q502895),P19,Q736515)
action filter_type
action find_reverse
entity Q736515
relation P19
type Q502895
[ANSWER] has place of birth as Munilla
[{'concept': 'Q502895'}, 'P19', 'Q736515']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P19 resource:Q736515 }
Manuel Frías Enciso
Manuel Frías Enciso has place of birth as Munilla
Manuel Frías Enciso
action filter_type
action find_reverse
entity Munilla
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Munilla']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_birth resource:Munilla }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26699774
P1001
Q1048835
USER
Which political territory is linked to mayor of Munilla ?
(Q26699774,P1001,c(Q1048835))
action filter_type
action find
entity Q26699774
relation P1001
type Q1048835
['Q26699774', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q26699774 property:P1001 ?u . ?u rdf:type ontology:Q1048835 }
mayor of Munilla
action filter_type
action find
entity mayor of Munilla
relation applies to jurisdiction
type political territorial entity
['mayor of Munilla', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor_of_Munilla property:applies_to_jurisdiction ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q736515
SYSTEM
Munilla
Q736515
(Q26699774,P1001,c(Q1048835))
action filter_type
action find
entity Q26699774
relation P1001
type Q1048835
[ANSWER] is linked to mayor of [ANSWER]
['Q26699774', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q26699774 property:P1001 ?u . ?u rdf:type ontology:Q1048835 }
Munilla
Munilla is linked to mayor of Munilla
Munilla
action filter_type
action find
entity mayor of Munilla
relation applies to jurisdiction
type political territorial entity
['mayor of Munilla', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor_of_Munilla property:applies_to_jurisdiction ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11934949
P106
Q12737077
USER
Which occupation is the profession of Manuel Frías Enciso ?
(Q11934949,P106,c(Q12737077))
action filter_type
action find
entity Q11934949
relation P106
type Q12737077
['Q11934949', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11934949 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Manuel Frías Enciso
action filter_type
action find
entity Manuel Frías Enciso
relation occupation
type occupation
['Manuel Frías Enciso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Manuel_Frías_Enciso property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q11934949,P106,c(Q12737077))
action filter_type
action find
entity Q11934949
relation P106
type Q12737077
So [ANSWER] is the profession of Manuel Frías Enciso
['Q11934949', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11934949 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician
So politician is the profession of Manuel Frías Enciso
politician
action filter_type
action find
entity Manuel Frías Enciso
relation occupation
type occupation
['Manuel Frías Enciso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Manuel_Frías_Enciso property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1358447
Q12737077
USER
And what about Ernst Hadorn?
(Q1358447,P106,c(Q12737077))
action filter_type
action find
entity Q1358447
relation P106
type Q12737077
['Q1358447', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1358447 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Ernst Hadorn
action filter_type
action find
entity Ernst Hadorn
relation occupation
type occupation
['Ernst Hadorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ernst_Hadorn property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3126128 Q1622272 Q350979
SYSTEM
geneticist, university teacher, zoologist
Q3126128 Q1622272 Q350979
(Q1358447,P106,c(Q12737077))
action filter_type
action find
entity Q1358447
relation P106
type Q12737077
[ANSWERS]
['Q1358447', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1358447 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
geneticist university teacher zoologist
geneticist university teacher zoologist
action filter_type
action find
entity Ernst Hadorn
relation occupation
type occupation
['Ernst Hadorn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ernst_Hadorn property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q350979
P425
Q336
USER
Which science has that one as thier associated field of occupation ?
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?w WHERE { resource:Q350979 property:P425 ?w . ?w rdf:type ontology:Q336 }
zoologist
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?w WHERE { resource:zoologist property:field_of_this_occupation ?w . ?w rdf:type ontology:science }
[]
science
Clarification for simple ques.
Q1622272
SYSTEM
Did you mean university teacher ?
Q3126128 Q1622272 Q350979
(Q3126128,P425,c(Q336)) (Q1622272,P425,c(Q336)) (Q350979,P425,c(Q336))
[ANSWER]
['Q3126128', 'P425', {'concept': 'Q336'}] ['Q1622272', 'P425', {'concept': 'Q336'}] ['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?w WHERE { resource:Q350979 property:P425 ?w . ?w rdf:type ontology:Q336 }
geneticist university teacher zoologist
Did you mean university teacher ?
university teacher
['geneticist', 'field of this occupation', {'concept': 'science'}] ['university teacher', 'field of this occupation', {'concept': 'science'}] ['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?w WHERE { resource:zoologist property:field_of_this_occupation ?w . ?w rdf:type ontology:science }
[]
Simple Question (Coreferenced)
USER
No, I meant zoologist. Could you tell me the answer for that?
(Q350979,P425,c(Q336))
Q350979
['Q350979', 'P425', {'concept': 'Q336'}]
['zoologist', 'field of this occupation', {'concept': 'science'}]
[]
Q431
SYSTEM
zoology
Q431
(Q350979,P425,c(Q336))
action filter_type
action find
entity Q350979
relation P425
type Q336
[ANSWER] has that one as thier associated field of occupation
['Q350979', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?w WHERE { resource:Q350979 property:P425 ?w . ?w rdf:type ontology:Q336 }
zoology
Zoology has that one as thier associated field of occupation
zoology
action filter_type
action find
entity zoologist
relation field of this occupation
type science
['zoologist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?w WHERE { resource:zoologist property:field_of_this_occupation ?w . ?w rdf:type ontology:science }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q431
P425
Q12737077
USER
Which occupation does that science belong to ?
(c(Q12737077),P425,Q431)
action filter_type
action find_reverse
entity Q431
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q431']
SELECT DISTINCT ?v WHERE { ?v property:P425 resource:Q431 . ?v rdf:type ontology:Q12737077 }
zoology
action filter_type
action find_reverse
entity zoology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'zoology']
SELECT DISTINCT ?v WHERE { ?v property:field_of_this_occupation resource:zoology . ?v rdf:type ontology:occupation }
[]
occupation
Q350979
SYSTEM
zoologist
Q350979
(c(Q12737077),P425,Q431)
action filter_type
action find_reverse
entity Q431
relation P425
type Q12737077
That science belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q431']
SELECT DISTINCT ?v WHERE { ?v property:P425 resource:Q431 . ?v rdf:type ontology:Q12737077 }
zoologist
That science belongs to zoologist
zoologist
action filter_type
action find_reverse
entity zoology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'zoology']
SELECT DISTINCT ?v WHERE { ?v property:field_of_this_occupation resource:zoology . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q350979 Q28530
P106
Q502895
USER
Does William II, Count of Flanders have the profession as that occupation ?
(Q28530,P106,Q350979)
action is_in
entity Q28530
action find
entity Q350979
relation P106
['Q28530', 'P106', 'Q350979']
ASK WHERE { resource:Q350979 property:P106 resource:Q28530 }
zoologist William II, Count of Flanders
action is_in
entity William II, Count of Flanders
action find
entity zoologist
relation occupation
['William II, Count of Flanders', 'occupation', 'zoologist']
ASK WHERE { resource:zoologist property:occupation resource:William_II,_Count_of_Flanders }
[]
common name
SYSTEM
NO
(Q28530,P106,Q350979)
action is_in
entity Q28530
action find
entity Q350979
relation P106
[ANSWER]
['Q28530', 'P106', 'Q350979']
ASK WHERE { resource:Q350979 property:P106 resource:Q28530 }
No
action is_in
entity William II, Count of Flanders
action find
entity zoologist
relation occupation
['William II, Count of Flanders', 'occupation', 'zoologist']
ASK WHERE { resource:zoologist property:occupation resource:William_II,_Count_of_Flanders }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82955 Q2192174
P39
Q502895
USER
How many people held the position of politician or Flemish minister of Education and Training ?
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q2192174)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2192174
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q2192174']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?s ) { ( resource:Q82955 ) ( resource:Q2192174 ) } . ?r property:P39 ?s }
politician Flemish minister of Education and Training
action count
action union
action filter_type
action find_reverse
entity politician
relation position held
type common name
action filter_type
action find_reverse
entity Flemish minister of Education and Training
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'Flemish minister of Education and Training']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?s ) { ( resource:politician ) ( resource:Flemish_minister_of_Education_and_Training ) } . ?r property:position_held ?s }
[]
common name
SYSTEM
3
Q15994 Q26215129 Q734492
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q2192174)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2192174
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q2192174']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?s ) { ( resource:Q82955 ) ( resource:Q2192174 ) } . ?r property:P39 ?s }
Hilde Crevits Morteza Azari Pascal Smet
3
action count
action union
action filter_type
action find_reverse
entity politician
relation position held
type common name
action filter_type
action find_reverse
entity Flemish minister of Education and Training
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'Flemish minister of Education and Training']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?s ) { ( resource:politician ) ( resource:Flemish_minister_of_Education_and_Training ) } . ?r property:position_held ?s }
[]