Simple Question (Direct)
Simple Question
Q2336128
P39
Q12737077
USER
Which occupation was a position occupied by Ben Polak ?
(Q2336128,P39,c(Q12737077))
action filter_type
action find
entity Q2336128
relation P39
type Q12737077
['Q2336128', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2336128 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Ben Polak
action filter_type
action find
entity Ben Polak
relation position held
type occupation
['Ben Polak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ben_Polak property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q19305384
SYSTEM
member of the Senate of the Netherlands
Q19305384
(Q2336128,P39,c(Q12737077))
action filter_type
action find
entity Q2336128
relation P39
type Q12737077
[ANSWER] was a position occupied by Ben Polak
['Q2336128', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2336128 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
member of the Senate of the Netherlands
Member of the Senate of the Netherlands was a position occupied by Ben Polak
member of the Senate of the Netherlands
action filter_type
action find
entity Ben Polak
relation position held
type occupation
['Ben Polak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ben_Polak property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2336128
P734
Q82799
USER
Who has the surname that person ?
(Q19305384,P734,c(Q82799))
action filter_type
action find
entity Q2336128
relation P734
type Q82799
['Q19305384', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2336128 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Ben Polak
action filter_type
action find
entity Ben Polak
relation family name
type name
['member of the Senate of the Netherlands', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Ben_Polak property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q16881304
SYSTEM
Polak
Q16881304
(Q19305384,P734,c(Q82799))
action filter_type
action find
entity Q2336128
relation P734
type Q82799
[ANSWER] has the surname that person
['Q19305384', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2336128 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Polak
Polak has the surname that person
Polak
action filter_type
action find
entity Ben Polak
relation family name
type name
['member of the Senate of the Netherlands', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Ben_Polak property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as last name ?
(c(Q502895),P734,Q16881304)
action count
action filter_type
action find_reverse
entity Q16881304
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q16881304']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P734 resource:Q16881304 . ?n rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Polak
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Polak']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:family_name resource:Polak . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
14
Q3126901 Q3280588 Q1852035 Q1818707 Q973418 Q1956990 Q12470044 Q142763 Q607672 Q1930875 Q770808 Q2160274 Q2336128 Q4886300
(c(Q502895),P734,Q16881304)
action count
action filter_type
action find_reverse
entity Q16881304
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q16881304']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P734 resource:Q16881304 . ?n rdf:type ontology:Q502895 }
Johan Polak Clairy Polak Minus Polak Leo Polak Carel Polak Fred Polak Martin Theophil Polak Mira Adanja-Polak Wim Polak Michel Polak Henri Polak Anna Sophia Polak Ben Polak Ben Polak
14
action count
action filter_type
action find_reverse
entity Polak
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Polak']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:family_name resource:Polak . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q340169 Q838948
USER
How many names are expressed in atmost 119 medias and works of art ?
(c(Q340169)|c(Q838948),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 119
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P180 ?u . ?u rdf:type ontology:Q82799 . ?z rdf:type ontology:Q340169 } UNION { ?z property:P180 ?u . ?u rdf:type ontology:Q82799 . ?z rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?f <= 119 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 119
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:depicts ?u . ?u rdf:type ontology:name . ?z rdf:type ontology:media } UNION { ?z property:depicts ?u . ?u rdf:type ontology:name . ?z rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?f <= 119 ) }
[]
name media work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q340169)|c(Q838948),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 119
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P180 ?u . ?u rdf:type ontology:Q82799 . ?z rdf:type ontology:Q340169 } UNION { ?z property:P180 ?u . ?u rdf:type ontology:Q82799 . ?z rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?f <= 119 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 119
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:depicts ?u . ?u rdf:type ontology:name . ?z rdf:type ontology:media } UNION { ?z property:depicts ?u . ?u rdf:type ontology:name . ?z rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?f <= 119 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2336128
P102
Q7278
USER
Which political party is Ben Polak a member of ?
(Q2336128,P102,c(Q7278))
action filter_type
action find
entity Q2336128
relation P102
type Q7278
['Q2336128', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { resource:Q2336128 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Ben Polak
action filter_type
action find
entity Ben Polak
relation member of political party
type political party
['Ben Polak', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { resource:Ben_Polak property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]
political party
Q385543
SYSTEM
Communist Party of the Netherlands
Q385543
(Q2336128,P102,c(Q7278))
action filter_type
action find
entity Q2336128
relation P102
type Q7278
[ANSWER] is Ben Polak a member of
['Q2336128', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { resource:Q2336128 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Communist Party of the Netherlands
Communist Party of the Netherlands is Ben Polak a member of
Communist Party of the Netherlands
action filter_type
action find
entity Ben Polak
relation member of political party
type political party
['Ben Polak', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { resource:Ben_Polak property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2336128
P106
Q12737077
USER
What are the job of Ben Polak ?
(Q2336128,P106,c(Q12737077))
action filter_type
action find
entity Q2336128
relation P106
type Q12737077
['Q2336128', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q2336128 property:P106 ?b }
Ben Polak
action filter_type
action find
entity Ben Polak
relation occupation
type occupation
['Ben Polak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Ben_Polak property:occupation ?b }
[]
occupation
Q39631 Q82955 Q1622272
SYSTEM
physician, politician, university teacher
Q39631 Q82955 Q1622272
(Q2336128,P106,c(Q12737077))
action filter_type
action find
entity Q2336128
relation P106
type Q12737077
The job of Ben Polak are a [ANSWERS]
['Q2336128', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q2336128 property:P106 ?b }
physician politician university teacher
The job of Ben Polak are a physician, politician and university teacher
physician politician university teacher
action filter_type
action find
entity Ben Polak
relation occupation
type occupation
['Ben Polak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Ben_Polak property:occupation ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2336128
P21
Q290
USER
Which sex does Ben Polak have ?
(Q2336128,P21,c(Q290))
action filter_type
action find
entity Q2336128
relation P21
type Q290
['Q2336128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q2336128 property:P21 ?z }
Ben Polak
action filter_type
action find
entity Ben Polak
relation gender
type sex
['Ben Polak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Ben_Polak property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2336128,P21,c(Q290))
action filter_type
action find
entity Q2336128
relation P21
type Q290
Ben Polak has a [ANSWER]
['Q2336128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q2336128 property:P21 ?z }
male
Ben Polak has a male
male
action filter_type
action find
entity Ben Polak
relation gender
type sex
['Ben Polak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Ben_Polak property:gender ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2336128
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q2336128
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2336128 property:P27 ?e }
Ben Polak
action filter_type
action find
entity Ben Polak
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ben_Polak property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q2336128
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2336128 property:P27 ?e }
Kingdom of the Netherlands
Kingdom of the Netherlands is that person an inhabitant of
Kingdom of the Netherlands
action filter_type
action find
entity Ben Polak
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ben_Polak property:country_of_citizenship ?e }
[]