Simple Question (Direct)
Simple Question
Q66606
P47
Q5119
USER
Which capital is bordered by Haldenstein ?
(Q66606,P47,c(Q5119))
action filter_type
action find
entity Q66606
relation P47
type Q5119
['Q66606', 'P47', {'concept': 'Q5119'}]
SELECT DISTINCT ?m WHERE { resource:Q66606 property:P47 ?m . ?m rdf:type ontology:Q5119 }
Haldenstein
action filter_type
action find
entity Haldenstein
relation shares border with
type capital
['Haldenstein', 'shares border with', {'concept': 'capital'}]
SELECT DISTINCT ?m WHERE { resource:Haldenstein property:shares_border_with ?m . ?m rdf:type ontology:capital }
[]
capital
Q69007
SYSTEM
Chur
Q69007
(Q66606,P47,c(Q5119))
action filter_type
action find
entity Q66606
relation P47
type Q5119
District [ANSWER] is bordered by Haldenstein
['Q66606', 'P47', {'concept': 'Q5119'}]
SELECT DISTINCT ?m WHERE { resource:Q66606 property:P47 ?m . ?m rdf:type ontology:Q5119 }
Chur
District Chur is bordered by Haldenstein
Chur
action filter_type
action find
entity Haldenstein
relation shares border with
type capital
['Haldenstein', 'shares border with', {'concept': 'capital'}]
SELECT DISTINCT ?m WHERE { resource:Haldenstein property:shares_border_with ?m . ?m rdf:type ontology:capital }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q66606
P20
Q502895
USER
Who died in Haldenstein ?
(c(Q502895),P20,Q66606)
action filter_type
action find_reverse
entity Q66606
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q66606']
SELECT DISTINCT ?d WHERE { ?d property:P20 resource:Q66606 . ?d rdf:type ontology:Q502895 }
Haldenstein
action filter_type
action find_reverse
entity Haldenstein
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Haldenstein']
SELECT DISTINCT ?d WHERE { ?d property:place_of_death resource:Haldenstein . ?d rdf:type ontology:common_name }
[]
common name
Q125179
SYSTEM
Martin Planta
Q125179
(c(Q502895),P20,Q66606)
action filter_type
action find_reverse
entity Q66606
relation P20
type Q502895
[ANSWER] died in Haldenstein
[{'concept': 'Q502895'}, 'P20', 'Q66606']
SELECT DISTINCT ?d WHERE { ?d property:P20 resource:Q66606 . ?d rdf:type ontology:Q502895 }
Martin Planta
Martin Planta died in Haldenstein
Martin Planta
action filter_type
action find_reverse
entity Haldenstein
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Haldenstein']
SELECT DISTINCT ?d WHERE { ?d property:place_of_death resource:Haldenstein . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q69007
P1376
Q82794
USER
Which geographic region has Chur as its county seat ?
(Q69007,P1376,c(Q82794))
action filter_type
action find
entity Q69007
relation P1376
type Q82794
['Q69007', 'P1376', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { resource:Q69007 property:P1376 ?c . ?c rdf:type ontology:Q82794 }
Chur
action filter_type
action find
entity Chur
relation capital of
type geographic region
['Chur', 'capital of', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { resource:Chur property:capital_of ?c . ?c rdf:type ontology:geographic_region }
[]
geographic region
Q1089955
SYSTEM
Raetia Curiensis
Q1089955
(Q69007,P1376,c(Q82794))
action filter_type
action find
entity Q69007
relation P1376
type Q82794
[ANSWER] has Chur as its county seat
['Q69007', 'P1376', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { resource:Q69007 property:P1376 ?c . ?c rdf:type ontology:Q82794 }
Raetia Curiensis
Raetia Curiensis has Chur as its county seat
Raetia Curiensis
action filter_type
action find
entity Chur
relation capital of
type geographic region
['Chur', 'capital of', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { resource:Chur property:capital_of ?c . ?c rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1089955
P36
Q5119
USER
What is the capital of that geographic region ?
(Q1089955,P36,c(Q5119))
action filter_type
action find
entity Q1089955
relation P36
type Q5119
['Q1089955', 'P36', {'concept': 'Q5119'}]
SELECT DISTINCT ?t WHERE { resource:Q1089955 property:P36 ?t . ?t rdf:type ontology:Q5119 }
Raetia Curiensis
action filter_type
action find
entity Raetia Curiensis
relation capital
type capital
['Raetia Curiensis', 'capital', {'concept': 'capital'}]
SELECT DISTINCT ?t WHERE { resource:Raetia_Curiensis property:capital ?t . ?t rdf:type ontology:capital }
[]
capital
Q69007
SYSTEM
Chur
Q69007
(Q1089955,P36,c(Q5119))
action filter_type
action find
entity Q1089955
relation P36
type Q5119
The capital of that geographic region is Chu [ANSWER]
['Q1089955', 'P36', {'concept': 'Q5119'}]
SELECT DISTINCT ?t WHERE { resource:Q1089955 property:P36 ?t . ?t rdf:type ontology:Q5119 }
Chur
The capital of that geographic region is Chu Chur
Chur
action filter_type
action find
entity Raetia Curiensis
relation capital
type capital
['Raetia Curiensis', 'capital', {'concept': 'capital'}]
SELECT DISTINCT ?t WHERE { resource:Raetia_Curiensis property:capital ?t . ?t rdf:type ontology:capital }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q69007 Q1660576
P19
Q502895
USER
Does Silvio Huonder have location of birth at that capital ?
(Q1660576,P19,Q69007)
action is_in
entity Q69007
action find
entity Q1660576
relation P19
['Q1660576', 'P19', 'Q69007']
ASK WHERE { resource:Q1660576 property:P19 resource:Q69007 }
Chur Silvio Huonder
action is_in
entity Chur
action find
entity Silvio Huonder
relation place of birth
['Silvio Huonder', 'place of birth', 'Chur']
ASK WHERE { resource:Silvio_Huonder property:place_of_birth resource:Chur }
[]
common name
SYSTEM
YES
(Q1660576,P19,Q69007)
action is_in
entity Q69007
action find
entity Q1660576
relation P19
[ANSWER]
['Q1660576', 'P19', 'Q69007']
ASK WHERE { resource:Q1660576 property:P19 resource:Q69007 }
Yes
action is_in
entity Chur
action find
entity Silvio Huonder
relation place of birth
['Silvio Huonder', 'place of birth', 'Chur']
ASK WHERE { resource:Silvio_Huonder property:place_of_birth resource:Chur }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q82794 Q486972
USER
Which human settlements have their location as max number of geographic regions ?
(c(Q486972),P706,c(Q82794))
action argmax
action find_tuple_counts
relation P706
type Q486972
type Q82794
[{'concept': 'Q486972'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?x ) WHERE { ?c property:P706 ?e . ?c rdf:type ontology:Q486972 . ?e rdf:type ontology:Q82794 } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { ?j property:P706 ?z . ?z rdf:type ontology:Q82794 . ?j rdf:type ontology:Q486972 } GROUP BY ?j } . FILTER ( ?k = ?b ) }
action argmax
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?x ) WHERE { ?c property:located_on_terrain_feature ?e . ?c rdf:type ontology:human_settlement . ?e rdf:type ontology:geographic_region } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { ?j property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_region . ?j rdf:type ontology:human_settlement } GROUP BY ?j } . FILTER ( ?k = ?b ) }
[]
geographic region human settlement
Q881265 Q1543659 Q2282756
SYSTEM
Ruhlsdorf, Gratzfeld, Siefenhoven
Q1543659 Q2282756 Q881265 Q1440032 Q2146309 Q1235576 Q1296117 Q1643547 Q303734 Q17468609 Q2031633 Q997023 Q1524629 Q649494 Q7131792 Q2168982
(c(Q486972),P706,c(Q82794))
action argmax
action find_tuple_counts
relation P706
type Q486972
type Q82794
[ANSWERS] have their location as max number of geographic regions
[{'concept': 'Q486972'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?x ) WHERE { ?c property:P706 ?e . ?c rdf:type ontology:Q486972 . ?e rdf:type ontology:Q82794 } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { ?j property:P706 ?z . ?z rdf:type ontology:Q82794 . ?j rdf:type ontology:Q486972 } GROUP BY ?j } . FILTER ( ?k = ?b ) }
Gratzfeld Siefenhoven Ruhlsdorf Neichen Retscheid Eudenbach Efferoth Höhe Aathal Jüngsfeld Orscheid Brüngsberg Himberg Pfiffelbach Panther Hollow Rottbitze
Ruhlsdorf, Gratzfeld and Siefenhoven have their location as max number of geographic regions
Ruhlsdorf Gratzfeld Siefenhoven
action argmax
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?x ) WHERE { ?c property:located_on_terrain_feature ?e . ?c rdf:type ontology:human_settlement . ?e rdf:type ontology:geographic_region } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?k ) WHERE { ?j property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_region . ?j rdf:type ontology:human_settlement } GROUP BY ?j } . FILTER ( ?k = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1543659
P17
Q1048835
USER
Which political territory is Gratzfeld located in ?
(Q1543659,P17,c(Q1048835))
action filter_type
action find
entity Q1543659
relation P17
type Q1048835
['Q1543659', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1543659 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Gratzfeld
action filter_type
action find
entity Gratzfeld
relation country
type political territorial entity
['Gratzfeld', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Gratzfeld property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1543659,P17,c(Q1048835))
action filter_type
action find
entity Q1543659
relation P17
type Q1048835
Gratzfeld is located in [ANSWER]
['Q1543659', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1543659 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Gratzfeld is located in Germany
Germany
action filter_type
action find
entity Gratzfeld
relation country
type political territorial entity
['Gratzfeld', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Gratzfeld property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q5084171 Q47989
P530
Q15617994
USER
Does that political territory have ambassadorial relations with Charleston School District and Nogarole Rocca ?
(Q183,P530,Q5084171) (Q183,P530,Q47989)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5084171
relation P530
action find_reverse
entity Q47989
relation P530
['Q183', 'P530', 'Q5084171'] ['Q183', 'P530', 'Q47989']
ASK WHERE { resource:Q183 property:P530 resource:Q5084171 . resource:Q183 property:P530 resource:Q47989 }
Germany Charleston School District Nogarole Rocca
action is_in
entity Germany
action intersection
action find_reverse
entity Charleston School District
relation diplomatic relation
action find_reverse
entity Nogarole Rocca
relation diplomatic relation
['Germany', 'diplomatic relation', 'Charleston School District'] ['Germany', 'diplomatic relation', 'Nogarole Rocca']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Charleston_School_District . resource:Germany property:diplomatic_relation resource:Nogarole_Rocca }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q5084171) (Q183,P530,Q47989)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5084171
relation P530
action find_reverse
entity Q47989
relation P530
[ANSWER]
['Q183', 'P530', 'Q5084171'] ['Q183', 'P530', 'Q47989']
ASK WHERE { resource:Q183 property:P530 resource:Q5084171 . resource:Q183 property:P530 resource:Q47989 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity Charleston School District
relation diplomatic relation
action find_reverse
entity Nogarole Rocca
relation diplomatic relation
['Germany', 'diplomatic relation', 'Charleston School District'] ['Germany', 'diplomatic relation', 'Nogarole Rocca']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Charleston_School_District . resource:Germany property:diplomatic_relation resource:Nogarole_Rocca }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q125179
P140
Q9174
USER
What is the religious affiliation of Martin Planta ?
(Q125179,P140,c(Q9174))
action filter_type
action find
entity Q125179
relation P140
type Q9174
['Q125179', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q9174 . resource:Q125179 property:P140 ?a }
Martin Planta
action filter_type
action find
entity Martin Planta
relation religion
type religion
['Martin Planta', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:religion . resource:Martin_Planta property:religion ?a }
[]
religion
Q20011081
SYSTEM
reformed
Q20011081
(Q125179,P140,c(Q9174))
action filter_type
action find
entity Q125179
relation P140
type Q9174
The religious affiliation of Martin Planta is a [ANSWER]
['Q125179', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q9174 . resource:Q125179 property:P140 ?a }
reformed
The religious affiliation of Martin Planta is a reformed
reformed
action filter_type
action find
entity Martin Planta
relation religion
type religion
['Martin Planta', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:religion . resource:Martin_Planta property:religion ?a }
[]