Simple Question (Direct)
Simple Question
Q12320916
P102
Q7210356
USER
Which party does Jørn Dohrmann belong to ?
(Q12320916,P102,c(Q7210356))
action filter_type
action find
entity Q12320916
relation P102
type Q7210356
['Q12320916', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q12320916 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Jørn Dohrmann
action filter_type
action find
entity Jørn Dohrmann
relation member of political party
type political organization
['Jørn Dohrmann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Jørn_Dohrmann property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q507170
SYSTEM
Danish People's Party
Q507170
(Q12320916,P102,c(Q7210356))
action filter_type
action find
entity Q12320916
relation P102
type Q7210356
Jørn Dohrmann belongs to [ANSWER]
['Q12320916', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q12320916 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Danish People's Party
Jørn Dohrmann belongs to Danish People's Party
Danish People's Party
action filter_type
action find
entity Jørn Dohrmann
relation member of political party
type political organization
['Jørn Dohrmann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Jørn_Dohrmann property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12320916
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q507170,P19,c(Q56061))
action filter_type
action find
entity Q12320916
relation P19
type Q56061
['Q507170', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12320916 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Jørn Dohrmann
action filter_type
action find
entity Jørn Dohrmann
relation place of birth
type administrative territorial entity
["Danish People's Party", 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jørn_Dohrmann property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q27119
SYSTEM
Kolding
Q27119
(Q507170,P19,c(Q56061))
action filter_type
action find
entity Q12320916
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q507170', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12320916 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Kolding
Kolding is the birthplace of that person
Kolding
action filter_type
action find
entity Jørn Dohrmann
relation place of birth
type administrative territorial entity
["Danish People's Party", 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jørn_Dohrmann property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12320916
P106
Q12737077
USER
What is the profession of Jørn Dohrmann ?
(Q12320916,P106,c(Q12737077))
action filter_type
action find
entity Q12320916
relation P106
type Q12737077
['Q12320916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q12320916 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Jørn Dohrmann
action filter_type
action find
entity Jørn Dohrmann
relation occupation
type occupation
['Jørn Dohrmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jørn_Dohrmann property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q12320916,P106,c(Q12737077))
action filter_type
action find
entity Q12320916
relation P106
type Q12737077
The profession of Jørn Dohrmann is a [ANSWER]
['Q12320916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q12320916 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
The profession of Jørn Dohrmann is a politician
politician
action filter_type
action find
entity Jørn Dohrmann
relation occupation
type occupation
['Jørn Dohrmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jørn_Dohrmann property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q39367 Q16887380
USER
How many dog breeds and groups have that occupation as his/her means of employment ?
(c(Q39367),P106,Q82955) (c(Q16887380),P106,Q82955) (c(Q39367),P106,Q82955) (c(Q16887380),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q39367
action filter_type
action find_reverse
entity Q82955
relation P106
type Q16887380
[{'concept': 'Q39367'}, 'P106', 'Q82955'] [{'concept': 'Q16887380'}, 'P106', 'Q82955'] [{'concept': 'Q39367'}, 'P106', 'Q82955'] [{'concept': 'Q16887380'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q39367 ) ( ontology:Q16887380 ) } }
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type dog breed
action filter_type
action find_reverse
entity politician
relation occupation
type group
[{'concept': 'dog breed'}, 'occupation', 'politician'] [{'concept': 'group'}, 'occupation', 'politician'] [{'concept': 'dog breed'}, 'occupation', 'politician'] [{'concept': 'group'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:dog_breed ) ( ontology:group ) } }
[]
dog breed group
SYSTEM
1 dog breeds and 2 groups
Q646617 Q8021383 Q3200016
(c(Q39367),P106,Q82955) (c(Q16887380),P106,Q82955) (c(Q39367),P106,Q82955) (c(Q16887380),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q39367
action filter_type
action find_reverse
entity Q82955
relation P106
type Q16887380
[ANSWER]
[{'concept': 'Q39367'}, 'P106', 'Q82955'] [{'concept': 'Q16887380'}, 'P106', 'Q82955'] [{'concept': 'Q39367'}, 'P106', 'Q82955'] [{'concept': 'Q16887380'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q39367 ) ( ontology:Q16887380 ) } }
Hurmuzachi brothers Willie Bean Kryeziu Brothers
1 dog breeds and 2 groups
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type dog breed
action filter_type
action find_reverse
entity politician
relation occupation
type group
[{'concept': 'dog breed'}, 'occupation', 'politician'] [{'concept': 'group'}, 'occupation', 'politician'] [{'concept': 'dog breed'}, 'occupation', 'politician'] [{'concept': 'group'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:dog_breed ) ( ontology:group ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q507170
P1344
Q1656682
USER
Which event did Danish People's Party compete in ?
(Q507170,P1344,c(Q1656682))
action filter_type
action find
entity Q507170
relation P1344
type Q1656682
['Q507170', 'P1344', {'concept': 'Q1656682'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1656682 . resource:Q507170 property:P1344 ?q }
Danish People's Party
action filter_type
action find
entity Danish People's Party
relation participant of
type event
["Danish People's Party", 'participant of', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:event . resource:Danish_People's_Party property:participant_of ?q }
[]
event
Q24632656
SYSTEM
The People's Meeting 2016
Q24632656
(Q507170,P1344,c(Q1656682))
action filter_type
action find
entity Q507170
relation P1344
type Q1656682
Danish People's Party competed in [ANSWER]
['Q507170', 'P1344', {'concept': 'Q1656682'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1656682 . resource:Q507170 property:P1344 ?q }
The People's Meeting 2016
Danish People's Party competed in The People's Meeting 2016
The People's Meeting 2016
action filter_type
action find
entity Danish People's Party
relation participant of
type event
["Danish People's Party", 'participant of', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:event . resource:Danish_People's_Party property:participant_of ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q24632656 Q172140
P1344
Q502895
USER
Did Michael Crichton participate in that event ?
(Q172140,P1344,Q24632656)
action is_in
entity Q172140
action find
entity Q24632656
relation P1344
['Q172140', 'P1344', 'Q24632656']
ASK WHERE { resource:Q24632656 property:P1344 resource:Q172140 }
The People's Meeting 2016 Michael Crichton
action is_in
entity Michael Crichton
action find
entity The People's Meeting 2016
relation participant of
['Michael Crichton', 'participant of', "The People's Meeting 2016"]
ASK WHERE { resource:The_People's_Meeting_2016 property:participant_of resource:Michael_Crichton }
[]
common name
SYSTEM
NO
(Q172140,P1344,Q24632656)
action is_in
entity Q172140
action find
entity Q24632656
relation P1344
[ANSWER]
['Q172140', 'P1344', 'Q24632656']
ASK WHERE { resource:Q24632656 property:P1344 resource:Q172140 }
No
action is_in
entity Michael Crichton
action find
entity The People's Meeting 2016
relation participant of
['Michael Crichton', 'participant of', "The People's Meeting 2016"]
ASK WHERE { resource:The_People's_Meeting_2016 property:participant_of resource:Michael_Crichton }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12320916
P39
Q12737077
USER
Which occupation was a position occupied by Jørn Dohrmann ?
(Q12320916,P39,c(Q12737077))
action filter_type
action find
entity Q12320916
relation P39
type Q12737077
['Q12320916', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q12320916 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Jørn Dohrmann
action filter_type
action find
entity Jørn Dohrmann
relation position held
type occupation
['Jørn Dohrmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jørn_Dohrmann property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q12320916,P39,c(Q12737077))
action filter_type
action find
entity Q12320916
relation P39
type Q12737077
[ANSWER] was a position occupied by Jørn Dohrmann
['Q12320916', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q12320916 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
member of the European Parliament
Member of the European Parliament was a position occupied by Jørn Dohrmann
member of the European Parliament
action filter_type
action find
entity Jørn Dohrmann
relation position held
type occupation
['Jørn Dohrmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jørn_Dohrmann property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q27119
P21 P20
Q502895
USER
Which people died in Kolding and have male as the sex ?
AND((c(Q502895),P20,Q27119), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q27119
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q27119'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q27119 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
male Kolding
action filter_type
action intersection
action find_reverse
entity Kolding
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kolding'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Kolding . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
common name
Q1493614 Q154998 Q3366433
SYSTEM
Israel Gottlieb Wernicke, Christian III of Denmark, Helge Halkjær
Q1493614 Q154998 Q3366433
AND((c(Q502895),P20,Q27119), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q27119
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Kolding and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q27119'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q27119 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
Israel Gottlieb Wernicke Christian III of Denmark Helge Halkjær
Israel Gottlieb Wernicke, Christian III of Denmark and Helge Halkjær died in Kolding and have male as the sex
Israel Gottlieb Wernicke Christian III of Denmark Helge Halkjær
action filter_type
action intersection
action find_reverse
entity Kolding
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kolding'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Kolding . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27169
P1001
Q56061
USER
Which administrative territory applies to jurisdiction of member of the European Parliament ?
(Q27169,P1001,c(Q56061))
action filter_type
action find
entity Q27169
relation P1001
type Q56061
['Q27169', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q27169 property:P1001 ?u }
member of the European Parliament
action filter_type
action find
entity member of the European Parliament
relation applies to jurisdiction
type administrative territorial entity
['member of the European Parliament', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:member_of_the_European_Parliament property:applies_to_jurisdiction ?u }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q27169,P1001,c(Q56061))
action filter_type
action find
entity Q27169
relation P1001
type Q56061
The [ANSWER] applies to jurisdiction of member of the European Parliament
['Q27169', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q27169 property:P1001 ?u }
European Union
The European Union applies to jurisdiction of member of the European Parliament
European Union
action filter_type
action find
entity member of the European Parliament
relation applies to jurisdiction
type administrative territorial entity
['member of the European Parliament', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:member_of_the_European_Parliament property:applies_to_jurisdiction ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P30
Q2221906
USER
Which geographic locations are that administrative territory located in ?
(Q458,P30,c(Q2221906))
action filter_type
action find
entity Q458
relation P30
type Q2221906
['Q458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q458 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
European Union
action filter_type
action find
entity European Union
relation continent
type geographic location
['European Union', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:European_Union property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q48 Q46
SYSTEM
Africa, Asia, Europe
Q46 Q15 Q18 Q48 Q49
(Q458,P30,c(Q2221906))
action filter_type
action find
entity Q458
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
['Q458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q458 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Europe Africa South America Asia North America
That administrative territory are located in Africa, Asia and Europe
Africa Asia Europe
action filter_type
action find
entity European Union
relation continent
type geographic location
['European Union', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:European_Union property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154998
P26
Q502895
USER
Who is the spouse of Christian III of Denmark ?
(Q154998,P26,c(Q502895))
action filter_type
action find
entity Q154998
relation P26
type Q502895
['Q154998', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q154998 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Christian III of Denmark
action filter_type
action find
entity Christian III of Denmark
relation spouse
type common name
['Christian III of Denmark', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Christian_III_of_Denmark property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q234549
SYSTEM
Dorothea of Saxe-Lauenburg
Q234549
(Q154998,P26,c(Q502895))
action filter_type
action find
entity Q154998
relation P26
type Q502895
The spouse of Christian III of Denmark is Princess [ANSWER]
['Q154998', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q154998 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Dorothea of Saxe-Lauenburg
The spouse of Christian III of Denmark is Princess Dorothea of Saxe-Lauenburg
Dorothea of Saxe-Lauenburg
action filter_type
action find
entity Christian III of Denmark
relation spouse
type common name
['Christian III of Denmark', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Christian_III_of_Denmark property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q270638
Q502895
USER
And what about Vanessa Minnillo?
(Q270638,P26,c(Q502895))
action filter_type
action find
entity Q270638
relation P26
type Q502895
['Q270638', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q270638 property:P26 ?r }
Vanessa Minnillo
action filter_type
action find
entity Vanessa Minnillo
relation spouse
type common name
['Vanessa Minnillo', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Vanessa_Minnillo property:spouse ?r }
[]
common name
Q356109
SYSTEM
Nick Lachey
Q356109
(Q270638,P26,c(Q502895))
action filter_type
action find
entity Q270638
relation P26
type Q502895
[ANSWER]
['Q270638', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q270638 property:P26 ?r }
Nick Lachey
Nick Lachey
action filter_type
action find
entity Vanessa Minnillo
relation spouse
type common name
['Vanessa Minnillo', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Vanessa_Minnillo property:spouse ?r }
[]