Simple Question (Direct)
Simple Question
Q782938
P1313
Q12737077
USER
Which occupation is fulfilled by Meruelo ?
(Q782938,P1313,c(Q12737077))
action filter_type
action find
entity Q782938
relation P1313
type Q12737077
['Q782938', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q782938 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Meruelo
action filter_type
action find
entity Meruelo
relation office held by head of government
type occupation
['Meruelo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Meruelo property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q26700562
SYSTEM
mayor of Meruelo
Q26700562
(Q782938,P1313,c(Q12737077))
action filter_type
action find
entity Q782938
relation P1313
type Q12737077
Is [ANSWER] is fulfilled by Meruelo
['Q782938', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q782938 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
mayor of Meruelo
Is mayor of Meruelo is fulfilled by Meruelo
mayor of Meruelo
action filter_type
action find
entity Meruelo
relation office held by head of government
type occupation
['Meruelo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Meruelo property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q782938
P17
Q15617994
USER
Which administrative territory is Meruelo a part of ?
(Q782938,P17,c(Q15617994))
action filter_type
action find
entity Q782938
relation P17
type Q15617994
['Q782938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q782938 property:P17 ?b }
Meruelo
action filter_type
action find
entity Meruelo
relation country
type designation for an administrative territorial entity
['Meruelo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Meruelo property:country ?b }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q782938,P17,c(Q15617994))
action filter_type
action find
entity Q782938
relation P17
type Q15617994
Which administrative territory is Meruelo a part of
['Q782938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q782938 property:P17 ?b }
Spain
Which administrative territory is Meruelo a part of
Spain
action filter_type
action find
entity Meruelo
relation country
type designation for an administrative territorial entity
['Meruelo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Meruelo property:country ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P921
Q223393
USER
Which literary genres have that administrative territory as their main topic ?
(c(Q223393),P921,Q29)
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q29']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q29 . ?a rdf:type ontology:Q223393 }
Spain
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Spain']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Spain . ?a rdf:type ontology:literary_genre }
[]
literary genre
Q20982891 Q11681095
SYSTEM
Hades, Diccionario Biográfico del Socialismo Español
Q20982891 Q11681095
(c(Q223393),P921,Q29)
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
[ANSWERS] have that administrative territory as their main topic
[{'concept': 'Q223393'}, 'P921', 'Q29']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q29 . ?a rdf:type ontology:Q223393 }
Hades Diccionario Biográfico del Socialismo Español
Hades and Diccionario Biográfico del Socialismo Español have that administrative territory as their main topic
Hades Diccionario Biográfico del Socialismo Español
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Spain']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Spain . ?a rdf:type ontology:literary_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20982891
P364
Q34770
USER
Which language was used originally for the creation of that literary genre ?
(Q20982891,P364,c(Q34770))
action filter_type
action find
entity Q20982891
relation P364
type Q34770
['Q20982891', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q20982891 property:P364 ?m . ?m rdf:type ontology:Q34770 }
Hades
action filter_type
action find
entity Hades
relation original language of work
type language
['Hades', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Hades property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q20982891
SYSTEM
Did you mean Hades ?
Q20982891 Q11681095
(Q20982891,P364,c(Q34770)) (Q11681095,P364,c(Q34770))
[ANSWER]
['Q20982891', 'P364', {'concept': 'Q34770'}] ['Q11681095', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q20982891 property:P364 ?m . ?m rdf:type ontology:Q34770 }
Hades Diccionario Biográfico del Socialismo Español
Did you mean Hades ?
Hades
['Hades', 'original language of work', {'concept': 'language'}] ['Diccionario Biográfico del Socialismo Español', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Hades property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q20982891,P364,c(Q34770))
['Q20982891', 'P364', {'concept': 'Q34770'}]
['Hades', 'original language of work', {'concept': 'language'}]
[]
Q1321
SYSTEM
Spanish
Q1321
(Q20982891,P364,c(Q34770))
action filter_type
action find
entity Q20982891
relation P364
type Q34770
In [ANSWER] was used originally for the creation of that literary genre
['Q20982891', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q20982891 property:P364 ?m . ?m rdf:type ontology:Q34770 }
Spanish
In Spanish was used originally for the creation of that literary genre
Spanish
action filter_type
action find
entity Hades
relation original language of work
type language
['Hades', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Hades property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P610
Q473972
USER
Which is the highest peak of Spain ?
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?v WHERE { resource:Q29 property:P610 ?v . ?v rdf:type ontology:Q473972 }
Spain
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?v WHERE { resource:Spain property:highest_point ?v . ?v rdf:type ontology:protected_area }
[]
protected area
Q38954
SYSTEM
Teide
Q38954
(Q29,P610,c(Q473972))
action filter_type
action find
entity Q29
relation P610
type Q473972
The highest peak of Spain is the [ANSWER]
['Q29', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?v WHERE { resource:Q29 property:P610 ?v . ?v rdf:type ontology:Q473972 }
Teide
The highest peak of Spain is the Teide
Teide
action filter_type
action find
entity Spain
relation highest point
type protected area
['Spain', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?v WHERE { resource:Spain property:highest_point ?v . ?v rdf:type ontology:protected_area }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2031843
Q473972
USER
And also tell me about Södertörn?
(Q2031843,P610,c(Q473972))
action filter_type
action find
entity Q2031843
relation P610
type Q473972
['Q2031843', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?k WHERE { resource:Q2031843 property:P610 ?k . ?k rdf:type ontology:Q473972 }
Södertörn
action filter_type
action find
entity Södertörn
relation highest point
type protected area
['Södertörn', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?k WHERE { resource:Södertörn property:highest_point ?k . ?k rdf:type ontology:protected_area }
[]
protected area
Q10700136
SYSTEM
Tornberget
Q10700136
(Q2031843,P610,c(Q473972))
action filter_type
action find
entity Q2031843
relation P610
type Q473972
[ANSWER]
['Q2031843', 'P610', {'concept': 'Q473972'}]
SELECT DISTINCT ?k WHERE { resource:Q2031843 property:P610 ?k . ?k rdf:type ontology:Q473972 }
Tornberget
Tornberget
action filter_type
action find
entity Södertörn
relation highest point
type protected area
['Södertörn', 'highest point', {'concept': 'protected area'}]
SELECT DISTINCT ?k WHERE { resource:Södertörn property:highest_point ?k . ?k rdf:type ontology:protected_area }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10700136 Q2031843
P610
Q271669
USER
Is that protected area the highest peak of Södertörn ?
(Q2031843,P610,Q10700136)
action is_in
entity Q10700136
action find
entity Q2031843
relation P610
['Q2031843', 'P610', 'Q10700136']
ASK WHERE { resource:Q2031843 property:P610 resource:Q10700136 }
Tornberget Södertörn
action is_in
entity Tornberget
action find
entity Södertörn
relation highest point
['Södertörn', 'highest point', 'Tornberget']
ASK WHERE { resource:Södertörn property:highest_point resource:Tornberget }
[]
landform
SYSTEM
YES
(Q2031843,P610,Q10700136)
action is_in
entity Q10700136
action find
entity Q2031843
relation P610
[ANSWER]
['Q2031843', 'P610', 'Q10700136']
ASK WHERE { resource:Q2031843 property:P610 resource:Q10700136 }
Yes
action is_in
entity Tornberget
action find
entity Södertörn
relation highest point
['Södertörn', 'highest point', 'Tornberget']
ASK WHERE { resource:Södertörn property:highest_point resource:Tornberget }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q782938 Q1602418 Q641071
P47
Q1048835
USER
Does Meruelo share border with Ribamontán al Monte and Escalante ?
(Q782938,P47,Q1602418) (Q782938,P47,Q641071)
action is_in
entity Q782938
action intersection
action find_reverse
entity Q1602418
relation P47
action find_reverse
entity Q641071
relation P47
['Q782938', 'P47', 'Q1602418'] ['Q782938', 'P47', 'Q641071']
ASK WHERE { resource:Q782938 property:P47 resource:Q1602418 . resource:Q782938 property:P47 resource:Q641071 }
Meruelo Ribamontán al Monte Escalante
action is_in
entity Meruelo
action intersection
action find_reverse
entity Ribamontán al Monte
relation shares border with
action find_reverse
entity Escalante
relation shares border with
['Meruelo', 'shares border with', 'Ribamontán al Monte'] ['Meruelo', 'shares border with', 'Escalante']
ASK WHERE { resource:Meruelo property:shares_border_with resource:Ribamontán_al_Monte . resource:Meruelo property:shares_border_with resource:Escalante }
[]
political territorial entity
SYSTEM
YES
(Q782938,P47,Q1602418) (Q782938,P47,Q641071)
action is_in
entity Q782938
action intersection
action find_reverse
entity Q1602418
relation P47
action find_reverse
entity Q641071
relation P47
[ANSWER]
['Q782938', 'P47', 'Q1602418'] ['Q782938', 'P47', 'Q641071']
ASK WHERE { resource:Q782938 property:P47 resource:Q1602418 . resource:Q782938 property:P47 resource:Q641071 }
Yes
action is_in
entity Meruelo
action intersection
action find_reverse
entity Ribamontán al Monte
relation shares border with
action find_reverse
entity Escalante
relation shares border with
['Meruelo', 'shares border with', 'Ribamontán al Monte'] ['Meruelo', 'shares border with', 'Escalante']
ASK WHERE { resource:Meruelo property:shares_border_with resource:Ribamontán_al_Monte . resource:Meruelo property:shares_border_with resource:Escalante }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P740
Q43229
USER
What is the organization that was formed at Spain ?
(c(Q43229),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q29']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q29 . ?z rdf:type ontology:Q43229 }
Spain
action filter_type
action find_reverse
entity Spain
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Spain']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Spain . ?z rdf:type ontology:organization }
[]
organization
Q5923682
SYSTEM
Izenpe
Q5923682
(c(Q43229),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q43229
The organization that was formed at Spain is the [ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q29']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q29 . ?z rdf:type ontology:Q43229 }
Izenpe
The organization that was formed at Spain is the Izenpe
Izenpe
action filter_type
action find_reverse
entity Spain
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Spain']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Spain . ?z rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P35
Q502895
USER
Who are elected as the head of state of that administrative territory ?
(Q5923682,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
['Q5923682', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q29 property:P35 ?s }
Spain
action filter_type
action find
entity Spain
relation head of state
type common name
['Izenpe', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Spain property:head_of_state ?s }
[]
common name
Q191045 Q19943
SYSTEM
Felipe VI, Juan Carlos I
Q191045 Q19943
(Q5923682,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
[ANSWERS] are elected as the head of state of that administrative territory
['Q5923682', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q29 property:P35 ?s }
Felipe VI Juan Carlos I
Felipe VI and Juan Carlos I are elected as the head of state of that administrative territory
Felipe VI Juan Carlos I
action filter_type
action find
entity Spain
relation head of state
type common name
['Izenpe', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Spain property:head_of_state ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q886
P725
Q502895 Q15961987
USER
Which television genres did greater number of people do the dubbing for than The Simpsons ?
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:Q15961987 . resource:Q886 property:P725 ?v } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?d ) WHERE { ?y property:P725 ?j . ?y rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?y } }
The Simpsons
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:television_genre . resource:The_Simpsons property:voice_actor ?v } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?d ) WHERE { ?y property:voice_actor ?j . ?y rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?y } }
[]
common name television genre
Q53093 Q5415 Q22773153
SYSTEM
Adventure Time, My Little Pony: Friendship Is Magic, Milo Murphy's Law
Q7615342 Q22773153 Q18790 Q53093 Q5415
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q15961987
Adventure Time, My Little Pony: Friendship is Magic and Milo Murphy's Law greater number of people did the dubbing for than The Simpsons
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:Q15961987 . resource:Q886 property:P725 ?v } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?d ) WHERE { ?y property:P725 ?j . ?y rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?y } }
Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic
Adventure Time, My Little Pony: Friendship is Magic and Milo Murphy's Law greater number of people did the dubbing for than The Simpsons
Adventure Time My Little Pony: Friendship Is Magic Milo Murphy's Law
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:television_genre . resource:The_Simpsons property:voice_actor ?v } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?d ) WHERE { ?y property:voice_actor ?j . ?y rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3235151
P725
Q502895 Q15961987
USER
And how about VeggieTales?
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?s ) WHERE { ?w property:P725 ?d . ?w rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ontology:Q15961987 . resource:Q3235151 property:P725 ?q } } . FILTER ( ?s > ?p ) }
VeggieTales
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?s ) WHERE { ?w property:voice_actor ?d . ?w rdf:type ontology:television_genre . ?d rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ontology:television_genre . resource:VeggieTales property:voice_actor ?q } } . FILTER ( ?s > ?p ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q22773153 Q18790 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?s ) WHERE { ?w property:P725 ?d . ?w rdf:type ontology:Q15961987 . ?d rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ontology:Q15961987 . resource:Q3235151 property:P725 ?q } } . FILTER ( ?s > ?p ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?s ) WHERE { ?w property:voice_actor ?d . ?w rdf:type ontology:television_genre . ?d rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ontology:television_genre . resource:VeggieTales property:voice_actor ?q } } . FILTER ( ?s > ?p ) }
[]