Simple Question (Direct)
Simple Question
Q1902074
P1313
Q12737077
USER
What is the occupation held by Riner ?
(Q1902074,P1313,c(Q12737077))
action filter_type
action find
entity Q1902074
relation P1313
type Q12737077
['Q1902074', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1902074 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
Riner
action filter_type
action find
entity Riner
relation office held by head of government
type occupation
['Riner', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Riner property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q26696765
SYSTEM
mayor of Riner
Q26696765
(Q1902074,P1313,c(Q12737077))
action filter_type
action find
entity Q1902074
relation P1313
type Q12737077
The occupation held by Riner is the [ANSWER]
['Q1902074', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1902074 property:P1313 ?e . ?e rdf:type ontology:Q12737077 }
mayor of Riner
The occupation held by Riner is the mayor of Riner
mayor of Riner
action filter_type
action find
entity Riner
relation office held by head of government
type occupation
['Riner', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Riner property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1902074
P1001
Q12737077
USER
Which occupation has control over the jurisdiction of Riner ?
(c(Q12737077),P1001,Q1902074)
action filter_type
action find_reverse
entity Q1902074
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1902074']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . ?s property:P1001 resource:Q1902074 }
Riner
action filter_type
action find_reverse
entity Riner
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Riner']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . ?s property:applies_to_jurisdiction resource:Riner }
[]
occupation
Q26696765
SYSTEM
mayor of Riner
Q26696765
(c(Q12737077),P1001,Q1902074)
action filter_type
action find_reverse
entity Q1902074
relation P1001
type Q12737077
The [ANSWER] has control over the jurisdiction of Riner
[{'concept': 'Q12737077'}, 'P1001', 'Q1902074']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . ?s property:P1001 resource:Q1902074 }
mayor of Riner
The mayor of Riner has control over the jurisdiction of Riner
mayor of Riner
action filter_type
action find_reverse
entity Riner
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Riner']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . ?s property:applies_to_jurisdiction resource:Riner }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26696765
P17
Q15617994
USER
Which administrative territory is that occupation located in ?
(Q26696765,P17,c(Q15617994))
action filter_type
action find
entity Q26696765
relation P17
type Q15617994
['Q26696765', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q26696765 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
mayor of Riner
action filter_type
action find
entity mayor of Riner
relation country
type designation for an administrative territorial entity
['mayor of Riner', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:mayor_of_Riner property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q26696765,P17,c(Q15617994))
action filter_type
action find
entity Q26696765
relation P17
type Q15617994
That occupation is located in [ANSWER]
['Q26696765', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q26696765 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Spain
That occupation is located in Spain
Spain
action filter_type
action find
entity mayor of Riner
relation country
type designation for an administrative territorial entity
['mayor of Riner', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:mayor_of_Riner property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P376
Q16889133
USER
Which class is known to be the location of that administrative territory ?
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?j }
Spain
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?j }
[]
class
Q2
SYSTEM
Earth
Q2
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
[ANSWER] is known to be the location of that administrative territory
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?j }
Earth
Earth is known to be the location of that administrative territory
Earth
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5876154
Q16889133
USER
And what about Hodgkins?
(Q5876154,P376,c(Q16889133))
action filter_type
action find
entity Q5876154
relation P376
type Q16889133
['Q5876154', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?u WHERE { resource:Q5876154 property:P376 ?u . ?u rdf:type ontology:Q16889133 }
Hodgkins
action filter_type
action find
entity Hodgkins
relation located on astronomical body
type class
['Hodgkins', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?u WHERE { resource:Hodgkins property:located_on_astronomical_body ?u . ?u rdf:type ontology:class }
[]
class
Q308
SYSTEM
Mercury
Q308
(Q5876154,P376,c(Q16889133))
action filter_type
action find
entity Q5876154
relation P376
type Q16889133
[ANSWER]
['Q5876154', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?u WHERE { resource:Q5876154 property:P376 ?u . ?u rdf:type ontology:Q16889133 }
Mercury
Mercury
action filter_type
action find
entity Hodgkins
relation located on astronomical body
type class
['Hodgkins', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?u WHERE { resource:Hodgkins property:located_on_astronomical_body ?u . ?u rdf:type ontology:class }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29
P47
Q15617994
USER
How many administrative territories have a shared border with Spain ?
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?d }
Spain
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?d }
[]
designation for an administrative territorial entity
SYSTEM
5
Q142 Q45 Q1028 Q1025 Q228
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWER]
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?d }
France Portugal Morocco Mauritania Andorra
5
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1906
P47
Q15617994
USER
And also tell me about Caserta?
(Q1906,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1906
relation P47
type Q15617994
['Q1906', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q1906 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Caserta
action count
action filter_type
action find
entity Caserta
relation shares border with
type designation for an administrative territorial entity
['Caserta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Caserta property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q58925 Q58503 Q58477 Q58883 Q58849 Q55916 Q58802 Q58693 Q58859 Q58550
(Q1906,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1906
relation P47
type Q15617994
[ANSWER]
['Q1906', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q1906 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Valle di Maddaloni Casagiove Capua San Prisco San Marco Evangelista Limatola Recale Maddaloni San Nicola la Strada Castel Morrone
10
action count
action filter_type
action find
entity Caserta
relation shares border with
type designation for an administrative territorial entity
['Caserta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Caserta property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18069
Q15617994
USER
And what about Gaglianico?
(Q18069,P47,c(Q15617994))
action count
action filter_type
action find
entity Q18069
relation P47
type Q15617994
['Q18069', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q18069 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Gaglianico
action count
action filter_type
action find
entity Gaglianico
relation shares border with
type designation for an administrative territorial entity
['Gaglianico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Gaglianico property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q18069,P47,c(Q15617994))
action count
action filter_type
action find
entity Q18069
relation P47
type Q15617994
[ANSWER]
['Q18069', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q18069 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Gaglianico
relation shares border with
type designation for an administrative territorial entity
['Gaglianico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Gaglianico property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2
P706
Q2221906
USER
What is located in Earth ?
(c(Q2221906),P706,Q2)
action filter_type
action find_reverse
entity Q2
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q2']
SELECT DISTINCT ?p WHERE { ?p property:P706 resource:Q2 . ?p rdf:type ontology:Q2221906 }
Earth
action filter_type
action find_reverse
entity Earth
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Earth']
SELECT DISTINCT ?p WHERE { ?p property:located_on_terrain_feature resource:Earth . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(c(Q2221906),P706,Q2)
action filter_type
action find_reverse
entity Q2
relation P706
type Q2221906
Were [ANSWER] is located in Earth
[{'concept': 'Q2221906'}, 'P706', 'Q2']
SELECT DISTINCT ?p WHERE { ?p property:P706 resource:Q2 . ?p rdf:type ontology:Q2221906 }
Antarctica
Were Antarctica is located in Earth
Antarctica
action filter_type
action find_reverse
entity Earth
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Earth']
SELECT DISTINCT ?p WHERE { ?p property:located_on_terrain_feature resource:Earth . ?p rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51
P921
Q838948
USER
Which works of art were mainly based on that geographic location ?
(c(Q838948),P921,Q51)
action filter_type
action find_reverse
entity Q51
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q51']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q51 . ?c rdf:type ontology:Q838948 }
Antarctica
action filter_type
action find_reverse
entity Antarctica
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Antarctica']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Antarctica . ?c rdf:type ontology:work_of_art }
[]
work of art
Q330113 Q814288 Q1332246
SYSTEM
March of the Penguins, Encounters at the End of the World, The Secret Land
Q5985330 Q4770992 Q16961661 Q7737994 Q330113 Q4549604 Q1332246 Q1722396 Q5261173 Q7732162 Q814288
(c(Q838948),P921,Q51)
action filter_type
action find_reverse
entity Q51
relation P921
type Q838948
[ANSWERS] were mainly based on that geographic location
[{'concept': 'Q838948'}, 'P921', 'Q51']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q51 . ?c rdf:type ontology:Q838948 }
Ice People Antarctic Crossing Antarctica: A Year On Ice The Great White Silence March of the Penguins 140 Days Under the World The Secret Land With Byrd at the South Pole Der Kongress der Pinguine The Endurance: Shackleton's Legendary Antarctic Expedition Encounters at the End of the World
March of the Penguins, Encounters at the End of the World and The Secret Land were mainly based on that geographic location
March of the Penguins Encounters at the End of the World The Secret Land
action filter_type
action find_reverse
entity Antarctica
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Antarctica']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Antarctica . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q330113 Q814288 Q1332246
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q330113,P136,c(Q1792379)) (Q814288,P136,c(Q1792379)) (Q1332246,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q330113', 'P136', {'concept': 'Q1792379'}] ['Q814288', 'P136', {'concept': 'Q1792379'}] ['Q1332246', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . ?j property:P136 ?w . VALUES ( ?j ) { ( resource:Q5985330 ) ( resource:Q4770992 ) ( resource:Q16961661 ) } }
March of the Penguins Encounters at the End of the World The Secret Land
action filter_type
action find
entity prev_answer
relation genre
type art genre
['March of the Penguins', 'genre', {'concept': 'art genre'}] ['Encounters at the End of the World', 'genre', {'concept': 'art genre'}] ['The Secret Land', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . ?j property:genre ?w . VALUES ( ?j ) { ( resource:Ice_People ) ( resource:Antarctic_Crossing ) ( resource:Antarctica:_A_Year_On_Ice ) } }
[]
art genre
Q93204 Q93204 Q93204
SYSTEM
documentary film
Q93204 Q1760864 Q93204 Q93204
(Q330113,P136,c(Q1792379)) (Q814288,P136,c(Q1792379)) (Q1332246,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWER], [ANSWER] and [ANSWER] can be considered as category for those works of art
['Q330113', 'P136', {'concept': 'Q1792379'}] ['Q814288', 'P136', {'concept': 'Q1792379'}] ['Q1332246', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . ?j property:P136 ?w . VALUES ( ?j ) { ( resource:Q5985330 ) ( resource:Q4770992 ) ( resource:Q16961661 ) } }
documentary film nature documentary documentary film documentary film
Documentary film, documentary film and documentary film can be considered as category for those works of art
documentary film documentary film documentary film
action filter_type
action find
entity prev_answer
relation genre
type art genre
['March of the Penguins', 'genre', {'concept': 'art genre'}] ['Encounters at the End of the World', 'genre', {'concept': 'art genre'}] ['The Secret Land', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . ?j property:genre ?w . VALUES ( ?j ) { ( resource:Ice_People ) ( resource:Antarctic_Crossing ) ( resource:Antarctica:_A_Year_On_Ice ) } }
[]