Simple Question (Direct)
Simple Question
Q8005682
P102
Q7210356
USER
Which parties are William Bolling affiliated with ?
(Q8005682,P102,c(Q7210356))
action filter_type
action find
entity Q8005682
relation P102
type Q7210356
['Q8005682', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q8005682 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
William Bolling
action filter_type
action find
entity William Bolling
relation member of political party
type political organization
['William Bolling', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:William_Bolling property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q499956 Q9626
SYSTEM
Tories, Conservative Party
Q499956 Q9626
(Q8005682,P102,c(Q7210356))
action filter_type
action find
entity Q8005682
relation P102
type Q7210356
William Bolling are affiliated with [ANSWERS]
['Q8005682', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q8005682 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Tories Conservative Party
William Bolling are affiliated with Tories and Conservative Party
Tories Conservative Party
action filter_type
action find
entity William Bolling
relation member of political party
type political organization
['William Bolling', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:William_Bolling property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8005682
P39
Q12737077
USER
Which occupation was a position held by William Bolling ?
(Q8005682,P39,c(Q12737077))
action filter_type
action find
entity Q8005682
relation P39
type Q12737077
['Q8005682', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q8005682 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
William Bolling
action filter_type
action find
entity William Bolling
relation position held
type occupation
['William Bolling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:William_Bolling property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q8005682,P39,c(Q12737077))
action filter_type
action find
entity Q8005682
relation P39
type Q12737077
The [ANSWER] was a position held by William Bolling
['Q8005682', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q8005682 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position held by William Bolling
Member of Parliament in the United Kingdom
action filter_type
action find
entity William Bolling
relation position held
type occupation
['William Bolling', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:William_Bolling property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9626
P463
Q502895
USER
Which person has a membership of Conservative Party ?
(c(Q502895),P463,Q9626)
action filter_type
action find_reverse
entity Q9626
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q9626']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q9626 . ?c rdf:type ontology:Q502895 }
Conservative Party
action filter_type
action find_reverse
entity Conservative Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Conservative Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Conservative_Party . ?c rdf:type ontology:common_name }
[]
common name
Q7176493
SYSTEM
Peter Quinn
Q7176493
(c(Q502895),P463,Q9626)
action filter_type
action find_reverse
entity Q9626
relation P463
type Q502895
[ANSWER] has a membership of Conservative Party
[{'concept': 'Q502895'}, 'P463', 'Q9626']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q9626 . ?c rdf:type ontology:Q502895 }
Peter Quinn
Peter Quinn has a membership of Conservative Party
Peter Quinn
action filter_type
action find_reverse
entity Conservative Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Conservative Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Conservative_Party . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7176493
P106
Q12737077
USER
What is the profession of that person ?
(Q7176493,P106,c(Q12737077))
action filter_type
action find
entity Q7176493
relation P106
type Q12737077
['Q7176493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7176493 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Peter Quinn
action filter_type
action find
entity Peter Quinn
relation occupation
type occupation
['Peter Quinn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Quinn property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7176493,P106,c(Q12737077))
action filter_type
action find
entity Q7176493
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q7176493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7176493 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Peter Quinn
relation occupation
type occupation
['Peter Quinn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Quinn property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3762397
Q12737077
USER
And what about Giambattista Boetti?
(Q3762397,P106,c(Q12737077))
action filter_type
action find
entity Q3762397
relation P106
type Q12737077
['Q3762397', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3762397 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Giambattista Boetti
action filter_type
action find
entity Giambattista Boetti
relation occupation
type occupation
['Giambattista Boetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Giambattista_Boetti property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q273108
SYSTEM
condottiero
Q273108
(Q3762397,P106,c(Q12737077))
action filter_type
action find
entity Q3762397
relation P106
type Q12737077
[ANSWER]
['Q3762397', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3762397 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
condottiero
condottiero
action filter_type
action find
entity Giambattista Boetti
relation occupation
type occupation
['Giambattista Boetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Giambattista_Boetti property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2326906 Q8005682
P106
Q12737077
USER
Which occupations are the professions of William Bolling or David Bade ?
OR((Q8005682,P106,c(Q12737077)), (Q2326906,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q8005682
relation P106
action find
entity Q2326906
relation P106
type Q12737077
{'OR': [['Q8005682', 'P106', {'concept': 'Q12737077'}], ['Q2326906', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q8005682 property:P106 ?q } UNION { resource:Q2326906 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
David Bade William Bolling
action filter_type
action union
action find
entity William Bolling
relation occupation
action find
entity David Bade
relation occupation
type occupation
{'OR': [['William Bolling', 'occupation', {'concept': 'occupation'}], ['David Bade', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:William_Bolling property:occupation ?q } UNION { resource:David_Bade property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q1028181 Q18074503 Q82955 Q15296811 Q1281618
SYSTEM
painter, installation artist, politician, draughtsperson, sculptor
Q1028181 Q18074503 Q82955 Q15296811 Q1281618
OR((Q8005682,P106,c(Q12737077)), (Q2326906,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q8005682
relation P106
action find
entity Q2326906
relation P106
type Q12737077
The professions of William Bolling or David Bade are a [ANSWERS]
{'OR': [['Q8005682', 'P106', {'concept': 'Q12737077'}], ['Q2326906', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q8005682 property:P106 ?q } UNION { resource:Q2326906 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
painter installation artist politician draughtsperson sculptor
The professions of William Bolling or David Bade are a painter, installation artist, politician, draughtsperson and sculptor
painter installation artist politician draughtsperson sculptor
action filter_type
action union
action find
entity William Bolling
relation occupation
action find
entity David Bade
relation occupation
type occupation
{'OR': [['William Bolling', 'occupation', {'concept': 'occupation'}], ['David Bade', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:William_Bolling property:occupation ?q } UNION { resource:David_Bade property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2326906
P136
Q483394
USER
What can be considered as category for David Bade ?
(Q1028181,P136,c(Q483394)) (Q18074503,P136,c(Q483394)) (Q82955,P136,c(Q483394)) (Q15296811,P136,c(Q483394)) (Q1281618,P136,c(Q483394))
action filter_type
action find
entity Q2326906
relation P136
type Q483394
['Q1028181', 'P136', {'concept': 'Q483394'}] ['Q18074503', 'P136', {'concept': 'Q483394'}] ['Q82955', 'P136', {'concept': 'Q483394'}] ['Q15296811', 'P136', {'concept': 'Q483394'}] ['Q1281618', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?g WHERE { resource:Q2326906 property:P136 ?g . ?g rdf:type ontology:Q483394 }
David Bade
action filter_type
action find
entity David Bade
relation genre
type genre
['painter', 'genre', {'concept': 'genre'}] ['installation artist', 'genre', {'concept': 'genre'}] ['politician', 'genre', {'concept': 'genre'}] ['draughtsperson', 'genre', {'concept': 'genre'}] ['sculptor', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?g WHERE { resource:David_Bade property:genre ?g . ?g rdf:type ontology:genre }
[]
genre
Q128115
SYSTEM
abstract art
Q128115
(Q1028181,P136,c(Q483394)) (Q18074503,P136,c(Q483394)) (Q82955,P136,c(Q483394)) (Q15296811,P136,c(Q483394)) (Q1281618,P136,c(Q483394))
action filter_type
action find
entity Q2326906
relation P136
type Q483394
[ANSWER] can be considered as category for David Bade
['Q1028181', 'P136', {'concept': 'Q483394'}] ['Q18074503', 'P136', {'concept': 'Q483394'}] ['Q82955', 'P136', {'concept': 'Q483394'}] ['Q15296811', 'P136', {'concept': 'Q483394'}] ['Q1281618', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?g WHERE { resource:Q2326906 property:P136 ?g . ?g rdf:type ontology:Q483394 }
abstract art
Abstract art can be considered as category for David Bade
abstract art
action filter_type
action find
entity David Bade
relation genre
type genre
['painter', 'genre', {'concept': 'genre'}] ['installation artist', 'genre', {'concept': 'genre'}] ['politician', 'genre', {'concept': 'genre'}] ['draughtsperson', 'genre', {'concept': 'genre'}] ['sculptor', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?g WHERE { resource:David_Bade property:genre ?g . ?g rdf:type ontology:genre }
[]