Simple Question (Direct)
Simple Question
Q7428328
P19
Q56061
USER
Which administrative territory is the birthplace of Savio Medeira ?
(Q7428328,P19,c(Q56061))
action filter_type
action find
entity Q7428328
relation P19
type Q56061
['Q7428328', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7428328 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Savio Medeira
action filter_type
action find
entity Savio Medeira
relation place of birth
type administrative territorial entity
['Savio Medeira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Savio_Medeira property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q515117
SYSTEM
Margao
Q515117
(Q7428328,P19,c(Q56061))
action filter_type
action find
entity Q7428328
relation P19
type Q56061
[ANSWER] is the birthplace of Savio Medeira
['Q7428328', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7428328 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Margao
Margao is the birthplace of Savio Medeira
Margao
action filter_type
action find
entity Savio Medeira
relation place of birth
type administrative territorial entity
['Savio Medeira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Savio_Medeira property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q515117
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q515117,P30,c(Q2221906))
action filter_type
action find
entity Q515117
relation P30
type Q2221906
['Q515117', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q515117 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Margao
action filter_type
action find
entity Margao
relation continent
type geographic location
['Margao', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:Margao property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q515117,P30,c(Q2221906))
action filter_type
action find
entity Q515117
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q515117', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q515117 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity Margao
relation continent
type geographic location
['Margao', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:Margao property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q355304
USER
Which watercourses have their location as max number of geographic locations ?
(c(Q355304),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q355304
type Q2221906
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?u ) WHERE { ?b property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?b rdf:type ontology:Q355304 } GROUP BY ?b } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?c ) { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p property:P706 ?e . ?e rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q355304 } GROUP BY ?p } } }
action argmax
action find_tuple_counts
relation located on terrain feature
type watercourse
type geographic location
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?u ) WHERE { ?b property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?b rdf:type ontology:watercourse } GROUP BY ?b } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?c ) { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p property:located_on_terrain_feature ?e . ?e rdf:type ontology:geographic_location . ?p rdf:type ontology:watercourse } GROUP BY ?p } } }
[]
geographic location watercourse
Q155841
SYSTEM
Lech
Q155841
(c(Q355304),P706,c(Q2221906))
action argmax
action find_tuple_counts
relation P706
type Q355304
type Q2221906
[ANSWER] have their location as max number of geographic locations
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?u ) WHERE { ?b property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?b rdf:type ontology:Q355304 } GROUP BY ?b } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?c ) { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p property:P706 ?e . ?e rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q355304 } GROUP BY ?p } } }
Lech
Lech have their location as max number of geographic locations
Lech
action argmax
action find_tuple_counts
relation located on terrain feature
type watercourse
type geographic location
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?u ) WHERE { ?b property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?b rdf:type ontology:watercourse } GROUP BY ?b } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?c ) { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p property:located_on_terrain_feature ?e . ?e rdf:type ontology:geographic_location . ?p rdf:type ontology:watercourse } GROUP BY ?p } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2433474
P3173
Q355304 Q811979
USER
Which architectural structures contain views of less number of watercourses than Tunnel View ?
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2433474
relation P3173
type Q355304
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?z ) WHERE { ?x property:P3173 ?c . ?c rdf:type ontology:Q355304 . ?x rdf:type ontology:Q811979 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Q2433474 property:P3173 ?h . ?h rdf:type ontology:Q355304 } } . FILTER ( ?z < ?k ) }
Tunnel View
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Tunnel View
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?z ) WHERE { ?x property:offers_view_on ?c . ?c rdf:type ontology:watercourse . ?x rdf:type ontology:architectural_structure } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Tunnel_View property:offers_view_on ?h . ?h rdf:type ontology:watercourse } } . FILTER ( ?z < ?k ) }
[]
watercourse architectural structure
Q7088437 Q3367142 Q3108318
SYSTEM
Olmsted Point, Pas de Bellecombe, Glacier Point
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2433474
relation P3173
type Q355304
[ANSWERS] contain views of less number of watercourses than Tunnel View
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?z ) WHERE { ?x property:P3173 ?c . ?c rdf:type ontology:Q355304 . ?x rdf:type ontology:Q811979 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Q2433474 property:P3173 ?h . ?h rdf:type ontology:Q355304 } } . FILTER ( ?z < ?k ) }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point
Olmsted Point, Pas de Bellecombe and Glacier Point contain views of less number of watercourses than Tunnel View
Olmsted Point Pas de Bellecombe Glacier Point
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Tunnel View
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?z ) WHERE { ?x property:offers_view_on ?c . ?c rdf:type ontology:watercourse . ?x rdf:type ontology:architectural_structure } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Tunnel_View property:offers_view_on ?h . ?h rdf:type ontology:watercourse } } . FILTER ( ?z < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26196531
P3173
Q355304 Q811979
USER
And what about Washburn Point?
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?u rdf:type ontology:Q811979 . ?z rdf:type ontology:Q355304 . ?u property:P3173 ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?d < ?t ) }
Washburn Point
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?u rdf:type ontology:architectural_structure . ?z rdf:type ontology:watercourse . ?u property:offers_view_on ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?d < ?t ) }
[]
watercourse architectural structure
Q7088437 Q3367142 Q2433474
SYSTEM
Olmsted Point, Pas de Bellecombe, Tunnel View
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543 Q2433474
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
[ANSWERS]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?u rdf:type ontology:Q811979 . ?z rdf:type ontology:Q355304 . ?u property:P3173 ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?d < ?t ) }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point Tunnel View
Olmsted Point Pas de Bellecombe Tunnel View
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?u rdf:type ontology:architectural_structure . ?z rdf:type ontology:watercourse . ?u property:offers_view_on ?z } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?d < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5531834
P137
Q895526 Q811979
USER
Which authority organs are the facility operator of greater number of architectural structures than General Directorate of Highways ?
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q5531834
relation P137
type Q895526
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P137 ?n . ?n rdf:type ontology:Q895526 . ?v rdf:type ontology:Q811979 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q5531834 property:P137 ?d . ?d rdf:type ontology:Q895526 } } . FILTER ( ?j > ?l ) }
General Directorate of Highways
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity General Directorate of Highways
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:operator ?n . ?n rdf:type ontology:authority_organ . ?v rdf:type ontology:architectural_structure } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:General_Directorate_of_Highways property:operator ?d . ?d rdf:type ontology:authority_organ } } . FILTER ( ?j > ?l ) }
[]
authority organ architectural structure
Q3701698 Q3360446 Q7523123
SYSTEM
National Sports Council, Finnish Transport Agency, Singapore Sports Council
Q3701698 Q3360446 Q7523123
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q5531834
relation P137
type Q895526
[ANSWERS] are the facility operator of greater number of architectural structures than General Directorate of Highways
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P137 ?n . ?n rdf:type ontology:Q895526 . ?v rdf:type ontology:Q811979 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q5531834 property:P137 ?d . ?d rdf:type ontology:Q895526 } } . FILTER ( ?j > ?l ) }
National Sports Council Finnish Transport Agency Singapore Sports Council
National Sports Council, Finnish Transport Agency and Singapore Sports Council are the facility operator of greater number of architectural structures than General Directorate of Highways
National Sports Council Finnish Transport Agency Singapore Sports Council
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity General Directorate of Highways
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:operator ?n . ?n rdf:type ontology:authority_organ . ?v rdf:type ontology:architectural_structure } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:General_Directorate_of_Highways property:operator ?d . ?d rdf:type ontology:authority_organ } } . FILTER ( ?j > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7374037
P137
Q895526 Q811979
USER
And how about Royal Commission on the Ancient and Historical Monuments of Wales?
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q7374037
relation P137
type Q895526
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P137 ?f . ?f rdf:type ontology:Q895526 . ?w rdf:type ontology:Q811979 } GROUP BY ?f } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q7374037 property:P137 ?l . ?l rdf:type ontology:Q895526 } } }
Royal Commission on the Ancient and Historical Monuments of Wales
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity Royal Commission on the Ancient and Historical Monuments of Wales
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:operator ?f . ?f rdf:type ontology:authority_organ . ?w rdf:type ontology:architectural_structure } GROUP BY ?f } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Royal_Commission_on_the_Ancient_and_Historical_Monuments_of_Wales property:operator ?l . ?l rdf:type ontology:authority_organ } } }
[]
authority organ architectural structure
Q3701698 Q3360446 Q7523123
SYSTEM
National Sports Council, Finnish Transport Agency, Singapore Sports Council
Q3701698 Q3360446 Q7523123
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q7374037
relation P137
type Q895526
[ANSWERS]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P137 ?f . ?f rdf:type ontology:Q895526 . ?w rdf:type ontology:Q811979 } GROUP BY ?f } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q7374037 property:P137 ?l . ?l rdf:type ontology:Q895526 } } }
National Sports Council Finnish Transport Agency Singapore Sports Council
National Sports Council Finnish Transport Agency Singapore Sports Council
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity Royal Commission on the Ancient and Historical Monuments of Wales
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:operator ?f . ?f rdf:type ontology:authority_organ . ?w rdf:type ontology:architectural_structure } GROUP BY ?f } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Royal_Commission_on_the_Ancient_and_Historical_Monuments_of_Wales property:operator ?l . ?l rdf:type ontology:authority_organ } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q895526 Q41176
USER
How many buildings are under posessision of approximately 2 authority organs ?
(c(Q41176),P127,c(Q895526))
action count
action approx
action find_tuple_counts
relation P127
type Q41176
type Q895526
value 2
[{'concept': 'Q41176'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?p ) WHERE { ?e property:P127 ?l . ?l rdf:type ontology:Q895526 . ?e rdf:type ontology:Q41176 } GROUP BY ?e } }
action count
action approx
action find_tuple_counts
relation owned by
type building
type authority organ
value 2
[{'concept': 'building'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?p ) WHERE { ?e property:owned_by ?l . ?l rdf:type ontology:authority_organ . ?e rdf:type ontology:building } GROUP BY ?e } }
[]
authority organ building
SYSTEM
1
Q798666
(c(Q41176),P127,c(Q895526))
action count
action approx
action find_tuple_counts
relation P127
type Q41176
type Q895526
value 2
[ANSWER]
[{'concept': 'Q41176'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?p ) WHERE { ?e property:P127 ?l . ?l rdf:type ontology:Q895526 . ?e rdf:type ontology:Q41176 } GROUP BY ?e } }
Esselte building
1
action count
action approx
action find_tuple_counts
relation owned by
type building
type authority organ
value 2
[{'concept': 'building'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?p ) WHERE { ?e property:owned_by ?l . ?l rdf:type ontology:authority_organ . ?e rdf:type ontology:building } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7164971
P159
Q486972 Q895526
USER
Which human settlements are the HQ of lesser number of authority organs than Pentagon City ?
(c(Q895526),P159,c(Q486972))
action less
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_type
action find_reverse
entity Q7164971
relation P159
type Q895526
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P159 ?w . ?w rdf:type ontology:Q486972 . ?z rdf:type ontology:Q895526 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P159 resource:Q7164971 . ?a rdf:type ontology:Q895526 } } . FILTER ( ?d < ?b ) }
Pentagon City
action less
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_type
action find_reverse
entity Pentagon City
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:headquarters_location ?w . ?w rdf:type ontology:human_settlement . ?z rdf:type ontology:authority_organ } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:headquarters_location resource:Pentagon_City . ?a rdf:type ontology:authority_organ } } . FILTER ( ?d < ?b ) }
[]
human settlement authority organ
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q3936330 Q6861655 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q984542 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q105084 Q6168404 Q16083 Q16965 Q109968 Q659984 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q1319893 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q212704 Q11977 Q1183907 Q2362234 Q621847 Q290356 Q754567 Q1185880 Q610514 Q6960364 Q920538 Q104302 Q648142 Q1898575 Q659841 Q1182481 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q254221 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q944249 Q284596 Q661502 Q574451 Q1375703 Q287771 Q980034 Q2288728 Q3043091 Q1012971 Q7545295 Q186160 Q193638 Q2376972 Q1015874 Q2027935 Q2027231 Q2309447 Q261549 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 Q3171757 Q3252118 Q235135 Q235130 Q2318365 Q3886817 Q5742161 Q16898214 Q2541735 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q105048 Q957037 Q7315195 Q960480 Q468540 Q1230410 Q602896 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q2559367 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q1191048 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q5366070 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q989988 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q636358 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2375799 Q2150258 Q4082 Q1378358 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q783854 Q173813 Q1399190 Q2625576 Q1337818 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q314660 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1075077 Q1225691 Q3477026 Q3477020 Q4025753 Q645296 Q6036351 Q2543669 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q6008135 Q130711 Q2348460 Q179645 Q281527 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q56037 Q6303071 Q668224 Q6843071 Q215175 Q700211 Q3461834 Q7996274 Q1374751 Q730187 Q6859350 Q13953 Q931780 Q671259 Q755754 Q2567721 Q955820 Q11259 Q755962 Q8072422 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q701856 Q13489497 Q8969 Q486341 Q5328265 Q956022 Q1887264 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q7055628 Q696118 Q1001134 Q210205 Q30940 Q755102 Q7359443 Q427385 Q3472467 Q15022 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q3937847 Q1112702 Q995267 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q2354222 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q5336982 Q1615365 Q1375477 Q831391 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q688830 Q3505731 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q255350 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q7991947 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q2483008 Q47420 Q530920 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q2550281 Q485294 Q8082206 Q1094630 Q125293 Q3473053 Q31487 Q990179 Q1201337 Q1055692 Q991369 Q7056226 Q595153 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q106583 Q3130627 Q576617 Q232641 Q418096 Q37333 Q1665368 Q257169 Q1544785 Q308928 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q2843 Q622269 Q254861 Q1012975 Q774784 Q3347036 Q3143067 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2350905 Q2534964 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q236680 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q720644 Q14835 Q3459768 Q265071 Q599941 Q1190597 Q1190590 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q34006 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q671474 Q65388 Q2680543 Q983650 Q257130 Q755901 Q698520 Q1055 Q1916566 Q768542 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q979424 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q755615 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q2051585 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q2013767 Q41974 Q2785870 Q232635 Q232631
(c(Q895526),P159,c(Q486972))
action less
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_type
action find_reverse
entity Q7164971
relation P159
type Q895526
[ANSWERS] are the HQ of lesser number of authority organs than Pentagon City
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P159 ?w . ?w rdf:type ontology:Q486972 . ?z rdf:type ontology:Q895526 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P159 resource:Q7164971 . ?a rdf:type ontology:Q895526 } } . FILTER ( ?d < ?b ) }
Ripa di Fagnano Alto Milwaukee Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Kowloon Tong Verdi Aguascalientes Laughlin Air Force Base Don Mills Minot Air Force Base Saasen Los Alamos Offutt Air Force Base Schwaz Paradise Babelsberg Herbede Waianae Whiteman Air Force Base Potomac Gliwice Wyano Deggendorf Marina di Carrara Columbus Circle Ternitz St. Michaels Krosno Bulford Camp Bremen-Vegesack East Meadow Deutsch-Wagram Inverness Keene Świętochłowice Gibsonton Valencia Stiepel Taman Tun Dr Ismail Francis E. Warren Air Force Base Hell's Kitchen Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Chūō-ku Tychy Levittown Valhalla Merenberg San Pedro Prince Frederick Woodlyn Ferlach Nakawa Valley Ford Chorzów Rosedale Soquel Korneuburg Deer Park Luzira K. I. Sawyer Air Force Base Højbjerg Bassett Przemyśl Hollis McChord Field Schladming Plymouth Meeting Pikesville Shāre Naw Dziekanów Nowy Bergen op Zoom Sylmar Mountain Home Air Force Base Hebron Norton Manor Camp Yarmouth Port Eisenerz Mattighofen Bad Kösen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Hung Hom Lahaina Smith River Fort Irwin National Training Center Shibuya-ku Inwood Sherman Oaks McLeansville Glen Raven Vallecito Berwyn Dundalk Lohr Hewlett Asagaya Reynosa Hauppauge Broomall, Pennsylvania Bridgeport Travemünde Yūrakuchō Valldoreix Flatiron District Ichigaya Air Force Academy West Seattle Linthicum Ariake Heathrow Allenton Suhl Grissom Air Reserve Base Hinnerup Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Kita-ku Robins Air Force Base Suitland Hernandez Năvodari Harrisburg Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Słupsk Gardiner Reseda Ellsworth Air Force Base Ipanema Patrick Air Force Base North Bethesda Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode Wengern Klagenfurt Newport Center Alamo Wertheim am Main Federal Hill Niwot Catonsville Mondorf Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium West Village Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Elliston Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Playa del Carmen South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar Kensington Freedom Loretteville, Quebec City Wysogotowo Brandon Pallanza Kentfield Sterling Marine Corps Base Quantico Vejlby Flatbush Austinburg Lee Vining Toruń Saalfelden Tyndall Air Force Base Land O' Lakes Seffner Hattingen Triangle Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Tysons Corner Akasaka Landover Fort Hood Stanford Port Washington Moody Air Force Base Woodland Hills Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Neheim-Hüsten Radstadt Opole Celebration Shimanouchi Rio Grande Heven Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Chiyoda Stockdorf Oyster Bay (hamlet), New York Carle Place Żoń Kohtla-Nõmme Innsbrook West Los Angeles Parel Joint Base McGuire–Dix–Lakehurst Arboga Spring Valley Berndorf, Lower Austria Englewood Fort Drum Bludenz Włocławek Kiln Mexicali Bethpage, New York Mead HaKirya Stieldorf Shinjuku-ku Wan Chai Traun Martinsried Mission Hills Liesborn Ouagadougou East Berlin Judiciary Square Talkeetna Midtown Atlanta Kōtō-ku Steglitz Petersboro Whitestone Glen Allen Wright-Patterson Air Force Base Millers Falls Bellaterra Alzira Oberwart Greenville Clonskeagh High Ridge Times Square Elkridge Zinj, Bahrain Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Theißen Shibaura Cancún Kufstein East Earl Malmstrom Air Force Base Marine Corps Base Hawaii Sun Valley Holt Ashburn El Dorado Hills Woodbury North Hills Drewitz Hilton Head Island Pest Albert Severna Park Rogowiec, Łódź Voivodeship Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Pearl City Zabrze Frankford Elbląg East Village Fort Carson Riva Trigoso Columbine Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Crown Heights Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Edendale Ootmarsum Annandale Hesborn Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Armonk Fort Lewis Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Lackland Air Force Base Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Eglin Air Force Base Zamość Dover Air Force Base Williamsburg White City Springfield MacDill Air Force Base Over-the-Rhine Villach Pöchlarn Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Wheaton Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Chicago Loop Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Nixon Maser North Highlands Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Clinton Township Leoben Świerże Górne Clackamas Puebla City Bedford Hills Kraków Mountain View Tsukiji Milano Due Fort Bragg North Omaha Shibuya Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Bielsko-Biała Lithia Springs Scott Air Force Base Taitō-ku Akihabara Lublin Wernesgrün Fox Greenpoint Kreuzberg Devens Fort Washington Blue Bell Riverside Shinagawa-ku Lübeck Aptos Waikiki Kahului Winchester Chatsworth Studio City Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Westerland Dahlewitz Greenwich Village Nellis Air Force Base Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Hurlburt Field Halensee Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Oaxaca de Juárez Olsztyn East Palatka Redford Tailfingen Lawrenceville Fairchild Air Force Base Ostrołęka Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Klingenberg am Main Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Near West Side Lakewood (CDP), New Jersey Toshima-ku Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Asakusa Bautzen Ronkonkoma Roppongi Adlershof Long Island City Encino Denver Centretown Dessau Umm Al Hassam Warnemünde Ladson Fort Bliss Mellrichstadt Playa del Rey Nagatachō Melville Hollywood Cannon Air Force Base Brentwood Lichterfelde Kielce Holtsville Camp Lemonnier Leonding West Falls Church Flushing King of Prussia Newell Monterrey Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Germantown Liezen Hamburg Bielany Wrocławskie Andrews Field Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Lake Arrowhead Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Towson Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Stafford Holloman Air Force Base Clarksburg Foothill Ranch Turners Falls Nörten-Hardenberg Tyneside Horsham Marktheidenfeld Red Hook Bad Ischl Pemberton Perg Köpenick El Palmar de Troya Celaya Mitte Franeker Cedar Mill Itabashi-ku Suginami-ku
Hamburg, Kraków and Gdańsk are the HQ of lesser number of authority organs than Pentagon City
Hamburg Kraków Gdańsk
action less
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_type
action find_reverse
entity Pentagon City
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:headquarters_location ?w . ?w rdf:type ontology:human_settlement . ?z rdf:type ontology:authority_organ } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:headquarters_location resource:Pentagon_City . ?a rdf:type ontology:authority_organ } } . FILTER ( ?d < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3820323
P159
Q486972 Q895526
USER
And what about Crystal City?
(c(Q895526),P159,c(Q486972))
action less
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_type
action find_reverse
entity Q3820323
relation P159
type Q895526
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?s ) WHERE { ?u rdf:type ontology:Q486972 . ?f rdf:type ontology:Q895526 . ?f property:P159 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P159 resource:Q3820323 . ?k rdf:type ontology:Q895526 } } . FILTER ( ?s < ?p ) }
Crystal City
action less
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_type
action find_reverse
entity Crystal City
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?s ) WHERE { ?u rdf:type ontology:human_settlement . ?f rdf:type ontology:authority_organ . ?f property:headquarters_location ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:headquarters_location resource:Crystal_City . ?k rdf:type ontology:authority_organ } } . FILTER ( ?s < ?p ) }
[]
human settlement authority organ
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q3936330 Q6861655 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q984542 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q105084 Q6168404 Q16083 Q16965 Q109968 Q659984 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q1319893 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q212704 Q11977 Q1183907 Q2362234 Q621847 Q290356 Q754567 Q1185880 Q610514 Q6960364 Q920538 Q104302 Q648142 Q1898575 Q659841 Q1182481 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q254221 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q944249 Q284596 Q661502 Q574451 Q1375703 Q287771 Q980034 Q2288728 Q3043091 Q1012971 Q7545295 Q186160 Q193638 Q2376972 Q1015874 Q2027935 Q2027231 Q2309447 Q261549 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 Q3171757 Q3252118 Q235135 Q235130 Q2318365 Q3886817 Q5742161 Q16898214 Q2541735 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q105048 Q957037 Q7315195 Q960480 Q468540 Q1230410 Q602896 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q2559367 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q1191048 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q5366070 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q989988 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q636358 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2375799 Q2150258 Q4082 Q1378358 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q783854 Q173813 Q1399190 Q2625576 Q1337818 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q314660 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1075077 Q1225691 Q3477026 Q3477020 Q4025753 Q645296 Q6036351 Q2543669 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q6008135 Q130711 Q2348460 Q179645 Q281527 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q56037 Q6303071 Q668224 Q6843071 Q215175 Q700211 Q3461834 Q7996274 Q1374751 Q730187 Q6859350 Q13953 Q931780 Q671259 Q755754 Q2567721 Q955820 Q11259 Q755962 Q8072422 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q701856 Q13489497 Q8969 Q486341 Q5328265 Q956022 Q1887264 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q7055628 Q696118 Q1001134 Q210205 Q30940 Q755102 Q7359443 Q427385 Q3472467 Q15022 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q3937847 Q1112702 Q995267 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q2354222 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q5336982 Q1615365 Q1375477 Q831391 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q688830 Q3505731 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q255350 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q7991947 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q2483008 Q47420 Q530920 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q2550281 Q485294 Q8082206 Q1094630 Q125293 Q3473053 Q31487 Q990179 Q1201337 Q1055692 Q991369 Q7056226 Q595153 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q106583 Q3130627 Q576617 Q232641 Q418096 Q37333 Q1665368 Q257169 Q1544785 Q308928 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q2843 Q622269 Q254861 Q1012975 Q774784 Q3347036 Q3143067 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2350905 Q2534964 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q236680 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q720644 Q14835 Q3459768 Q265071 Q599941 Q1190597 Q1190590 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q34006 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q671474 Q65388 Q2680543 Q983650 Q257130 Q755901 Q698520 Q1055 Q1916566 Q768542 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q979424 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q755615 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q2051585 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q2013767 Q41974 Q2785870 Q232635 Q232631
(c(Q895526),P159,c(Q486972))
action less
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_type
action find_reverse
entity Q3820323
relation P159
type Q895526
[ANSWERS]
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?s ) WHERE { ?u rdf:type ontology:Q486972 . ?f rdf:type ontology:Q895526 . ?f property:P159 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P159 resource:Q3820323 . ?k rdf:type ontology:Q895526 } } . FILTER ( ?s < ?p ) }
Ripa di Fagnano Alto Milwaukee Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Kowloon Tong Verdi Aguascalientes Laughlin Air Force Base Don Mills Minot Air Force Base Saasen Los Alamos Offutt Air Force Base Schwaz Paradise Babelsberg Herbede Waianae Whiteman Air Force Base Potomac Gliwice Wyano Deggendorf Marina di Carrara Columbus Circle Ternitz St. Michaels Krosno Bulford Camp Bremen-Vegesack East Meadow Deutsch-Wagram Inverness Keene Świętochłowice Gibsonton Valencia Stiepel Taman Tun Dr Ismail Francis E. Warren Air Force Base Hell's Kitchen Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Chūō-ku Tychy Levittown Valhalla Merenberg San Pedro Prince Frederick Woodlyn Ferlach Nakawa Valley Ford Chorzów Rosedale Soquel Korneuburg Deer Park Luzira K. I. Sawyer Air Force Base Højbjerg Bassett Przemyśl Hollis McChord Field Schladming Plymouth Meeting Pikesville Shāre Naw Dziekanów Nowy Bergen op Zoom Sylmar Mountain Home Air Force Base Hebron Norton Manor Camp Yarmouth Port Eisenerz Mattighofen Bad Kösen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Hung Hom Lahaina Smith River Fort Irwin National Training Center Shibuya-ku Inwood Sherman Oaks McLeansville Glen Raven Vallecito Berwyn Dundalk Lohr Hewlett Asagaya Reynosa Hauppauge Broomall, Pennsylvania Bridgeport Travemünde Yūrakuchō Valldoreix Flatiron District Ichigaya Air Force Academy West Seattle Linthicum Ariake Heathrow Allenton Suhl Grissom Air Reserve Base Hinnerup Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Kita-ku Robins Air Force Base Suitland Hernandez Năvodari Harrisburg Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Słupsk Gardiner Reseda Ellsworth Air Force Base Ipanema Patrick Air Force Base North Bethesda Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode Wengern Klagenfurt Newport Center Alamo Wertheim am Main Federal Hill Niwot Catonsville Mondorf Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium West Village Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Elliston Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Playa del Carmen South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar Kensington Freedom Loretteville, Quebec City Wysogotowo Brandon Pallanza Kentfield Sterling Marine Corps Base Quantico Vejlby Flatbush Austinburg Lee Vining Toruń Saalfelden Tyndall Air Force Base Land O' Lakes Seffner Hattingen Triangle Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Tysons Corner Akasaka Landover Fort Hood Stanford Port Washington Moody Air Force Base Woodland Hills Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Neheim-Hüsten Radstadt Opole Celebration Shimanouchi Rio Grande Heven Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Chiyoda Stockdorf Oyster Bay (hamlet), New York Carle Place Żoń Kohtla-Nõmme Innsbrook West Los Angeles Parel Joint Base McGuire–Dix–Lakehurst Arboga Spring Valley Berndorf, Lower Austria Englewood Fort Drum Bludenz Włocławek Kiln Mexicali Bethpage, New York Mead HaKirya Stieldorf Shinjuku-ku Wan Chai Traun Martinsried Mission Hills Liesborn Ouagadougou East Berlin Judiciary Square Talkeetna Midtown Atlanta Kōtō-ku Steglitz Petersboro Whitestone Glen Allen Wright-Patterson Air Force Base Millers Falls Bellaterra Alzira Oberwart Greenville Clonskeagh High Ridge Times Square Elkridge Zinj, Bahrain Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Theißen Shibaura Cancún Kufstein East Earl Malmstrom Air Force Base Marine Corps Base Hawaii Sun Valley Holt Ashburn El Dorado Hills Woodbury North Hills Drewitz Hilton Head Island Pest Albert Severna Park Rogowiec, Łódź Voivodeship Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Pearl City Zabrze Frankford Elbląg East Village Fort Carson Riva Trigoso Columbine Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Crown Heights Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Edendale Ootmarsum Annandale Hesborn Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Armonk Fort Lewis Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Lackland Air Force Base Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Eglin Air Force Base Zamość Dover Air Force Base Williamsburg White City Springfield MacDill Air Force Base Over-the-Rhine Villach Pöchlarn Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Wheaton Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Chicago Loop Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Nixon Maser North Highlands Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Clinton Township Leoben Świerże Górne Clackamas Puebla City Bedford Hills Kraków Mountain View Tsukiji Milano Due Fort Bragg North Omaha Shibuya Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Bielsko-Biała Lithia Springs Scott Air Force Base Taitō-ku Akihabara Lublin Wernesgrün Fox Greenpoint Kreuzberg Devens Fort Washington Blue Bell Riverside Shinagawa-ku Lübeck Aptos Waikiki Kahului Winchester Chatsworth Studio City Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Westerland Dahlewitz Greenwich Village Nellis Air Force Base Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Hurlburt Field Halensee Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Oaxaca de Juárez Olsztyn East Palatka Redford Tailfingen Lawrenceville Fairchild Air Force Base Ostrołęka Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Klingenberg am Main Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Near West Side Lakewood (CDP), New Jersey Toshima-ku Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Asakusa Bautzen Ronkonkoma Roppongi Adlershof Long Island City Encino Denver Centretown Dessau Umm Al Hassam Warnemünde Ladson Fort Bliss Mellrichstadt Playa del Rey Nagatachō Melville Hollywood Cannon Air Force Base Brentwood Lichterfelde Kielce Holtsville Camp Lemonnier Leonding West Falls Church Flushing King of Prussia Newell Monterrey Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Germantown Liezen Hamburg Bielany Wrocławskie Andrews Field Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Lake Arrowhead Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Towson Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Stafford Holloman Air Force Base Clarksburg Foothill Ranch Turners Falls Nörten-Hardenberg Tyneside Horsham Marktheidenfeld Red Hook Bad Ischl Pemberton Perg Köpenick El Palmar de Troya Celaya Mitte Franeker Cedar Mill Itabashi-ku Suginami-ku
Hamburg Kraków Gdańsk
action less
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_type
action find_reverse
entity Crystal City
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?s ) WHERE { ?u rdf:type ontology:human_settlement . ?f rdf:type ontology:authority_organ . ?f property:headquarters_location ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:headquarters_location resource:Crystal_City . ?k rdf:type ontology:authority_organ } } . FILTER ( ?s < ?p ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q486972 Q28640 Q874405
USER
Which human settlements are the head office for around 1 professions and social groups located ?
(c(Q28640)|c(Q874405),P159,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action find_reverse_tuple_counts
relation P159
type Q486972
type Q874405
value 1
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { { ?d property:P159 ?x . ?x rdf:type ontology:Q486972 . ?d rdf:type ontology:Q28640 } UNION { ?d property:P159 ?x . ?d rdf:type ontology:Q874405 . ?x rdf:type ontology:Q486972 } } GROUP BY ?x } . FILTER ( ?s = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type social group
value 1
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { { ?d property:headquarters_location ?x . ?x rdf:type ontology:human_settlement . ?d rdf:type ontology:profession } UNION { ?d property:headquarters_location ?x . ?d rdf:type ontology:social_group . ?x rdf:type ontology:human_settlement } } GROUP BY ?x } . FILTER ( ?s = 1 ) }
[]
human settlement profession social group
Q24879 Q125293 Q106583
SYSTEM
Bremen, Puebla City, Bielsko-Biała
Q16895628 Q984542 Q6960364 Q1182481 Q254221 Q574451 Q3043091 Q1012971 Q973684 Q2559367 Q7806933 Q1191048 Q5366070 Q3177723 Q636358 Q2375799 Q1378358 Q1337818 Q314660 Q328451 Q24879 Q576781 Q2543669 Q6008135 Q56037 Q231645 Q7055628 Q15022 Q2354222 Q255350 Q7991947 Q1045310 Q2483008 Q233903 Q125293 Q106583 Q418096 Q1133576 Q254861 Q2350905 Q1375761 Q1293366 Q236680 Q720644 Q34006 Q979424 Q963138 Q2051585 Q232635
(c(Q28640)|c(Q874405),P159,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q28640
action find_reverse_tuple_counts
relation P159
type Q486972
type Q874405
value 1
[ANSWERS] are the head office for around 1 professions and social groups located
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { { ?d property:P159 ?x . ?x rdf:type ontology:Q486972 . ?d rdf:type ontology:Q28640 } UNION { ?d property:P159 ?x . ?d rdf:type ontology:Q874405 . ?x rdf:type ontology:Q486972 } } GROUP BY ?x } . FILTER ( ?s = 1 ) }
Nakasero Paradise Nakawa Deer Park Schladming Bad Kösen Hung Hom Lahaina Harleysville Wengern Timonium West Village Elliston Playa Vista Kensington Land O' Lakes Triangle Woodland Hills Neheim-Hüsten Chantilly Bremen Ueno West Los Angeles Mead East Berlin Setagaya-ku North Hills Tsim Sha Tsui Crown Heights Pöchlarn Wheaton North Point Nixon Meguro-ku Puebla City Bielsko-Biała Akihabara Fort Washington Waikiki East Palatka Fort Belvoir Teesside Toshima-ku Asakusa Hollywood Lake Arrowhead McLean Stafford Itabashi-ku
Bremen, Puebla City and Bielsko-Biała are the head office for around 1 professions and social groups located
Bremen Puebla City Bielsko-Biała
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type profession
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type social group
value 1
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { { ?d property:headquarters_location ?x . ?x rdf:type ontology:human_settlement . ?d rdf:type ontology:profession } UNION { ?d property:headquarters_location ?x . ?d rdf:type ontology:social_group . ?x rdf:type ontology:human_settlement } } GROUP BY ?x } . FILTER ( ?s = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24879
P36
Q15617994
USER
Which administrative territory has that human settlement as its capital ?
(c(Q15617994),P36,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q24879']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q24879 . ?b rdf:type ontology:Q15617994 }
Bremen
action filter_type
action find_reverse
entity Bremen
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bremen']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Bremen . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q106583
SYSTEM
Did you mean Bielsko-Biała ?
Q24879 Q125293 Q106583
(c(Q15617994),P36,Q24879) (c(Q15617994),P36,Q125293) (c(Q15617994),P36,Q106583)
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', 'Q24879'] [{'concept': 'Q15617994'}, 'P36', 'Q125293'] [{'concept': 'Q15617994'}, 'P36', 'Q106583']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q24879 . ?b rdf:type ontology:Q15617994 }
Bremen Puebla City Bielsko-Biała
Did you mean Bielsko-Biała ?
Bielsko-Biała
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bremen'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Puebla City'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bielsko-Biała']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Bremen . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Bremen. Could you tell me the answer for that?
(c(Q15617994),P36,Q24879)
Q24879
[{'concept': 'Q15617994'}, 'P36', 'Q24879']
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bremen']
[]
Q492437
SYSTEM
Bouches-du-Weser
Q492437
(c(Q15617994),P36,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P36
type Q15617994
[ANSWER] has that human settlement as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q24879']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q24879 . ?b rdf:type ontology:Q15617994 }
Bouches-du-Weser
Bouches-du-Weser has that human settlement as its capital
Bouches-du-Weser
action filter_type
action find_reverse
entity Bremen
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bremen']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Bremen . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7708996 Q1792
P190 P937
Q56061
USER
Which administrative territories are partner towns of Gdańsk or are the locations where Thaddeus M. Buczko worked ?
OR((Q1792,P190,c(Q56061)), (Q7708996,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1792
relation P190
action find
entity Q7708996
relation P937
type Q56061
{'OR': [['Q1792', 'P190', {'concept': 'Q56061'}], ['Q7708996', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q1792 property:P190 ?k } UNION { resource:Q7708996 property:P937 ?k } } }
Thaddeus M. Buczko Gdańsk
action filter_type
action union
action find
entity Gdańsk
relation sister city
action find
entity Thaddeus M. Buczko
relation work location
type administrative territorial entity
{'OR': [['Gdańsk', 'sister city', {'concept': 'administrative territorial entity'}], ['Thaddeus M. Buczko', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Gdańsk property:sister_city ?k } UNION { resource:Thaddeus_M._Buczko property:work_location ?k } } }
[]
administrative territorial entity
Q1425428 Q33959 Q26345 Q1520 Q750424 Q34370 Q1296 Q8686 Q100 Q26881
SYSTEM
Some of them are Newcastle upon Tyne, Nice, Kalmar, Astana, Navapolatsk, Rotterdam, Ghent, Shanghai, Boston, Helsingør
Q33959 Q26345 Q8686 Q38511 Q37320 Q1829 Q326577 Q1296 Q2656 Q750424 Q26881 Q1520 Q100 Q34370 Q216 Q1492 Q1874 Q1425428 Q898
OR((Q1792,P190,c(Q56061)), (Q7708996,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1792
relation P190
action find
entity Q7708996
relation P937
type Q56061
[ANSWERS] are partner towns of Gdańsk or are the locations where Thaddeus M. Buczko worked
{'OR': [['Q1792', 'P190', {'concept': 'Q56061'}], ['Q7708996', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . { { resource:Q1792 property:P190 ?k } UNION { resource:Q7708996 property:P937 ?k } } }
Nice Kalmar Shanghai Turku Cleveland Kaliningrad Bytów Ghent Palermo Navapolatsk Helsingør Astana Boston Rotterdam Vilnius Barcelona Odessa Newcastle upon Tyne Omsk
Newcastle upon Tyne, Nice, Kalmar, Astana, Navapolatsk, Rotterdam, Ghent, Shanghai, Boston and Helsingør are partner towns of Gdańsk or are the locations where Thaddeus M. Buczko worked
Newcastle upon Tyne Nice Kalmar Astana Navapolatsk Rotterdam Ghent Shanghai Boston Helsingør
action filter_type
action union
action find
entity Gdańsk
relation sister city
action find
entity Thaddeus M. Buczko
relation work location
type administrative territorial entity
{'OR': [['Gdańsk', 'sister city', {'concept': 'administrative territorial entity'}], ['Thaddeus M. Buczko', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . { { resource:Gdańsk property:sister_city ?k } UNION { resource:Thaddeus_M._Buczko property:work_location ?k } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q515 Q486972
USER
How many cities and human settlements are twin towns of that administrative territory ?
(Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1425428,P190,c(Q515)) (Q1425428,P190,c(Q486972)) (Q33959,P190,c(Q515)) (Q33959,P190,c(Q486972)) (Q26345,P190,c(Q515)) (Q26345,P190,c(Q486972)) (Q1520,P190,c(Q515)) (Q1520,P190,c(Q486972)) (Q750424,P190,c(Q515)) (Q750424,P190,c(Q486972)) (Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1296,P190,c(Q515)) (Q1296,P190,c(Q486972)) (Q8686,P190,c(Q515)) (Q8686,P190,c(Q486972)) (Q100,P190,c(Q515)) (Q100,P190,c(Q486972)) (Q26881,P190,c(Q515)) (Q26881,P190,c(Q486972))
['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1425428', 'P190', {'concept': 'Q515'}] ['Q1425428', 'P190', {'concept': 'Q486972'}] ['Q33959', 'P190', {'concept': 'Q515'}] ['Q33959', 'P190', {'concept': 'Q486972'}] ['Q26345', 'P190', {'concept': 'Q515'}] ['Q26345', 'P190', {'concept': 'Q486972'}] ['Q1520', 'P190', {'concept': 'Q515'}] ['Q1520', 'P190', {'concept': 'Q486972'}] ['Q750424', 'P190', {'concept': 'Q515'}] ['Q750424', 'P190', {'concept': 'Q486972'}] ['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1296', 'P190', {'concept': 'Q515'}] ['Q1296', 'P190', {'concept': 'Q486972'}] ['Q8686', 'P190', {'concept': 'Q515'}] ['Q8686', 'P190', {'concept': 'Q486972'}] ['Q100', 'P190', {'concept': 'Q515'}] ['Q100', 'P190', {'concept': 'Q486972'}] ['Q26881', 'P190', {'concept': 'Q515'}] ['Q26881', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q21012735 property:P190 ?z } UNION { resource:Q21012735 property:P190 ?y } UNION { resource:Q249634 property:P190 ?z } UNION { resource:Q249634 property:P190 ?y } UNION { resource:Q26345 property:P190 ?z } UNION { resource:Q26345 property:P190 ?y } UNION { resource:Q478309 property:P190 ?z } UNION { resource:Q478309 property:P190 ?y } UNION { resource:Q750424 property:P190 ?z } UNION { resource:Q750424 property:P190 ?y } UNION { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q2231485 property:P190 ?z } UNION { resource:Q2231485 property:P190 ?y } UNION { resource:Q7488397 property:P190 ?z } UNION { resource:Q7488397 property:P190 ?y } UNION { resource:Q19903577 property:P190 ?z } UNION { resource:Q19903577 property:P190 ?y } UNION { resource:Q26881 property:P190 ?z } UNION { resource:Q26881 property:P190 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q486972 }
['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'city'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'human settlement'}] ['Nice', 'sister city', {'concept': 'city'}] ['Nice', 'sister city', {'concept': 'human settlement'}] ['Kalmar', 'sister city', {'concept': 'city'}] ['Kalmar', 'sister city', {'concept': 'human settlement'}] ['Astana', 'sister city', {'concept': 'city'}] ['Astana', 'sister city', {'concept': 'human settlement'}] ['Navapolatsk', 'sister city', {'concept': 'city'}] ['Navapolatsk', 'sister city', {'concept': 'human settlement'}] ['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Ghent', 'sister city', {'concept': 'city'}] ['Ghent', 'sister city', {'concept': 'human settlement'}] ['Shanghai', 'sister city', {'concept': 'city'}] ['Shanghai', 'sister city', {'concept': 'human settlement'}] ['Boston', 'sister city', {'concept': 'city'}] ['Boston', 'sister city', {'concept': 'human settlement'}] ['Helsingør', 'sister city', {'concept': 'city'}] ['Helsingør', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Newcastle_upon_Tyne property:sister_city ?z } UNION { resource:Newcastle_upon_Tyne property:sister_city ?y } UNION { resource:Nice property:sister_city ?z } UNION { resource:Nice property:sister_city ?y } UNION { resource:Kalmar property:sister_city ?z } UNION { resource:Kalmar property:sister_city ?y } UNION { resource:Astana property:sister_city ?z } UNION { resource:Astana property:sister_city ?y } UNION { resource:Navapolatsk property:sister_city ?z } UNION { resource:Navapolatsk property:sister_city ?y } UNION { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Ghent property:sister_city ?z } UNION { resource:Ghent property:sister_city ?y } UNION { resource:Shanghai property:sister_city ?z } UNION { resource:Shanghai property:sister_city ?y } UNION { resource:Boston property:sister_city ?z } UNION { resource:Boston property:sister_city ?y } UNION { resource:Helsingør property:sister_city ?z } UNION { resource:Helsingør property:sister_city ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:human_settlement }
[]
city human settlement
Quantitative|Count|Mult. entity type|Clarification
Q1425428
SYSTEM
Did you mean Newcastle upon Tyne ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q21012735 property:P190 ?z } UNION { resource:Q21012735 property:P190 ?y } UNION { resource:Q249634 property:P190 ?z } UNION { resource:Q249634 property:P190 ?y } UNION { resource:Q26345 property:P190 ?z } UNION { resource:Q26345 property:P190 ?y } UNION { resource:Q478309 property:P190 ?z } UNION { resource:Q478309 property:P190 ?y } UNION { resource:Q750424 property:P190 ?z } UNION { resource:Q750424 property:P190 ?y } UNION { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q2231485 property:P190 ?z } UNION { resource:Q2231485 property:P190 ?y } UNION { resource:Q7488397 property:P190 ?z } UNION { resource:Q7488397 property:P190 ?y } UNION { resource:Q19903577 property:P190 ?z } UNION { resource:Q19903577 property:P190 ?y } UNION { resource:Q26881 property:P190 ?z } UNION { resource:Q26881 property:P190 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q486972 }
Did you mean Newcastle upon Tyne ?
Newcastle upon Tyne
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Newcastle_upon_Tyne property:sister_city ?z } UNION { resource:Newcastle_upon_Tyne property:sister_city ?y } UNION { resource:Nice property:sister_city ?z } UNION { resource:Nice property:sister_city ?y } UNION { resource:Kalmar property:sister_city ?z } UNION { resource:Kalmar property:sister_city ?y } UNION { resource:Astana property:sister_city ?z } UNION { resource:Astana property:sister_city ?y } UNION { resource:Navapolatsk property:sister_city ?z } UNION { resource:Navapolatsk property:sister_city ?y } UNION { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Ghent property:sister_city ?z } UNION { resource:Ghent property:sister_city ?y } UNION { resource:Shanghai property:sister_city ?z } UNION { resource:Shanghai property:sister_city ?y } UNION { resource:Boston property:sister_city ?z } UNION { resource:Boston property:sister_city ?y } UNION { resource:Helsingør property:sister_city ?z } UNION { resource:Helsingør property:sister_city ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Rotterdam. Could you tell me the answer for that?
(Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1425428,P190,c(Q515)) (Q1425428,P190,c(Q486972)) (Q33959,P190,c(Q515)) (Q33959,P190,c(Q486972)) (Q26345,P190,c(Q515)) (Q26345,P190,c(Q486972)) (Q1520,P190,c(Q515)) (Q1520,P190,c(Q486972)) (Q750424,P190,c(Q515)) (Q750424,P190,c(Q486972)) (Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1296,P190,c(Q515)) (Q1296,P190,c(Q486972)) (Q8686,P190,c(Q515)) (Q8686,P190,c(Q486972)) (Q100,P190,c(Q515)) (Q100,P190,c(Q486972)) (Q26881,P190,c(Q515)) (Q26881,P190,c(Q486972))
Q34370
['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1425428', 'P190', {'concept': 'Q515'}] ['Q1425428', 'P190', {'concept': 'Q486972'}] ['Q33959', 'P190', {'concept': 'Q515'}] ['Q33959', 'P190', {'concept': 'Q486972'}] ['Q26345', 'P190', {'concept': 'Q515'}] ['Q26345', 'P190', {'concept': 'Q486972'}] ['Q1520', 'P190', {'concept': 'Q515'}] ['Q1520', 'P190', {'concept': 'Q486972'}] ['Q750424', 'P190', {'concept': 'Q515'}] ['Q750424', 'P190', {'concept': 'Q486972'}] ['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1296', 'P190', {'concept': 'Q515'}] ['Q1296', 'P190', {'concept': 'Q486972'}] ['Q8686', 'P190', {'concept': 'Q515'}] ['Q8686', 'P190', {'concept': 'Q486972'}] ['Q100', 'P190', {'concept': 'Q515'}] ['Q100', 'P190', {'concept': 'Q486972'}] ['Q26881', 'P190', {'concept': 'Q515'}] ['Q26881', 'P190', {'concept': 'Q486972'}]
['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'city'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'human settlement'}] ['Nice', 'sister city', {'concept': 'city'}] ['Nice', 'sister city', {'concept': 'human settlement'}] ['Kalmar', 'sister city', {'concept': 'city'}] ['Kalmar', 'sister city', {'concept': 'human settlement'}] ['Astana', 'sister city', {'concept': 'city'}] ['Astana', 'sister city', {'concept': 'human settlement'}] ['Navapolatsk', 'sister city', {'concept': 'city'}] ['Navapolatsk', 'sister city', {'concept': 'human settlement'}] ['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Ghent', 'sister city', {'concept': 'city'}] ['Ghent', 'sister city', {'concept': 'human settlement'}] ['Shanghai', 'sister city', {'concept': 'city'}] ['Shanghai', 'sister city', {'concept': 'human settlement'}] ['Boston', 'sister city', {'concept': 'city'}] ['Boston', 'sister city', {'concept': 'human settlement'}] ['Helsingør', 'sister city', {'concept': 'city'}] ['Helsingør', 'sister city', {'concept': 'human settlement'}]
[]
SYSTEM
4 cities and 1 human settlements
Q1486 Q11462 Q1731 Q220445 Q1792
(Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1425428,P190,c(Q515)) (Q1425428,P190,c(Q486972)) (Q33959,P190,c(Q515)) (Q33959,P190,c(Q486972)) (Q26345,P190,c(Q515)) (Q26345,P190,c(Q486972)) (Q1520,P190,c(Q515)) (Q1520,P190,c(Q486972)) (Q750424,P190,c(Q515)) (Q750424,P190,c(Q486972)) (Q34370,P190,c(Q515)) (Q34370,P190,c(Q486972)) (Q1296,P190,c(Q515)) (Q1296,P190,c(Q486972)) (Q8686,P190,c(Q515)) (Q8686,P190,c(Q486972)) (Q100,P190,c(Q515)) (Q100,P190,c(Q486972)) (Q26881,P190,c(Q515)) (Q26881,P190,c(Q486972))
[ANSWER]
['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1425428', 'P190', {'concept': 'Q515'}] ['Q1425428', 'P190', {'concept': 'Q486972'}] ['Q33959', 'P190', {'concept': 'Q515'}] ['Q33959', 'P190', {'concept': 'Q486972'}] ['Q26345', 'P190', {'concept': 'Q515'}] ['Q26345', 'P190', {'concept': 'Q486972'}] ['Q1520', 'P190', {'concept': 'Q515'}] ['Q1520', 'P190', {'concept': 'Q486972'}] ['Q750424', 'P190', {'concept': 'Q515'}] ['Q750424', 'P190', {'concept': 'Q486972'}] ['Q34370', 'P190', {'concept': 'Q515'}] ['Q34370', 'P190', {'concept': 'Q486972'}] ['Q1296', 'P190', {'concept': 'Q515'}] ['Q1296', 'P190', {'concept': 'Q486972'}] ['Q8686', 'P190', {'concept': 'Q515'}] ['Q8686', 'P190', {'concept': 'Q486972'}] ['Q100', 'P190', {'concept': 'Q515'}] ['Q100', 'P190', {'concept': 'Q486972'}] ['Q26881', 'P190', {'concept': 'Q515'}] ['Q26881', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q21012735 property:P190 ?z } UNION { resource:Q21012735 property:P190 ?y } UNION { resource:Q249634 property:P190 ?z } UNION { resource:Q249634 property:P190 ?y } UNION { resource:Q26345 property:P190 ?z } UNION { resource:Q26345 property:P190 ?y } UNION { resource:Q478309 property:P190 ?z } UNION { resource:Q478309 property:P190 ?y } UNION { resource:Q750424 property:P190 ?z } UNION { resource:Q750424 property:P190 ?y } UNION { resource:Q417361 property:P190 ?z } UNION { resource:Q417361 property:P190 ?y } UNION { resource:Q2231485 property:P190 ?z } UNION { resource:Q2231485 property:P190 ?y } UNION { resource:Q7488397 property:P190 ?z } UNION { resource:Q7488397 property:P190 ?y } UNION { resource:Q19903577 property:P190 ?z } UNION { resource:Q19903577 property:P190 ?y } UNION { resource:Q26881 property:P190 ?z } UNION { resource:Q26881 property:P190 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q486972 }
Buenos Aires Surabaya Dresden Kuching Gdańsk
4 cities and 1 human settlements
['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'city'}] ['Newcastle upon Tyne', 'sister city', {'concept': 'human settlement'}] ['Nice', 'sister city', {'concept': 'city'}] ['Nice', 'sister city', {'concept': 'human settlement'}] ['Kalmar', 'sister city', {'concept': 'city'}] ['Kalmar', 'sister city', {'concept': 'human settlement'}] ['Astana', 'sister city', {'concept': 'city'}] ['Astana', 'sister city', {'concept': 'human settlement'}] ['Navapolatsk', 'sister city', {'concept': 'city'}] ['Navapolatsk', 'sister city', {'concept': 'human settlement'}] ['Rotterdam', 'sister city', {'concept': 'city'}] ['Rotterdam', 'sister city', {'concept': 'human settlement'}] ['Ghent', 'sister city', {'concept': 'city'}] ['Ghent', 'sister city', {'concept': 'human settlement'}] ['Shanghai', 'sister city', {'concept': 'city'}] ['Shanghai', 'sister city', {'concept': 'human settlement'}] ['Boston', 'sister city', {'concept': 'city'}] ['Boston', 'sister city', {'concept': 'human settlement'}] ['Helsingør', 'sister city', {'concept': 'city'}] ['Helsingør', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Newcastle_upon_Tyne property:sister_city ?z } UNION { resource:Newcastle_upon_Tyne property:sister_city ?y } UNION { resource:Nice property:sister_city ?z } UNION { resource:Nice property:sister_city ?y } UNION { resource:Kalmar property:sister_city ?z } UNION { resource:Kalmar property:sister_city ?y } UNION { resource:Astana property:sister_city ?z } UNION { resource:Astana property:sister_city ?y } UNION { resource:Navapolatsk property:sister_city ?z } UNION { resource:Navapolatsk property:sister_city ?y } UNION { resource:Rotterdam property:sister_city ?z } UNION { resource:Rotterdam property:sister_city ?y } UNION { resource:Ghent property:sister_city ?z } UNION { resource:Ghent property:sister_city ?y } UNION { resource:Shanghai property:sister_city ?z } UNION { resource:Shanghai property:sister_city ?y } UNION { resource:Boston property:sister_city ?z } UNION { resource:Boston property:sister_city ?y } UNION { resource:Helsingør property:sister_city ?z } UNION { resource:Helsingør property:sister_city ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q192350 Q1190554 Q895526
USER
How many authority organs are a part of atmost 3 ministries or events ?
(c(Q895526),P361,c(Q192350)|c(Q1190554))
action count
action atmost
action union
action find_tuple_counts
relation P361
type Q895526
type Q192350
action find_tuple_counts
relation P361
type Q895526
type Q1190554
value 3
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q192350'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { { ?z property:P361 ?w . ?w rdf:type ontology:Q192350 . ?z rdf:type ontology:Q895526 } UNION { ?z property:P361 ?w . ?w rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q895526 } } GROUP BY ?z } . FILTER ( ?s <= 3 ) }
action count
action atmost
action union
action find_tuple_counts
relation part of
type authority organ
type ministry
action find_tuple_counts
relation part of
type authority organ
type event
value 3
[{'concept': 'authority organ'}, 'part of', [{'concept': 'ministry'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { { ?z property:part_of ?w . ?w rdf:type ontology:ministry . ?z rdf:type ontology:authority_organ } UNION { ?z property:part_of ?w . ?w rdf:type ontology:event . ?z rdf:type ontology:authority_organ } } GROUP BY ?z } . FILTER ( ?s <= 3 ) }
[]
ministry event authority organ
SYSTEM
242
Q1009333 Q2292839 Q1191489 Q4998389 Q1851579 Q1589437 Q2743535 Q4294571 Q23700899 Q10677695 Q7251399 Q4584301 Q10658655 Q19819925 Q10701323 Q854201 Q14213 Q1227512 Q10655262 Q1799233 Q1875618 Q384242 Q10701016 Q15961203 Q4355568 Q1005416 Q10677706 Q10549070 Q5495902 Q18483981 Q2180237 Q2445509 Q1670860 Q7921708 Q19828545 Q69968 Q15984844 Q9134365 Q8079265 Q7654827 Q6971056 Q7061045 Q3259709 Q12333322 Q3173114 Q10677697 Q3371373 Q11144 Q8437714 Q13012489 Q909090 Q10621662 Q6971388 Q3778860 Q7283877 Q6970210 Q1416884 Q20829648 Q631844 Q2983328 Q2304163 Q5185227 Q13022689 Q206862 Q11983971 Q10690203 Q193755 Q7891195 Q2462220 Q10405389 Q474816 Q16304226 Q218707 Q1354321 Q3406485 Q2029358 Q198678 Q7923618 Q1408870 Q10416979 Q20853538 Q740574 Q190816 Q7079331 Q10416970 Q2986525 Q10638606 Q11888560 Q10690573 Q1977218 Q7654606 Q206946 Q1006223 Q6971083 Q16128627 Q1172261 Q13384978 Q14944295 Q10436166 Q2512489 Q4411912 Q7654686 Q4577772 Q953058 Q15278226 Q674113 Q4683474 Q692173 Q10677686 Q16434268 Q10482004 Q316296 Q327333 Q6972720 Q5531666 Q5308010 Q3357871 Q8727648 Q10536287 Q16933548 Q10547348 Q6763989 Q4585222 Q10677795 Q10475844 Q15942108 Q10635976 Q20191826 Q22959610 Q5251219 Q1480245 Q3359282 Q1354730 Q828518 Q1788830 Q5589338 Q2153029 Q7216254 Q918384 Q20711037 Q206634 Q2367258 Q10658535 Q10677726 Q1450662 Q192350 Q1802122 Q10709560 Q10505446 Q7079279 Q18762396 Q10650489 Q16251481 Q5589009 Q6504948 Q6573171 Q10658525 Q1595322 Q19828505 Q3480437 Q10670401 Q18388399 Q3155127 Q18125492 Q1259952 Q10926033 Q7654780 Q905379 Q2369041 Q3370919 Q4998361 Q6019257 Q10677716 Q15441423 Q10484099 Q10677718 Q2572330 Q7889463 Q3881026 Q10709720 Q2826641 Q2324548 Q10416948 Q1010549 Q24008253 Q10717720 Q10713433 Q3398800 Q7395171 Q3308934 Q878087 Q4998396 Q7889793 Q895355 Q2550202 Q1879124 Q10495784 Q18335798 Q10544771 Q7654818 Q18612054 Q10498149 Q10651177 Q3477339 Q2182976 Q3375451 Q3349554 Q21512617 Q4148745 Q18335826 Q15209927 Q1677108 Q7632057 Q10553309 Q3357506 Q784271 Q6971047 Q20857085 Q19828520 Q4708529 Q2984911 Q10579266 Q10591748 Q3522446 Q807013 Q2976522 Q7061065 Q10591756 Q1923667 Q4329294 Q7864856 Q10591752 Q7079368 Q23497869 Q2799845 Q5162434 Q10677733 Q1359213 Q15811618 Q10623228 Q836916 Q1125991
(c(Q895526),P361,c(Q192350)|c(Q1190554))
action count
action atmost
action union
action find_tuple_counts
relation P361
type Q895526
type Q192350
action find_tuple_counts
relation P361
type Q895526
type Q1190554
value 3
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q192350'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { { ?z property:P361 ?w . ?w rdf:type ontology:Q192350 . ?z rdf:type ontology:Q895526 } UNION { ?z property:P361 ?w . ?w rdf:type ontology:Q1190554 . ?z rdf:type ontology:Q895526 } } GROUP BY ?z } . FILTER ( ?s <= 3 ) }
Bundeszollverwaltung National Agency for Education Department of the Prime Minister and Cabinet Bureau of International Labor Affairs Secretariat of the Central Committee of the Communist Party of the Soviet Union Department of Peacekeeping Operations Roads and Traffic Agency Secretariat for Administration and Justice Commissary General of Musters Swedish National Maritime Museums Protectorate of Emigrants Pakistan BIBSYS Swedish European Social Fund Council Flanders Geographical Information Agency Swedish Transport Agency district mayor United States Secretary of State Directorate General for Civil Aviation National Police Board Swedish Broadcasting Commission aviation authority Nordic Africa Institute Transport Analysis National Institute on Disability and Rehabilitation Research Swedish Governmental Agency for Innovation Systems federal agency Swedish Population Address Register Board Swedish Emergency Management Agency Legal, Financial and Administrative Services Agency National Center for Risk and Disasters Management Center for the Promotion of Imports Swedish Defence Research Agency Swedish International Development Cooperation Agency Vermont Department of Liquor Control Separate Operating Agency General Register Office 18F Monarch of the United Kingdom Østfold kollektivtrafikk Swedish Research Council National Board of Health and Welfare Norwegian Centre for Violence and Traumatic Stress Studies Los Angeles County Sheriff's Department Court of Lyngby Flemish Agency for Care and Health Swedish Media Council Swedish Defence Recruitment Agency Associate Justice of the Supreme Court of the United States National Public Art Council Department of Provincial Administration National Property Board Swedish Patent and Registration Office National Center for the Analysis of Violent Crime High Court Rail Accident Investigation Branch National Agency for Higher Education Fine Arts Department South Dakota Game, Fish and Parks Swedish National Heritage Board Swedish Meteorological and Hydrological Institute Transportation Security Administration Crime Victim Compensation and Support Authority Office of the Permanent Secretary for Interior Zivilkammer Gender Equality Ombud Swedish Agency for Accessible Media United States Geological Survey United States President's Council of Advisors on Science and Technology Agency for Innovation by Science and Technology Alcoholic Beverages Product Range Board Geological Survey of Sweden Royal Thai Army Ordnance Department Zollkommissariat Swedish Integration Board Swedish Prosecution Authority Code enforcement Swedish Radiation Safety Authority Veterans Health Administration Office of Research and Development Rijkswaterstaat Swedish Work Environment Authority federal authority General Court Central Office for Jewish Emigration Office of the Administrative Assistant to the Secretary of the Army National Labour Market Board Sociaal en Cultureel Planbureau Press Subsidies Council National Police Board Dental and Pharmaceutical Benefits Agency NV De Scheepvaart Swedish Board of Agriculture Zivilstandsamt BfR - Federal Institute for Risk Assessment Swedish Board for Study Support Office of the Chief Scientist Data Inspection Board Landgericht Federal Agency Swedish National Council for Crime Prevention Flemish Environment Agency Swedish Agency for Non-Proliferation and Export Controls National Fortifications Administration Swedish Enforcement Authority National Library of Sweden Swedish Higher Education Authority United States Fish and Wildlife Service Administrative Office of the United States Courts Bureau for Economic Policy Analysis National Board of Institutional Care The Botanical Garden Organization, Thailand National Electrical Safety Board Deutsche Post of the GDR government agency National Food Agency General Administration of Press and Publication Driver and Vehicle Licensing Agency Swedish Economic Crime Authority regional state archives International Programme Office for Education and Training NHS Scotland National Board of Trade Marine Accident Investigation Branch Swedish Migration Board Swedish Agency for Public Management Swedish National Courts Administration Narcotics Division Swedish Polar Research Secretariat Cabinet Office National Wildlife Refuge System Defence Materiel Administration National Defence Radio Establishment Swedish Accident Investigation Board Hauptzollamt Institut national de physique nucléaire et de physique des particules Swedish Consumer Agency Government of Vietnam Swedish Travelling Exhibitions Chancellor of Justice Swedish Road Administration South Dakota Legislative Research Council Court of Common Pleas Netherlands Environmental Assessment Agency National Board of Forensic Medicine National Government Employee Pensions Board Government of France ministry German state agency National Board for Youth Affairs National Rural Development Agency Office of Nuclear Energy Maharashtra State Warehousing Corporation Swedish Government Offices National Health Service in England Government Office for Science Tourism Authority of Thailand Danish Geodata Agency National Legal Aid Authority Department of Justice Field Operating Agency United States Foreign Service Swedish Forest Agency Telangana Department of Agriculture Flemish Agency for Disabled Persons Hawks Drug Commissioner of the Federal Government State Administration of Press National Financial Management Authority State Administration for Religious Affairs Netherlands Government Information Service Swedish Agency for Economic and Regional Growth Bureau of Counterterrorism India Board National Government Service Centre Department of Local Administration Swedish Energy Agency National Claims Adjustment Board Ministry of education (France) United States Army Center of Military History Office of the Comptroller of the Currency Swedish Council for Higher Education executive agency National Historical Museums Swedish Agency for Government Employers Bureau of Ships Agency for Inspection and Restoration of Monuments in Moldova Swedish National Service Administration Water District Authorities Ministry of Presidency, Civil Service and Justice Swedish Board for Accreditation and  Conformity Assessment state court Haus der Bayerischen Geschichte Bureau of Legislative Affairs United States District Court for the District of Utah National Board of Housing, Building and Planning Department of Culture, Youth, Sport and Media Medical Products Agency National Board of Fisheries MFA Montenegro's Directorate General for European Integration Swedish Chemicals Agency Swedish Post and Telecom Agency Gabonese Defense Forces Swedish Council for Working Life and Social Research Travel Guarantees Board Secrétariat général du gouvernement Bloso Swedish National Debt Office Central Office for the Prevention of Illegal Working Delegation of Information and Communication Greek National Tourism Organization Office for assistance to the Chief Negotiator Swedish Competition Authority Swedish Transport Administration Substance Abuse and Mental Health Services Administration legislative house Safety Investigation Authority diplomatic service National Board for Consumer Complaints state agency of the United States Direct Reporting Unit Alaska Department of Health and Social Services Council of State National Mediation Office Swedish Intercountry Adoptions Authority Flanders Investment and Trade Swedish National Rail Administration Swedish Environmental Protection Agency Swedish Prison and Probation Service Swedish National Agency for Higher Vocational Education Waterwegen en Zeekanaal regional committee of CPSU UK Debt Management Office Swedish Broadcasting Authority Office of the Historian Michigan Liquor Control Commission Immigration and Naturalisation Service Office of Religious Freedom National Veterinary Institute Saeculum obscurum Directorate-General for Energy Swedish Pensions Agency Swedish Tax Agency Congressional Budget Office
242
action count
action atmost
action union
action find_tuple_counts
relation part of
type authority organ
type ministry
action find_tuple_counts
relation part of
type authority organ
type event
value 3
[{'concept': 'authority organ'}, 'part of', [{'concept': 'ministry'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { { ?z property:part_of ?w . ?w rdf:type ontology:ministry . ?z rdf:type ontology:authority_organ } UNION { ?z property:part_of ?w . ?w rdf:type ontology:event . ?z rdf:type ontology:authority_organ } } GROUP BY ?z } . FILTER ( ?s <= 3 ) }
[]