Simple Question (Direct)
Simple Question
Q17266811
P39
Q12737077
USER
What was the position for which Eva Paunova was appointed ?
(Q17266811,P39,c(Q12737077))
action filter_type
action find
entity Q17266811
relation P39
type Q12737077
['Q17266811', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q17266811 property:P39 ?y }
Eva Paunova
action filter_type
action find
entity Eva Paunova
relation position held
type occupation
['Eva Paunova', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Eva_Paunova property:position_held ?y }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q17266811,P39,c(Q12737077))
action filter_type
action find
entity Q17266811
relation P39
type Q12737077
[ANSWER]
['Q17266811', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q17266811 property:P39 ?y }
member of the European Parliament
Member of the European Parliament
member of the European Parliament
action filter_type
action find
entity Eva Paunova
relation position held
type occupation
['Eva Paunova', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Eva_Paunova property:position_held ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27169
P361
Q178706
USER
Which institution is that occupation a part of ?
(Q27169,P361,c(Q178706))
action filter_type
action find
entity Q27169
relation P361
type Q178706
['Q27169', 'P361', {'concept': 'Q178706'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q178706 . resource:Q27169 property:P361 ?i }
member of the European Parliament
action filter_type
action find
entity member of the European Parliament
relation part of
type institution
['member of the European Parliament', 'part of', {'concept': 'institution'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:institution . resource:member_of_the_European_Parliament property:part_of ?i }
[]
institution
Q8889
SYSTEM
European Parliament
Q8889
(Q27169,P361,c(Q178706))
action filter_type
action find
entity Q27169
relation P361
type Q178706
[ANSWER] is that occupation a part of
['Q27169', 'P361', {'concept': 'Q178706'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q178706 . resource:Q27169 property:P361 ?i }
European Parliament
European Parliament is that occupation a part of
European Parliament
action filter_type
action find
entity member of the European Parliament
relation part of
type institution
['member of the European Parliament', 'part of', {'concept': 'institution'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:institution . resource:member_of_the_European_Parliament property:part_of ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27169 Q2624426
P106
Q502895
USER
How many people have the profession of member of the European Parliament or Ventriloquist ?
(c(Q502895),P106,Q27169) (c(Q502895),P106,Q2624426)
action count
action union
action filter_type
action find_reverse
entity Q27169
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2624426
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q27169'] [{'concept': 'Q502895'}, 'P106', 'Q2624426']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?r ) { ( resource:Q27169 ) ( resource:Q2624426 ) } . ?p property:P106 ?r }
member of the European Parliament Ventriloquist
action count
action union
action filter_type
action find_reverse
entity member of the European Parliament
relation occupation
type common name
action filter_type
action find_reverse
entity Ventriloquist
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the European Parliament'] [{'concept': 'common name'}, 'occupation', 'Ventriloquist']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?r ) { ( resource:member_of_the_European_Parliament ) ( resource:Ventriloquist ) } . ?p property:occupation ?r }
[]
common name
SYSTEM
4
Q17266735 Q7703618 Q2573947 Q3524349
(c(Q502895),P106,Q27169) (c(Q502895),P106,Q2624426)
action count
action union
action filter_type
action find_reverse
entity Q27169
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2624426
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q27169'] [{'concept': 'Q502895'}, 'P106', 'Q2624426']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?r ) { ( resource:Q27169 ) ( resource:Q2624426 ) } . ?p property:P106 ?r }
Christos Stylianides Terri Rogers Renato Brunetta Thierry Jean-Pierre
4
action count
action union
action filter_type
action find_reverse
entity member of the European Parliament
relation occupation
type common name
action filter_type
action find_reverse
entity Ventriloquist
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the European Parliament'] [{'concept': 'common name'}, 'occupation', 'Ventriloquist']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?r ) { ( resource:member_of_the_European_Parliament ) ( resource:Ventriloquist ) } . ?p property:occupation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17266811
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Eva Paunova ?
(Q17266811,P27,c(Q15617994))
action filter_type
action find
entity Q17266811
relation P27
type Q15617994
['Q17266811', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q17266811 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Eva Paunova
action filter_type
action find
entity Eva Paunova
relation country of citizenship
type designation for an administrative territorial entity
['Eva Paunova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Eva_Paunova property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q17266811,P27,c(Q15617994))
action filter_type
action find
entity Q17266811
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Eva Paunova
['Q17266811', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q17266811 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria is the country of citizenship of Eva Paunova
Bulgaria
action filter_type
action find
entity Eva Paunova
relation country of citizenship
type designation for an administrative territorial entity
['Eva Paunova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Eva_Paunova property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17266811
P21
Q290
USER
What is the sex of Eva Paunova ?
(Q17266811,P21,c(Q290))
action filter_type
action find
entity Q17266811
relation P21
type Q290
['Q17266811', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q17266811 property:P21 ?z . ?z rdf:type ontology:Q290 }
Eva Paunova
action filter_type
action find
entity Eva Paunova
relation gender
type sex
['Eva Paunova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Eva_Paunova property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q17266811,P21,c(Q290))
action filter_type
action find
entity Q17266811
relation P21
type Q290
The sex of Eva Paunova is the [ANSWER]
['Q17266811', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q17266811 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
The sex of Eva Paunova is the female
female
action filter_type
action find
entity Eva Paunova
relation gender
type sex
['Eva Paunova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Eva_Paunova property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q219
P915
Q15416 Q201658
USER
How many television programs and film genres were filmed at Bulgaria ?
(c(Q15416),P915,Q219) (c(Q201658),P915,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P915
type Q15416
action filter_type
action find_reverse
entity Q219
relation P915
type Q201658
[{'concept': 'Q15416'}, 'P915', 'Q219'] [{'concept': 'Q201658'}, 'P915', 'Q219']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } }
Bulgaria
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation filming location
type television program
action filter_type
action find_reverse
entity Bulgaria
relation filming location
type film genre
[{'concept': 'television program'}, 'filming location', 'Bulgaria'] [{'concept': 'film genre'}, 'filming location', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:film_genre ) ( ontology:television_program ) } }
[]
television program film genre
SYSTEM
41 television programs and 1 film genres
Q3304242 Q3344618 Q5250307 Q180489 Q3147747 Q3107461 Q7738936 Q3836338 Q2321552 Q1129262 Q1336186 Q2314522 Q385199 Q592783 Q2421384 Q4148642 Q1139374 Q4505623 Q5383776 Q3521 Q839194 Q2497871 Q3658191 Q129039 Q4351197 Q716471 Q810886 Q7741495 Q3837457 Q15978300 Q1728850 Q6238546 Q5168828 Q2476029 Q1891297 Q782632 Q1446556 Q1134134 Q5557212 Q2851722 Q2085998 Q3998582
(c(Q15416),P915,Q219) (c(Q201658),P915,Q219)
action count
action union
action filter_type
action find_reverse
entity Q219
relation P915
type Q15416
action filter_type
action find_reverse
entity Q219
relation P915
type Q201658
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q219'] [{'concept': 'Q201658'}, 'P915', 'Q219']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } }
Mega Snake Rock Monster Deep Shock Tuvalu Icon Hannibal – Rome's Worst Nightmare The Harpy Locusts: The 8th Plague Shark Attack 3 Alien Apocalypse Mansquito Path of Destruction In Desert and Wilderness Skeleton Man Dalida Grendel Alien Lockdown Cyclops Epoch: Evolution Alien Siege Magma: Volcanic Disaster A Love to Hide Mindstorm Puppet Master vs Demonic Toys Interceptor Force 2 Dragon Storm Bats: Human Harvest The Immortal Voyage of Captain Drake Raptor Island Street Fighter: Assassin's Fist Kara Ben Nemsi Effendi The Black Hole Copperhead Lake Placid 3 Manticore Monster Ark Lake Placid 2 Post Impact Ghost Voyage Annihilation Earth Wraiths of Roanoke Triassic Attack
41 television programs and 1 film genres
action count
action union
action filter_type
action find_reverse
entity Bulgaria
relation filming location
type television program
action filter_type
action find_reverse
entity Bulgaria
relation filming location
type film genre
[{'concept': 'television program'}, 'filming location', 'Bulgaria'] [{'concept': 'film genre'}, 'filming location', 'Bulgaria']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:film_genre ) ( ontology:television_program ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5481 Q219
P85
Q484692
USER
Which hymns are the anthems for Bulgaria or Republic of Tatarstan ?
OR((Q219,P85,c(Q484692)), (Q5481,P85,c(Q484692)))
action filter_type
action union
action find
entity Q219
relation P85
action find
entity Q5481
relation P85
type Q484692
{'OR': [['Q219', 'P85', {'concept': 'Q484692'}], ['Q5481', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q219 property:P85 ?u } UNION { resource:Q5481 property:P85 ?u } } . ?u rdf:type ontology:Q484692 }
Republic of Tatarstan Bulgaria
action filter_type
action union
action find
entity Bulgaria
relation anthem
action find
entity Republic of Tatarstan
relation anthem
type hymn
{'OR': [['Bulgaria', 'anthem', {'concept': 'hymn'}], ['Republic of Tatarstan', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bulgaria property:anthem ?u } UNION { resource:Republic_of_Tatarstan property:anthem ?u } } . ?u rdf:type ontology:hymn }
[]
hymn
Q1199595 Q182115
SYSTEM
National Anthem of the Republic of Tatarstan, Mila Rodino
Q1199595 Q182115
OR((Q219,P85,c(Q484692)), (Q5481,P85,c(Q484692)))
action filter_type
action union
action find
entity Q219
relation P85
action find
entity Q5481
relation P85
type Q484692
The [ANSWERS] are the anthems for Bulgaria or Republic of Tatarstan
{'OR': [['Q219', 'P85', {'concept': 'Q484692'}], ['Q5481', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q219 property:P85 ?u } UNION { resource:Q5481 property:P85 ?u } } . ?u rdf:type ontology:Q484692 }
National Anthem of the Republic of Tatarstan Mila Rodino
The National Anthem of the Republic of Tatarstan and Mila Rodino are the anthems for Bulgaria or Republic of Tatarstan
National Anthem of the Republic of Tatarstan Mila Rodino
action filter_type
action union
action find
entity Bulgaria
relation anthem
action find
entity Republic of Tatarstan
relation anthem
type hymn
{'OR': [['Bulgaria', 'anthem', {'concept': 'hymn'}], ['Republic of Tatarstan', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bulgaria property:anthem ?u } UNION { resource:Republic_of_Tatarstan property:anthem ?u } } . ?u rdf:type ontology:hymn }
[]