Simple Question (Direct)
Simple Question
Q499575
P6
Q502895
USER
Which person is the head of government of Haram ?
(Q499575,P6,c(Q502895))
action filter_type
action find
entity Q499575
relation P6
type Q502895
['Q499575', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q499575 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Haram
action filter_type
action find
entity Haram
relation head of government
type common name
['Haram', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Haram property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Q3420423
SYSTEM
Bjørn Sandnes
Q3420423
(Q499575,P6,c(Q502895))
action filter_type
action find
entity Q499575
relation P6
type Q502895
[ANSWER] is the head of government of Haram
['Q499575', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q499575 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Bjørn Sandnes
Bjørn Sandnes is the head of government of Haram
Bjørn Sandnes
action filter_type
action find
entity Haram
relation head of government
type common name
['Haram', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Haram property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q499575
P17
Q15617994
USER
Which administrative territory does that administrative country subdivision belong to ?
(Q3420423,P17,c(Q15617994))
action filter_type
action find
entity Q499575
relation P17
type Q15617994
['Q3420423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q499575 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Haram
action filter_type
action find
entity Haram
relation country
type designation for an administrative territorial entity
['Bjørn Sandnes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Haram property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q3420423,P17,c(Q15617994))
action filter_type
action find
entity Q499575
relation P17
type Q15617994
That administrative country subdivision belongs to the [ANSWER]
['Q3420423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q499575 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Norway
That administrative country subdivision belongs to the Norway
Norway
action filter_type
action find
entity Haram
relation country
type designation for an administrative territorial entity
['Bjørn Sandnes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Haram property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2995136 Q499575
P17
Q15617994
USER
Or Novoazovsk Raion?
OR((Q499575,P17,c(Q15617994)), (Q2995136,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q499575
relation P17
action find
entity Q2995136
relation P17
type Q15617994
{'OR': [['Q499575', 'P17', {'concept': 'Q15617994'}], ['Q2995136', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?d ) { ( resource:Q499575 ) ( resource:Q2995136 ) } . ?d property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Novoazovsk Raion Haram
action filter_type
action union
action find
entity Haram
relation country
action find
entity Novoazovsk Raion
relation country
type designation for an administrative territorial entity
{'OR': [['Haram', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Novoazovsk Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?d ) { ( resource:Haram ) ( resource:Novoazovsk_Raion ) } . ?d property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q212
SYSTEM
Norway, Ukraine
Q20 Q212
OR((Q499575,P17,c(Q15617994)), (Q2995136,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q499575
relation P17
action find
entity Q2995136
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q499575', 'P17', {'concept': 'Q15617994'}], ['Q2995136', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?d ) { ( resource:Q499575 ) ( resource:Q2995136 ) } . ?d property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Norway Ukraine
Norway Ukraine
action filter_type
action union
action find
entity Haram
relation country
action find
entity Novoazovsk Raion
relation country
type designation for an administrative territorial entity
{'OR': [['Haram', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Novoazovsk Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?d ) { ( resource:Haram ) ( resource:Novoazovsk_Raion ) } . ?d property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q20
P47
Q1048835 Q56061
USER
How many political territories or administrative territories have an adjacent border with Norway ?
(c(Q1048835),P47,Q20) (c(Q56061),P47,Q20)
action count
action union
action filter_type
action find_reverse
entity Q20
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q20
relation P47
type Q56061
[{'concept': 'Q1048835'}, 'P47', 'Q20'] [{'concept': 'Q56061'}, 'P47', 'Q20']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:P47 resource:Q20 . ?u rdf:type ontology:Q1048835 } UNION { ?u property:P47 resource:Q20 . ?u rdf:type ontology:Q56061 } }
Norway
action count
action union
action filter_type
action find_reverse
entity Norway
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Norway
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Norway'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Norway']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:shares_border_with resource:Norway . ?u rdf:type ontology:political_territorial_entity } UNION { ?u property:shares_border_with resource:Norway . ?u rdf:type ontology:administrative_territorial_entity } }
[]
political territorial entity administrative territorial entity
SYSTEM
2
Q458 Q35
(c(Q1048835),P47,Q20) (c(Q56061),P47,Q20)
action count
action union
action filter_type
action find_reverse
entity Q20
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q20
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q20'] [{'concept': 'Q56061'}, 'P47', 'Q20']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:P47 resource:Q20 . ?u rdf:type ontology:Q1048835 } UNION { ?u property:P47 resource:Q20 . ?u rdf:type ontology:Q56061 } }
European Union Denmark
2
action count
action union
action filter_type
action find_reverse
entity Norway
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Norway
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Norway'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Norway']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:shares_border_with resource:Norway . ?u rdf:type ontology:political_territorial_entity } UNION { ?u property:shares_border_with resource:Norway . ?u rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P710
Q15275719
USER
Which recurring event was Norway a participant of ?
(c(Q15275719),P710,Q20)
action filter_type
action find_reverse
entity Q20
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q20']
SELECT DISTINCT ?l WHERE { ?l property:P710 resource:Q20 . ?l rdf:type ontology:Q15275719 }
Norway
action filter_type
action find_reverse
entity Norway
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Norway']
SELECT DISTINCT ?l WHERE { ?l property:participant resource:Norway . ?l rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q20)
action filter_type
action find_reverse
entity Q20
relation P710
type Q15275719
The [ANSWER] was Norway a participant of
[{'concept': 'Q15275719'}, 'P710', 'Q20']
SELECT DISTINCT ?l WHERE { ?l property:P710 resource:Q20 . ?l rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
The Eurovision Song Contest 1996 was Norway a participant of
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Norway
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Norway']
SELECT DISTINCT ?l WHERE { ?l property:participant resource:Norway . ?l rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207815
P1344
Q2088357
USER
Which musical ensemble took part in that recurring event ?
(c(Q2088357),P1344,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P1344
type Q2088357
[{'concept': 'Q2088357'}, 'P1344', 'Q207815']
SELECT DISTINCT ?j WHERE { ?j property:P1344 resource:Q207815 . ?j rdf:type ontology:Q2088357 }
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation participant of
type musical ensemble
[{'concept': 'musical ensemble'}, 'participant of', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?j WHERE { ?j property:participant_of resource:Eurovision_Song_Contest_1996 . ?j rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q630091
SYSTEM
One More Time
Q630091
(c(Q2088357),P1344,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P1344
type Q2088357
[ANSWER] took part in that recurring event
[{'concept': 'Q2088357'}, 'P1344', 'Q207815']
SELECT DISTINCT ?j WHERE { ?j property:P1344 resource:Q207815 . ?j rdf:type ontology:Q2088357 }
One More Time
One More Time took part in that recurring event
One More Time
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation participant of
type musical ensemble
[{'concept': 'musical ensemble'}, 'participant of', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?j WHERE { ?j property:participant_of resource:Eurovision_Song_Contest_1996 . ?j rdf:type ontology:musical_ensemble }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q630091 Q3493563
P175
Q2031291
USER
Did Spirit of the Wild give the performance of that musical ensemble ?
(Q3493563,P175,Q630091)
action is_in
entity Q3493563
action find
entity Q630091
relation P175
['Q3493563', 'P175', 'Q630091']
ASK WHERE { resource:Q630091 property:P175 resource:Q3493563 }
One More Time Spirit of the Wild
action is_in
entity Spirit of the Wild
action find
entity One More Time
relation performer
['Spirit of the Wild', 'performer', 'One More Time']
ASK WHERE { resource:One_More_Time property:performer resource:Spirit_of_the_Wild }
[]
release
SYSTEM
NO
(Q3493563,P175,Q630091)
action is_in
entity Q3493563
action find
entity Q630091
relation P175
[ANSWER]
['Q3493563', 'P175', 'Q630091']
ASK WHERE { resource:Q630091 property:P175 resource:Q3493563 }
No
action is_in
entity Spirit of the Wild
action find
entity One More Time
relation performer
['Spirit of the Wild', 'performer', 'One More Time']
ASK WHERE { resource:One_More_Time property:performer resource:Spirit_of_the_Wild }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q408 Q212
P27
Q502895
USER
Which people are civilians of Ukraine and Australia ?
AND((c(Q502895),P27,Q212), (c(Q502895),P27,Q408))
action filter_type
action intersection
action find_reverse
entity Q212
relation P27
action find_reverse
entity Q408
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q212'], [{'concept': 'Q502895'}, 'P27', 'Q408']]}
SELECT DISTINCT ?r WHERE { ?r property:P27 resource:Q212 . ?r property:P27 resource:Q408 . ?r rdf:type ontology:Q502895 }
Australia Ukraine
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ukraine'], [{'concept': 'common name'}, 'country of citizenship', 'Australia']]}
SELECT DISTINCT ?r WHERE { ?r property:country_of_citizenship resource:Ukraine . ?r property:country_of_citizenship resource:Australia . ?r rdf:type ontology:common_name }
[]
common name
Q16680726 Q3616328 Q7462376
SYSTEM
Ilya Isaevich Nikberg, Andriy Kovalenko, Shai Alexander
Q16680726 Q3616328 Q7462376
AND((c(Q502895),P27,Q212), (c(Q502895),P27,Q408))
action filter_type
action intersection
action find_reverse
entity Q212
relation P27
action find_reverse
entity Q408
relation P27
type Q502895
[ANSWERS] are civilians of Ukraine and Australia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q212'], [{'concept': 'Q502895'}, 'P27', 'Q408']]}
SELECT DISTINCT ?r WHERE { ?r property:P27 resource:Q212 . ?r property:P27 resource:Q408 . ?r rdf:type ontology:Q502895 }
Ilya Isaevich Nikberg Andriy Kovalenko Shai Alexander
Ilya Isaevich Nikberg, Andriy Kovalenko and Shai Alexander are civilians of Ukraine and Australia
Ilya Isaevich Nikberg Andriy Kovalenko Shai Alexander
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ukraine'], [{'concept': 'common name'}, 'country of citizenship', 'Australia']]}
SELECT DISTINCT ?r WHERE { ?r property:country_of_citizenship resource:Ukraine . ?r property:country_of_citizenship resource:Australia . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1185099
P725
Q502895 Q838948
USER
Which works of art did more number of people dub for than Star Driver: Kagayaki no Takuto ?
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1185099
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q1185099 property:P725 ?s . ?s rdf:type ontology:Q838948 } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?g ) WHERE { ?t property:P725 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q838948 } GROUP BY ?t } }
Star Driver: Kagayaki no Takuto
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Star Driver: Kagayaki no Takuto
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Star_Driver:_Kagayaki_no_Takuto property:voice_actor ?s . ?s rdf:type ontology:work_of_art } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?g ) WHERE { ?t property:voice_actor ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:work_of_art } GROUP BY ?t } }
[]
common name work of art
Q127367 Q17485699 Q16857406
SYSTEM
The Lord of the Rings: The Fellowship of the Ring, Alice Through the Looking Glass, The Jungle Book
Q13393950 Q127367 Q16207076 Q23838455 Q568928 Q3139297 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q3282491 Q477365 Q16782 Q4158396 Q4503243 Q16857406 Q622742 Q1058469 Q204416 Q23034444 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1185099
relation P725
type Q838948
[ANSWERS] more number of people dubbed for than Star Driver: Kagayaki no Takuto
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q1185099 property:P725 ?s . ?s rdf:type ontology:Q838948 } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?g ) WHERE { ?t property:P725 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q838948 } GROUP BY ?t } }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Garfield: The Movie Hold the Lion, Please Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Radio Day The Tsar's Bride The Jungle Book Where the Wild Things Are Ghost in the Shell 2: Innocence Felidae Ghost in the Shell 2.0 Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
The Lord of the Rings: The Fellowship of the Ring, Alice Through the Looking Glass and The Jungle Book more number of people dubbed for than Star Driver: Kagayaki no Takuto
The Lord of the Rings: The Fellowship of the Ring Alice Through the Looking Glass The Jungle Book
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Star Driver: Kagayaki no Takuto
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Star_Driver:_Kagayaki_no_Takuto property:voice_actor ?s . ?s rdf:type ontology:work_of_art } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?g ) WHERE { ?t property:voice_actor ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:work_of_art } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q212
P159
Q43229 Q874405
USER
How many organizations or social groups have their HQ location at Ukraine ?
(c(Q43229),P159,Q212) (c(Q874405),P159,Q212)
action count
action union
action filter_type
action find_reverse
entity Q212
relation P159
type Q43229
action filter_type
action find_reverse
entity Q212
relation P159
type Q874405
[{'concept': 'Q43229'}, 'P159', 'Q212'] [{'concept': 'Q874405'}, 'P159', 'Q212']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P159 resource:Q212 . ?l rdf:type ontology:Q874405 } UNION { ?l property:P159 resource:Q212 . ?l rdf:type ontology:Q43229 } }
Ukraine
action count
action union
action filter_type
action find_reverse
entity Ukraine
relation headquarters location
type organization
action filter_type
action find_reverse
entity Ukraine
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Ukraine'] [{'concept': 'social group'}, 'headquarters location', 'Ukraine']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:headquarters_location resource:Ukraine . ?l rdf:type ontology:social_group } UNION { ?l property:headquarters_location resource:Ukraine . ?l rdf:type ontology:organization } }
[]
organization social group
SYSTEM
15
Q19903752 Q12112481 Q5974839 Q20077950 Q7525095 Q7888274 Q4344907 Q4034694 Q20097236 Q16473704 Q12088945 Q12064326 Q12116493 Q4058427 Q722383
(c(Q43229),P159,Q212) (c(Q874405),P159,Q212)
action count
action union
action filter_type
action find_reverse
entity Q212
relation P159
type Q43229
action filter_type
action find_reverse
entity Q212
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q212'] [{'concept': 'Q874405'}, 'P159', 'Q212']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P159 resource:Q212 . ?l rdf:type ontology:Q874405 } UNION { ?l property:P159 resource:Q212 . ?l rdf:type ontology:Q43229 } }
Ukrainian Universal Exchange Design Office of Special Equipment ITK Artillery Armament Design  Bureau Sintal Agriculture United Minerals Group Parallel BG Capital Kharkivoblenergo Antifascist Committee of Ukraine Veselka Group DF FILM.UA Group Azov ship-repair factory Utel
15
action count
action union
action filter_type
action find_reverse
entity Ukraine
relation headquarters location
type organization
action filter_type
action find_reverse
entity Ukraine
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Ukraine'] [{'concept': 'social group'}, 'headquarters location', 'Ukraine']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:headquarters_location resource:Ukraine . ?l rdf:type ontology:social_group } UNION { ?l property:headquarters_location resource:Ukraine . ?l rdf:type ontology:organization } }
[]