Simple Question (Direct)
Simple Question
Q453393
P27
Q15617994
USER
Which administrative territory is Lee Konitz a civilian of ?
(Q453393,P27,c(Q15617994))
action filter_type
action find
entity Q453393
relation P27
type Q15617994
['Q453393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q453393 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Lee Konitz
action filter_type
action find
entity Lee Konitz
relation country of citizenship
type designation for an administrative territorial entity
['Lee Konitz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lee_Konitz property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q453393,P27,c(Q15617994))
action filter_type
action find
entity Q453393
relation P27
type Q15617994
The [ANSWER] is Lee Konitz a civilian of
['Q453393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q453393 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
The United States of America is Lee Konitz a civilian of
United States of America
action filter_type
action find
entity Lee Konitz
relation country of citizenship
type designation for an administrative territorial entity
['Lee Konitz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lee_Konitz property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1408
Q4830453
USER
Which business enterprise is responsible for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P1408 resource:Q30 . ?l rdf:type ontology:Q4830453 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:licensed_to_broadcast_to resource:United_States_of_America . ?l rdf:type ontology:business_enterprise }
[]
business enterprise
Q43380
SYSTEM
CBS
Q43380
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
[ANSWER] is responsible for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P1408 resource:Q30 . ?l rdf:type ontology:Q4830453 }
CBS
CBS is responsible for broadcasting to that administrative territory
CBS
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:licensed_to_broadcast_to resource:United_States_of_America . ?l rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q257859
P206
Q1267889 Q15324 Q15617994
USER
How many administrative territories are located nearby around the same number of waterways and bodies of water as Cham ?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q257859
relation P206
type Q1267889
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?a rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q257859 property:P206 ?r . { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } } } . FILTER ( ?t = ?i ) }
Cham
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Cham
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { VALUES ( ?e ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?a rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Cham property:located_next_to_body_of_water ?r . { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:waterway ) ( ontology:body_of_water ) } } } } . FILTER ( ?t = ?i ) }
[]
waterway body of water designation for an administrative territorial entity
SYSTEM
111
Q505785 Q104577 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q104192 Q519663 Q2360428 Q255698 Q681329 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q2043234 Q42265 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q257859
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?a rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q257859 property:P206 ?r . { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } } } . FILTER ( ?t = ?i ) }
Pförring Desenzano del Garda Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Oneop Eichstätt Kleinmachnow Kösching Tijuana Municipality Abensberg Dümmer Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Almere Buiten Abbadia Lariana Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
111
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Cham
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { VALUES ( ?e ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?a rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Cham property:located_next_to_body_of_water ?r . { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:waterway ) ( ontology:body_of_water ) } } } } . FILTER ( ?t = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q805
P17
Q15617994 Q18608583 Q223557
USER
How many administrative territories do greater number of recurring sporting events or physical objects belong to than Yemen ?
(c(Q18608583)|c(Q223557),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q18608583
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q805
relation P17
type Q18608583
type Q223557
[[{'concept': 'Q18608583'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P17 resource:Q805 . { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q223557 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?s ) WHERE { { ?c property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q223557 } UNION { ?c property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q18608583 } } GROUP BY ?i } }
Yemen
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type recurring sporting event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Yemen
relation country
type recurring sporting event
type physical object
[[{'concept': 'recurring sporting event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:country resource:Yemen . { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:physical_object ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?s ) WHERE { { ?c property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:physical_object } UNION { ?c property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:recurring_sporting_event } } GROUP BY ?i } }
[]
designation for an administrative territorial entity recurring sporting event physical object
SYSTEM
60
Q801 Q419 Q668 Q142 Q55 Q145 Q148 Q214 Q837 Q252 Q403 Q45 Q159 Q43 Q41 Q155 Q794 Q889 Q884 Q958 Q219 Q826 Q736 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q851 Q854 Q730 Q20 Q1045 Q27 Q28 Q1027 Q189 Q843 Q842 Q1028 Q227 Q225 Q224 Q96 Q17 Q902 Q1033 Q191 Q115 Q754 Q213 Q215 Q218 Q833 Q29 Q878 Q813 Q869
(c(Q18608583)|c(Q223557),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q18608583
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q805
relation P17
type Q18608583
type Q223557
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P17 resource:Q805 . { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q223557 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?s ) WHERE { { ?c property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q223557 } UNION { ?c property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q18608583 } } GROUP BY ?i } }
Israel Peru India France Netherlands United Kingdom People's Republic of China Slovakia Nepal Indonesia Serbia Portugal Russia Turkey Greece Brazil Iran Afghanistan South Korea South Sudan Bulgaria Maldives Ecuador Belgium United States of America Poland Sweden Philippines Switzerland Italy Saudi Arabia Sri Lanka Suriname Norway Somalia Ireland Hungary Mauritius Iceland Pakistan Oman Morocco Azerbaijan Bosnia and Herzegovina Croatia Mexico Japan Bangladesh Nigeria Estonia Ethiopia Trinidad and Tobago Czech Republic Slovenia Romania Malaysia Spain United Arab Emirates Kyrgyzstan Thailand
60
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type recurring sporting event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Yemen
relation country
type recurring sporting event
type physical object
[[{'concept': 'recurring sporting event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:country resource:Yemen . { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:physical_object ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?s > ?o ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?s ) WHERE { { ?c property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:physical_object } UNION { ?c property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:recurring_sporting_event } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q313175
P17
Q15617994 Q18608583 Q223557
USER
And how about Saxe-Lauenburg?
(c(Q18608583)|c(Q223557),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q18608583
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q313175
relation P17
type Q18608583
type Q223557
[[{'concept': 'Q18608583'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q18608583 . ?r property:P17 ?e } UNION { ?r property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q223557 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P17 resource:Q313175 . { { ?a rdf:type ontology:Q18608583 } UNION { ?a rdf:type ontology:Q223557 } } } } . FILTER ( ?x > ?j ) }
Saxe-Lauenburg
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type recurring sporting event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Saxe-Lauenburg
relation country
type recurring sporting event
type physical object
[[{'concept': 'recurring sporting event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:recurring_sporting_event . ?r property:country ?e } UNION { ?r property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:physical_object } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:country resource:Saxe-Lauenburg . { { ?a rdf:type ontology:recurring_sporting_event } UNION { ?a rdf:type ontology:physical_object } } } } . FILTER ( ?x > ?j ) }
[]
designation for an administrative territorial entity recurring sporting event physical object
SYSTEM
161
Q702 Q804 Q801 Q800 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q219 Q4628 Q826 Q822 Q241 Q242 Q244 Q811 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q424 Q730 Q236 Q230 Q232 Q233 Q20 Q1045 Q1044 Q1042 Q27 Q28 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q96 Q229 Q1050 Q977 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q215 Q218 Q37 Q912 Q917 Q1006 Q1005 Q833 Q1009 Q971 Q970 Q683 Q34020 Q686 Q760 Q29 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q678 Q1039 Q672 Q863 Q1049 Q869 Q953
(c(Q18608583)|c(Q223557),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q18608583
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action count
action filter_multi_types
action find_reverse
entity Q313175
relation P17
type Q18608583
type Q223557
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q223557'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q18608583 . ?r property:P17 ?e } UNION { ?r property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q223557 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P17 resource:Q313175 . { { ?a rdf:type ontology:Q18608583 } UNION { ?a rdf:type ontology:Q223557 } } } } . FILTER ( ?x > ?j ) }
Federated States of Micronesia Panama Israel Costa Rica Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Bulgaria Faroe Islands Maldives Lebanon Cuba Belize Barbados Nicaragua Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Cambodia Suriname Montenegro Georgia Kazakhstan Malta Norway Somalia Sierra Leone Seychelles Ireland Hungary Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Mexico Cyprus Swaziland Djibouti Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovenia Romania Lithuania Mali Bhutan Guinea Gambia Malaysia Cameroon Republic of the Congo Comoros Samoa Niue Vanuatu Saint Lucia Spain East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tonga Sao Tomé and Príncipe Tuvalu Tajikistan Sudan Thailand Zambia
161
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type recurring sporting event
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find_reverse
entity Saxe-Lauenburg
relation country
type recurring sporting event
type physical object
[[{'concept': 'recurring sporting event'}, {'concept': 'physical object'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?x ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:recurring_sporting_event . ?r property:country ?e } UNION { ?r property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:physical_object } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:country resource:Saxe-Lauenburg . { { ?a rdf:type ontology:recurring_sporting_event } UNION { ?a rdf:type ontology:physical_object } } } } . FILTER ( ?x > ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories share border with United States of America ?
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
14
Q717 Q702 Q804 Q159 Q683 Q96 Q778 Q786 Q241 Q17 Q16 Q710 Q678 Q790
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWER]
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Venezuela Federated States of Micronesia Panama Russia Samoa Mexico The Bahamas Dominican Republic Cuba Japan Canada Kiribati Tonga Haiti
14
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1408
Q486972 Q4830453
USER
How many human settlements did approximately 2 business enterprises get a license to broadcast to ?
(c(Q4830453),P1408,c(Q486972))
action count
action approx
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
value 2
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1408 ?n . ?n rdf:type ontology:Q486972 . ?d rdf:type ontology:Q4830453 } GROUP BY ?n } . FILTER ( ?z = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:licensed_to_broadcast_to ?n . ?n rdf:type ontology:human_settlement . ?d rdf:type ontology:business_enterprise } GROUP BY ?n } . FILTER ( ?z = 2 ) }
[]
human settlement business enterprise
SYSTEM
16
Q2294996 Q1001134 Q1505383 Q572052 Q637246 Q2495360 Q7201608 Q3498404 Q1898776 Q960225 Q756603 Q1004000 Q488004 Q1660142 Q2016874 Q2130062
(c(Q4830453),P1408,c(Q486972))
action count
action approx
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
value 2
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1408 ?n . ?n rdf:type ontology:Q486972 . ?d rdf:type ontology:Q4830453 } GROUP BY ?n } . FILTER ( ?z = 2 ) }
Solana Hilton Head Island Burbank Pearl City Waipahu Lake Isabella Plantation Key Greenacres Naples Park Lehigh Acres Halfway Englewood Palm Springs Immokalee Oildale Martinez
16
action count
action approx
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:licensed_to_broadcast_to ?n . ?n rdf:type ontology:human_settlement . ?d rdf:type ontology:business_enterprise } GROUP BY ?n } . FILTER ( ?z = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P915
Q15416
USER
Which television programs had United States of America as their location of filming ?
(c(Q15416),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q30 . ?l rdf:type ontology:Q15416 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:United_States_of_America . ?l rdf:type ontology:television_program }
[]
television program
Q484825 Q23572
SYSTEM
The Lord of the Skies, Game of Thrones
Q484825 Q23572
(c(Q15416),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
Respectively [ANSWERS] had United States of America as their location of filming
[{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P915 resource:Q30 . ?l rdf:type ontology:Q15416 }
The Lord of the Skies Game of Thrones
Respectively The Lord of the Skies and Game of Thrones had United States of America as their location of filming
The Lord of the Skies Game of Thrones
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:filming_location resource:United_States_of_America . ?l rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q484825 Q23572
P136
Q5962346
USER
What are the genre of The Lord of the Skies and Game of Thrones ?
(Q484825,P136,c(Q5962346)) (Q23572,P136,c(Q5962346))
action union
action filter_type
action find
entity Q484825
relation P136
type Q5962346
action filter_type
action find
entity Q23572
relation P136
type Q5962346
['Q484825', 'P136', {'concept': 'Q5962346'}] ['Q23572', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q5962346 . resource:Q484825 property:P136 ?q } UNION { resource:Q23572 property:P136 ?q . ?q rdf:type ontology:Q5962346 } }
The Lord of the Skies Game of Thrones
action union
action filter_type
action find
entity The Lord of the Skies
relation genre
type classification scheme
action filter_type
action find
entity Game of Thrones
relation genre
type classification scheme
['The Lord of the Skies', 'genre', {'concept': 'classification scheme'}] ['Game of Thrones', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:classification_scheme . resource:The_Lord_of_the_Skies property:genre ?q } UNION { resource:Game_of_Thrones property:genre ?q . ?q rdf:type ontology:classification_scheme } }
[]
classification scheme
Q23745 Q1366112
SYSTEM
telenovela, television drama
Q23745 Q1366112
(Q484825,P136,c(Q5962346)) (Q23572,P136,c(Q5962346))
action union
action filter_type
action find
entity Q484825
relation P136
type Q5962346
action filter_type
action find
entity Q23572
relation P136
type Q5962346
The genre of The Lord of the Skies and Game of Thrones are a [ANSWERS]
['Q484825', 'P136', {'concept': 'Q5962346'}] ['Q23572', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q5962346 . resource:Q484825 property:P136 ?q } UNION { resource:Q23572 property:P136 ?q . ?q rdf:type ontology:Q5962346 } }
telenovela television drama
The genre of The Lord of the Skies and Game of Thrones are a telenovela and television drama
telenovela television drama
action union
action filter_type
action find
entity The Lord of the Skies
relation genre
type classification scheme
action filter_type
action find
entity Game of Thrones
relation genre
type classification scheme
['The Lord of the Skies', 'genre', {'concept': 'classification scheme'}] ['Game of Thrones', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:classification_scheme . resource:The_Lord_of_the_Skies property:genre ?q } UNION { resource:Game_of_Thrones property:genre ?q . ?q rdf:type ontology:classification_scheme } }
[]