Simple Question (Direct)
Simple Question
Q67664
P47
Q15617994
USER
Which administrative territories are adjacent to Onsernone ?
(Q67664,P47,c(Q15617994))
action filter_type
action find
entity Q67664
relation P47
type Q15617994
['Q67664', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q67664 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Onsernone
action filter_type
action find
entity Onsernone
relation shares border with
type designation for an administrative territorial entity
['Onsernone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Onsernone property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q23314 Q23690
SYSTEM
Craveggia, Re
Q23314 Q23690
(Q67664,P47,c(Q15617994))
action filter_type
action find
entity Q67664
relation P47
type Q15617994
[ANSWERS] are adjacent to Onsernone
['Q67664', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q67664 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Craveggia Re
Craveggia and Re are adjacent to Onsernone
Craveggia Re
action filter_type
action find
entity Onsernone
relation shares border with
type designation for an administrative territorial entity
['Onsernone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Onsernone property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23314
P19
Q502895
USER
Which people have birthplace at that administrative territory ?
(c(Q502895),P19,Q23314)
action filter_type
action find_reverse
entity Q23314
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q23314']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q23314 . ?e rdf:type ontology:Q502895 }
Craveggia
action filter_type
action find_reverse
entity Craveggia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Craveggia']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Craveggia . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q23314
SYSTEM
Did you mean Craveggia ?
Q23314 Q23690
(c(Q502895),P19,Q23314) (c(Q502895),P19,Q23690)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q23314'] [{'concept': 'Q502895'}, 'P19', 'Q23690']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q23314 . ?e rdf:type ontology:Q502895 }
Craveggia Re
Did you mean Craveggia ?
Craveggia
[{'concept': 'common name'}, 'place of birth', 'Craveggia'] [{'concept': 'common name'}, 'place of birth', 'Re']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Craveggia . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q23314)
[{'concept': 'Q502895'}, 'P19', 'Q23314']
[{'concept': 'common name'}, 'place of birth', 'Craveggia']
[]
Q16240506 Q3659361 Q368313
SYSTEM
Giuseppe Mattia Borgnis, Carlo Fornara, Pierre Marie Barthélemy Ferino
Q16240506 Q3659361 Q368313
(c(Q502895),P19,Q23314)
action filter_type
action find_reverse
entity Q23314
relation P19
type Q502895
[ANSWERS] have birthplace at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q23314']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q23314 . ?e rdf:type ontology:Q502895 }
Giuseppe Mattia Borgnis Carlo Fornara Pierre Marie Barthélemy Ferino
Giuseppe Mattia Borgnis, Carlo Fornara and Pierre Marie Barthélemy Ferino have birthplace at that administrative territory
Giuseppe Mattia Borgnis Carlo Fornara Pierre Marie Barthélemy Ferino
action filter_type
action find_reverse
entity Craveggia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Craveggia']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Craveggia . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19630255
P3091
Q502895 Q3745054 Q502895
USER
Which people rides on a approximately the same number of people or horse breeds as Léopold Verroken ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q19630255
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?l rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q19630255 property:P3091 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q3745054 } } } } . FILTER ( ?m = ?u ) }
Léopold Verroken
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Léopold Verroken
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { VALUES ( ?e ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?l rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Léopold_Verroken property:mount ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:horse_breed } } } } . FILTER ( ?m = ?u ) }
[]
common name horse breed common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q19630255
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?l rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q19630255 property:P3091 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q3745054 } } } } . FILTER ( ?m = ?u ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito, Philippe Leclerc de Hauteclocque and Anne, Princess Royal ride on a approximately the same number of people or horse breeds as Léopold Verroken
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Léopold Verroken
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?k WHERE { VALUES ( ?e ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?l rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Léopold_Verroken property:mount ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:horse_breed } } } } . FILTER ( ?m = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23314 Q16141
P47
Q15617994
USER
How many administrative territories have a shared border with Craveggia or Osterholz-Scharmbeck ?
(Q23314,P47,c(Q15617994)) (Q16141,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q23314
relation P47
type Q15617994
action filter_type
action find
entity Q16141
relation P47
type Q15617994
['Q23314', 'P47', {'concept': 'Q15617994'}] ['Q16141', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { resource:Q16141 property:P47 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q23314 property:P47 ?o . ?o rdf:type ontology:Q15617994 } }
Craveggia Osterholz-Scharmbeck
action count
action union
action filter_type
action find
entity Craveggia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Osterholz-Scharmbeck
relation shares border with
type designation for an administrative territorial entity
['Craveggia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Osterholz-Scharmbeck', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { resource:Osterholz-Scharmbeck property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Craveggia property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
5
Q23617 Q23695 Q23703 Q23732 Q23690
(Q23314,P47,c(Q15617994)) (Q16141,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q23314
relation P47
type Q15617994
action filter_type
action find
entity Q16141
relation P47
type Q15617994
[ANSWER]
['Q23314', 'P47', {'concept': 'Q15617994'}] ['Q16141', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { resource:Q16141 property:P47 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q23314 property:P47 ?o . ?o rdf:type ontology:Q15617994 } }
Malesco Santa Maria Maggiore Toceno Villette Re
5
action count
action union
action filter_type
action find
entity Craveggia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Osterholz-Scharmbeck
relation shares border with
type designation for an administrative territorial entity
['Craveggia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Osterholz-Scharmbeck', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { resource:Osterholz-Scharmbeck property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Craveggia property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q806486
P206
Q15324 Q337567 Q13220204
USER
Which administrative country subdivisions are situated close to greater number of bodies of water and still waterss than Bangkok Noi ?
(c(Q13220204),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q13220204
type Q15324
action find_tuple_counts
relation P206
type Q13220204
type Q337567
action count
action filter_multi_types
action find
entity Q806486
relation P206
type Q15324
type Q337567
[{'concept': 'Q13220204'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q806486 property:P206 ?d . { VALUES ( ?c ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?d rdf:type ?c } } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?u rdf:type ?m } GROUP BY ?k } }
Bangkok Noi
action greater
action union
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type body of water
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type still waters
action count
action filter_multi_types
action find
entity Bangkok Noi
relation located next to body of water
type body of water
type still waters
[{'concept': 'second-level administrative country subdivision'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Bangkok_Noi property:located_next_to_body_of_water ?d . { VALUES ( ?c ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?d rdf:type ?c } } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?k WHERE { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?u rdf:type ?m } GROUP BY ?k } }
[]
body of water still waters second-level administrative country subdivision
Q863961 Q208764 Q62823
SYSTEM
Binnenmaas, Katwijk, Barranquilla
Q1411583 Q2980652 Q475797 Q1138182 Q9938 Q1434951 Q672990 Q861873 Q302851 Q43048 Q980728 Q58931 Q208764 Q455464 Q108983 Q1024702 Q1025352 Q184454 Q1138177 Q863961 Q475787 Q1352711 Q1145203 Q9980 Q65268 Q219987 Q1340605 Q214109 Q62823 Q203175 Q548524 Q558417 Q9948 Q191082
(c(Q13220204),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q13220204
type Q15324
action find_tuple_counts
relation P206
type Q13220204
type Q337567
action count
action filter_multi_types
action find
entity Q806486
relation P206
type Q15324
type Q337567
[ANSWERS] are situated close to greater number of bodies of water and still waterss than Bangkok Noi
[{'concept': 'Q13220204'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q806486 property:P206 ?d . { VALUES ( ?c ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?d rdf:type ?c } } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?u rdf:type ?m } GROUP BY ?k } }
Sławno County Kannur district Ko Lanta Wejherowo County Hoorn Kamień County Bilhorod-Dnistrovskyi Bilyayivka Koszalin County Rhodes Domburg Harderwijk Katwijk Noordwijk Vardø Renesse Cadzand Zeewolde Słupsk County Binnenmaas Ko Kut Westkapelle, Netherlands Lębork County Zandvoort Brienz Puck County Kołobrzeg County Kea Barranquilla Samothrace Leipsoi Gryfice County Muiden Aegina
Binnenmaas, Katwijk and Barranquilla are situated close to greater number of bodies of water and still waterss than Bangkok Noi
Binnenmaas Katwijk Barranquilla
action greater
action union
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type body of water
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type still waters
action count
action filter_multi_types
action find
entity Bangkok Noi
relation located next to body of water
type body of water
type still waters
[{'concept': 'second-level administrative country subdivision'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Bangkok_Noi property:located_next_to_body_of_water ?d . { VALUES ( ?c ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?d rdf:type ?c } } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?k WHERE { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?u rdf:type ?m } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q503574
P361
Q553036 Q49447 Q15617994
USER
Which administrative territories are a part of greater number of natural region of Germanys and world views than Insingen ?
(c(Q15617994),P361,c(Q553036)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q503574
relation P361
type Q553036
type Q49447
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?m WHERE { { ?m property:P361 ?h . ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q553036 } UNION { ?m property:P361 ?h . ?h rdf:type ontology:Q49447 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q503574 property:P361 ?i . { { ?i rdf:type ontology:Q553036 } UNION { ?i rdf:type ontology:Q49447 } } } } . FILTER ( ?y > ?j ) }
Insingen
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Insingen
relation part of
type natural region of Germany
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'world view'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?m WHERE { { ?m property:part_of ?h . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:natural_region_of_Germany } UNION { ?m property:part_of ?h . ?h rdf:type ontology:world_view . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Insingen property:part_of ?i . { { ?i rdf:type ontology:natural_region_of_Germany } UNION { ?i rdf:type ontology:world_view } } } } . FILTER ( ?y > ?j ) }
[]
natural region of Germany world view designation for an administrative territorial entity
Q184864 Q2313565 Q3773354
SYSTEM
Megara, Spreng, Alagonia
Q184864 Q2313565 Q3773354
(c(Q15617994),P361,c(Q553036)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q503574
relation P361
type Q553036
type Q49447
[ANSWERS] are a part of greater number of natural region of Germanys and world views than Insingen
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?m WHERE { { ?m property:P361 ?h . ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q553036 } UNION { ?m property:P361 ?h . ?h rdf:type ontology:Q49447 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q503574 property:P361 ?i . { { ?i rdf:type ontology:Q553036 } UNION { ?i rdf:type ontology:Q49447 } } } } . FILTER ( ?y > ?j ) }
Megara Spreng Alagonia
Megara, Spreng and Alagonia are a part of greater number of natural region of Germanys and world views than Insingen
Megara Spreng Alagonia
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Insingen
relation part of
type natural region of Germany
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'world view'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?m WHERE { { ?m property:part_of ?h . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:natural_region_of_Germany } UNION { ?m property:part_of ?h . ?h rdf:type ontology:world_view . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Insingen property:part_of ?i . { { ?i rdf:type ontology:natural_region_of_Germany } UNION { ?i rdf:type ontology:world_view } } } } . FILTER ( ?y > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q334658
P361
Q553036 Q49447 Q15617994
USER
And also tell me about Abtswind?
(c(Q15617994),P361,c(Q553036)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q334658
relation P361
type Q553036
type Q49447
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { { ?i property:P361 ?g . ?i rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q553036 } UNION { ?i property:P361 ?g . ?i rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q49447 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q334658 property:P361 ?y . { { ?y rdf:type ontology:Q553036 } UNION { ?y rdf:type ontology:Q49447 } } } } . FILTER ( ?c > ?q ) }
Abtswind
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Abtswind
relation part of
type natural region of Germany
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'world view'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { { ?i property:part_of ?g . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:natural_region_of_Germany } UNION { ?i property:part_of ?g . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:world_view } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Abtswind property:part_of ?y . { { ?y rdf:type ontology:natural_region_of_Germany } UNION { ?y rdf:type ontology:world_view } } } } . FILTER ( ?c > ?q ) }
[]
natural region of Germany world view designation for an administrative territorial entity
Q184864 Q2313565 Q3773354
SYSTEM
Megara, Spreng, Alagonia
Q184864 Q2313565 Q3773354
(c(Q15617994),P361,c(Q553036)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q334658
relation P361
type Q553036
type Q49447
[ANSWERS]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { { ?i property:P361 ?g . ?i rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q553036 } UNION { ?i property:P361 ?g . ?i rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q49447 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q334658 property:P361 ?y . { { ?y rdf:type ontology:Q553036 } UNION { ?y rdf:type ontology:Q49447 } } } } . FILTER ( ?c > ?q ) }
Megara Spreng Alagonia
Megara Spreng Alagonia
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Abtswind
relation part of
type natural region of Germany
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'world view'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { { ?i property:part_of ?g . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:natural_region_of_Germany } UNION { ?i property:part_of ?g . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:world_view } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Abtswind property:part_of ?y . { { ?y rdf:type ontology:natural_region_of_Germany } UNION { ?y rdf:type ontology:world_view } } } } . FILTER ( ?c > ?q ) }
[]