Simple Question (Direct)
Simple Question
Q7926045
P734
Q82799
USER
Which name is associated with Victor Jones ?
(Q7926045,P734,c(Q82799))
action filter_type
action find
entity Q7926045
relation P734
type Q82799
['Q7926045', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q7926045 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Victor Jones
action filter_type
action find
entity Victor Jones
relation family name
type name
['Victor Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Victor_Jones property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q7926045,P734,c(Q82799))
action filter_type
action find
entity Q7926045
relation P734
type Q82799
[ANSWER] is associated with Victor [ANSWER]
['Q7926045', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q7926045 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Jones
Jones is associated with Victor Jones
Jones
action filter_type
action find
entity Victor Jones
relation family name
type name
['Victor Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Victor_Jones property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7926045
P241
Q781132
USER
Which military branch contains Victor Jones as its part ?
(Q7926045,P241,c(Q781132))
action filter_type
action find
entity Q7926045
relation P241
type Q781132
['Q7926045', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q7926045 property:P241 ?o . ?o rdf:type ontology:Q781132 }
Victor Jones
action filter_type
action find
entity Victor Jones
relation military branch
type military branch
['Victor Jones', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Victor_Jones property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q7926045,P241,c(Q781132))
action filter_type
action find
entity Q7926045
relation P241
type Q781132
[ANSWER] contains Victor Jones as its part
['Q7926045', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q7926045 property:P241 ?o . ?o rdf:type ontology:Q781132 }
British Army
British Army contains Victor Jones as its part
British Army
action filter_type
action find
entity Victor Jones
relation military branch
type military branch
['Victor Jones', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Victor_Jones property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7926045
P27
Q15617994
USER
Which administrative territory does Victor Jones belong to ?
(Q7926045,P27,c(Q15617994))
action filter_type
action find
entity Q7926045
relation P27
type Q15617994
['Q7926045', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7926045 property:P27 ?j }
Victor Jones
action filter_type
action find
entity Victor Jones
relation country of citizenship
type designation for an administrative territorial entity
['Victor Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Jones property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7926045,P27,c(Q15617994))
action filter_type
action find
entity Q7926045
relation P27
type Q15617994
Victor Jones belongs to [ANSWER]
['Q7926045', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7926045 property:P27 ?j }
United Kingdom
Victor Jones belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Victor Jones
relation country of citizenship
type designation for an administrative territorial entity
['Victor Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Victor_Jones property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P37
Q34770
USER
What is considered to be the official language of that administrative territory ?
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q145 property:P37 ?z . ?z rdf:type ontology:Q34770 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:official_language ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
[ANSWER] is considered to be the official language of that administrative territory
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q145 property:P37 ?z . ?z rdf:type ontology:Q34770 }
English
English is considered to be the official language of that administrative territory
English
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:official_language ?z . ?z rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are native to more number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action greater
action find_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1860
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?i ) WHERE { ?m property:P103 ?q . ?m rdf:type ontology:Q34770 . ?q rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q1860 property:P103 ?u . ?u rdf:type ontology:Q34770 } } . FILTER ( ?i > ?v ) }
action count
action greater
action find_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity English
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?i ) WHERE { ?m property:native_language ?q . ?m rdf:type ontology:language . ?q rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:English property:native_language ?u . ?u rdf:type ontology:language } } . FILTER ( ?i > ?v ) }
[]
language common name
SYSTEM
0
(c(Q502895),P103,c(Q34770))
action count
action greater
action find_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1860
relation P103
type Q34770
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?i ) WHERE { ?m property:P103 ?q . ?m rdf:type ontology:Q34770 . ?q rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q1860 property:P103 ?u . ?u rdf:type ontology:Q34770 } } . FILTER ( ?i > ?v ) }
0
action count
action greater
action find_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity English
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?i ) WHERE { ?m property:native_language ?q . ?m rdf:type ontology:language . ?q rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:English property:native_language ?u . ?u rdf:type ontology:language } } . FILTER ( ?i > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11220
P361
Q781132 Q811979 Q895526
USER
Which military branches are less number of architectural structures and authority organs a component of than United States Navy ?
(c(Q811979)|c(Q895526),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q11220
relation P361
type Q811979
type Q895526
[[{'concept': 'Q811979'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P361 ?a . ?a rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 } UNION { ?a rdf:type ontology:Q781132 . ?h rdf:type ontology:Q895526 . ?h property:P361 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P361 resource:Q11220 . { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q895526 ) ( ontology:Q811979 ) } } } } . FILTER ( ?k < ?m ) }
United States Navy
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find_reverse
entity United States Navy
relation part of
type architectural structure
type authority organ
[[{'concept': 'architectural structure'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:part_of ?a . ?a rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure } UNION { ?a rdf:type ontology:military_branch . ?h rdf:type ontology:authority_organ . ?h property:part_of ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:part_of resource:United_States_Navy . { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:authority_organ ) ( ontology:architectural_structure ) } } } } . FILTER ( ?k < ?m ) }
[]
military branch architectural structure authority organ
Q276538 Q2862927 Q706042
SYSTEM
Eurocorps, Indonesian Army, Prussian Army
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q781360 Q2492012 Q2862927 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q208711 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q811979)|c(Q895526),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q11220
relation P361
type Q811979
type Q895526
[ANSWERS] are less number of architectural structures and authority organs a component of than United States Navy
[[{'concept': 'Q811979'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P361 ?a . ?a rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 } UNION { ?a rdf:type ontology:Q781132 . ?h rdf:type ontology:Q895526 . ?h property:P361 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P361 resource:Q11220 . { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q895526 ) ( ontology:Q811979 ) } } } } . FILTER ( ?k < ?m ) }
Nepalese Army Slovak Army British Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army Royal Marines Royal Navy German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Australian Army Swedish Army Indonesian Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy Chilean Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
Eurocorps, Indonesian Army and Prussian Army are less number of architectural structures and authority organs a component of than United States Navy
Eurocorps Indonesian Army Prussian Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find_reverse
entity United States Navy
relation part of
type architectural structure
type authority organ
[[{'concept': 'architectural structure'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:part_of ?a . ?a rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure } UNION { ?a rdf:type ontology:military_branch . ?h rdf:type ontology:authority_organ . ?h property:part_of ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:part_of resource:United_States_Navy . { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:authority_organ ) ( ontology:architectural_structure ) } } } } . FILTER ( ?k < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2749588
P361
Q781132 Q811979 Q895526
USER
And what about Royal Thai Army?
(c(Q811979)|c(Q895526),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q2749588
relation P361
type Q811979
type Q895526
[[{'concept': 'Q811979'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q811979 ) ( ontology:Q895526 ) } . ?d rdf:type ?n } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P361 resource:Q2749588 . { { ?a rdf:type ontology:Q811979 } UNION { ?a rdf:type ontology:Q895526 } } } } }
Royal Thai Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find_reverse
entity Royal Thai Army
relation part of
type architectural structure
type authority organ
[[{'concept': 'architectural structure'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:architectural_structure ) ( ontology:authority_organ ) } . ?d rdf:type ?n } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:part_of resource:Royal_Thai_Army . { { ?a rdf:type ontology:architectural_structure } UNION { ?a rdf:type ontology:authority_organ } } } } }
[]
military branch architectural structure authority organ
Q276538 Q2862927 Q706042
SYSTEM
Eurocorps, Indonesian Army, Prussian Army
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q781360 Q2492012 Q2862927 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q208711 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q811979)|c(Q895526),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q2749588
relation P361
type Q811979
type Q895526
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q811979 ) ( ontology:Q895526 ) } . ?d rdf:type ?n } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P361 resource:Q2749588 . { { ?a rdf:type ontology:Q811979 } UNION { ?a rdf:type ontology:Q895526 } } } } }
Nepalese Army Slovak Army British Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army Royal Marines Royal Navy German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Australian Army Swedish Army Indonesian Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy Chilean Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
Eurocorps Indonesian Army Prussian Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find_reverse
entity Royal Thai Army
relation part of
type architectural structure
type authority organ
[[{'concept': 'architectural structure'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:architectural_structure ) ( ontology:authority_organ ) } . ?d rdf:type ?n } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:part_of resource:Royal_Thai_Army . { { ?a rdf:type ontology:architectural_structure } UNION { ?a rdf:type ontology:authority_organ } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222595
P138
Q502895
USER
Which person is the origin of British Army ?
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q222595 property:P138 ?z . ?z rdf:type ontology:Q502895 }
British Army
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:British_Army property:named_after ?z . ?z rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
[ANSWER] is the origin of British Army
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q222595 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Elizabeth II
Elizabeth II is the origin of British Army
Elizabeth II
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:British_Army property:named_after ?z . ?z rdf:type ontology:common_name }
[]