Simple Question (Direct)
Simple Question
Q84927
P166
Q618779
USER
Which award was received by Christopher I, Burgrave and Count of Dohna-Schlodien ?
(Q84927,P166,c(Q618779))
action filter_type
action find
entity Q84927
relation P166
type Q618779
['Q84927', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q84927 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Christopher I, Burgrave and Count of Dohna-Schlodien
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation award received
type award
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q94145
SYSTEM
Order of the Black Eagle
Q94145
(Q84927,P166,c(Q618779))
action filter_type
action find
entity Q84927
relation P166
type Q618779
[ANSWER] was received by Christopher I, Burgrave and Count of Dohna-Schlodien
['Q84927', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q84927 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Order of the Black Eagle
Order of the Black Eagle was received by Christopher I, Burgrave and Count of Dohna-Schlodien
Order of the Black Eagle
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation award received
type award
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84927
P607
Q1190554
USER
Which event did Christopher I, Burgrave and Count of Dohna-Schlodien take part in ?
(Q84927,P607,c(Q1190554))
action filter_type
action find
entity Q84927
relation P607
type Q1190554
['Q84927', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q84927 property:P607 ?m . ?m rdf:type ontology:Q1190554 }
Christopher I, Burgrave and Count of Dohna-Schlodien
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation conflict
type event
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:conflict ?m . ?m rdf:type ontology:event }
[]
event
Q152218
SYSTEM
Nine Years' War
Q152218
(Q84927,P607,c(Q1190554))
action filter_type
action find
entity Q84927
relation P607
type Q1190554
Christopher I , Burgrave and Count of Dohna-Schlodien took in part the [ANSWER]
['Q84927', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q84927 property:P607 ?m . ?m rdf:type ontology:Q1190554 }
Nine Years' War
Christopher I , Burgrave and Count of Dohna-Schlodien took in part the Nine Years' War
Nine Years' War
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation conflict
type event
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:conflict ?m . ?m rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84927
P21
Q290
USER
What is the sex of Christopher I, Burgrave and Count of Dohna-Schlodien ?
(Q84927,P21,c(Q290))
action filter_type
action find
entity Q84927
relation P21
type Q290
['Q84927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q84927 property:P21 ?i . ?i rdf:type ontology:Q290 }
Christopher I, Burgrave and Count of Dohna-Schlodien
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation gender
type sex
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q84927,P21,c(Q290))
action filter_type
action find
entity Q84927
relation P21
type Q290
The sex of Christopher I , Burgrave and Count of Dohna-Schlodien is the [ANSWER]
['Q84927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q84927 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Christopher I , Burgrave and Count of Dohna-Schlodien is the male
male
action filter_type
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation gender
type sex
['Christopher I, Burgrave and Count of Dohna-Schlodien', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q101575 Q84927
P47 P19
Q13220204
USER
Which administrative country subdivisions were Christopher I, Burgrave and Count of Dohna-Schlodien born in or share border with Poznań County ?
OR((Q84927,P19,c(Q13220204)), (Q101575,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q84927
relation P19
action find
entity Q101575
relation P47
type Q13220204
{'OR': [['Q84927', 'P19', {'concept': 'Q13220204'}], ['Q101575', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q84927 property:P19 ?o } UNION { resource:Q101575 property:P47 ?o } } . ?o rdf:type ontology:Q13220204 }
Poznań County Christopher I, Burgrave and Count of Dohna-Schlodien
action filter_type
action union
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation place of birth
action find
entity Poznań County
relation shares border with
type second-level administrative country subdivision
{'OR': [['Christopher I, Burgrave and Count of Dohna-Schlodien', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Poznań County', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:place_of_birth ?o } UNION { resource:Poznań_County property:shares_border_with ?o } } . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q133172 Q133268 Q133265 Q133252 Q133213 Q57097 Q133188 Q133241 Q133166 Q133280
SYSTEM
Some of them are Grodzisk Wielkopolski County, Września County, Wągrowiec County, Szamotuły County, Oborniki County, Coppet, Kościan County, Nowy Tomyśl County, Gniezno County, Środa Wielkopolska County
Q133268 Q133188 Q133172 Q133265 Q133213 Q133252 Q133241 Q133280 Q133282 Q57097 Q133166
OR((Q84927,P19,c(Q13220204)), (Q101575,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q84927
relation P19
action find
entity Q101575
relation P47
type Q13220204
[ANSWERS] were Christopher I, Burgrave and Count of Dohna-Schlodien born in or share border with Poznań County
{'OR': [['Q84927', 'P19', {'concept': 'Q13220204'}], ['Q101575', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q84927 property:P19 ?o } UNION { resource:Q101575 property:P47 ?o } } . ?o rdf:type ontology:Q13220204 }
Września County Kościan County Grodzisk Wielkopolski County Wągrowiec County Oborniki County Szamotuły County Nowy Tomyśl County Środa Wielkopolska County Śrem County Coppet Gniezno County
Grodzisk Wielkopolski County, Września County, Wągrowiec County, Szamotuły County, Oborniki County, Coppet, Kościan County, Nowy Tomyśl County, Gniezno County and Środa Wielkopolska County were Christopher I, Burgrave and Count of Dohna-Schlodien born in or share border with Poznań County
Grodzisk Wielkopolski County Września County Wągrowiec County Szamotuły County Oborniki County Coppet Kościan County Nowy Tomyśl County Gniezno County Środa Wielkopolska County
action filter_type
action union
action find
entity Christopher I, Burgrave and Count of Dohna-Schlodien
relation place of birth
action find
entity Poznań County
relation shares border with
type second-level administrative country subdivision
{'OR': [['Christopher I, Burgrave and Count of Dohna-Schlodien', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Poznań County', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Christopher_I,_Burgrave_and_Count_of_Dohna-Schlodien property:place_of_birth ?o } UNION { resource:Poznań_County property:shares_border_with ?o } } . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15700808 Q515 Q13220204
USER
Which administrative country subdivisions have max number of urban unit definitions and cities as their namesake ?
(c(Q13220204),P138,c(Q15700808)|c(Q515))
action argmax
action union
action find_tuple_counts
relation P138
type Q13220204
type Q15700808
action find_tuple_counts
relation P138
type Q13220204
type Q515
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q15700808'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?m ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15700808 ) ( ontology:Q515 ) } } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q15700808 ) ( ontology:Q515 ) } . ?z rdf:type ?g } GROUP BY ?w } . FILTER ( ?o = ?m ) }
action argmax
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type urban unit definition
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'urban unit definition'}, {'concept': 'city'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?m ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:urban_unit_definition ) ( ontology:city ) } } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:urban_unit_definition ) ( ontology:city ) } . ?z rdf:type ?g } GROUP BY ?w } . FILTER ( ?o = ?m ) }
[]
urban unit definition city second-level administrative country subdivision
Q6459 Q1770737 Q14641
SYSTEM
Kautokeino, Albufeira Municipality, Emmen
Q6459 Q1770737 Q14641
(c(Q13220204),P138,c(Q15700808)|c(Q515))
action argmax
action union
action find_tuple_counts
relation P138
type Q13220204
type Q15700808
action find_tuple_counts
relation P138
type Q13220204
type Q515
[ANSWERS] have max number of urban unit definitions and cities as their namesake
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q15700808'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?m ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15700808 ) ( ontology:Q515 ) } } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q15700808 ) ( ontology:Q515 ) } . ?z rdf:type ?g } GROUP BY ?w } . FILTER ( ?o = ?m ) }
Kautokeino Albufeira Municipality Emmen
Kautokeino, Albufeira Municipality and Emmen have max number of urban unit definitions and cities as their namesake
Kautokeino Albufeira Municipality Emmen
action argmax
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type urban unit definition
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'urban unit definition'}, {'concept': 'city'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?m ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ?t . VALUES ( ?t ) { ( ontology:urban_unit_definition ) ( ontology:city ) } } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:urban_unit_definition ) ( ontology:city ) } . ?z rdf:type ?g } GROUP BY ?w } . FILTER ( ?o = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q15617994 Q13220204
USER
Which administrative territories are exactly 1 administrative country subdivision named after ?
(c(Q13220204),P138,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P138 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q13220204 } GROUP BY ?t } . FILTER ( ?n = 1 ) }
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:named_after ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision
Q159856 Q2719360
SYSTEM
Duchy of Brabant, Duchy of Luxembourg
Q159856 Q2719360
(c(Q13220204),P138,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[ANSWERS] are exactly 1 administrative country subdivision named after
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P138 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q13220204 } GROUP BY ?t } . FILTER ( ?n = 1 ) }
Duchy of Brabant Duchy of Luxembourg
Duchy of Brabant and Duchy of Luxembourg are exactly 1 administrative country subdivision named after
Duchy of Brabant Duchy of Luxembourg
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:named_after ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that administrative territory belong to ?
(Q2719360,P17,c(Q15617994))
['Q2719360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2719360 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Duchy of Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Duchy_of_Luxembourg property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2719360
SYSTEM
Did you mean Duchy of Luxembourg ?
(Q159856,P17,c(Q15617994)) (Q2719360,P17,c(Q15617994))
[ANSWER]
['Q159856', 'P17', {'concept': 'Q15617994'}] ['Q2719360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2719360 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Duchy of Luxembourg ?
Duchy of Luxembourg
['Duchy of Brabant', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Duchy of Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Duchy_of_Luxembourg property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q2719360,P17,c(Q15617994))
['Q2719360', 'P17', {'concept': 'Q15617994'}]
['Duchy of Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q32
(Q2719360,P17,c(Q15617994))
[ANSWER]
['Q2719360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2719360 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Luxembourg
1
['Duchy of Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Duchy_of_Luxembourg property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2719360
P30
Q2221906
USER
Where is Duchy of Luxembourg situated ?
(Q2719360,P30,c(Q2221906))
action filter_type
action find
entity Q2719360
relation P30
type Q2221906
['Q2719360', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q2719360 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Duchy of Luxembourg
action filter_type
action find
entity Duchy of Luxembourg
relation continent
type geographic location
['Duchy of Luxembourg', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Duchy_of_Luxembourg property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q2719360,P30,c(Q2221906))
action filter_type
action find
entity Q2719360
relation P30
type Q2221906
Duchy of Luxembourg is situated in [ANSWER]
['Q2719360', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q2719360 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Europe
Duchy of Luxembourg is situated in Europe
Europe
action filter_type
action find
entity Duchy of Luxembourg
relation continent
type geographic location
['Duchy of Luxembourg', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Duchy_of_Luxembourg property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2719360
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(c(Q56061),P1376,Q46)
action filter_type
action find_reverse
entity Q2719360
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q46']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q2719360 . ?e rdf:type ontology:Q56061 }
Duchy of Luxembourg
action filter_type
action find_reverse
entity Duchy of Luxembourg
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Europe']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Duchy_of_Luxembourg . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1842
SYSTEM
Luxembourg
Q1842
(c(Q56061),P1376,Q46)
action filter_type
action find_reverse
entity Q2719360
relation P1376
type Q56061
[ANSWER] is the capital of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q46']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q2719360 . ?e rdf:type ontology:Q56061 }
Luxembourg
Luxembourg is the capital of that administrative territory
Luxembourg
action filter_type
action find_reverse
entity Duchy of Luxembourg
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Europe']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Duchy_of_Luxembourg . ?e rdf:type ontology:administrative_territorial_entity }
[]