Simple Question (Direct)
Simple Question
Q1623011
P27
Q15617994
USER
Which administrative territory is Lars Jonasson Montin a civilian of ?
(Q1623011,P27,c(Q15617994))
action filter_type
action find
entity Q1623011
relation P27
type Q15617994
['Q1623011', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1623011 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Lars Jonasson Montin
action filter_type
action find
entity Lars Jonasson Montin
relation country of citizenship
type designation for an administrative territorial entity
['Lars Jonasson Montin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Lars_Jonasson_Montin property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q1623011,P27,c(Q15617994))
action filter_type
action find
entity Q1623011
relation P27
type Q15617994
[ANSWER] is Lars Jonasson Montin a civilian of
['Q1623011', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1623011 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Sweden
Sweden is Lars Jonasson Montin a civilian of
Sweden
action filter_type
action find
entity Lars Jonasson Montin
relation country of citizenship
type designation for an administrative territorial entity
['Lars Jonasson Montin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Lars_Jonasson_Montin property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1623011
P138
Q16521
USER
Which taxon is the eponym of that person ?
(c(Q16521),P138,Q34)
action filter_type
action find_reverse
entity Q1623011
relation P138
type Q16521
[{'concept': 'Q16521'}, 'P138', 'Q34']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q1623011 . ?w rdf:type ontology:Q16521 }
Lars Jonasson Montin
action filter_type
action find_reverse
entity Lars Jonasson Montin
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Sweden']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Lars_Jonasson_Montin . ?w rdf:type ontology:taxon }
[]
taxon
Q149895
SYSTEM
Montinia caryophyllacea
Q149895
(c(Q16521),P138,Q34)
action filter_type
action find_reverse
entity Q1623011
relation P138
type Q16521
[ANSWER] is the eponym of that person
[{'concept': 'Q16521'}, 'P138', 'Q34']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q1623011 . ?w rdf:type ontology:Q16521 }
Montinia caryophyllacea
Montinia caryophyllacea is the eponym of that person
Montinia caryophyllacea
action filter_type
action find_reverse
entity Lars Jonasson Montin
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Sweden']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Lars_Jonasson_Montin . ?w rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P138
Q502895
USER
How many people are namesakes of that taxon ?
(Q149895,P138,c(Q502895))
action count
action filter_type
action find
entity Q149895
relation P138
type Q502895
['Q149895', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q149895 property:P138 ?f }
action count
action filter_type
action find
entity Montinia caryophyllacea
relation named after
type common name
['Montinia caryophyllacea', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:common_name . resource:Montinia_caryophyllacea property:named_after ?f }
[]
common name
SYSTEM
1
Q1623011
(Q149895,P138,c(Q502895))
action count
action filter_type
action find
entity Q149895
relation P138
type Q502895
[ANSWER]
['Q149895', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q149895 property:P138 ?f }
Lars Jonasson Montin
1
action count
action filter_type
action find
entity Montinia caryophyllacea
relation named after
type common name
['Montinia caryophyllacea', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:common_name . resource:Montinia_caryophyllacea property:named_after ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P127
Q41176
USER
Which building is under posessision of Sweden ?
(c(Q41176),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q34']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q41176 . ?i property:P127 resource:Q34 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Sweden']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:building . ?i property:owned_by resource:Sweden }
[]
building
Q335491
SYSTEM
Karlberg Palace
Q335491
(c(Q41176),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q41176
[ANSWER] is under posessision of Sweden
[{'concept': 'Q41176'}, 'P127', 'Q34']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q41176 . ?i property:P127 resource:Q34 }
Karlberg Palace
Karlberg Palace is under posessision of Sweden
Karlberg Palace
action filter_type
action find_reverse
entity Sweden
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Sweden']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:building . ?i property:owned_by resource:Sweden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P47
Q1048835
USER
Which political territory is bordered by that administrative territory ?
(Q335491,P47,c(Q1048835))
action filter_type
action find
entity Q34
relation P47
type Q1048835
['Q335491', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q34 property:P47 ?v . ?v rdf:type ontology:Q1048835 }
Sweden
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Karlberg Palace', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Sweden property:shares_border_with ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q335491,P47,c(Q1048835))
action filter_type
action find
entity Q34
relation P47
type Q1048835
[ANSWER] is bordered by that administrative territory
['Q335491', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q34 property:P47 ?v . ?v rdf:type ontology:Q1048835 }
Denmark
Denmark is bordered by that administrative territory
Denmark
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Karlberg Palace', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Sweden property:shares_border_with ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15700818
P1435
Q41176 Q2221906 Q811430
USER
Which buildings represent the heritage status given to approximately the same number of geographic locations and constructions as Grade I listed building ?
(c(Q2221906)|c(Q811430),P1435,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q2221906
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q15700818
relation P1435
type Q2221906
type Q811430
[[{'concept': 'Q2221906'}, {'concept': 'Q811430'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P1435 ?t . ?t rdf:type ontology:Q41176 . ?n rdf:type ontology:Q2221906 } UNION { ?n property:P1435 ?t . ?n rdf:type ontology:Q811430 . ?t rdf:type ontology:Q41176 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P1435 resource:Q15700818 . { { ?j rdf:type ontology:Q2221906 } UNION { ?j rdf:type ontology:Q811430 } } } } . FILTER ( ?v = ?w ) }
Grade I listed building
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type geographic location
action find_reverse_tuple_counts
relation heritage status
type building
type construction
action count
action filter_multi_types
action find_reverse
entity Grade I listed building
relation heritage status
type geographic location
type construction
[[{'concept': 'geographic location'}, {'concept': 'construction'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:heritage_status ?t . ?t rdf:type ontology:building . ?n rdf:type ontology:geographic_location } UNION { ?n property:heritage_status ?t . ?n rdf:type ontology:construction . ?t rdf:type ontology:building } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:heritage_status resource:Grade_I_listed_building . { { ?j rdf:type ontology:geographic_location } UNION { ?j rdf:type ontology:construction } } } } . FILTER ( ?v = ?w ) }
[]
building geographic location construction
Q15700834 Q15700831 Q15700818
SYSTEM
Grade II listed building, Grade II* listed building, Grade I listed building
Q15700834 Q15700831 Q15700818
(c(Q2221906)|c(Q811430),P1435,c(Q41176))
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q2221906
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q15700818
relation P1435
type Q2221906
type Q811430
[ANSWERS] represent the heritage status given to approximately the same number of geographic locations and constructions as Grade I listed building
[[{'concept': 'Q2221906'}, {'concept': 'Q811430'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P1435 ?t . ?t rdf:type ontology:Q41176 . ?n rdf:type ontology:Q2221906 } UNION { ?n property:P1435 ?t . ?n rdf:type ontology:Q811430 . ?t rdf:type ontology:Q41176 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P1435 resource:Q15700818 . { { ?j rdf:type ontology:Q2221906 } UNION { ?j rdf:type ontology:Q811430 } } } } . FILTER ( ?v = ?w ) }
Grade II listed building Grade II* listed building Grade I listed building
Grade II listed building, Grade II* listed building and Grade I listed building represent the heritage status given to approximately the same number of geographic locations and constructions as Grade I listed building
Grade II listed building Grade II* listed building Grade I listed building
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type geographic location
action find_reverse_tuple_counts
relation heritage status
type building
type construction
action count
action filter_multi_types
action find_reverse
entity Grade I listed building
relation heritage status
type geographic location
type construction
[[{'concept': 'geographic location'}, {'concept': 'construction'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:heritage_status ?t . ?t rdf:type ontology:building . ?n rdf:type ontology:geographic_location } UNION { ?n property:heritage_status ?t . ?n rdf:type ontology:construction . ?t rdf:type ontology:building } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:heritage_status resource:Grade_I_listed_building . { { ?j rdf:type ontology:geographic_location } UNION { ?j rdf:type ontology:construction } } } } . FILTER ( ?v = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q335491
P800
Q502895
USER
Who has Karlberg Palace as their notable work ?
(c(Q502895),P800,Q335491)
action filter_type
action find_reverse
entity Q335491
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q335491']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q335491 . ?k rdf:type ontology:Q502895 }
Karlberg Palace
action filter_type
action find_reverse
entity Karlberg Palace
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Karlberg Palace']
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:Karlberg_Palace . ?k rdf:type ontology:common_name }
[]
common name
Q1685968
SYSTEM
Jean de la Vallée
Q1685968
(c(Q502895),P800,Q335491)
action filter_type
action find_reverse
entity Q335491
relation P800
type Q502895
[ANSWER] has Karlberg Palace as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q335491']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q335491 . ?k rdf:type ontology:Q502895 }
Jean de la Vallée
Jean de la Vallée has Karlberg Palace as their notable work
Jean de la Vallée
action filter_type
action find_reverse
entity Karlberg Palace
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Karlberg Palace']
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:Karlberg_Palace . ?k rdf:type ontology:common_name }
[]