Simple Question (Direct)
Simple Question
Q644107
P140
Q879146
USER
What is the religious affiliation of Paolo Polidori ?
(Q644107,P140,c(Q879146))
action filter_type
action find
entity Q644107
relation P140
type Q879146
['Q644107', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q644107 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Paolo Polidori
action filter_type
action find
entity Paolo Polidori
relation religion
type Christian denomination
['Paolo Polidori', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Paolo_Polidori property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q644107,P140,c(Q879146))
action filter_type
action find
entity Q644107
relation P140
type Q879146
The religious affiliation of Paolo Polidori is a [ANSWER]
['Q644107', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q644107 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Paolo Polidori is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Paolo Polidori
relation religion
type Christian denomination
['Paolo Polidori', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Paolo_Polidori property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q644107
P39
Q12737077
USER
What were the positions held by that person ?
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q644107
relation P39
type Q12737077
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q644107 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Paolo Polidori
action filter_type
action find
entity Paolo Polidori
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Paolo_Polidori property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q45722 Q49476
SYSTEM
cardinal, archbishop
Q45722 Q49476
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q644107
relation P39
type Q12737077
The positions held by that person were the [ANSWERS]
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q644107 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
cardinal archbishop
The positions held by that person were the cardinal and archbishop
cardinal archbishop
action filter_type
action find
entity Paolo Polidori
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Paolo_Polidori property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q703346 Q644107
P39
Q12737077
USER
Or Marcus Livius Drusus?
OR((Q644107,P39,c(Q12737077)), (Q703346,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q644107
relation P39
action find
entity Q703346
relation P39
type Q12737077
{'OR': [['Q644107', 'P39', {'concept': 'Q12737077'}], ['Q703346', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:P39 ?o . VALUES ( ?h ) { ( resource:Q644107 ) ( resource:Q703346 ) } } . ?o rdf:type ontology:Q12737077 }
Marcus Livius Drusus Paolo Polidori
action filter_type
action union
action find
entity Paolo Polidori
relation position held
action find
entity Marcus Livius Drusus
relation position held
type occupation
{'OR': [['Paolo Polidori', 'position held', {'concept': 'occupation'}], ['Marcus Livius Drusus', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:position_held ?o . VALUES ( ?h ) { ( resource:Paolo_Polidori ) ( resource:Marcus_Livius_Drusus ) } } . ?o rdf:type ontology:occupation }
[]
occupation
Q189851 Q49476 Q11704729 Q20056508 Q45722 Q21597597
SYSTEM
Roman censor, archbishop, Tribune of the Plebs, Ancient Roman senator, cardinal, consul of the Roman Republic
Q189851 Q49476 Q11704729 Q20056508 Q45722 Q21597597
OR((Q644107,P39,c(Q12737077)), (Q703346,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q644107
relation P39
action find
entity Q703346
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q644107', 'P39', {'concept': 'Q12737077'}], ['Q703346', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:P39 ?o . VALUES ( ?h ) { ( resource:Q644107 ) ( resource:Q703346 ) } } . ?o rdf:type ontology:Q12737077 }
Roman censor archbishop Tribune of the Plebs Ancient Roman senator cardinal consul of the Roman Republic
Roman censor archbishop Tribune of the Plebs Ancient Roman senator cardinal consul of the Roman Republic
action filter_type
action union
action find
entity Paolo Polidori
relation position held
action find
entity Marcus Livius Drusus
relation position held
type occupation
{'OR': [['Paolo Polidori', 'position held', {'concept': 'occupation'}], ['Marcus Livius Drusus', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { ?h property:position_held ?o . VALUES ( ?h ) { ( resource:Paolo_Polidori ) ( resource:Marcus_Livius_Drusus ) } } . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q703346
P22
Q502895
USER
Which people have Marcus Livius Drusus as a parent ?
(c(Q502895),P22,Q703346)
action filter_type
action find_reverse
entity Q703346
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q703346']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q703346 . ?d rdf:type ontology:Q502895 }
Marcus Livius Drusus
action filter_type
action find_reverse
entity Marcus Livius Drusus
relation father
type common name
[{'concept': 'common name'}, 'father', 'Marcus Livius Drusus']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Marcus_Livius_Drusus . ?d rdf:type ontology:common_name }
[]
common name
Q721477 Q433463
SYSTEM
Mamercus Aemilius Lepidus Livianus, Marcus Livius Drusus
Q721477 Q433463
(c(Q502895),P22,Q703346)
action filter_type
action find_reverse
entity Q703346
relation P22
type Q502895
[ANSWERS] have Marcus Livius Drusus as a parent
[{'concept': 'Q502895'}, 'P22', 'Q703346']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q703346 . ?d rdf:type ontology:Q502895 }
Mamercus Aemilius Lepidus Livianus Marcus Livius Drusus
Mamercus Aemilius Lepidus Livianus and Marcus Livius Drusus have Marcus Livius Drusus as a parent
Mamercus Aemilius Lepidus Livianus Marcus Livius Drusus
action filter_type
action find_reverse
entity Marcus Livius Drusus
relation father
type common name
[{'concept': 'common name'}, 'father', 'Marcus Livius Drusus']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Marcus_Livius_Drusus . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q433463
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q433463)
action filter_type
action find_reverse
entity Q433463
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q433463']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q433463 . ?u rdf:type ontology:Q502895 }
Marcus Livius Drusus
action filter_type
action find_reverse
entity Marcus Livius Drusus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marcus Livius Drusus']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Marcus_Livius_Drusus . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q433463
SYSTEM
Did you mean Marcus Livius Drusus ?
Q721477 Q433463
(c(Q502895),P40,Q721477) (c(Q502895),P40,Q433463)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q721477'] [{'concept': 'Q502895'}, 'P40', 'Q433463']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q433463 . ?u rdf:type ontology:Q502895 }
Mamercus Aemilius Lepidus Livianus Marcus Livius Drusus
Did you mean Marcus Livius Drusus ?
Marcus Livius Drusus
[{'concept': 'common name'}, 'child', 'Mamercus Aemilius Lepidus Livianus'] [{'concept': 'common name'}, 'child', 'Marcus Livius Drusus']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Marcus_Livius_Drusus . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q433463)
[{'concept': 'Q502895'}, 'P40', 'Q433463']
[{'concept': 'common name'}, 'child', 'Marcus Livius Drusus']
[]
Q703346
SYSTEM
Marcus Livius Drusus
Q703346
(c(Q502895),P40,Q433463)
action filter_type
action find_reverse
entity Q433463
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q433463']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q433463 . ?u rdf:type ontology:Q502895 }
Marcus Livius Drusus
Marcus Livius Drusus has that one as an offspring
Marcus Livius Drusus
action filter_type
action find_reverse
entity Marcus Livius Drusus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marcus Livius Drusus']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Marcus_Livius_Drusus . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q703346 Q433463
P40
Q502895
USER
Is Marcus Livius Drusus a successor of that one ?
(Q703346,P40,Q433463)
action is_in
entity Q433463
action find
entity Q703346
relation P40
['Q703346', 'P40', 'Q433463']
ASK WHERE { resource:Q703346 property:P40 resource:Q433463 }
Marcus Livius Drusus Marcus Livius Drusus
action is_in
entity Marcus Livius Drusus
action find
entity Marcus Livius Drusus
relation child
['Marcus Livius Drusus', 'child', 'Marcus Livius Drusus']
ASK WHERE { resource:Marcus_Livius_Drusus property:child resource:Marcus_Livius_Drusus }
[]
common name
SYSTEM
YES
(Q703346,P40,Q433463)
action is_in
entity Q433463
action find
entity Q703346
relation P40
[ANSWER]
['Q703346', 'P40', 'Q433463']
ASK WHERE { resource:Q703346 property:P40 resource:Q433463 }
Yes
action is_in
entity Marcus Livius Drusus
action find
entity Marcus Livius Drusus
relation child
['Marcus Livius Drusus', 'child', 'Marcus Livius Drusus']
ASK WHERE { resource:Marcus_Livius_Drusus property:child resource:Marcus_Livius_Drusus }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q703346
P2348
Q451967
USER
When did Marcus Livius Drusus take place ?
action filter_type
action find
entity Q703346
relation P2348
type Q451967
SELECT DISTINCT ?v WHERE { resource:Q703346 property:P2348 ?v . ?v rdf:type ontology:Q451967 }
Marcus Livius Drusus
action filter_type
action find
entity Marcus Livius Drusus
relation period
type human action
SELECT DISTINCT ?v WHERE { resource:Marcus_Livius_Drusus property:period ?v . ?v rdf:type ontology:human_action }
[]
human action
Q17167
SYSTEM
Roman Republic
Q17167
action filter_type
action find
entity Q703346
relation P2348
type Q451967
Marcus Livius Drusus took the [ANSWER] place
SELECT DISTINCT ?v WHERE { resource:Q703346 property:P2348 ?v . ?v rdf:type ontology:Q451967 }
Roman Republic
Marcus Livius Drusus took the Roman Republic place
Roman Republic
action filter_type
action find
entity Marcus Livius Drusus
relation period
type human action
SELECT DISTINCT ?v WHERE { resource:Marcus_Livius_Drusus property:period ?v . ?v rdf:type ontology:human_action }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17167 Q858504
P36
Q56061
USER
Is Abuș the capital of that human action ?
(Q17167,P36,Q858504)
action is_in
entity Q858504
action find
entity Q17167
relation P36
['Q17167', 'P36', 'Q858504']
ASK WHERE { resource:Q17167 property:P36 resource:Q858504 }
Roman Republic Abuș
action is_in
entity Abuș
action find
entity Roman Republic
relation capital
['Roman Republic', 'capital', 'Abuș']
ASK WHERE { resource:Roman_Republic property:capital resource:Abuș }
[]
administrative territorial entity
SYSTEM
NO
(Q17167,P36,Q858504)
action is_in
entity Q858504
action find
entity Q17167
relation P36
[ANSWER]
['Q17167', 'P36', 'Q858504']
ASK WHERE { resource:Q17167 property:P36 resource:Q858504 }
No
action is_in
entity Abuș
action find
entity Roman Republic
relation capital
['Roman Republic', 'capital', 'Abuș']
ASK WHERE { resource:Roman_Republic property:capital resource:Abuș }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11704729 Q24964949
P2348
Q451967
USER
Did Tribune of the Plebs occur Gender-based price discrimination ?
(Q11704729,P2348,Q24964949)
action is_in
entity Q24964949
action find
entity Q11704729
relation P2348
['Q11704729', 'P2348', 'Q24964949']
ASK WHERE { resource:Q11704729 property:P2348 resource:Q24964949 }
Tribune of the Plebs Gender-based price discrimination
action is_in
entity Gender-based price discrimination
action find
entity Tribune of the Plebs
relation period
['Tribune of the Plebs', 'period', 'Gender-based price discrimination']
ASK WHERE { resource:Tribune_of_the_Plebs property:period resource:Gender-based_price_discrimination }
[]
human action
SYSTEM
NO
(Q11704729,P2348,Q24964949)
action is_in
entity Q24964949
action find
entity Q11704729
relation P2348
[ANSWER]
['Q11704729', 'P2348', 'Q24964949']
ASK WHERE { resource:Q11704729 property:P2348 resource:Q24964949 }
No
action is_in
entity Gender-based price discrimination
action find
entity Tribune of the Plebs
relation period
['Tribune of the Plebs', 'period', 'Gender-based price discrimination']
ASK WHERE { resource:Tribune_of_the_Plebs property:period resource:Gender-based_price_discrimination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11704729
P106
Q502895
USER
Which person has the profession of Tribune of the Plebs ?
(c(Q502895),P106,Q11704729)
action filter_type
action find_reverse
entity Q11704729
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q11704729']
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q11704729 . ?c rdf:type ontology:Q502895 }
Tribune of the Plebs
action filter_type
action find_reverse
entity Tribune of the Plebs
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Tribune of the Plebs']
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:Tribune_of_the_Plebs . ?c rdf:type ontology:common_name }
[]
common name
Q1399121
SYSTEM
Quintus Pompeius Rufus
Q1399121
(c(Q502895),P106,Q11704729)
action filter_type
action find_reverse
entity Q11704729
relation P106
type Q502895
[ANSWER] has the profession of Tribune of the Plebs
[{'concept': 'Q502895'}, 'P106', 'Q11704729']
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q11704729 . ?c rdf:type ontology:Q502895 }
Quintus Pompeius Rufus
Quintus Pompeius Rufus has the profession of Tribune of the Plebs
Quintus Pompeius Rufus
action filter_type
action find_reverse
entity Tribune of the Plebs
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Tribune of the Plebs']
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:Tribune_of_the_Plebs . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q433463
P21
Q290
USER
What is the sex of Marcus Livius Drusus ?
(Q433463,P21,c(Q290))
action filter_type
action find
entity Q433463
relation P21
type Q290
['Q433463', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q433463 property:P21 ?o }
Marcus Livius Drusus
action filter_type
action find
entity Marcus Livius Drusus
relation gender
type sex
['Marcus Livius Drusus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marcus_Livius_Drusus property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q433463,P21,c(Q290))
action filter_type
action find
entity Q433463
relation P21
type Q290
The sex of Marcus Livius Drusus is the [ANSWER]
['Q433463', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q433463 property:P21 ?o }
male
The sex of Marcus Livius Drusus is the male
male
action filter_type
action find
entity Marcus Livius Drusus
relation gender
type sex
['Marcus Livius Drusus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marcus_Livius_Drusus property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1399121
P19
Q56061
USER
Where was Quintus Pompeius Rufus born ?
(Q1399121,P19,c(Q56061))
action filter_type
action find
entity Q1399121
relation P19
type Q56061
['Q1399121', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1399121 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Quintus Pompeius Rufus
action filter_type
action find
entity Quintus Pompeius Rufus
relation place of birth
type administrative territorial entity
['Quintus Pompeius Rufus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Quintus_Pompeius_Rufus property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1399121,P19,c(Q56061))
action filter_type
action find
entity Q1399121
relation P19
type Q56061
Quintus Pompeius Rufus was born in [ANSWER]
['Q1399121', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1399121 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Rome
Quintus Pompeius Rufus was born in Rome
Rome
action filter_type
action find
entity Quintus Pompeius Rufus
relation place of birth
type administrative territorial entity
['Quintus Pompeius Rufus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Quintus_Pompeius_Rufus property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]