Simple Question (Direct)
Simple Question
Q101728
P172
Q2472587
USER
Which ethnic group does Michael Rossmann belong ?
(Q101728,P172,c(Q2472587))
action filter_type
action find
entity Q101728
relation P172
type Q2472587
['Q101728', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q101728 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Michael Rossmann
action filter_type
action find
entity Michael Rossmann
relation ethnic group
type people
['Michael Rossmann', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Michael_Rossmann property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q42884
SYSTEM
Germans
Q42884
(Q101728,P172,c(Q2472587))
action filter_type
action find
entity Q101728
relation P172
type Q2472587
Michael Rossmann belongs to [ANSWER]
['Q101728', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q101728 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Germans
Michael Rossmann belongs to Germans
Germans
action filter_type
action find
entity Michael Rossmann
relation ethnic group
type people
['Michael Rossmann', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Michael_Rossmann property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q101728
P140
Q874405
USER
What is the religion associated with Michael Rossmann ?
(Q101728,P140,c(Q874405))
action filter_type
action find
entity Q101728
relation P140
type Q874405
['Q101728', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q874405 . resource:Q101728 property:P140 ?e }
Michael Rossmann
action filter_type
action find
entity Michael Rossmann
relation religion
type social group
['Michael Rossmann', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:social_group . resource:Michael_Rossmann property:religion ?e }
[]
social group
Q9268
SYSTEM
Judaism
Q9268
(Q101728,P140,c(Q874405))
action filter_type
action find
entity Q101728
relation P140
type Q874405
The religion associated with Michael Rossmann is Conservative [ANSWER]
['Q101728', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q874405 . resource:Q101728 property:P140 ?e }
Judaism
The religion associated with Michael Rossmann is Conservative Judaism
Judaism
action filter_type
action find
entity Michael Rossmann
relation religion
type social group
['Michael Rossmann', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:social_group . resource:Michael_Rossmann property:religion ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4115267
Q874405
USER
And how about Muhsin al-Hakim?
(Q4115267,P140,c(Q874405))
action filter_type
action find
entity Q4115267
relation P140
type Q874405
['Q4115267', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q4115267 property:P140 ?c . ?c rdf:type ontology:Q874405 }
Muhsin al-Hakim
action filter_type
action find
entity Muhsin al-Hakim
relation religion
type social group
['Muhsin al-Hakim', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Muhsin_al-Hakim property:religion ?c . ?c rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q4115267,P140,c(Q874405))
action filter_type
action find
entity Q4115267
relation P140
type Q874405
[ANSWER]
['Q4115267', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q4115267 property:P140 ?c . ?c rdf:type ontology:Q874405 }
Islam
Islam
action filter_type
action find
entity Muhsin al-Hakim
relation religion
type social group
['Muhsin al-Hakim', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Muhsin_al-Hakim property:religion ?c . ?c rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4115267
P22
Q502895
USER
How many people have Muhsin al-Hakim as father ?
(c(Q502895),P22,Q4115267)
action count
action filter_type
action find_reverse
entity Q4115267
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q4115267']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 resource:Q4115267 }
Muhsin al-Hakim
action count
action filter_type
action find_reverse
entity Muhsin al-Hakim
relation father
type common name
[{'concept': 'common name'}, 'father', 'Muhsin al-Hakim']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . ?j property:father resource:Muhsin_al-Hakim }
[]
common name
SYSTEM
1
Q307168
(c(Q502895),P22,Q4115267)
action count
action filter_type
action find_reverse
entity Q4115267
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q4115267']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 resource:Q4115267 }
Abdul Aziz al-Hakim
1
action count
action filter_type
action find_reverse
entity Muhsin al-Hakim
relation father
type common name
[{'concept': 'common name'}, 'father', 'Muhsin al-Hakim']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . ?j property:father resource:Muhsin_al-Hakim }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4115267
P22
Q502895
USER
Who is the offspring of that one ?
action filter_type
action find_reverse
entity Q4115267
relation P22
type Q502895
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q4115267 . ?s rdf:type ontology:Q502895 }
Muhsin al-Hakim
action filter_type
action find_reverse
entity Muhsin al-Hakim
relation father
type common name
SELECT DISTINCT ?s WHERE { ?s property:father resource:Muhsin_al-Hakim . ?s rdf:type ontology:common_name }
[]
common name
Q307168
SYSTEM
Abdul Aziz al-Hakim
Q307168
action filter_type
action find_reverse
entity Q4115267
relation P22
type Q502895
The offspring of that one is Prince [ANSWER]
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q4115267 . ?s rdf:type ontology:Q502895 }
Abdul Aziz al-Hakim
The offspring of that one is Prince Abdul Aziz al-Hakim
Abdul Aziz al-Hakim
action filter_type
action find_reverse
entity Muhsin al-Hakim
relation father
type common name
SELECT DISTINCT ?s WHERE { ?s property:father resource:Muhsin_al-Hakim . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4115267
P40
Q502895
USER
Which person is an offspring of Muhsin al-Hakim ?
(Q4115267,P40,c(Q502895))
action filter_type
action find
entity Q4115267
relation P40
type Q502895
['Q4115267', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4115267 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Muhsin al-Hakim
action filter_type
action find
entity Muhsin al-Hakim
relation child
type common name
['Muhsin al-Hakim', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Muhsin_al-Hakim property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q307168
SYSTEM
Abdul Aziz al-Hakim
Q307168
(Q4115267,P40,c(Q502895))
action filter_type
action find
entity Q4115267
relation P40
type Q502895
[ANSWER] is an offspring of Muhsin al-Hakim
['Q4115267', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4115267 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Abdul Aziz al-Hakim
Abdul Aziz al-Hakim is an offspring of Muhsin al-Hakim
Abdul Aziz al-Hakim
action filter_type
action find
entity Muhsin al-Hakim
relation child
type common name
['Muhsin al-Hakim', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Muhsin_al-Hakim property:child ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q432
P921
Q191067
USER
Which articles have Islam as their main topic ?
(c(Q191067),P921,Q432)
action filter_type
action find_reverse
entity Q432
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q432']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q432 . ?w rdf:type ontology:Q191067 }
Islam
action filter_type
action find_reverse
entity Islam
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Islam']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Islam . ?w rdf:type ontology:article }
[]
article
Q21009357 Q21009363 Q21009371
SYSTEM
EB-11 / Islam, NIE / Islam, CE / Islam
Q21009357 Q21009363 Q21009371
(c(Q191067),P921,Q432)
action filter_type
action find_reverse
entity Q432
relation P921
type Q191067
[ANSWERS] have Islam as their main topic
[{'concept': 'Q191067'}, 'P921', 'Q432']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q432 . ?w rdf:type ontology:Q191067 }
EB-11 / Islam NIE / Islam CE / Islam
EB-11 / Islam, NIE / Islam and CE / Islam have Islam as their main topic
EB-11 / Islam NIE / Islam CE / Islam
action filter_type
action find_reverse
entity Islam
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Islam']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Islam . ?w rdf:type ontology:article }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21009357
P1433
Q571
USER
Which book contains that article ?
(Q21009357,P1433,c(Q571))
action filter_type
action find
entity Q21009357
relation P1433
type Q571
['Q21009357', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q571 . resource:Q21009357 property:P1433 ?z }
EB-11 / Islam
action filter_type
action find
entity EB-11 / Islam
relation published in
type book
['EB-11 / Islam', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:book . resource:EB-11_/_Islam property:published_in ?z }
[]
book
Clarification for simple ques.
Q21009371
SYSTEM
Did you mean CE / Islam ?
Q21009357 Q21009363 Q21009371
(Q21009357,P1433,c(Q571)) (Q21009363,P1433,c(Q571)) (Q21009371,P1433,c(Q571))
[ANSWER]
['Q21009357', 'P1433', {'concept': 'Q571'}] ['Q21009363', 'P1433', {'concept': 'Q571'}] ['Q21009371', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q571 . resource:Q21009357 property:P1433 ?z }
EB-11 / Islam NIE / Islam CE / Islam
Did you mean CE / Islam ?
CE / Islam
['EB-11 / Islam', 'published in', {'concept': 'book'}] ['NIE / Islam', 'published in', {'concept': 'book'}] ['CE / Islam', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:book . resource:EB-11_/_Islam property:published_in ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant EB-11 / Islam. Could you tell me the answer for that?
(Q21009357,P1433,c(Q571))
Q21009357
['Q21009357', 'P1433', {'concept': 'Q571'}]
['EB-11 / Islam', 'published in', {'concept': 'book'}]
[]
Q867541
SYSTEM
1911 Encyclopædia Britannica
Q867541
(Q21009357,P1433,c(Q571))
action filter_type
action find
entity Q21009357
relation P1433
type Q571
[ANSWER] contains that article
['Q21009357', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q571 . resource:Q21009357 property:P1433 ?z }
1911 Encyclopædia Britannica
1911 Encyclopædia Britannica contains that article
1911 Encyclopædia Britannica
action filter_type
action find
entity EB-11 / Islam
relation published in
type book
['EB-11 / Islam', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:book . resource:EB-11_/_Islam property:published_in ?z }
[]