Simple Question (Direct)
Simple Question
Q11731374
P20
Q56061
USER
Where did the demise of Józef Smoleński occur ?
(Q11731374,P20,c(Q56061))
action filter_type
action find
entity Q11731374
relation P20
type Q56061
['Q11731374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q11731374 property:P20 ?u }
Józef Smoleński
action filter_type
action find
entity Józef Smoleński
relation place of death
type administrative territorial entity
['Józef Smoleński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Józef_Smoleński property:place_of_death ?u }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q11731374,P20,c(Q56061))
action filter_type
action find
entity Q11731374
relation P20
type Q56061
The demise of Józef Smoleński occurred in [ANSWER]
['Q11731374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q11731374 property:P20 ?u }
London
The demise of Józef Smoleński occurred in London
London
action filter_type
action find
entity Józef Smoleński
relation place of death
type administrative territorial entity
['Józef Smoleński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Józef_Smoleński property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11731374
P410
Q4189293
USER
Which title has that person achieved ?
(Q84,P410,c(Q4189293))
action filter_type
action find
entity Q11731374
relation P410
type Q4189293
['Q84', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q11731374 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
Józef Smoleński
action filter_type
action find
entity Józef Smoleński
relation military rank
type title
['London', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Józef_Smoleński property:military_rank ?c . ?c rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q84,P410,c(Q4189293))
action filter_type
action find
entity Q11731374
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q84', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q11731374 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
general officer
That person has achieved a general officer
general officer
action filter_type
action find
entity Józef Smoleński
relation military rank
type title
['London', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Józef_Smoleński property:military_rank ?c . ?c rdf:type ontology:title }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q21485301
P27
Q502895
USER
How many people are a native of London or Argentino ?
(c(Q502895),P27,Q84) (c(Q502895),P27,Q21485301)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21485301
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q84'] [{'concept': 'Q502895'}, 'P27', 'Q21485301']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P27 ?a . VALUES ( ?a ) { ( resource:Q84 ) ( resource:Q21485301 ) } }
London Argentino
action count
action union
action filter_type
action find_reverse
entity London
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Argentino
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'London'] [{'concept': 'common name'}, 'country of citizenship', 'Argentino']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:London ) ( resource:Argentino ) } }
[]
common name
SYSTEM
2
Q8962511 Q6524094
(c(Q502895),P27,Q84) (c(Q502895),P27,Q21485301)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21485301
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q84'] [{'concept': 'Q502895'}, 'P27', 'Q21485301']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P27 ?a . VALUES ( ?a ) { ( resource:Q84 ) ( resource:Q21485301 ) } }
Francisco Narciso de Laprida Leo Noe
2
action count
action union
action filter_type
action find_reverse
entity London
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Argentino
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'London'] [{'concept': 'common name'}, 'country of citizenship', 'Argentino']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:London ) ( resource:Argentino ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4849795 Q21485301
P30
Q2221906
USER
Which geographic locations are Argentino or Balaena Islands located ?
OR((Q21485301,P30,c(Q2221906)), (Q4849795,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q21485301
relation P30
action find
entity Q4849795
relation P30
type Q2221906
{'OR': [['Q21485301', 'P30', {'concept': 'Q2221906'}], ['Q4849795', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2221906 . { { resource:Q21485301 property:P30 ?u } UNION { resource:Q4849795 property:P30 ?u } } }
Balaena Islands Argentino
action filter_type
action union
action find
entity Argentino
relation continent
action find
entity Balaena Islands
relation continent
type geographic location
{'OR': [['Argentino', 'continent', {'concept': 'geographic location'}], ['Balaena Islands', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:geographic_location . { { resource:Argentino property:continent ?u } UNION { resource:Balaena_Islands property:continent ?u } } }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
OR((Q21485301,P30,c(Q2221906)), (Q4849795,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q21485301
relation P30
action find
entity Q4849795
relation P30
type Q2221906
The [ANSWER] is Argentino or Balaena Islands located
{'OR': [['Q21485301', 'P30', {'concept': 'Q2221906'}], ['Q4849795', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2221906 . { { resource:Q21485301 property:P30 ?u } UNION { resource:Q4849795 property:P30 ?u } } }
Antarctica
The Antarctica is Argentino or Balaena Islands located
Antarctica
action filter_type
action union
action find
entity Argentino
relation continent
action find
entity Balaena Islands
relation continent
type geographic location
{'OR': [['Argentino', 'continent', {'concept': 'geographic location'}], ['Balaena Islands', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:geographic_location . { { resource:Argentino property:continent ?u } UNION { resource:Balaena_Islands property:continent ?u } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P706
Q82794 Q62447
USER
How many geographic regions and aerodromes are located in that geographic location ?
(c(Q82794),P706,Q51) (c(Q62447),P706,Q51) (c(Q82794),P706,Q51) (c(Q62447),P706,Q51)
action count
action union
action filter_type
action find_reverse
entity Q51
relation P706
type Q82794
action filter_type
action find_reverse
entity Q51
relation P706
type Q62447
[{'concept': 'Q82794'}, 'P706', 'Q51'] [{'concept': 'Q62447'}, 'P706', 'Q51'] [{'concept': 'Q82794'}, 'P706', 'Q51'] [{'concept': 'Q62447'}, 'P706', 'Q51']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:Q62447 . ?m property:P706 resource:Q51 } UNION { ?m property:P706 resource:Q51 . ?m rdf:type ontology:Q82794 } }
action count
action union
action filter_type
action find_reverse
entity Antarctica
relation located on terrain feature
type geographic region
action filter_type
action find_reverse
entity Antarctica
relation located on terrain feature
type aerodrome
[{'concept': 'geographic region'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'aerodrome'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'geographic region'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'aerodrome'}, 'located on terrain feature', 'Antarctica']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:aerodrome . ?m property:located_on_terrain_feature resource:Antarctica } UNION { ?m property:located_on_terrain_feature resource:Antarctica . ?m rdf:type ontology:geographic_region } }
[]
geographic region aerodrome
SYSTEM
1 geographic regions and 2 aerodromes
Q3374224 Q571430 Q1333903
(c(Q82794),P706,Q51) (c(Q62447),P706,Q51) (c(Q82794),P706,Q51) (c(Q62447),P706,Q51)
action count
action union
action filter_type
action find_reverse
entity Q51
relation P706
type Q82794
action filter_type
action find_reverse
entity Q51
relation P706
type Q62447
[ANSWER]
[{'concept': 'Q82794'}, 'P706', 'Q51'] [{'concept': 'Q62447'}, 'P706', 'Q51'] [{'concept': 'Q82794'}, 'P706', 'Q51'] [{'concept': 'Q62447'}, 'P706', 'Q51']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:Q62447 . ?m property:P706 resource:Q51 } UNION { ?m property:P706 resource:Q51 . ?m rdf:type ontology:Q82794 } }
Pegasus Field Antarctic ice sheet Palmer Station
1 geographic regions and 2 aerodromes
action count
action union
action filter_type
action find_reverse
entity Antarctica
relation located on terrain feature
type geographic region
action filter_type
action find_reverse
entity Antarctica
relation located on terrain feature
type aerodrome
[{'concept': 'geographic region'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'aerodrome'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'geographic region'}, 'located on terrain feature', 'Antarctica'] [{'concept': 'aerodrome'}, 'located on terrain feature', 'Antarctica']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:aerodrome . ?m property:located_on_terrain_feature resource:Antarctica } UNION { ?m property:located_on_terrain_feature resource:Antarctica . ?m rdf:type ontology:geographic_region } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1376
Q15617994
USER
Which administrative territory has London has its first city ?
(Q84,P1376,c(Q15617994))
action filter_type
action find
entity Q84
relation P1376
type Q15617994
['Q84', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q84 property:P1376 ?f . ?f rdf:type ontology:Q15617994 }
London
action filter_type
action find
entity London
relation capital of
type designation for an administrative territorial entity
['London', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:London property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P1376,c(Q15617994))
action filter_type
action find
entity Q84
relation P1376
type Q15617994
[ANSWER] has London has its first city
['Q84', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q84 property:P1376 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom has London has its first city
United Kingdom
action filter_type
action find
entity London
relation capital of
type designation for an administrative territorial entity
['London', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:London property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2044
Q15617994
USER
And how about Florence?
(Q2044,P1376,c(Q15617994))
action filter_type
action find
entity Q2044
relation P1376
type Q15617994
['Q2044', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2044 property:P1376 ?x . ?x rdf:type ontology:Q15617994 }
Florence
action filter_type
action find
entity Florence
relation capital of
type designation for an administrative territorial entity
['Florence', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Florence property:capital_of ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1273 Q2567507
SYSTEM
Tuscany, Arno
Q1273 Q2567507
(Q2044,P1376,c(Q15617994))
action filter_type
action find
entity Q2044
relation P1376
type Q15617994
[ANSWERS]
['Q2044', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2044 property:P1376 ?x . ?x rdf:type ontology:Q15617994 }
Tuscany Arno
Tuscany Arno
action filter_type
action find
entity Florence
relation capital of
type designation for an administrative territorial entity
['Florence', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Florence property:capital_of ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5716086
P1376
Q56061
USER
Are Esbu Kola, Babol center of administration for those administrative territories ?
(Q5716086,P1376,Q1273) (Q5716086,P1376,Q2567507)
action is_in
entity prev_answer
action find
entity Q5716086
relation P1376
['Q5716086', 'P1376', 'Q1273'] ['Q5716086', 'P1376', 'Q2567507']
ASK WHERE { VALUES ( ?j ) { ( resource:Q1273 ) ( resource:Q2567507 ) } . resource:Q5716086 property:P1376 ?j }
Esbu Kola, Babol
action is_in
entity prev_answer
action find
entity Esbu Kola, Babol
relation capital of
['Esbu Kola, Babol', 'capital of', 'Tuscany'] ['Esbu Kola, Babol', 'capital of', 'Arno']
ASK WHERE { VALUES ( ?j ) { ( resource:Tuscany ) ( resource:Arno ) } . resource:Esbu_Kola,_Babol property:capital_of ?j }
[]
administrative territorial entity
SYSTEM
NO
(Q5716086,P1376,Q1273) (Q5716086,P1376,Q2567507)
action is_in
entity prev_answer
action find
entity Q5716086
relation P1376
[ANSWER]
['Q5716086', 'P1376', 'Q1273'] ['Q5716086', 'P1376', 'Q2567507']
ASK WHERE { VALUES ( ?j ) { ( resource:Q1273 ) ( resource:Q2567507 ) } . resource:Q5716086 property:P1376 ?j }
No
action is_in
entity prev_answer
action find
entity Esbu Kola, Babol
relation capital of
['Esbu Kola, Babol', 'capital of', 'Tuscany'] ['Esbu Kola, Babol', 'capital of', 'Arno']
ASK WHERE { VALUES ( ?j ) { ( resource:Tuscany ) ( resource:Arno ) } . resource:Esbu_Kola,_Babol property:capital_of ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1273
P6
Q502895
USER
Which person has Tuscany as its head of government ?
(Q1273,P6,c(Q502895))
action filter_type
action find
entity Q1273
relation P6
type Q502895
['Q1273', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1273 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Tuscany
action filter_type
action find
entity Tuscany
relation head of government
type common name
['Tuscany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tuscany property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1238359
SYSTEM
Enrico Rossi
Q1238359
(Q1273,P6,c(Q502895))
action filter_type
action find
entity Q1273
relation P6
type Q502895
[ANSWER] has Tuscany as its head of government
['Q1273', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1273 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Enrico Rossi
Enrico Rossi has Tuscany as its head of government
Enrico Rossi
action filter_type
action find
entity Tuscany
relation head of government
type common name
['Tuscany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Tuscany property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1238359 Q17063355 Q876380
P27
Q15617994
USER
Is that person a citizen of Tustin Unified School District and Vordernberg ?
(Q1238359,P27,Q17063355) (Q1238359,P27,Q876380)
action is_in
entity Q1238359
action intersection
action find_reverse
entity Q17063355
relation P27
action find_reverse
entity Q876380
relation P27
['Q1238359', 'P27', 'Q17063355'] ['Q1238359', 'P27', 'Q876380']
ASK WHERE { resource:Q1238359 property:P27 resource:Q876380 . resource:Q1238359 property:P27 resource:Q17063355 }
Enrico Rossi Tustin Unified School District Vordernberg
action is_in
entity Enrico Rossi
action intersection
action find_reverse
entity Tustin Unified School District
relation country of citizenship
action find_reverse
entity Vordernberg
relation country of citizenship
['Enrico Rossi', 'country of citizenship', 'Tustin Unified School District'] ['Enrico Rossi', 'country of citizenship', 'Vordernberg']
ASK WHERE { resource:Enrico_Rossi property:country_of_citizenship resource:Vordernberg . resource:Enrico_Rossi property:country_of_citizenship resource:Tustin_Unified_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1238359,P27,Q17063355) (Q1238359,P27,Q876380)
action is_in
entity Q1238359
action intersection
action find_reverse
entity Q17063355
relation P27
action find_reverse
entity Q876380
relation P27
[ANSWER]
['Q1238359', 'P27', 'Q17063355'] ['Q1238359', 'P27', 'Q876380']
ASK WHERE { resource:Q1238359 property:P27 resource:Q876380 . resource:Q1238359 property:P27 resource:Q17063355 }
No
action is_in
entity Enrico Rossi
action intersection
action find_reverse
entity Tustin Unified School District
relation country of citizenship
action find_reverse
entity Vordernberg
relation country of citizenship
['Enrico Rossi', 'country of citizenship', 'Tustin Unified School District'] ['Enrico Rossi', 'country of citizenship', 'Vordernberg']
ASK WHERE { resource:Enrico_Rossi property:country_of_citizenship resource:Vordernberg . resource:Enrico_Rossi property:country_of_citizenship resource:Tustin_Unified_School_District }
[]