Simple Question (Direct)
Simple Question
Q1545165
P19
Q56061
USER
Which administrative territory was Gregor Schöllgen born at ?
(Q1545165,P19,c(Q56061))
action filter_type
action find
entity Q1545165
relation P19
type Q56061
['Q1545165', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1545165 property:P19 ?g }
Gregor Schöllgen
action filter_type
action find
entity Gregor Schöllgen
relation place of birth
type administrative territorial entity
['Gregor Schöllgen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Gregor_Schöllgen property:place_of_birth ?g }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1545165,P19,c(Q56061))
action filter_type
action find
entity Q1545165
relation P19
type Q56061
Gregor Schöllgen was born in [ANSWER]
['Q1545165', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1545165 property:P19 ?g }
Düsseldorf
Gregor Schöllgen was born in Düsseldorf
Düsseldorf
action filter_type
action find
entity Gregor Schöllgen
relation place of birth
type administrative territorial entity
['Gregor Schöllgen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Gregor_Schöllgen property:place_of_birth ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1718
P706
Q107425
USER
What is the location where that administrative territory is located ?
(Q1718,P706,c(Q107425))
action filter_type
action find
entity Q1718
relation P706
type Q107425
['Q1718', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?g WHERE { resource:Q1718 property:P706 ?g . ?g rdf:type ontology:Q107425 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation located on terrain feature
type landscape
['Düsseldorf', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?g WHERE { resource:Düsseldorf property:located_on_terrain_feature ?g . ?g rdf:type ontology:landscape }
[]
landscape
Q212520
SYSTEM
Lower Rhine Plain
Q212520
(Q1718,P706,c(Q107425))
action filter_type
action find
entity Q1718
relation P706
type Q107425
The location that administrative territory is located is the [ANSWER]
['Q1718', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?g WHERE { resource:Q1718 property:P706 ?g . ?g rdf:type ontology:Q107425 }
Lower Rhine Plain
The location that administrative territory is located is the Lower Rhine Plain
Lower Rhine Plain
action filter_type
action find
entity Düsseldorf
relation located on terrain feature
type landscape
['Düsseldorf', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?g WHERE { resource:Düsseldorf property:located_on_terrain_feature ?g . ?g rdf:type ontology:landscape }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q838948 Q1790144 Q107425
USER
How many landscapes are parts of greater number of works of art or units of time than that landscape ?
(c(Q107425),P361,c(Q838948)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q107425
type Q838948
action find_tuple_counts
relation P361
type Q107425
type Q1790144
action count
action filter_multi_types
action find
entity Q212520
relation P361
type Q838948
type Q1790144
[{'concept': 'Q107425'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?g WHERE { VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q1790144 ) } . ?y rdf:type ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q212520 property:P361 ?d . { { ?d rdf:type ontology:Q1790144 } UNION { ?d rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?a ) }
action count
action greater
action union
action find_tuple_counts
relation part of
type landscape
type work of art
action find_tuple_counts
relation part of
type landscape
type unit of time
action count
action filter_multi_types
action find
entity Lower Rhine Plain
relation part of
type work of art
type unit of time
[{'concept': 'landscape'}, 'part of', [{'concept': 'work of art'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?g WHERE { VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:unit_of_time ) } . ?y rdf:type ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Lower_Rhine_Plain property:part_of ?d . { { ?d rdf:type ontology:unit_of_time } UNION { ?d rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?a ) }
[]
work of art unit of time landscape
SYSTEM
2
Q41931 Q4230832
(c(Q107425),P361,c(Q838948)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q107425
type Q838948
action find_tuple_counts
relation P361
type Q107425
type Q1790144
action count
action filter_multi_types
action find
entity Q212520
relation P361
type Q838948
type Q1790144
[ANSWER]
[{'concept': 'Q107425'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?g WHERE { VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q1790144 ) } . ?y rdf:type ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q212520 property:P361 ?d . { { ?d rdf:type ontology:Q1790144 } UNION { ?d rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?a ) }
Hanging Gardens of Babylon Konispol cave
2
action count
action greater
action union
action find_tuple_counts
relation part of
type landscape
type work of art
action find_tuple_counts
relation part of
type landscape
type unit of time
action count
action filter_multi_types
action find
entity Lower Rhine Plain
relation part of
type work of art
type unit of time
[{'concept': 'landscape'}, 'part of', [{'concept': 'work of art'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?g WHERE { VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:unit_of_time ) } . ?y rdf:type ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Lower_Rhine_Plain property:part_of ?d . { { ?d rdf:type ontology:unit_of_time } UNION { ?d rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q107425
USER
How many geographic locations are exactly 1 landscape located on ?
(c(Q107425),P706,c(Q2221906))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q107425
value 1
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P706 ?s . ?y rdf:type ontology:Q107425 . ?s rdf:type ontology:Q2221906 } GROUP BY ?s } . FILTER ( ?w = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type landscape
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:located_on_terrain_feature ?s . ?y rdf:type ontology:landscape . ?s rdf:type ontology:geographic_location } GROUP BY ?s } . FILTER ( ?w = 1 ) }
[]
geographic location landscape
SYSTEM
4
Q15221173 Q664609 Q370398 Q27293
(c(Q107425),P706,c(Q2221906))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q107425
value 1
[ANSWER]
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P706 ?s . ?y rdf:type ontology:Q107425 . ?s rdf:type ontology:Q2221906 } GROUP BY ?s } . FILTER ( ?w = 1 ) }
Mule Peninsula Caribbean Allan Hills Western Asia
4
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type landscape
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:located_on_terrain_feature ?s . ?y rdf:type ontology:landscape . ?s rdf:type ontology:geographic_location } GROUP BY ?s } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P47
Q15617994
USER
Who share the border with Düsseldorf ?
(Q1718,P47,c(Q15617994))
action filter_type
action find
entity Q1718
relation P47
type Q15617994
['Q1718', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1718 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation shares border with
type designation for an administrative territorial entity
['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Düsseldorf property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q4105 Q3791 Q14878
SYSTEM
Meerbusch, Ratingen, Mettmann
Q3791 Q6968 Q4105 Q14878 Q4048 Q4094
(Q1718,P47,c(Q15617994))
action filter_type
action find
entity Q1718
relation P47
type Q15617994
[ANSWERS] share the border with Düsseldorf
['Q1718', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1718 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
Ratingen Erkrath Meerbusch Mettmann Langenfeld Hilden
Meerbusch, Ratingen and Mettmann share the border with Düsseldorf
Meerbusch Ratingen Mettmann
action filter_type
action find
entity Düsseldorf
relation shares border with
type designation for an administrative territorial entity
['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Düsseldorf property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q81146
Q15617994
USER
And how about Novi Velia?
(Q81146,P47,c(Q15617994))
action filter_type
action find
entity Q81146
relation P47
type Q15617994
['Q81146', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q81146 property:P47 ?g . ?g rdf:type ontology:Q15617994 }
Novi Velia
action filter_type
action find
entity Novi Velia
relation shares border with
type designation for an administrative territorial entity
['Novi Velia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Novi_Velia property:shares_border_with ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q80999 Q81453 Q81057
SYSTEM
Laurino, Rofrano, Montano Antilia
Q49716 Q80999 Q81057 Q80954 Q81786 Q80896 Q80743 Q81453
(Q81146,P47,c(Q15617994))
action filter_type
action find
entity Q81146
relation P47
type Q15617994
[ANSWERS]
['Q81146', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q81146 property:P47 ?g . ?g rdf:type ontology:Q15617994 }
Laurito Laurino Montano Antilia Futani Vallo della Lucania Cuccaro Vetere Cannalonga Rofrano
Laurino Rofrano Montano Antilia
action filter_type
action find
entity Novi Velia
relation shares border with
type designation for an administrative territorial entity
['Novi Velia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Novi_Velia property:shares_border_with ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7195049
P47
Q15617994
USER
Do Pine-Strawberry Elementary School District have an adjacent border with those ones ?
(Q7195049,P47,Q80999) (Q7195049,P47,Q81453) (Q7195049,P47,Q81057)
action is_in
entity prev_answer
action find
entity Q7195049
relation P47
['Q7195049', 'P47', 'Q80999'] ['Q7195049', 'P47', 'Q81453'] ['Q7195049', 'P47', 'Q81057']
ASK WHERE { resource:Q7195049 property:P47 ?k . VALUES ( ?k ) { ( resource:Q49716 ) ( resource:Q80999 ) ( resource:Q81057 ) } }
Pine-Strawberry Elementary School District
action is_in
entity prev_answer
action find
entity Pine-Strawberry Elementary School District
relation shares border with
['Pine-Strawberry Elementary School District', 'shares border with', 'Laurino'] ['Pine-Strawberry Elementary School District', 'shares border with', 'Rofrano'] ['Pine-Strawberry Elementary School District', 'shares border with', 'Montano Antilia']
ASK WHERE { resource:Pine-Strawberry_Elementary_School_District property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Laurito ) ( resource:Laurino ) ( resource:Montano_Antilia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7195049,P47,Q80999) (Q7195049,P47,Q81453) (Q7195049,P47,Q81057)
action is_in
entity prev_answer
action find
entity Q7195049
relation P47
[ANSWER]
['Q7195049', 'P47', 'Q80999'] ['Q7195049', 'P47', 'Q81453'] ['Q7195049', 'P47', 'Q81057']
ASK WHERE { resource:Q7195049 property:P47 ?k . VALUES ( ?k ) { ( resource:Q49716 ) ( resource:Q80999 ) ( resource:Q81057 ) } }
No
action is_in
entity prev_answer
action find
entity Pine-Strawberry Elementary School District
relation shares border with
['Pine-Strawberry Elementary School District', 'shares border with', 'Laurino'] ['Pine-Strawberry Elementary School District', 'shares border with', 'Rofrano'] ['Pine-Strawberry Elementary School District', 'shares border with', 'Montano Antilia']
ASK WHERE { resource:Pine-Strawberry_Elementary_School_District property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Laurito ) ( resource:Laurino ) ( resource:Montano_Antilia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q80999 Q81453 Q385692
P47
Q15617994
USER
Does Laurino share border with Rofrano and Fordongianus ?
(Q80999,P47,Q81453) (Q80999,P47,Q385692)
action is_in
entity Q80999
action intersection
action find_reverse
entity Q81453
relation P47
action find_reverse
entity Q385692
relation P47
['Q80999', 'P47', 'Q81453'] ['Q80999', 'P47', 'Q385692']
ASK WHERE { resource:Q80999 property:P47 resource:Q81453 . resource:Q80999 property:P47 resource:Q385692 }
Laurino Rofrano Fordongianus
action is_in
entity Laurino
action intersection
action find_reverse
entity Rofrano
relation shares border with
action find_reverse
entity Fordongianus
relation shares border with
['Laurino', 'shares border with', 'Rofrano'] ['Laurino', 'shares border with', 'Fordongianus']
ASK WHERE { resource:Laurino property:shares_border_with resource:Rofrano . resource:Laurino property:shares_border_with resource:Fordongianus }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q80999,P47,Q81453) (Q80999,P47,Q385692)
action is_in
entity Q80999
action intersection
action find_reverse
entity Q81453
relation P47
action find_reverse
entity Q385692
relation P47
[ANSWER]
['Q80999', 'P47', 'Q81453'] ['Q80999', 'P47', 'Q385692']
ASK WHERE { resource:Q80999 property:P47 resource:Q81453 . resource:Q80999 property:P47 resource:Q385692 }
YES and NO respectively
action is_in
entity Laurino
action intersection
action find_reverse
entity Rofrano
relation shares border with
action find_reverse
entity Fordongianus
relation shares border with
['Laurino', 'shares border with', 'Rofrano'] ['Laurino', 'shares border with', 'Fordongianus']
ASK WHERE { resource:Laurino property:shares_border_with resource:Rofrano . resource:Laurino property:shares_border_with resource:Fordongianus }
[]