Simple Question (Direct)
Simple Question
Q2074019
P102
Q7210356
USER
Which political organization is Peter Mertens a member of ?
(Q2074019,P102,c(Q7210356))
action filter_type
action find
entity Q2074019
relation P102
type Q7210356
['Q2074019', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q2074019 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Peter Mertens
action filter_type
action find
entity Peter Mertens
relation member of political party
type political organization
['Peter Mertens', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Mertens property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q925616
SYSTEM
Workers' Party of Belgium
Q925616
(Q2074019,P102,c(Q7210356))
action filter_type
action find
entity Q2074019
relation P102
type Q7210356
Party [ANSWER] is Peter Mertens a member of
['Q2074019', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q2074019 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Workers' Party of Belgium
Party Workers' Party of Belgium is Peter Mertens a member of
Workers' Party of Belgium
action filter_type
action find
entity Peter Mertens
relation member of political party
type political organization
['Peter Mertens', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Mertens property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2074019
P488
Q7210356
USER
Which political organization does Peter Mertens lead ?
(c(Q7210356),P488,Q2074019)
action filter_type
action find_reverse
entity Q2074019
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q2074019']
SELECT DISTINCT ?i WHERE { ?i property:P488 resource:Q2074019 . ?i rdf:type ontology:Q7210356 }
Peter Mertens
action filter_type
action find_reverse
entity Peter Mertens
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Peter Mertens']
SELECT DISTINCT ?i WHERE { ?i property:chairperson resource:Peter_Mertens . ?i rdf:type ontology:political_organization }
[]
political organization
Q925616
SYSTEM
Workers' Party of Belgium
Q925616
(c(Q7210356),P488,Q2074019)
action filter_type
action find_reverse
entity Q2074019
relation P488
type Q7210356
Peter Mertens leads the [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q2074019']
SELECT DISTINCT ?i WHERE { ?i property:P488 resource:Q2074019 . ?i rdf:type ontology:Q7210356 }
Workers' Party of Belgium
Peter Mertens leads the Workers' Party of Belgium
Workers' Party of Belgium
action filter_type
action find_reverse
entity Peter Mertens
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Peter Mertens']
SELECT DISTINCT ?i WHERE { ?i property:chairperson resource:Peter_Mertens . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2074019
P21
Q290
USER
Which sex does that person possess ?
(Q925616,P21,c(Q290))
action filter_type
action find
entity Q2074019
relation P21
type Q290
['Q925616', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2074019 property:P21 ?g . ?g rdf:type ontology:Q290 }
Peter Mertens
action filter_type
action find
entity Peter Mertens
relation gender
type sex
["Workers' Party of Belgium", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Mertens property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q925616,P21,c(Q290))
action filter_type
action find
entity Q2074019
relation P21
type Q290
That person possesses a [ANSWER]
['Q925616', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2074019 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Peter Mertens
relation gender
type sex
["Workers' Party of Belgium", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Mertens property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has the profession as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has the profession as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has the profession as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:occupation resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expresses that sex ?
(c(Q3305213),P180,Q24877298)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q24877298']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q6581097 . ?c rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Antonín Straka']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:male . ?c rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q24877298)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expresses that sex
[{'concept': 'Q3305213'}, 'P180', 'Q24877298']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q6581097 . ?c rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expresses that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Antonín Straka']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:male . ?c rdf:type ontology:painting }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q11472 Q6581097
P186 P180
Q3305213
USER
Which paintings depict male and use paper as material for their making ?
AND((c(Q3305213),P180,Q6581097), (c(Q3305213),P186,Q11472))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P180
action find_reverse
entity Q11472
relation P186
type Q3305213
{'AND': [[{'concept': 'Q3305213'}, 'P180', 'Q6581097'], [{'concept': 'Q3305213'}, 'P186', 'Q11472']]}
SELECT DISTINCT ?l WHERE { ?l property:P180 resource:Q6581097 . ?l property:P186 resource:Q11472 . ?l rdf:type ontology:Q3305213 }
paper male
action filter_type
action intersection
action find_reverse
entity male
relation depicts
action find_reverse
entity paper
relation material used
type painting
{'AND': [[{'concept': 'painting'}, 'depicts', 'male'], [{'concept': 'painting'}, 'material used', 'paper']]}
SELECT DISTINCT ?l WHERE { ?l property:depicts resource:male . ?l property:material_used resource:paper . ?l rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
AND((c(Q3305213),P180,Q6581097), (c(Q3305213),P186,Q11472))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P180
action find_reverse
entity Q11472
relation P186
type Q3305213
[ANSWER] depict male and use paper as material for their making
{'AND': [[{'concept': 'Q3305213'}, 'P180', 'Q6581097'], [{'concept': 'Q3305213'}, 'P186', 'Q11472']]}
SELECT DISTINCT ?l WHERE { ?l property:P180 resource:Q6581097 . ?l property:P186 resource:Q11472 . ?l rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister depict male and use paper as material for their making
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action intersection
action find_reverse
entity male
relation depicts
action find_reverse
entity paper
relation material used
type painting
{'AND': [[{'concept': 'painting'}, 'depicts', 'male'], [{'concept': 'painting'}, 'material used', 'paper']]}
SELECT DISTINCT ?l WHERE { ?l property:depicts resource:male . ?l property:material_used resource:paper . ?l rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q925616
P159
Q1048835
USER
Which political territory is the HQ of Workers' Party of Belgium ?
(Q925616,P159,c(Q1048835))
action filter_type
action find
entity Q925616
relation P159
type Q1048835
['Q925616', 'P159', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q925616 property:P159 ?x . ?x rdf:type ontology:Q1048835 }
Workers' Party of Belgium
action filter_type
action find
entity Workers' Party of Belgium
relation headquarters location
type political territorial entity
["Workers' Party of Belgium", 'headquarters location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Workers'_Party_of_Belgium property:headquarters_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q240
SYSTEM
Brussels
Q240
(Q925616,P159,c(Q1048835))
action filter_type
action find
entity Q925616
relation P159
type Q1048835
[ANSWER] is the HQ of Workers' Party of Belgium
['Q925616', 'P159', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q925616 property:P159 ?x . ?x rdf:type ontology:Q1048835 }
Brussels
Brussels is the HQ of Workers' Party of Belgium
Brussels
action filter_type
action find
entity Workers' Party of Belgium
relation headquarters location
type political territorial entity
["Workers' Party of Belgium", 'headquarters location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Workers'_Party_of_Belgium property:headquarters_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q925616
P1142
Q7257
USER
What do Workers' Party of Belgium believe in ?
(Q925616,P1142,c(Q7257))
action filter_type
action find
entity Q925616
relation P1142
type Q7257
['Q925616', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?r WHERE { resource:Q925616 property:P1142 ?r . ?r rdf:type ontology:Q7257 }
Workers' Party of Belgium
action filter_type
action find
entity Workers' Party of Belgium
relation political ideology
type ideology
["Workers' Party of Belgium", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?r WHERE { resource:Workers'_Party_of_Belgium property:political_ideology ?r . ?r rdf:type ontology:ideology }
[]
ideology
Q7272 Q7264
SYSTEM
socialism, Marxism
Q7272 Q7264
(Q925616,P1142,c(Q7257))
action filter_type
action find
entity Q925616
relation P1142
type Q7257
Workers ' Party of Belgium believe in [ANSWERS]
['Q925616', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?r WHERE { resource:Q925616 property:P1142 ?r . ?r rdf:type ontology:Q7257 }
socialism Marxism
Workers ' Party of Belgium believe in socialism and Marxism
socialism Marxism
action filter_type
action find
entity Workers' Party of Belgium
relation political ideology
type ideology
["Workers' Party of Belgium", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?r WHERE { resource:Workers'_Party_of_Belgium property:political_ideology ?r . ?r rdf:type ontology:ideology }
[]