Simple Question (Direct)
Simple Question
Q17265926
P19
Q56061
USER
Which administrative territory is the birthplace of Konstantinos Papadakis ?
(Q17265926,P19,c(Q56061))
action filter_type
action find
entity Q17265926
relation P19
type Q56061
['Q17265926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q17265926 property:P19 ?z }
Konstantinos Papadakis
action filter_type
action find
entity Konstantinos Papadakis
relation place of birth
type administrative territorial entity
['Konstantinos Papadakis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Konstantinos_Papadakis property:place_of_birth ?z }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q17265926,P19,c(Q56061))
action filter_type
action find
entity Q17265926
relation P19
type Q56061
[ANSWER] is the birthplace of Konstantinos Papadakis
['Q17265926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q17265926 property:P19 ?z }
Athens
Athens is the birthplace of Konstantinos Papadakis
Athens
action filter_type
action find
entity Konstantinos Papadakis
relation place of birth
type administrative territorial entity
['Konstantinos Papadakis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Konstantinos_Papadakis property:place_of_birth ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17265926
P39
Q12737077
USER
Which occupation was a position occupied by Konstantinos Papadakis ?
(Q17265926,P39,c(Q12737077))
action filter_type
action find
entity Q17265926
relation P39
type Q12737077
['Q17265926', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q17265926 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Konstantinos Papadakis
action filter_type
action find
entity Konstantinos Papadakis
relation position held
type occupation
['Konstantinos Papadakis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Konstantinos_Papadakis property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q17265926,P39,c(Q12737077))
action filter_type
action find
entity Q17265926
relation P39
type Q12737077
[ANSWER] was a position occupied by Konstantinos Papadakis
['Q17265926', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q17265926 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the European Parliament
Member of the European Parliament was a position occupied by Konstantinos Papadakis
member of the European Parliament
action filter_type
action find
entity Konstantinos Papadakis
relation position held
type occupation
['Konstantinos Papadakis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Konstantinos_Papadakis property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17265926
P937
Q56061
USER
What is the location where that person worked ?
(Q27169,P937,c(Q56061))
action filter_type
action find
entity Q17265926
relation P937
type Q56061
['Q27169', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q17265926 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Konstantinos Papadakis
action filter_type
action find
entity Konstantinos Papadakis
relation work location
type administrative territorial entity
['member of the European Parliament', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Konstantinos_Papadakis property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q27169,P937,c(Q56061))
action filter_type
action find
entity Q17265926
relation P937
type Q56061
The location that person worked is a [ANSWER]
['Q27169', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q17265926 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Brussels
The location that person worked is a Brussels
Brussels
action filter_type
action find
entity Konstantinos Papadakis
relation work location
type administrative territorial entity
['member of the European Parliament', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Konstantinos_Papadakis property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q239 Q461446
P937
Q502895
USER
Do Nathalie Griesbeck have that administrative territory as their work location ?
(Q461446,P937,Q239)
action is_in
entity Q239
action find
entity Q461446
relation P937
['Q461446', 'P937', 'Q239']
ASK WHERE { resource:Q461446 property:P937 resource:Q239 }
Brussels Nathalie Griesbeck
action is_in
entity Brussels
action find
entity Nathalie Griesbeck
relation work location
['Nathalie Griesbeck', 'work location', 'Brussels']
ASK WHERE { resource:Nathalie_Griesbeck property:work_location resource:Brussels }
[]
common name
SYSTEM
YES
(Q461446,P937,Q239)
action is_in
entity Q239
action find
entity Q461446
relation P937
[ANSWER]
['Q461446', 'P937', 'Q239']
ASK WHERE { resource:Q461446 property:P937 resource:Q239 }
Yes
action is_in
entity Brussels
action find
entity Nathalie Griesbeck
relation work location
['Nathalie Griesbeck', 'work location', 'Brussels']
ASK WHERE { resource:Nathalie_Griesbeck property:work_location resource:Brussels }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239
P108
Q502895
USER
What is the name of person who works for Brussels ?
(c(Q502895),P108,Q239)
action filter_type
action find_reverse
entity Q239
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q239']
SELECT DISTINCT ?m WHERE { ?m property:P108 resource:Q239 . ?m rdf:type ontology:Q502895 }
Brussels
action filter_type
action find_reverse
entity Brussels
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Brussels']
SELECT DISTINCT ?m WHERE { ?m property:employer resource:Brussels . ?m rdf:type ontology:common_name }
[]
common name
Q2787392
SYSTEM
Nicolas Florine
Q2787392
(c(Q502895),P108,Q239)
action filter_type
action find_reverse
entity Q239
relation P108
type Q502895
The name of person works for Brussels is [ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q239']
SELECT DISTINCT ?m WHERE { ?m property:P108 resource:Q239 . ?m rdf:type ontology:Q502895 }
Nicolas Florine
The name of person works for Brussels is Nicolas Florine
Nicolas Florine
action filter_type
action find_reverse
entity Brussels
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Brussels']
SELECT DISTINCT ?m WHERE { ?m property:employer resource:Brussels . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2787392
P106
Q12737077
USER
What is the job of that person ?
(Q2787392,P106,c(Q12737077))
action filter_type
action find
entity Q2787392
relation P106
type Q12737077
['Q2787392', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2787392 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Nicolas Florine
action filter_type
action find
entity Nicolas Florine
relation occupation
type occupation
['Nicolas Florine', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Nicolas_Florine property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q2787392,P106,c(Q12737077))
action filter_type
action find
entity Q2787392
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2787392', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2787392 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
engineer
The job of that person is an engineer
engineer
action filter_type
action find
entity Nicolas Florine
relation occupation
type occupation
['Nicolas Florine', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Nicolas_Florine property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q81096 Q3900800
P106
Q502895
USER
Does Pete Millar have a job as that occupation ?
(Q3900800,P106,Q81096)
action is_in
entity Q81096
action find
entity Q3900800
relation P106
['Q3900800', 'P106', 'Q81096']
ASK WHERE { resource:Q3900800 property:P106 resource:Q81096 }
engineer Pete Millar
action is_in
entity engineer
action find
entity Pete Millar
relation occupation
['Pete Millar', 'occupation', 'engineer']
ASK WHERE { resource:Pete_Millar property:occupation resource:engineer }
[]
common name
SYSTEM
YES
(Q3900800,P106,Q81096)
action is_in
entity Q81096
action find
entity Q3900800
relation P106
[ANSWER]
['Q3900800', 'P106', 'Q81096']
ASK WHERE { resource:Q3900800 property:P106 resource:Q81096 }
Yes
action is_in
entity engineer
action find
entity Pete Millar
relation occupation
['Pete Millar', 'occupation', 'engineer']
ASK WHERE { resource:Pete_Millar property:occupation resource:engineer }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q838948
USER
Which occupations are expressed in around 6 paintings and works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 6
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q3305213 . ?a property:P180 ?p } UNION { ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 . ?a property:P180 ?p } } GROUP BY ?p } . FILTER ( ?v = 6 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 6
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:occupation . ?a rdf:type ontology:painting . ?a property:depicts ?p } UNION { ?p rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art . ?a property:depicts ?p } } GROUP BY ?p } . FILTER ( ?v = 6 ) }
[]
occupation painting work of art
Q5716684 Q838811 Q47064
SYSTEM
dancer, peasant, military personnel
Q47064 Q2730732 Q5716684 Q838811 Q639669 Q49757 Q42603
(c(Q3305213)|c(Q838948),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 6
The [ANSWERS] are expressed in around 6 paintings and works of art
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q3305213 . ?a property:P180 ?p } UNION { ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 . ?a property:P180 ?p } } GROUP BY ?p } . FILTER ( ?v = 6 ) }
military personnel equestrian dancer peasant musician poet priest
The dancer, peasant and military personnel are expressed in around 6 paintings and works of art
dancer peasant military personnel
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 6
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:occupation . ?a rdf:type ontology:painting . ?a property:depicts ?p } UNION { ?p rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art . ?a property:depicts ?p } } GROUP BY ?p } . FILTER ( ?v = 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q18783400
USER
Which occupations are expressed in atleast 4 works of art and genres of sculpture ?
(c(Q838948)|c(Q18783400),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 4
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?m >= 4 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 4
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?m >= 4 ) }
[]
occupation work of art genre of sculpture
Q4991371 Q5716684 Q838811
SYSTEM
soldier, dancer, peasant
Q1250916 Q47064 Q4991371 Q2730732 Q5716684 Q838811 Q639669 Q49757
(c(Q838948)|c(Q18783400),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 4
[ANSWERS] are expressed in atleast 4 works of art and genres of sculpture
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q18783400 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?m >= 4 ) }
warrior military personnel soldier equestrian dancer peasant musician poet
Soldier, dancer and peasant are expressed in atleast 4 works of art and genres of sculpture
soldier dancer peasant
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 4
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:genre_of_sculpture ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?m >= 4 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4991371 Q5716684 Q838811
P180
Q3305213
USER
Which paintings express those occupations ?
(c(Q3305213),P180,Q4991371) (c(Q3305213),P180,Q5716684) (c(Q3305213),P180,Q838811)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q4991371'] [{'concept': 'Q3305213'}, 'P180', 'Q5716684'] [{'concept': 'Q3305213'}, 'P180', 'Q838811']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Q1250916 ) ( resource:Q47064 ) ( resource:Q4991371 ) } . ?x rdf:type ontology:Q3305213 . ?x property:P180 ?j }
soldier dancer peasant
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'soldier'] [{'concept': 'painting'}, 'depicts', 'dancer'] [{'concept': 'painting'}, 'depicts', 'peasant']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:warrior ) ( resource:military_personnel ) ( resource:soldier ) } . ?x rdf:type ontology:painting . ?x property:depicts ?j }
[]
painting
Q5856992 Q22570045 Q14849952
SYSTEM
February, Picture clock with Alster panorama, Dancer with Veils
Q20081287 Q22570045 Q20165836 Q14849952 Q5856992
(c(Q3305213),P180,Q4991371) (c(Q3305213),P180,Q5716684) (c(Q3305213),P180,Q838811)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[ANSWERS] express those occupations
[{'concept': 'Q3305213'}, 'P180', 'Q4991371'] [{'concept': 'Q3305213'}, 'P180', 'Q5716684'] [{'concept': 'Q3305213'}, 'P180', 'Q838811']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Q1250916 ) ( resource:Q47064 ) ( resource:Q4991371 ) } . ?x rdf:type ontology:Q3305213 . ?x property:P180 ?j }
The Sideboard Picture clock with Alster panorama Missed Dancer with Veils February
February, Picture clock with Alster panorama and Dancer with Veils express those occupations
February Picture clock with Alster panorama Dancer with Veils
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'soldier'] [{'concept': 'painting'}, 'depicts', 'dancer'] [{'concept': 'painting'}, 'depicts', 'peasant']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:warrior ) ( resource:military_personnel ) ( resource:soldier ) } . ?x rdf:type ontology:painting . ?x property:depicts ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5856992 Q22570045 Q14849952
P180
Q12737077
USER
Which occupations are demonstrated in February, Picture clock with Alster panorama and Dancer with Veils ?
(Q5856992,P180,c(Q12737077)) (Q22570045,P180,c(Q12737077)) (Q14849952,P180,c(Q12737077))
action union
action filter_type
action find
entity Q5856992
relation P180
type Q12737077
action filter_type
action find
entity Q22570045
relation P180
type Q12737077
action filter_type
action find
entity Q14849952
relation P180
type Q12737077
['Q5856992', 'P180', {'concept': 'Q12737077'}] ['Q22570045', 'P180', {'concept': 'Q12737077'}] ['Q14849952', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q22570045 ) ( resource:Q5856992 ) } . ?x property:P180 ?p }
February Picture clock with Alster panorama Dancer with Veils
action union
action filter_type
action find
entity February
relation depicts
type occupation
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type occupation
action filter_type
action find
entity Dancer with Veils
relation depicts
type occupation
['February', 'depicts', {'concept': 'occupation'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'occupation'}] ['Dancer with Veils', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Picture_clock_with_Alster_panorama ) ( resource:February ) } . ?x property:depicts ?p }
[]
occupation
Q4991371 Q838811 Q5716684
SYSTEM
soldier, peasant, dancer
Q1124183 Q838811 Q2730732 Q4991371 Q5716684
(Q5856992,P180,c(Q12737077)) (Q22570045,P180,c(Q12737077)) (Q14849952,P180,c(Q12737077))
action union
action filter_type
action find
entity Q5856992
relation P180
type Q12737077
action filter_type
action find
entity Q22570045
relation P180
type Q12737077
action filter_type
action find
entity Q14849952
relation P180
type Q12737077
[ANSWERS] are demonstrated in February, Picture clock with Alster panorama and Dancer with Veils
['Q5856992', 'P180', {'concept': 'Q12737077'}] ['Q22570045', 'P180', {'concept': 'Q12737077'}] ['Q14849952', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Q22570045 ) ( resource:Q5856992 ) } . ?x property:P180 ?p }
lumberjack peasant equestrian soldier dancer
Soldier, peasant and dancer are demonstrated in February, Picture clock with Alster panorama and Dancer with Veils
soldier peasant dancer
action union
action filter_type
action find
entity February
relation depicts
type occupation
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type occupation
action filter_type
action find
entity Dancer with Veils
relation depicts
type occupation
['February', 'depicts', {'concept': 'occupation'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'occupation'}] ['Dancer with Veils', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?x ) { ( resource:Picture_clock_with_Alster_panorama ) ( resource:February ) } . ?x property:depicts ?p }
[]