Simple Question (Direct)
Simple Question
Q1612763
P20
Q15617994
USER
Where did the demise of Ugo Ceresa occur ?
(Q1612763,P20,c(Q15617994))
action filter_type
action find
entity Q1612763
relation P20
type Q15617994
['Q1612763', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1612763 property:P20 ?y . ?y rdf:type ontology:Q15617994 }
Ugo Ceresa
action filter_type
action find
entity Ugo Ceresa
relation place of death
type designation for an administrative territorial entity
['Ugo Ceresa', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ugo_Ceresa property:place_of_death ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q16333
SYSTEM
Casale Monferrato
Q16333
(Q1612763,P20,c(Q15617994))
action filter_type
action find
entity Q1612763
relation P20
type Q15617994
The demise of Ugo Ceresa occurred in [ANSWER]
['Q1612763', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1612763 property:P20 ?y . ?y rdf:type ontology:Q15617994 }
Casale Monferrato
The demise of Ugo Ceresa occurred in Casale Monferrato
Casale Monferrato
action filter_type
action find
entity Ugo Ceresa
relation place of death
type designation for an administrative territorial entity
['Ugo Ceresa', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ugo_Ceresa property:place_of_death ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16333
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
(c(Q43229),P159,Q16333)
action filter_type
action find_reverse
entity Q16333
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q16333']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q16333 . ?w rdf:type ontology:Q43229 }
Casale Monferrato
action filter_type
action find_reverse
entity Casale Monferrato
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Casale Monferrato']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Casale_Monferrato . ?w rdf:type ontology:organization }
[]
organization
Q1018375 Q2015837
SYSTEM
Buzzi Unicem, Officine Meccaniche Giovanni Cerutti
Q1018375 Q2015837
(c(Q43229),P159,Q16333)
action filter_type
action find_reverse
entity Q16333
relation P159
type Q43229
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q16333']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q16333 . ?w rdf:type ontology:Q43229 }
Buzzi Unicem Officine Meccaniche Giovanni Cerutti
Buzzi Unicem and Officine Meccaniche Giovanni Cerutti have their head office location at that administrative territory
Buzzi Unicem Officine Meccaniche Giovanni Cerutti
action filter_type
action find_reverse
entity Casale Monferrato
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Casale Monferrato']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Casale_Monferrato . ?w rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q233385 Q1612763
P27
Q15617994
USER
Which administrative territories are Ugo Ceresa or Sooyoung an inhabitant of ?
OR((Q1612763,P27,c(Q15617994)), (Q233385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1612763
relation P27
action find
entity Q233385
relation P27
type Q15617994
{'OR': [['Q1612763', 'P27', {'concept': 'Q15617994'}], ['Q233385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?e property:P27 ?t . VALUES ( ?e ) { ( resource:Q1612763 ) ( resource:Q233385 ) } } . ?t rdf:type ontology:Q15617994 }
Sooyoung Ugo Ceresa
action filter_type
action union
action find
entity Ugo Ceresa
relation country of citizenship
action find
entity Sooyoung
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ugo Ceresa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sooyoung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?e property:country_of_citizenship ?t . VALUES ( ?e ) { ( resource:Ugo_Ceresa ) ( resource:Sooyoung ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q884
SYSTEM
Italy, South Korea
Q38 Q884
OR((Q1612763,P27,c(Q15617994)), (Q233385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1612763
relation P27
action find
entity Q233385
relation P27
type Q15617994
[ANSWERS] are Ugo Ceresa or Sooyoung an inhabitant of
{'OR': [['Q1612763', 'P27', {'concept': 'Q15617994'}], ['Q233385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?e property:P27 ?t . VALUES ( ?e ) { ( resource:Q1612763 ) ( resource:Q233385 ) } } . ?t rdf:type ontology:Q15617994 }
Italy South Korea
Italy and South Korea are Ugo Ceresa or Sooyoung an inhabitant of
Italy South Korea
action filter_type
action union
action find
entity Ugo Ceresa
relation country of citizenship
action find
entity Sooyoung
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ugo Ceresa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sooyoung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?e property:country_of_citizenship ?t . VALUES ( ?e ) { ( resource:Ugo_Ceresa ) ( resource:Sooyoung ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8025861
P530
Q15617994
USER
Do Winnsboro Independent School District have diplomatic relations with those ones ?
(Q8025861,P530,Q38) (Q8025861,P530,Q884)
action is_in
entity prev_answer
action find
entity Q8025861
relation P530
['Q8025861', 'P530', 'Q38'] ['Q8025861', 'P530', 'Q884']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q884 ) } . resource:Q8025861 property:P530 ?m }
Winnsboro Independent School District
action is_in
entity prev_answer
action find
entity Winnsboro Independent School District
relation diplomatic relation
['Winnsboro Independent School District', 'diplomatic relation', 'Italy'] ['Winnsboro Independent School District', 'diplomatic relation', 'South Korea']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:South_Korea ) } . resource:Winnsboro_Independent_School_District property:diplomatic_relation ?m }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q8025861,P530,Q38) (Q8025861,P530,Q884)
action is_in
entity prev_answer
action find
entity Q8025861
relation P530
[ANSWER]
['Q8025861', 'P530', 'Q38'] ['Q8025861', 'P530', 'Q884']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q884 ) } . resource:Q8025861 property:P530 ?m }
No
action is_in
entity prev_answer
action find
entity Winnsboro Independent School District
relation diplomatic relation
['Winnsboro Independent School District', 'diplomatic relation', 'Italy'] ['Winnsboro Independent School District', 'diplomatic relation', 'South Korea']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:South_Korea ) } . resource:Winnsboro_Independent_School_District property:diplomatic_relation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P127
Q811979
USER
Which architectural structure is owned by South Korea ?
(c(Q811979),P127,Q884)
action filter_type
action find_reverse
entity Q884
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q884']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q811979 . ?n property:P127 resource:Q884 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'South Korea']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:architectural_structure . ?n property:owned_by resource:South_Korea }
[]
architectural structure
Q5624070
SYSTEM
Gyeongju Tower
Q5624070
(c(Q811979),P127,Q884)
action filter_type
action find_reverse
entity Q884
relation P127
type Q811979
[ANSWER] is owned by South Korea
[{'concept': 'Q811979'}, 'P127', 'Q884']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q811979 . ?n property:P127 resource:Q884 }
Gyeongju Tower
Gyeongju Tower is owned by South Korea
Gyeongju Tower
action filter_type
action find_reverse
entity South Korea
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'South Korea']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:architectural_structure . ?n property:owned_by resource:South_Korea }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5624070
P17
Q15617994
USER
Which administrative territory is that architectural structure present in ?
(Q5624070,P17,c(Q15617994))
action filter_type
action find
entity Q5624070
relation P17
type Q15617994
['Q5624070', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5624070 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Gyeongju Tower
action filter_type
action find
entity Gyeongju Tower
relation country
type designation for an administrative territorial entity
['Gyeongju Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Gyeongju_Tower property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q5624070,P17,c(Q15617994))
action filter_type
action find
entity Q5624070
relation P17
type Q15617994
That architectural structure is from [ANSWER]
['Q5624070', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5624070 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
South Korea
That architectural structure is from South Korea
South Korea
action filter_type
action find
entity Gyeongju Tower
relation country
type designation for an administrative territorial entity
['Gyeongju Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Gyeongju_Tower property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884
P36
Q515
USER
Which city is known as the capital of that administrative territory ?
(Q884,P36,c(Q515))
action filter_type
action find
entity Q884
relation P36
type Q515
['Q884', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q515 . resource:Q884 property:P36 ?e }
South Korea
action filter_type
action find
entity South Korea
relation capital
type city
['South Korea', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:city . resource:South_Korea property:capital ?e }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(Q884,P36,c(Q515))
action filter_type
action find
entity Q884
relation P36
type Q515
[ANSWER] is known as the capital of that administrative territory
['Q884', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q515 . resource:Q884 property:P36 ?e }
Seoul
Seoul is known as the capital of that administrative territory
Seoul
action filter_type
action find
entity South Korea
relation capital
type city
['South Korea', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:city . resource:South_Korea property:capital ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q210551
Q515
USER
And how about Viceroyalty of the Río de la Plata?
(Q210551,P36,c(Q515))
action filter_type
action find
entity Q210551
relation P36
type Q515
['Q210551', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q210551 property:P36 ?z . ?z rdf:type ontology:Q515 }
Viceroyalty of the Río de la Plata
action filter_type
action find
entity Viceroyalty of the Río de la Plata
relation capital
type city
['Viceroyalty of the Río de la Plata', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Viceroyalty_of_the_Río_de_la_Plata property:capital ?z . ?z rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q210551,P36,c(Q515))
action filter_type
action find
entity Q210551
relation P36
type Q515
[ANSWER]
['Q210551', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q210551 property:P36 ?z . ?z rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires
action filter_type
action find
entity Viceroyalty of the Río de la Plata
relation capital
type city
['Viceroyalty of the Río de la Plata', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Viceroyalty_of_the_Río_de_la_Plata property:capital ?z . ?z rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2966
P206
Q15324 Q355304 Q515
USER
How many cities are situated in the neighbourhood of greater number of bodies of water or watercourses than Heidelberg ?
(c(Q515),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q15324
action find_tuple_counts
relation P206
type Q515
type Q355304
action count
action filter_multi_types
action find
entity Q2966
relation P206
type Q15324
type Q355304
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q2966 property:P206 ?i . { VALUES ( ?u ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?i rdf:type ?u } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?d ) WHERE { { ?b rdf:type ontology:Q15324 . ?q rdf:type ontology:Q515 . ?q property:P206 ?b } UNION { ?q property:P206 ?b . ?q rdf:type ontology:Q515 . ?b rdf:type ontology:Q355304 } } GROUP BY ?q } }
Heidelberg
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type body of water
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action count
action filter_multi_types
action find
entity Heidelberg
relation located next to body of water
type body of water
type watercourse
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Heidelberg property:located_next_to_body_of_water ?i . { VALUES ( ?u ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?i rdf:type ?u } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?d ) WHERE { { ?b rdf:type ontology:body_of_water . ?q rdf:type ontology:city . ?q property:located_next_to_body_of_water ?b } UNION { ?q property:located_next_to_body_of_water ?b . ?q rdf:type ontology:city . ?b rdf:type ontology:watercourse } } GROUP BY ?q } }
[]
body of water watercourse city
SYSTEM
30
Q1410 Q3075 Q1865 Q19689 Q3004 Q1461 Q2865 Q1711 Q2978 Q2973 Q1773 Q14821 Q819587 Q1761 Q4007 Q2706 Q7070 Q2749 Q4174 Q1209 Q3750 Q3126 Q3042 Q3046 Q3936 Q2936 Q2100 Q1731 Q2119 Q1720
(c(Q515),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q15324
action find_tuple_counts
relation P206
type Q515
type Q355304
action count
action filter_multi_types
action find
entity Q2966
relation P206
type Q15324
type Q355304
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q2966 property:P206 ?i . { VALUES ( ?u ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?i rdf:type ?u } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?d ) WHERE { { ?b rdf:type ontology:Q15324 . ?q rdf:type ontology:Q515 . ?q property:P206 ?b } UNION { ?q property:P206 ?b . ?q rdf:type ontology:Q515 . ?b rdf:type ontology:Q355304 } } GROUP BY ?q } }
Gibraltar Fürth Kuala Lumpur Tirana Ingolstadt Manila Kassel Potsdam Regensburg Darmstadt Riga Coburg Noshiro Dublin Rosenheim Bremerhaven Eisenach Augsburg Emden Free Hanseatic City of Bremen Gera Erlangen Offenbach am Main Pforzheim Bamberg Oldenburg Duisburg Dresden Mannheim Mainz
30
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type body of water
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action count
action filter_multi_types
action find
entity Heidelberg
relation located next to body of water
type body of water
type watercourse
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Heidelberg property:located_next_to_body_of_water ?i . { VALUES ( ?u ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?i rdf:type ?u } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?d ) WHERE { { ?b rdf:type ontology:body_of_water . ?q rdf:type ontology:city . ?q property:located_next_to_body_of_water ?b } UNION { ?q property:located_next_to_body_of_water ?b . ?q rdf:type ontology:city . ?b rdf:type ontology:watercourse } } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2100
P206
Q15324 Q355304 Q515
USER
And how about Duisburg?
(c(Q515),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q15324
action find_tuple_counts
relation P206
type Q515
type Q355304
action count
action filter_multi_types
action find
entity Q2100
relation P206
type Q15324
type Q355304
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?n WHERE { { ?n property:P206 ?f . ?n rdf:type ontology:Q515 . ?f rdf:type ontology:Q15324 } UNION { ?n property:P206 ?f . ?n rdf:type ontology:Q515 . ?f rdf:type ontology:Q355304 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q2100 property:P206 ?y . { { ?y rdf:type ontology:Q15324 } UNION { ?y rdf:type ontology:Q355304 } } } } . FILTER ( ?t > ?q ) }
Duisburg
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type body of water
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action count
action filter_multi_types
action find
entity Duisburg
relation located next to body of water
type body of water
type watercourse
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?n WHERE { { ?n property:located_next_to_body_of_water ?f . ?n rdf:type ontology:city . ?f rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?f . ?n rdf:type ontology:city . ?f rdf:type ontology:watercourse } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Duisburg property:located_next_to_body_of_water ?y . { { ?y rdf:type ontology:body_of_water } UNION { ?y rdf:type ontology:watercourse } } } } . FILTER ( ?t > ?q ) }
[]
body of water watercourse city
SYSTEM
3
Q2865 Q1711 Q1731
(c(Q515),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q15324
action find_tuple_counts
relation P206
type Q515
type Q355304
action count
action filter_multi_types
action find
entity Q2100
relation P206
type Q15324
type Q355304
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?n WHERE { { ?n property:P206 ?f . ?n rdf:type ontology:Q515 . ?f rdf:type ontology:Q15324 } UNION { ?n property:P206 ?f . ?n rdf:type ontology:Q515 . ?f rdf:type ontology:Q355304 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q2100 property:P206 ?y . { { ?y rdf:type ontology:Q15324 } UNION { ?y rdf:type ontology:Q355304 } } } } . FILTER ( ?t > ?q ) }
Kassel Potsdam Dresden
3
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type body of water
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action count
action filter_multi_types
action find
entity Duisburg
relation located next to body of water
type body of water
type watercourse
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?n WHERE { { ?n property:located_next_to_body_of_water ?f . ?n rdf:type ontology:city . ?f rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?f . ?n rdf:type ontology:city . ?f rdf:type ontology:watercourse } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Duisburg property:located_next_to_body_of_water ?y . { { ?y rdf:type ontology:body_of_water } UNION { ?y rdf:type ontology:watercourse } } } } . FILTER ( ?t > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q45
P1376
Q15617994 Q515
USER
How many administrative territories have approximately the same number of cities as their capital as Portugal ?
(c(Q515),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q45
relation P1376
type Q15617994
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q45 property:P1376 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1376 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q515 } GROUP BY ?r } }
Portugal
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Portugal
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Portugal property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:city } GROUP BY ?r } }
[]
designation for an administrative territorial entity city
SYSTEM
462
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q3259 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q3286 Q3528124 Q2719360 Q1243 Q945 Q3266 Q3105 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q1232680 Q12789 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q3044651 Q3044715 Q176 Q12816 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q710 Q3044777 Q2900529 Q12770 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q598193 Q227 Q30650 Q223 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q12679 Q30815 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q515),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q45
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q45 property:P1376 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1376 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q515 } GROUP BY ?r } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Cantal Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Loiret Vendée Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Loire Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Cher Tibre Duchy of Luxembourg Veneto Togo Charente Vosges Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Ithaque Var Montenotte Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad Louverture Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Charente-Maritime Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Kiribati Nord Bezirk Lothringen Somme Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Apennins Azerbaijan New Valley Governorate Greenland Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
462
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Portugal
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Portugal property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:city } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q218
P1376
Q15617994 Q515
USER
And what about Romania?
(c(Q515),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q218
relation P1376
type Q15617994
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P1376 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q515 } GROUP BY ?w } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q218 property:P1376 ?n . ?n rdf:type ontology:Q15617994 } } }
Romania
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Romania
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:city } GROUP BY ?w } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Romania property:capital_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity city
SYSTEM
64
Q414 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q218
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P1376 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q515 } GROUP BY ?w } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q218 property:P1376 ?n . ?n rdf:type ontology:Q15617994 } } }
Argentina Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
64
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Romania
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:city } GROUP BY ?w } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Romania property:capital_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q958
P194
Q701632 Q11204 Q15617994
USER
How many administrative territories have approximately the same number of municipal councils and legislatures as their representative body as South Sudan ?
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q958
relation P194
type Q701632
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q958 property:P194 ?e . { { ?e rdf:type ontology:Q701632 } UNION { ?e rdf:type ontology:Q11204 } } } } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?m WHERE { { ?m property:P194 ?a . ?m rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q701632 } UNION { ?m property:P194 ?a . ?m rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11204 } } GROUP BY ?m } }
South Sudan
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity South Sudan
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:South_Sudan property:legislative_body ?e . { { ?e rdf:type ontology:municipal_council } UNION { ?e rdf:type ontology:legislature } } } } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?m WHERE { { ?m property:legislative_body ?a . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:municipal_council } UNION { ?m property:legislative_body ?a . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:legislature } } GROUP BY ?m } }
[]
municipal council legislature designation for an administrative territorial entity
SYSTEM
54
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q958
relation P194
type Q701632
type Q11204
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q958 property:P194 ?e . { { ?e rdf:type ontology:Q701632 } UNION { ?e rdf:type ontology:Q11204 } } } } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?m WHERE { { ?m property:P194 ?a . ?m rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q701632 } UNION { ?m property:P194 ?a . ?m rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q11204 } } GROUP BY ?m } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
54
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity South Sudan
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:South_Sudan property:legislative_body ?e . { { ?e rdf:type ontology:municipal_council } UNION { ?e rdf:type ontology:legislature } } } } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?m WHERE { { ?m property:legislative_body ?a . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:municipal_council } UNION { ?m property:legislative_body ?a . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:legislature } } GROUP BY ?m } }
[]