Simple Question (Direct)
Simple Question
Q572007
P27
Q3024240
USER
Which former country is Friedrich Carl von Nesselrode-Ereshoven a civilian of ?
(Q572007,P27,c(Q3024240))
action filter_type
action find
entity Q572007
relation P27
type Q3024240
['Q572007', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?c WHERE { resource:Q572007 property:P27 ?c . ?c rdf:type ontology:Q3024240 }
Friedrich Carl von Nesselrode-Ereshoven
action filter_type
action find
entity Friedrich Carl von Nesselrode-Ereshoven
relation country of citizenship
type former country
['Friedrich Carl von Nesselrode-Ereshoven', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Carl_von_Nesselrode-Ereshoven property:country_of_citizenship ?c . ?c rdf:type ontology:former_country }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q572007,P27,c(Q3024240))
action filter_type
action find
entity Q572007
relation P27
type Q3024240
[ANSWER] is Friedrich Carl von Nesselrode-Ereshoven a civilian of
['Q572007', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?c WHERE { resource:Q572007 property:P27 ?c . ?c rdf:type ontology:Q3024240 }
Russian Empire
Russian Empire is Friedrich Carl von Nesselrode-Ereshoven a civilian of
Russian Empire
action filter_type
action find
entity Friedrich Carl von Nesselrode-Ereshoven
relation country of citizenship
type former country
['Friedrich Carl von Nesselrode-Ereshoven', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Carl_von_Nesselrode-Ereshoven property:country_of_citizenship ?c . ?c rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34266
P122
Q22676587
USER
Which monarchic system best describes the government of that former country ?
(Q34266,P122,c(Q22676587))
action filter_type
action find
entity Q34266
relation P122
type Q22676587
['Q34266', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?u WHERE { resource:Q34266 property:P122 ?u . ?u rdf:type ontology:Q22676587 }
Russian Empire
action filter_type
action find
entity Russian Empire
relation basic form of government
type monarchic system
['Russian Empire', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?u WHERE { resource:Russian_Empire property:basic_form_of_government ?u . ?u rdf:type ontology:monarchic_system }
[]
monarchic system
Q2994894
SYSTEM
dual monarchy
Q2994894
(Q34266,P122,c(Q22676587))
action filter_type
action find
entity Q34266
relation P122
type Q22676587
The [ANSWER] best describes the government of that former country
['Q34266', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?u WHERE { resource:Q34266 property:P122 ?u . ?u rdf:type ontology:Q22676587 }
dual monarchy
The dual monarchy best describes the government of that former country
dual monarchy
action filter_type
action find
entity Russian Empire
relation basic form of government
type monarchic system
['Russian Empire', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?u WHERE { resource:Russian_Empire property:basic_form_of_government ?u . ?u rdf:type ontology:monarchic_system }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34266
P36
Q56061
USER
Which administrative territory is the capital of that former country ?
(Q2994894,P36,c(Q56061))
action filter_type
action find
entity Q34266
relation P36
type Q56061
['Q2994894', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q34266 property:P36 ?c . ?c rdf:type ontology:Q56061 }
Russian Empire
action filter_type
action find
entity Russian Empire
relation capital
type administrative territorial entity
['dual monarchy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Russian_Empire property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q2994894,P36,c(Q56061))
action filter_type
action find
entity Q34266
relation P36
type Q56061
[ANSWER] is the capital of that former country
['Q2994894', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q34266 property:P36 ?c . ?c rdf:type ontology:Q56061 }
Moscow
Moscow is the capital of that former country
Moscow
action filter_type
action find
entity Russian Empire
relation capital
type administrative territorial entity
['dual monarchy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Russian_Empire property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P17
Q7275 Q15617994
USER
How many states or administrative territories are that administrative territory situated in ?
(Q649,P17,c(Q7275)) (Q649,P17,c(Q15617994)) (Q649,P17,c(Q7275)) (Q649,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q649
relation P17
type Q7275
action filter_type
action find
entity Q649
relation P17
type Q15617994
['Q649', 'P17', {'concept': 'Q7275'}] ['Q649', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q7275'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Q649 property:P17 ?i . ?i rdf:type ontology:Q7275 } UNION { resource:Q649 property:P17 ?i . ?i rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity Moscow
relation country
type state
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Moscow', 'country', {'concept': 'state'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'state'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Moscow property:country ?i . ?i rdf:type ontology:state } UNION { resource:Moscow property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
state designation for an administrative territorial entity
SYSTEM
6
Q159 Q139319 Q170770 Q15180 Q2184 Q186096
(Q649,P17,c(Q7275)) (Q649,P17,c(Q15617994)) (Q649,P17,c(Q7275)) (Q649,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q649
relation P17
type Q7275
action filter_type
action find
entity Q649
relation P17
type Q15617994
[ANSWER]
['Q649', 'P17', {'concept': 'Q7275'}] ['Q649', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q7275'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Q649 property:P17 ?i . ?i rdf:type ontology:Q7275 } UNION { resource:Q649 property:P17 ?i . ?i rdf:type ontology:Q15617994 } }
Russia Russian Republic Grand Duchy of Moscow Soviet Union Russian Soviet Federative Socialist Republic Tsardom of Russia
6
action count
action union
action filter_type
action find
entity Moscow
relation country
type state
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Moscow', 'country', {'concept': 'state'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'state'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Moscow property:country ?i . ?i rdf:type ontology:state } UNION { resource:Moscow property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have exactly 3 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?t = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?t ) WHERE { ?f property:P532 ?n . ?f rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?f } }
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?t = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?t ) WHERE { ?f property:port_of_registry ?n . ?f rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have exactly 3 administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?t = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?t ) WHERE { ?f property:P532 ?n . ?f rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?f } }
MS Arrow
MS Arrow have exactly 3 administrative territories as registry port
MS Arrow
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?t = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?t ) WHERE { ?f property:port_of_registry ?n . ?f rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11707059
P137
Q740752
USER
Who operates that ship type ?
(Q11707059,P137,c(Q740752))
action filter_type
action find
entity Q11707059
relation P137
type Q740752
['Q11707059', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?d WHERE { resource:Q11707059 property:P137 ?d . ?d rdf:type ontology:Q740752 }
MS Arrow
action filter_type
action find
entity MS Arrow
relation operator
type transport company
['MS Arrow', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?d WHERE { resource:MS_Arrow property:operator ?d . ?d rdf:type ontology:transport_company }
[]
transport company
Q1674254
SYSTEM
Isle of Man Steam Packet Company
Q1674254
(Q11707059,P137,c(Q740752))
action filter_type
action find
entity Q11707059
relation P137
type Q740752
[ANSWER] operates that ship type
['Q11707059', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?d WHERE { resource:Q11707059 property:P137 ?d . ?d rdf:type ontology:Q740752 }
Isle of Man Steam Packet Company
Isle of Man Steam Packet Company operates that ship type
Isle of Man Steam Packet Company
action filter_type
action find
entity MS Arrow
relation operator
type transport company
['MS Arrow', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?d WHERE { resource:MS_Arrow property:operator ?d . ?d rdf:type ontology:transport_company }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1674254 Q5154047 Q567156
P17
Q15617994
USER
Is that transport company present in commune of Cambodia and Brauneberg ?
(Q1674254,P17,Q5154047) (Q1674254,P17,Q567156)
action is_in
entity Q1674254
action intersection
action find_reverse
entity Q5154047
relation P17
action find_reverse
entity Q567156
relation P17
['Q1674254', 'P17', 'Q5154047'] ['Q1674254', 'P17', 'Q567156']
ASK WHERE { resource:Q1674254 property:P17 resource:Q5154047 . resource:Q1674254 property:P17 resource:Q567156 }
Isle of Man Steam Packet Company commune of Cambodia Brauneberg
action is_in
entity Isle of Man Steam Packet Company
action intersection
action find_reverse
entity commune of Cambodia
relation country
action find_reverse
entity Brauneberg
relation country
['Isle of Man Steam Packet Company', 'country', 'commune of Cambodia'] ['Isle of Man Steam Packet Company', 'country', 'Brauneberg']
ASK WHERE { resource:Isle_of_Man_Steam_Packet_Company property:country resource:commune_of_Cambodia . resource:Isle_of_Man_Steam_Packet_Company property:country resource:Brauneberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1674254,P17,Q5154047) (Q1674254,P17,Q567156)
action is_in
entity Q1674254
action intersection
action find_reverse
entity Q5154047
relation P17
action find_reverse
entity Q567156
relation P17
[ANSWER]
['Q1674254', 'P17', 'Q5154047'] ['Q1674254', 'P17', 'Q567156']
ASK WHERE { resource:Q1674254 property:P17 resource:Q5154047 . resource:Q1674254 property:P17 resource:Q567156 }
No
action is_in
entity Isle of Man Steam Packet Company
action intersection
action find_reverse
entity commune of Cambodia
relation country
action find_reverse
entity Brauneberg
relation country
['Isle of Man Steam Packet Company', 'country', 'commune of Cambodia'] ['Isle of Man Steam Packet Company', 'country', 'Brauneberg']
ASK WHERE { resource:Isle_of_Man_Steam_Packet_Company property:country resource:commune_of_Cambodia . resource:Isle_of_Man_Steam_Packet_Company property:country resource:Brauneberg }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q572007
P21 P22
Q502895
USER
Which people are the offspring of Friedrich Carl von Nesselrode-Ereshoven and are a female ?
AND((c(Q502895),P22,Q572007), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q572007
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q572007'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q572007 . ?v property:P21 resource:Q6581072 . ?v rdf:type ontology:Q502895 }
female Friedrich Carl von Nesselrode-Ereshoven
action filter_type
action intersection
action find_reverse
entity Friedrich Carl von Nesselrode-Ereshoven
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Friedrich Carl von Nesselrode-Ereshoven'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?v WHERE { ?v property:father resource:Friedrich_Carl_von_Nesselrode-Ereshoven . ?v property:gender resource:female . ?v rdf:type ontology:common_name }
[]
common name
Q2022977
SYSTEM
Maria Kalergis
Q2022977
AND((c(Q502895),P22,Q572007), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q572007
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] is the offspring of Friedrich Carl von Nesselrode-Ereshoven and is a female
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q572007'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q572007 . ?v property:P21 resource:Q6581072 . ?v rdf:type ontology:Q502895 }
Maria Kalergis
Maria Kalergis is the offspring of Friedrich Carl von Nesselrode-Ereshoven and is a female
Maria Kalergis
action filter_type
action intersection
action find_reverse
entity Friedrich Carl von Nesselrode-Ereshoven
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Friedrich Carl von Nesselrode-Ereshoven'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?v WHERE { ?v property:father resource:Friedrich_Carl_von_Nesselrode-Ereshoven . ?v property:gender resource:female . ?v rdf:type ontology:common_name }
[]