Simple Question (Direct)
Simple Question
Q1606293
P102
Q7210356
USER
Which party is Henrik Lax affiliated with ?
(Q1606293,P102,c(Q7210356))
action filter_type
action find
entity Q1606293
relation P102
type Q7210356
['Q1606293', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1606293 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Henrik Lax
action filter_type
action find
entity Henrik Lax
relation member of political party
type political organization
['Henrik Lax', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Henrik_Lax property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q845537
SYSTEM
Swedish People's Party of Finland
Q845537
(Q1606293,P102,c(Q7210356))
action filter_type
action find
entity Q1606293
relation P102
type Q7210356
Henrik Lax is affiliated with [ANSWER]
['Q1606293', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1606293 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Swedish People's Party of Finland
Henrik Lax is affiliated with Swedish People's Party of Finland
Swedish People's Party of Finland
action filter_type
action find
entity Henrik Lax
relation member of political party
type political organization
['Henrik Lax', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Henrik_Lax property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606293
P937
Q56061
USER
Where did that person work ?
(Q845537,P937,c(Q56061))
action filter_type
action find
entity Q1606293
relation P937
type Q56061
['Q845537', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1606293 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Henrik Lax
action filter_type
action find
entity Henrik Lax
relation work location
type administrative territorial entity
["Swedish People's Party of Finland", 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Henrik_Lax property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757 Q239
SYSTEM
Helsinki, Brussels
Q1757 Q239
(Q845537,P937,c(Q56061))
action filter_type
action find
entity Q1606293
relation P937
type Q56061
That person worked in [ANSWERS]
['Q845537', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1606293 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Helsinki Brussels
That person worked in Helsinki and Brussels
Helsinki Brussels
action filter_type
action find
entity Henrik Lax
relation work location
type administrative territorial entity
["Swedish People's Party of Finland", 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Henrik_Lax property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606293
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1757,P106,c(Q12737077)) (Q239,P106,c(Q12737077))
action filter_type
action find
entity Q1606293
relation P106
type Q12737077
['Q1757', 'P106', {'concept': 'Q12737077'}] ['Q239', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1606293 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Henrik Lax
action filter_type
action find
entity Henrik Lax
relation occupation
type occupation
['Helsinki', 'occupation', {'concept': 'occupation'}] ['Brussels', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Henrik_Lax property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1757,P106,c(Q12737077)) (Q239,P106,c(Q12737077))
action filter_type
action find
entity Q1606293
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q1757', 'P106', {'concept': 'Q12737077'}] ['Q239', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1606293 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity Henrik Lax
relation occupation
type occupation
['Helsinki', 'occupation', {'concept': 'occupation'}] ['Brussels', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Henrik_Lax property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P237
Q17335294
USER
What is the ensign for Helsinki ?
(Q1757,P237,c(Q17335294))
action filter_type
action find
entity Q1757
relation P237
type Q17335294
['Q1757', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q1757 property:P237 ?h . ?h rdf:type ontology:Q17335294 }
Helsinki
action filter_type
action find
entity Helsinki
relation coat of arms
type flag or coat of arms
['Helsinki', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Helsinki property:coat_of_arms ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2076504
SYSTEM
coat of arms of Helsinki
Q2076504
(Q1757,P237,c(Q17335294))
action filter_type
action find
entity Q1757
relation P237
type Q17335294
The ensign for Helsinki is the [ANSWER]
['Q1757', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q1757 property:P237 ?h . ?h rdf:type ontology:Q17335294 }
coat of arms of Helsinki
The ensign for Helsinki is the coat of arms of Helsinki
coat of arms of Helsinki
action filter_type
action find
entity Helsinki
relation coat of arms
type flag or coat of arms
['Helsinki', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Helsinki property:coat_of_arms ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P1376
Q15617994
USER
Which administrative territory has Helsinki has its first city ?
(Q1757,P1376,c(Q15617994))
action filter_type
action find
entity Q1757
relation P1376
type Q15617994
['Q1757', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1757 property:P1376 ?z }
Helsinki
action filter_type
action find
entity Helsinki
relation capital of
type designation for an administrative territorial entity
['Helsinki', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Helsinki property:capital_of ?z }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q1757,P1376,c(Q15617994))
action filter_type
action find
entity Q1757
relation P1376
type Q15617994
[ANSWER] has Helsinki has its first city
['Q1757', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1757 property:P1376 ?z }
Finland
Finland has Helsinki has its first city
Finland
action filter_type
action find
entity Helsinki
relation capital of
type designation for an administrative territorial entity
['Helsinki', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Helsinki property:capital_of ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q33,P163,c(Q14660))
action filter_type
action find
entity Q33
relation P163
type Q14660
['Q33', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { resource:Q33 property:P163 ?e . ?e rdf:type ontology:Q14660 }
Finland
action filter_type
action find
entity Finland
relation flag
type flag
['Finland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { resource:Finland property:flag ?e . ?e rdf:type ontology:flag }
[]
flag
Q47891
SYSTEM
Flag of Finland
Q47891
(Q33,P163,c(Q14660))
action filter_type
action find
entity Q33
relation P163
type Q14660
Finland [ANSWER] is associated with that administrative territory
['Q33', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { resource:Q33 property:P163 ?e . ?e rdf:type ontology:Q14660 }
Flag of Finland
Finland Flag of Finland is associated with that administrative territory
Flag of Finland
action filter_type
action find
entity Finland
relation flag
type flag
['Finland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { resource:Finland property:flag ?e . ?e rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P35
Q502895
USER
Which person has the highest formal authority in that administrative territory ?
(Q47891,P35,c(Q502895))
action filter_type
action find
entity Q33
relation P35
type Q502895
['Q47891', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q33 property:P35 ?u . ?u rdf:type ontology:Q502895 }
Finland
action filter_type
action find
entity Finland
relation head of state
type common name
['Flag of Finland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Finland property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
common name
Q29207
SYSTEM
Sauli Niinistö
Q29207
(Q47891,P35,c(Q502895))
action filter_type
action find
entity Q33
relation P35
type Q502895
[ANSWER] has the highest formal authority in that administrative territory
['Q47891', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q33 property:P35 ?u . ?u rdf:type ontology:Q502895 }
Sauli Niinistö
Sauli Niinistö has the highest formal authority in that administrative territory
Sauli Niinistö
action filter_type
action find
entity Finland
relation head of state
type common name
['Flag of Finland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Finland property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
How many television genres did around 2 people do the dubbing for ?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l property:P725 ?q . ?l rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?f = 2 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l property:voice_actor ?q . ?l rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?f = 2 ) }
[]
common name television genre
SYSTEM
10
Q11572 Q24034511 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l property:P725 ?q . ?l rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?f = 2 ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
10
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?l property:voice_actor ?q . ?l rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?f = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29207
P7
Q502895
USER
Who has Sauli Niinistö as their sibling ?
(c(Q502895),P7,Q29207)
action filter_type
action find
entity Q29207
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q29207']
SELECT DISTINCT ?d WHERE { resource:Q29207 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Sauli Niinistö
action filter_type
action find
entity Sauli Niinistö
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sauli Niinistö']
SELECT DISTINCT ?d WHERE { resource:Sauli_Niinistö property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q11869967
SYSTEM
Kari Niinistö
Q11869967
(c(Q502895),P7,Q29207)
action filter_type
action find
entity Q29207
relation P7
type Q502895
[ANSWER] has Sauli Niinistö as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q29207']
SELECT DISTINCT ?d WHERE { resource:Q29207 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Kari Niinistö
Kari Niinistö has Sauli Niinistö as their sibling
Kari Niinistö
action filter_type
action find
entity Sauli Niinistö
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sauli Niinistö']
SELECT DISTINCT ?d WHERE { resource:Sauli_Niinistö property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11869967
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q11869967)
action filter_type
action find_reverse
entity Q11869967
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11869967']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P22 resource:Q11869967 }
Kari Niinistö
action filter_type
action find_reverse
entity Kari Niinistö
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kari Niinistö']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:father resource:Kari_Niinistö }
[]
common name
Q2366466
SYSTEM
Ville Niinistö
Q2366466
(c(Q502895),P22,Q11869967)
action filter_type
action find_reverse
entity Q11869967
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q11869967']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P22 resource:Q11869967 }
Ville Niinistö
Ville Niinistö has that one as dad
Ville Niinistö
action filter_type
action find_reverse
entity Kari Niinistö
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kari Niinistö']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:father resource:Kari_Niinistö }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
Which collectables had their voice dubbing done by atmost 2 people ?
(c(Q2342494),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?o ) WHERE { ?a property:P725 ?n . ?a rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?o <= 2 ) }
action atmost
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?o ) WHERE { ?a property:voice_actor ?n . ?a rdf:type ontology:collectable . ?n rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?o <= 2 ) }
[]
common name collectable
Q482870 Q119534 Q11325839
SYSTEM
Boku wa Tomodachi ga Sukunai, Shakugan no Shana, No Game No Life-mart
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[ANSWERS] had their voice dubbing done by atmost 2 people
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?o ) WHERE { ?a property:P725 ?n . ?a rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?o <= 2 ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
Boku wa Tomodachi ga Sukunai, Shakugan no Shana and No Game No Life-mart had their voice dubbing done by atmost 2 people
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
action atmost
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?o ) WHERE { ?a property:voice_actor ?n . ?a rdf:type ontology:collectable . ?n rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?o <= 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q1757
P106 P551
Q502895
USER
Which people live in Helsinki and have politician as his/her means of employment ?
AND((c(Q502895),P551,Q1757), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q1757
relation P551
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1757'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q1757 . ?c property:P106 resource:Q82955 . ?c rdf:type ontology:Q502895 }
politician Helsinki
action filter_type
action intersection
action find_reverse
entity Helsinki
relation residence
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Helsinki'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Helsinki . ?c property:occupation resource:politician . ?c rdf:type ontology:common_name }
[]
common name
Q5407283 Q11882788 Q11862600 Q16299674
SYSTEM
Pekka Puska, Mikko Salmi, Hilda Käkikoski, Emma Kari
Q5407283 Q11882788 Q11862600 Q16299674
AND((c(Q502895),P551,Q1757), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q1757
relation P551
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] live in Helsinki and have politician as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1757'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q1757 . ?c property:P106 resource:Q82955 . ?c rdf:type ontology:Q502895 }
Pekka Puska Mikko Salmi Hilda Käkikoski Emma Kari
Pekka Puska, Mikko Salmi, Hilda Käkikoski and Emma Kari live in Helsinki and have politician as his/her means of employment
Pekka Puska Mikko Salmi Hilda Käkikoski Emma Kari
action filter_type
action intersection
action find_reverse
entity Helsinki
relation residence
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Helsinki'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Helsinki . ?c property:occupation resource:politician . ?c rdf:type ontology:common_name }
[]