Simple Question (Direct)
Simple Question
Q9317522
P27
Q15617994
USER
Which administrative territory is Juan Manuel Vivaldi an inhabitant of ?
(Q9317522,P27,c(Q15617994))
action filter_type
action find
entity Q9317522
relation P27
type Q15617994
['Q9317522', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q9317522 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Juan Manuel Vivaldi
action filter_type
action find
entity Juan Manuel Vivaldi
relation country of citizenship
type designation for an administrative territorial entity
['Juan Manuel Vivaldi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Juan_Manuel_Vivaldi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q9317522,P27,c(Q15617994))
action filter_type
action find
entity Q9317522
relation P27
type Q15617994
[ANSWER] is Juan Manuel Vivaldi an inhabitant of
['Q9317522', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q9317522 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Argentina
Argentina is Juan Manuel Vivaldi an inhabitant of
Argentina
action filter_type
action find
entity Juan Manuel Vivaldi
relation country of citizenship
type designation for an administrative territorial entity
['Juan Manuel Vivaldi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Juan_Manuel_Vivaldi property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P449
Q15416
USER
Which the show that was originally telecasted on that administrative territory ?
(c(Q15416),P449,Q414)
action filter_type
action find_reverse
entity Q414
relation P449
type Q15416
[{'concept': 'Q15416'}, 'P449', 'Q414']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15416 . ?p property:P449 resource:Q414 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Argentina']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_program . ?p property:original_network resource:Argentina }
[]
television program
Q750043
SYSTEM
Videomatch
Q750043
(c(Q15416),P449,Q414)
action filter_type
action find_reverse
entity Q414
relation P449
type Q15416
Telecasted in [ANSWER]
[{'concept': 'Q15416'}, 'P449', 'Q414']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15416 . ?p property:P449 resource:Q414 }
Videomatch
Telecasted in Videomatch
Videomatch
action filter_type
action find_reverse
entity Argentina
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Argentina']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:television_program . ?p property:original_network resource:Argentina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q750043
P495
Q15617994
USER
Which administrative territory is the origin of that television program ?
(Q750043,P495,c(Q15617994))
action filter_type
action find
entity Q750043
relation P495
type Q15617994
['Q750043', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q750043 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
Videomatch
action filter_type
action find
entity Videomatch
relation country of origin
type designation for an administrative territorial entity
['Videomatch', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Videomatch property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q750043,P495,c(Q15617994))
action filter_type
action find
entity Q750043
relation P495
type Q15617994
[ANSWER] is the origin of that television program
['Q750043', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q750043 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
Argentina
Argentina is the origin of that television program
Argentina
action filter_type
action find
entity Videomatch
relation country of origin
type designation for an administrative territorial entity
['Videomatch', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Videomatch property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q750043
P136
Q223393
USER
What can be considered as category for Videomatch ?
(Q750043,P136,c(Q223393))
action filter_type
action find
entity Q750043
relation P136
type Q223393
['Q750043', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q750043 property:P136 ?p . ?p rdf:type ontology:Q223393 }
Videomatch
action filter_type
action find
entity Videomatch
relation genre
type literary genre
['Videomatch', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:Videomatch property:genre ?p . ?p rdf:type ontology:literary_genre }
[]
literary genre
Q40831
SYSTEM
comedy
Q40831
(Q750043,P136,c(Q223393))
action filter_type
action find
entity Q750043
relation P136
type Q223393
[ANSWER] can be considered as category for Videomatch
['Q750043', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q750043 property:P136 ?p . ?p rdf:type ontology:Q223393 }
comedy
Comedy can be considered as category for Videomatch
comedy
action filter_type
action find
entity Videomatch
relation genre
type literary genre
['Videomatch', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:Videomatch property:genre ?p . ?p rdf:type ontology:literary_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2268391
Q223393
USER
And how about A Wrinkle in Time?
(Q2268391,P136,c(Q223393))
action filter_type
action find
entity Q2268391
relation P136
type Q223393
['Q2268391', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?g WHERE { resource:Q2268391 property:P136 ?g . ?g rdf:type ontology:Q223393 }
A Wrinkle in Time
action filter_type
action find
entity A Wrinkle in Time
relation genre
type literary genre
['A Wrinkle in Time', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?g WHERE { resource:A_Wrinkle_in_Time property:genre ?g . ?g rdf:type ontology:literary_genre }
[]
literary genre
Q132311
SYSTEM
fantasy
Q132311
(Q2268391,P136,c(Q223393))
action filter_type
action find
entity Q2268391
relation P136
type Q223393
[ANSWER]
['Q2268391', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?g WHERE { resource:Q2268391 property:P136 ?g . ?g rdf:type ontology:Q223393 }
fantasy
fantasy
action filter_type
action find
entity A Wrinkle in Time
relation genre
type literary genre
['A Wrinkle in Time', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?g WHERE { resource:A_Wrinkle_in_Time property:genre ?g . ?g rdf:type ontology:literary_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q132311 Q27832696
P136
Q2342494
USER
Does matsudo temple guide have that one as genre ?
(Q27832696,P136,Q132311)
action is_in
entity Q27832696
action find
entity Q132311
relation P136
['Q27832696', 'P136', 'Q132311']
ASK WHERE { resource:Q132311 property:P136 resource:Q27832696 }
fantasy matsudo temple guide
action is_in
entity matsudo temple guide
action find
entity fantasy
relation genre
['matsudo temple guide', 'genre', 'fantasy']
ASK WHERE { resource:fantasy property:genre resource:matsudo_temple_guide }
[]
collectable
SYSTEM
NO
(Q27832696,P136,Q132311)
action is_in
entity Q27832696
action find
entity Q132311
relation P136
[ANSWER]
['Q27832696', 'P136', 'Q132311']
ASK WHERE { resource:Q132311 property:P136 resource:Q27832696 }
No
action is_in
entity matsudo temple guide
action find
entity fantasy
relation genre
['matsudo temple guide', 'genre', 'fantasy']
ASK WHERE { resource:fantasy property:genre resource:matsudo_temple_guide }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18611586 Q750043
P449
Q4830453
USER
Which business enterprises were Videomatch or Shuriken Sentai Ninninger originally aired ?
OR((Q750043,P449,c(Q4830453)), (Q18611586,P449,c(Q4830453)))
action filter_type
action union
action find
entity Q750043
relation P449
action find
entity Q18611586
relation P449
type Q4830453
{'OR': [['Q750043', 'P449', {'concept': 'Q4830453'}], ['Q18611586', 'P449', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18611586 property:P449 ?m } UNION { resource:Q750043 property:P449 ?m } } . ?m rdf:type ontology:Q4830453 }
Shuriken Sentai Ninninger Videomatch
action filter_type
action union
action find
entity Videomatch
relation original network
action find
entity Shuriken Sentai Ninninger
relation original network
type business enterprise
{'OR': [['Videomatch', 'original network', {'concept': 'business enterprise'}], ['Shuriken Sentai Ninninger', 'original network', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Shuriken_Sentai_Ninninger property:original_network ?m } UNION { resource:Videomatch property:original_network ?m } } . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Q1143518 Q908436
SYSTEM
Telefe, TV Asahi
Q1143518 Q908436
OR((Q750043,P449,c(Q4830453)), (Q18611586,P449,c(Q4830453)))
action filter_type
action union
action find
entity Q750043
relation P449
action find
entity Q18611586
relation P449
type Q4830453
[ANSWERS] were Videomatch or Shuriken Sentai Ninninger originally aired
{'OR': [['Q750043', 'P449', {'concept': 'Q4830453'}], ['Q18611586', 'P449', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18611586 property:P449 ?m } UNION { resource:Q750043 property:P449 ?m } } . ?m rdf:type ontology:Q4830453 }
Telefe TV Asahi
Telefe and TV Asahi were Videomatch or Shuriken Sentai Ninninger originally aired
Telefe TV Asahi
action filter_type
action union
action find
entity Videomatch
relation original network
action find
entity Shuriken Sentai Ninninger
relation original network
type business enterprise
{'OR': [['Videomatch', 'original network', {'concept': 'business enterprise'}], ['Shuriken Sentai Ninninger', 'original network', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Shuriken_Sentai_Ninninger property:original_network ?m } UNION { resource:Videomatch property:original_network ?m } } . ?m rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23076
P355
Q4830453 Q740752
USER
How many transport companies are lesser number of business enterprises the subsidiary of than Nederlandse Spoorwegen ?
(c(Q740752),P355,c(Q4830453))
action count
action less
action find_tuple_counts
relation P355
type Q740752
type Q4830453
action count
action filter_type
action find
entity Q23076
relation P355
type Q4830453
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { ?z property:P355 ?h . ?h rdf:type ontology:Q4830453 . ?z rdf:type ontology:Q740752 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q23076 property:P355 ?j . ?j rdf:type ontology:Q4830453 } } . FILTER ( ?m < ?d ) }
Nederlandse Spoorwegen
action count
action less
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
action count
action filter_type
action find
entity Nederlandse Spoorwegen
relation subsidiary
type business enterprise
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { ?z property:subsidiary ?h . ?h rdf:type ontology:business_enterprise . ?z rdf:type ontology:transport_company } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Nederlandse_Spoorwegen property:subsidiary ?j . ?j rdf:type ontology:business_enterprise } } . FILTER ( ?m < ?d ) }
[]
business enterprise transport company
SYSTEM
18
Q83584 Q1188274 Q923337 Q742422 Q9322 Q795363 Q502125 Q920016 Q524255 Q10547016 Q2245513 Q1188230 Q1332242 Q4698894 Q20855940 Q13646 Q1144530 Q643578
(c(Q740752),P355,c(Q4830453))
action count
action less
action find_tuple_counts
relation P355
type Q740752
type Q4830453
action count
action filter_type
action find
entity Q23076
relation P355
type Q4830453
[ANSWER]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { ?z property:P355 ?h . ?h rdf:type ontology:Q4830453 . ?z rdf:type ontology:Q740752 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q23076 property:P355 ?j . ?j rdf:type ontology:Q4830453 } } . FILTER ( ?m < ?d ) }
Odakyu Electric Railway Keihan Electric Railway Ukrainian Railways PKP Cargo Deutsche Bahn Heathrow Airport Holdings Limited West Japan Railway Company British Railways Board NMBS/SNCB Koiviston Auto Sanyo Electric Railway Nankai Electric Railway Tokyu Corporation Airport Authority Hong Kong CrossRail AG SNCF Southwestern Railways Fraport
18
action count
action less
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
action count
action filter_type
action find
entity Nederlandse Spoorwegen
relation subsidiary
type business enterprise
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { ?z property:subsidiary ?h . ?h rdf:type ontology:business_enterprise . ?z rdf:type ontology:transport_company } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Nederlandse_Spoorwegen property:subsidiary ?j . ?j rdf:type ontology:business_enterprise } } . FILTER ( ?m < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q83823
P355
Q4830453 Q740752
USER
And what about Ferrovie dello Stato Italiane?
(c(Q740752),P355,c(Q4830453))
action count
action less
action find_tuple_counts
relation P355
type Q740752
type Q4830453
action count
action filter_type
action find
entity Q83823
relation P355
type Q4830453
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { FILTER ( ?d < ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q83823 property:P355 ?v . ?v rdf:type ontology:Q4830453 } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q740752 } GROUP BY ?n } }
Ferrovie dello Stato Italiane
action count
action less
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
action count
action filter_type
action find
entity Ferrovie dello Stato Italiane
relation subsidiary
type business enterprise
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { FILTER ( ?d < ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Ferrovie_dello_Stato_Italiane property:subsidiary ?v . ?v rdf:type ontology:business_enterprise } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:business_enterprise . ?n rdf:type ontology:transport_company } GROUP BY ?n } }
[]
business enterprise transport company
SYSTEM
18
Q83584 Q1188274 Q923337 Q742422 Q9322 Q795363 Q502125 Q920016 Q524255 Q10547016 Q2245513 Q1188230 Q1332242 Q4698894 Q20855940 Q13646 Q1144530 Q643578
(c(Q740752),P355,c(Q4830453))
action count
action less
action find_tuple_counts
relation P355
type Q740752
type Q4830453
action count
action filter_type
action find
entity Q83823
relation P355
type Q4830453
[ANSWER]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { FILTER ( ?d < ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q83823 property:P355 ?v . ?v rdf:type ontology:Q4830453 } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q4830453 . ?n rdf:type ontology:Q740752 } GROUP BY ?n } }
Odakyu Electric Railway Keihan Electric Railway Ukrainian Railways PKP Cargo Deutsche Bahn Heathrow Airport Holdings Limited West Japan Railway Company British Railways Board NMBS/SNCB Koiviston Auto Sanyo Electric Railway Nankai Electric Railway Tokyu Corporation Airport Authority Hong Kong CrossRail AG SNCF Southwestern Railways Fraport
18
action count
action less
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
action count
action filter_type
action find
entity Ferrovie dello Stato Italiane
relation subsidiary
type business enterprise
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { FILTER ( ?d < ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Ferrovie_dello_Stato_Italiane property:subsidiary ?v . ?v rdf:type ontology:business_enterprise } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:business_enterprise . ?n rdf:type ontology:transport_company } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15912666
P361
Q4830453 Q502895 Q41176
USER
Which business enterprises are greater number of people and buildings a component of than New Territories East Cluster ?
(c(Q502895)|c(Q41176),P361,c(Q4830453))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q502895
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q15912666
relation P361
type Q502895
type Q41176
[[{'concept': 'Q502895'}, {'concept': 'Q41176'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } . ?s rdf:type ?k } GROUP BY ?e } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P361 resource:Q15912666 . { { ?c rdf:type ontology:Q41176 } UNION { ?c rdf:type ontology:Q502895 } } } } }
New Territories East Cluster
action greater
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type common name
action find_reverse_tuple_counts
relation part of
type business enterprise
type building
action count
action filter_multi_types
action find_reverse
entity New Territories East Cluster
relation part of
type common name
type building
[[{'concept': 'common name'}, {'concept': 'building'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:building ) } . ?s rdf:type ?k } GROUP BY ?e } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:part_of resource:New_Territories_East_Cluster . { { ?c rdf:type ontology:building } UNION { ?c rdf:type ontology:common_name } } } } }
[]
business enterprise common name building
Q24426823 Q17379457 Q24336326
SYSTEM
Newbery & Carnan, Heinle, Wischer und Partner, G. Nicol & Son
Q24336326 Q5748480 Q15838829 Q27500314 Q24426823 Q15700171 Q17379457 Q4850516 Q24203929
(c(Q502895)|c(Q41176),P361,c(Q4830453))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q502895
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q15912666
relation P361
type Q502895
type Q41176
[ANSWERS] are greater number of people and buildings a component of than New Territories East Cluster
[[{'concept': 'Q502895'}, {'concept': 'Q41176'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } . ?s rdf:type ?k } GROUP BY ?e } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P361 resource:Q15912666 . { { ?c rdf:type ontology:Q41176 } UNION { ?c rdf:type ontology:Q502895 } } } } }
G. Nicol & Son Hewitt & Emerson Kayser und von Großheim W. Bulmer & Co. Newbery & Carnan Schreiterer & Below Heinle, Wischer und Partner Baldwin & Pennington Graf & Soret
Newbery & Carnan, Heinle, Wischer und Partner and G. Nicol & Son are greater number of people and buildings a component of than New Territories East Cluster
Newbery & Carnan Heinle, Wischer und Partner G. Nicol & Son
action greater
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type common name
action find_reverse_tuple_counts
relation part of
type business enterprise
type building
action count
action filter_multi_types
action find_reverse
entity New Territories East Cluster
relation part of
type common name
type building
[[{'concept': 'common name'}, {'concept': 'building'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:building ) } . ?s rdf:type ?k } GROUP BY ?e } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:part_of resource:New_Territories_East_Cluster . { { ?c rdf:type ontology:building } UNION { ?c rdf:type ontology:common_name } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12474586
P361
Q4830453 Q502895 Q41176
USER
And how about INTV?
(c(Q502895)|c(Q41176),P361,c(Q4830453))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q502895
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q12474586
relation P361
type Q502895
type Q41176
[[{'concept': 'Q502895'}, {'concept': 'Q41176'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?e WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } . ?a rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P361 resource:Q12474586 . { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } } } } . FILTER ( ?i > ?f ) }
INTV
action greater
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type common name
action find_reverse_tuple_counts
relation part of
type business enterprise
type building
action count
action filter_multi_types
action find_reverse
entity INTV
relation part of
type common name
type building
[[{'concept': 'common name'}, {'concept': 'building'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?e WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:building ) } . ?a rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:part_of resource:INTV . { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:building ) } } } } . FILTER ( ?i > ?f ) }
[]
business enterprise common name building
Q181653 Q23654434 Q24139322
SYSTEM
Deutsche Bundespost, William Banks & Son, Benjamin and John White
Q24336326 Q5748480 Q15912666 Q5069606 Q5656135 Q15838829 Q24139322 Q7569247 Q27500314 Q24426823 Q24199692 Q22687 Q24207756 Q23654434 Q18636765 Q24207745 Q24203985 Q15700171 Q17379457 Q2098378 Q181653 Q5684342 Q7894780 Q24207764 Q4850516 Q24203920 Q24203929
(c(Q502895)|c(Q41176),P361,c(Q4830453))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q502895
action find_reverse_tuple_counts
relation P361
type Q4830453
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q12474586
relation P361
type Q502895
type Q41176
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q41176'}], 'P361', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?e WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } . ?a rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P361 resource:Q12474586 . { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q41176 ) } } } } . FILTER ( ?i > ?f ) }
G. Nicol & Son Hewitt & Emerson New Territories East Cluster Chamberlin, Powell and Bon Harding and Seaver Kayser und von Großheim Benjamin and John White Southcoast Health System W. Bulmer & Co. Newbery & Carnan Catherall and Prichard bank Maclure, Macdonald & Macgregor William Banks & Son Habershon and Fawckner Joshua & William Eddowes Ivey & Pearse Schreiterer & Below Heinle, Wischer und Partner Planungsgruppe Stieldorf Deutsche Bundespost Hawaii Pacific Health University Hospitals of Leicester S. & J. Bentley, Wilson & Fley Baldwin & Pennington Dean and Munday Graf & Soret
Deutsche Bundespost William Banks & Son Benjamin and John White
action greater
action union
action find_reverse_tuple_counts
relation part of
type business enterprise
type common name
action find_reverse_tuple_counts
relation part of
type business enterprise
type building
action count
action filter_multi_types
action find_reverse
entity INTV
relation part of
type common name
type building
[[{'concept': 'common name'}, {'concept': 'building'}], 'part of', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?e WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:building ) } . ?a rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:part_of resource:INTV . { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:building ) } } } } . FILTER ( ?i > ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q181653
P452
Q1914636
USER
Which activity is the industry to which that business enterprise belongs ?
(Q181653,P452,c(Q1914636))
action filter_type
action find
entity Q181653
relation P452
type Q1914636
['Q181653', 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?m WHERE { resource:Q181653 property:P452 ?m . ?m rdf:type ontology:Q1914636 }
Deutsche Bundespost
action filter_type
action find
entity Deutsche Bundespost
relation industry
type activity
['Deutsche Bundespost', 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?m WHERE { resource:Deutsche_Bundespost property:industry ?m . ?m rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q181653
SYSTEM
Did you mean Deutsche Bundespost ?
Q181653 Q23654434 Q24139322
(Q181653,P452,c(Q1914636)) (Q23654434,P452,c(Q1914636)) (Q24139322,P452,c(Q1914636))
[ANSWER]
['Q181653', 'P452', {'concept': 'Q1914636'}] ['Q23654434', 'P452', {'concept': 'Q1914636'}] ['Q24139322', 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?m WHERE { resource:Q181653 property:P452 ?m . ?m rdf:type ontology:Q1914636 }
Deutsche Bundespost William Banks & Son Benjamin and John White
Did you mean Deutsche Bundespost ?
Deutsche Bundespost
['Deutsche Bundespost', 'industry', {'concept': 'activity'}] ['William Banks & Son', 'industry', {'concept': 'activity'}] ['Benjamin and John White', 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?m WHERE { resource:Deutsche_Bundespost property:industry ?m . ?m rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q181653,P452,c(Q1914636))
['Q181653', 'P452', {'concept': 'Q1914636'}]
['Deutsche Bundespost', 'industry', {'concept': 'activity'}]
[]
Q177777
SYSTEM
logistics
Q177777
(Q181653,P452,c(Q1914636))
action filter_type
action find
entity Q181653
relation P452
type Q1914636
[ANSWER] is the industry to which that business enterprise belongs
['Q181653', 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?m WHERE { resource:Q181653 property:P452 ?m . ?m rdf:type ontology:Q1914636 }
logistics
Logistics is the industry to which that business enterprise belongs
logistics
action filter_type
action find
entity Deutsche Bundespost
relation industry
type activity
['Deutsche Bundespost', 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?m WHERE { resource:Deutsche_Bundespost property:industry ?m . ?m rdf:type ontology:activity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q11204 Q1752346 Q15617994
USER
Which administrative territories have max number of legislatures and assemblies as their legislative body ?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11204 . ?x property:P194 ?s } UNION { ?x property:P194 ?s . ?s rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?b WHERE { { ?b property:P194 ?g . ?g rdf:type ontology:Q11204 . ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1752346 . ?b property:P194 ?g } } GROUP BY ?b } }
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:legislature . ?x property:legislative_body ?s } UNION { ?x property:legislative_body ?s . ?s rdf:type ontology:assembly . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?b WHERE { { ?b property:legislative_body ?g . ?g rdf:type ontology:legislature . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:assembly . ?b property:legislative_body ?g } } GROUP BY ?b } }
[]
legislature assembly designation for an administrative territorial entity
Q159 Q948 Q794
SYSTEM
Russia, Tunisia, Iran
Q159 Q794 Q6465 Q948
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
[ANSWERS] have max number of legislatures and assemblies as their legislative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11204 . ?x property:P194 ?s } UNION { ?x property:P194 ?s . ?s rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q15617994 } } GROUP BY ?x } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?b WHERE { { ?b property:P194 ?g . ?g rdf:type ontology:Q11204 . ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1752346 . ?b property:P194 ?g } } GROUP BY ?b } }
Russia Iran department of France Tunisia
Russia, Tunisia and Iran have max number of legislatures and assemblies as their legislative body
Russia Tunisia Iran
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:legislature . ?x property:legislative_body ?s } UNION { ?x property:legislative_body ?s . ?s rdf:type ontology:assembly . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?b WHERE { { ?b property:legislative_body ?g . ?g rdf:type ontology:legislature . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:assembly . ?b property:legislative_body ?g } } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q734
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories have their official language as lesser number of languages or classification schemes than Guyana ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q734
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?u WHERE { { ?u property:P37 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } UNION { ?u property:P37 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:Q34770 } UNION { ?v rdf:type ontology:Q5962346 } } . resource:Q734 property:P37 ?v } } . FILTER ( ?r < ?y ) }
Guyana
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Guyana
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?u WHERE { { ?u property:official_language ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } UNION { ?u property:official_language ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:classification_scheme } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:language } UNION { ?v rdf:type ontology:classification_scheme } } . resource:Guyana property:official_language ?v } } . FILTER ( ?r < ?y ) }
[]
language classification scheme designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q734
relation P37
type Q34770
type Q5962346
[ANSWERS] have their official language as lesser number of languages or classification schemes than Guyana
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?u WHERE { { ?u property:P37 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } UNION { ?u property:P37 ?i . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:Q34770 } UNION { ?v rdf:type ontology:Q5962346 } } . resource:Q734 property:P37 ?v } } . FILTER ( ?r < ?y ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil, United States of America and Georgia have their official language as lesser number of languages or classification schemes than Guyana
Brazil United States of America Georgia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Guyana
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?u WHERE { { ?u property:official_language ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } UNION { ?u property:official_language ?i . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:classification_scheme } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:language } UNION { ?v rdf:type ontology:classification_scheme } } . resource:Guyana property:official_language ?v } } . FILTER ( ?r < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q760
P37
Q34770 Q5962346 Q15617994
USER
And what about Saint Lucia?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q760
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?n WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q760 property:P37 ?g . { VALUES ( ?s ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?g rdf:type ?s } } } . FILTER ( ?z < ?o ) }
Saint Lucia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Saint Lucia
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?n WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:classification_scheme ) ( ontology:language ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Saint_Lucia property:official_language ?g . { VALUES ( ?s ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?g rdf:type ?s } } } . FILTER ( ?z < ?o ) }
[]
language classification scheme designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q760
relation P37
type Q34770
type Q5962346
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?n WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q760 property:P37 ?g . { VALUES ( ?s ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?g rdf:type ?s } } } . FILTER ( ?z < ?o ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil United States of America Georgia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Saint Lucia
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?n WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:classification_scheme ) ( ontology:language ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Saint_Lucia property:official_language ?g . { VALUES ( ?s ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?g rdf:type ?s } } } . FILTER ( ?z < ?o ) }
[]