Simple Question (Direct)
Simple Question
Q68824
P27
Q1048835
USER
Which political territory is Julius Langbehn a civilian of ?
(Q68824,P27,c(Q1048835))
action filter_type
action find
entity Q68824
relation P27
type Q1048835
['Q68824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q68824 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Julius Langbehn
action filter_type
action find
entity Julius Langbehn
relation country of citizenship
type political territorial entity
['Julius Langbehn', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Julius_Langbehn property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q68824,P27,c(Q1048835))
action filter_type
action find
entity Q68824
relation P27
type Q1048835
[ANSWER] is Julius Langbehn a civilian of
['Q68824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q68824 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Germany is Julius Langbehn a civilian of
Germany
action filter_type
action find
entity Julius Langbehn
relation country of citizenship
type political territorial entity
['Julius Langbehn', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Julius_Langbehn property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q68824
P20
Q515
USER
Where did Julius Langbehn die ?
(Q68824,P20,c(Q515))
action filter_type
action find
entity Q68824
relation P20
type Q515
['Q68824', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q68824 property:P20 ?d . ?d rdf:type ontology:Q515 }
Julius Langbehn
action filter_type
action find
entity Julius Langbehn
relation place of death
type city
['Julius Langbehn', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Julius_Langbehn property:place_of_death ?d . ?d rdf:type ontology:city }
[]
city
Q4007
SYSTEM
Rosenheim
Q4007
(Q68824,P20,c(Q515))
action filter_type
action find
entity Q68824
relation P20
type Q515
Julius Langbehn died in [ANSWER]
['Q68824', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q68824 property:P20 ?d . ?d rdf:type ontology:Q515 }
Rosenheim
Julius Langbehn died in Rosenheim
Rosenheim
action filter_type
action find
entity Julius Langbehn
relation place of death
type city
['Julius Langbehn', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Julius_Langbehn property:place_of_death ?d . ?d rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q14242187
P361
Q56061
USER
How many administrative territories are Germany or city district of Nizhny Novgorod a part of ?
(Q183,P361,c(Q56061)) (Q14242187,P361,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q56061
action filter_type
action find
entity Q14242187
relation P361
type Q56061
['Q183', 'P361', {'concept': 'Q56061'}] ['Q14242187', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q14242187 property:P361 ?r . ?r rdf:type ontology:Q56061 } UNION { resource:Q183 property:P361 ?r . ?r rdf:type ontology:Q56061 } }
Germany city district of Nizhny Novgorod
action count
action union
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
action filter_type
action find
entity city district of Nizhny Novgorod
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['city district of Nizhny Novgorod', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:city_district_of_Nizhny_Novgorod property:part_of ?r . ?r rdf:type ontology:administrative_territorial_entity } UNION { resource:Germany property:part_of ?r . ?r rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q458 Q891
(Q183,P361,c(Q56061)) (Q14242187,P361,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q56061
action filter_type
action find
entity Q14242187
relation P361
type Q56061
[ANSWER]
['Q183', 'P361', {'concept': 'Q56061'}] ['Q14242187', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q14242187 property:P361 ?r . ?r rdf:type ontology:Q56061 } UNION { resource:Q183 property:P361 ?r . ?r rdf:type ontology:Q56061 } }
European Union Nizhny Novgorod
2
action count
action union
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
action filter_type
action find
entity city district of Nizhny Novgorod
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['city district of Nizhny Novgorod', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:city_district_of_Nizhny_Novgorod property:part_of ?r . ?r rdf:type ontology:administrative_territorial_entity } UNION { resource:Germany property:part_of ?r . ?r rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4007
P190
Q20667921
USER
Which french administrative division is the sister city of Rosenheim ?
(Q4007,P190,c(Q20667921))
action filter_type
action find
entity Q4007
relation P190
type Q20667921
['Q4007', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q4007 property:P190 ?x . ?x rdf:type ontology:Q20667921 }
Rosenheim
action filter_type
action find
entity Rosenheim
relation sister city
type type of french administrative division
['Rosenheim', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Rosenheim property:sister_city ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q203298
SYSTEM
Briançon
Q203298
(Q4007,P190,c(Q20667921))
action filter_type
action find
entity Q4007
relation P190
type Q20667921
[ANSWER] is the sister city of Rosenheim
['Q4007', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q4007 property:P190 ?x . ?x rdf:type ontology:Q20667921 }
Briançon
Briançon is the sister city of Rosenheim
Briançon
action filter_type
action find
entity Rosenheim
relation sister city
type type of french administrative division
['Rosenheim', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Rosenheim property:sister_city ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4007
Q3055118
USER
And which human settlement?
(Q4007,P190,c(Q3055118))
action filter_type
action find
entity Q4007
relation P190
type Q3055118
['Q4007', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?e WHERE { resource:Q4007 property:P190 ?e . ?e rdf:type ontology:Q3055118 }
Rosenheim
action filter_type
action find
entity Rosenheim
relation sister city
type single entity of population
['Rosenheim', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?e WHERE { resource:Rosenheim property:sister_city ?e . ?e rdf:type ontology:single_entity_of_population }
[]
single entity of population
Q1203688
SYSTEM
Ichikawa
Q1203688
(Q4007,P190,c(Q3055118))
action filter_type
action find
entity Q4007
relation P190
type Q3055118
[ANSWER]
['Q4007', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?e WHERE { resource:Q4007 property:P190 ?e . ?e rdf:type ontology:Q3055118 }
Ichikawa
Ichikawa
action filter_type
action find
entity Rosenheim
relation sister city
type single entity of population
['Rosenheim', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?e WHERE { resource:Rosenheim property:sister_city ?e . ?e rdf:type ontology:single_entity_of_population }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q158004 Q1203688
P190
Q515
USER
Which cities are partner town of Ichikawa or Piotrków Trybunalski ?
OR((c(Q515),P190,Q1203688), (c(Q515),P190,Q158004))
action filter_type
action union
action find_reverse
entity Q1203688
relation P190
action find_reverse
entity Q158004
relation P190
type Q515
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q1203688'], [{'concept': 'Q515'}, 'P190', 'Q158004']]}
SELECT DISTINCT ?z WHERE { { ?z property:P190 ?e . VALUES ( ?e ) { ( resource:Q1203688 ) ( resource:Q158004 ) } } . ?z rdf:type ontology:Q515 }
Piotrków Trybunalski Ichikawa
action filter_type
action union
action find_reverse
entity Ichikawa
relation sister city
action find_reverse
entity Piotrków Trybunalski
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Ichikawa'], [{'concept': 'city'}, 'sister city', 'Piotrków Trybunalski']]}
SELECT DISTINCT ?z WHERE { { ?z property:sister_city ?e . VALUES ( ?e ) { ( resource:Ichikawa ) ( resource:Piotrków_Trybunalski ) } } . ?z rdf:type ontology:city }
[]
city
Q4007 Q207406
SYSTEM
Rosenheim, Mosonmagyaróvár
Q4007 Q207406
OR((c(Q515),P190,Q1203688), (c(Q515),P190,Q158004))
action filter_type
action union
action find_reverse
entity Q1203688
relation P190
action find_reverse
entity Q158004
relation P190
type Q515
[ANSWERS] are partner town of Ichikawa or Piotrków Trybunalski
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q1203688'], [{'concept': 'Q515'}, 'P190', 'Q158004']]}
SELECT DISTINCT ?z WHERE { { ?z property:P190 ?e . VALUES ( ?e ) { ( resource:Q1203688 ) ( resource:Q158004 ) } } . ?z rdf:type ontology:Q515 }
Rosenheim Mosonmagyaróvár
Rosenheim and Mosonmagyaróvár are partner town of Ichikawa or Piotrków Trybunalski
Rosenheim Mosonmagyaróvár
action filter_type
action union
action find_reverse
entity Ichikawa
relation sister city
action find_reverse
entity Piotrków Trybunalski
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Ichikawa'], [{'concept': 'city'}, 'sister city', 'Piotrków Trybunalski']]}
SELECT DISTINCT ?z WHERE { { ?z property:sister_city ?e . VALUES ( ?e ) { ( resource:Ichikawa ) ( resource:Piotrków_Trybunalski ) } } . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4007
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories are bordered by Rosenheim ?
(c(Q1048835),P47,Q4007) (c(Q15617994),P47,Q4007)
action count
action union
action filter_type
action find_reverse
entity Q4007
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4007
relation P47
type Q15617994
[{'concept': 'Q1048835'}, 'P47', 'Q4007'] [{'concept': 'Q15617994'}, 'P47', 'Q4007']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?c }
Rosenheim
action count
action union
action filter_type
action find_reverse
entity Rosenheim
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Rosenheim
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Rosenheim'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rosenheim']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?c }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 1 administrative territories
Q539025 Q10526
(c(Q1048835),P47,Q4007) (c(Q15617994),P47,Q4007)
action count
action union
action filter_type
action find_reverse
entity Q4007
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4007
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q4007'] [{'concept': 'Q15617994'}, 'P47', 'Q4007']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?c }
Rohrdorf Rosenheim
1 political territories and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Rosenheim
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Rosenheim
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Rosenheim'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rosenheim']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4007
P551
Q502895
USER
Which person has residence at that city ?
action filter_type
action find_reverse
entity Q4007
relation P551
type Q502895
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q4007 . ?l rdf:type ontology:Q502895 }
Rosenheim
action filter_type
action find_reverse
entity Rosenheim
relation residence
type common name
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Rosenheim . ?l rdf:type ontology:common_name }
[]
common name
Q67291
SYSTEM
Robert Müller
Q67291
action filter_type
action find_reverse
entity Q4007
relation P551
type Q502895
[ANSWER] has residence at that city
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q4007 . ?l rdf:type ontology:Q502895 }
Robert Müller
Robert Müller has residence at that city
Robert Müller
action filter_type
action find_reverse
entity Rosenheim
relation residence
type common name
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Rosenheim . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4007
P190
Q3055118 Q20667921
USER
How many human settlements and french administrative divisions are sister town of Rosenheim ?
(c(Q3055118),P190,Q4007) (c(Q20667921),P190,Q4007)
action count
action union
action filter_type
action find_reverse
entity Q4007
relation P190
type Q3055118
action filter_type
action find_reverse
entity Q4007
relation P190
type Q20667921
[{'concept': 'Q3055118'}, 'P190', 'Q4007'] [{'concept': 'Q20667921'}, 'P190', 'Q4007']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P190 resource:Q4007 . ?t rdf:type ontology:Q20667921 } UNION { ?t property:P190 resource:Q4007 . ?t rdf:type ontology:Q3055118 } }
Rosenheim
action count
action union
action filter_type
action find_reverse
entity Rosenheim
relation sister city
type single entity of population
action filter_type
action find_reverse
entity Rosenheim
relation sister city
type type of french administrative division
[{'concept': 'single entity of population'}, 'sister city', 'Rosenheim'] [{'concept': 'type of french administrative division'}, 'sister city', 'Rosenheim']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:sister_city resource:Rosenheim . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:sister_city resource:Rosenheim . ?t rdf:type ontology:single_entity_of_population } }
[]
single entity of population type of french administrative division
SYSTEM
1 human settlements and 1 french administrative divisions
Q203298 Q1203688
(c(Q3055118),P190,Q4007) (c(Q20667921),P190,Q4007)
action count
action union
action filter_type
action find_reverse
entity Q4007
relation P190
type Q3055118
action filter_type
action find_reverse
entity Q4007
relation P190
type Q20667921
[ANSWER]
[{'concept': 'Q3055118'}, 'P190', 'Q4007'] [{'concept': 'Q20667921'}, 'P190', 'Q4007']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P190 resource:Q4007 . ?t rdf:type ontology:Q20667921 } UNION { ?t property:P190 resource:Q4007 . ?t rdf:type ontology:Q3055118 } }
Briançon Ichikawa
1 human settlements and 1 french administrative divisions
action count
action union
action filter_type
action find_reverse
entity Rosenheim
relation sister city
type single entity of population
action filter_type
action find_reverse
entity Rosenheim
relation sister city
type type of french administrative division
[{'concept': 'single entity of population'}, 'sister city', 'Rosenheim'] [{'concept': 'type of french administrative division'}, 'sister city', 'Rosenheim']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:sister_city resource:Rosenheim . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:sister_city resource:Rosenheim . ?t rdf:type ontology:single_entity_of_population } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1865
P1376
Q15617994 Q13220204 Q515
USER
How many cities are the capital of less number of administrative territories and administrative country subdivisions than Kuala Lumpur ?
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_multi_types
action find
entity Q1865
relation P1376
type Q15617994
type Q13220204
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { { ?q property:P1376 ?u . ?q rdf:type ontology:Q515 . ?u rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 . ?q property:P1376 ?u } } GROUP BY ?q } . FILTER ( ?v < ?o ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1865 property:P1376 ?y . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q13220204 } } } } }
Kuala Lumpur
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Kuala Lumpur
relation capital of
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { { ?q property:capital_of ?u . ?q rdf:type ontology:city . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?q property:capital_of ?u } } GROUP BY ?q } . FILTER ( ?v < ?o ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Kuala_Lumpur property:capital_of ?y . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:second-level_administrative_country_subdivision } } } } }
[]
designation for an administrative territorial entity second-level administrative country subdivision city
SYSTEM
451
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q27860 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q903177 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q1000336 Q911530 Q181276 Q583137 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q16959 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q270704 Q167109 Q734378 Q459787 Q585630 Q855529 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q325164 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q842971 Q842976 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q155975 Q1020939 Q674311 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q335427 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2973 Q137271 Q855060 Q843028 Q842996 Q679249 Q843021 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q329775 Q1854 Q1856 Q855016 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q642031 Q55598 Q498011 Q214948 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q5972 Q1721 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q15847 Q843014 Q11725 Q604516 Q73156 Q732300 Q789510 Q20073 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q187821 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q738275 Q69060 Q8179 Q727383 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3931 Q726993 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_multi_types
action find
entity Q1865
relation P1376
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { { ?q property:P1376 ?u . ?q rdf:type ontology:Q515 . ?u rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 . ?q property:P1376 ?u } } GROUP BY ?q } . FILTER ( ?v < ?o ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1865 property:P1376 ?y . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q13220204 } } } } }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Jayapura Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tiszafüred Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Tandil Hajdúhadház Szolnok Kidapawan Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Ürümqi Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Třebíč Eger Yonezawa Iloilo City Yanagawa Kistelek Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Kayes Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Sellye Mátészalka Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kutná Hora Digos Kisvárda Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Kisarazu Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Darmstadt Kota Kinabalu Encs Oroszlány Pécsvárad Kalocsa Tolna Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Gárdony Palayan Sakura Cegléd Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Medan Wiesbaden Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Manado Szarvas Chongqing Szentgotthárd Linfen Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Tatabánya Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Karatsu Xining Pangkal Pinang Sokolov Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Brandenburg an der Havel Cotabato City Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
451
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Kuala Lumpur
relation capital of
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { { ?q property:capital_of ?u . ?q rdf:type ontology:city . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?q property:capital_of ?u } } GROUP BY ?q } . FILTER ( ?v < ?o ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Kuala_Lumpur property:capital_of ?y . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:second-level_administrative_country_subdivision } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2907
P1376
Q15617994 Q13220204 Q515
USER
And how about Sucre?
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_multi_types
action find
entity Q2907
relation P1376
type Q15617994
type Q13220204
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?c WHERE { VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?o rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q2907 property:P1376 ?u . { { ?u rdf:type ontology:Q13220204 } UNION { ?u rdf:type ontology:Q15617994 } } } } . FILTER ( ?s < ?a ) }
Sucre
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Sucre
relation capital of
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?c WHERE { VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?o rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Sucre property:capital_of ?u . { { ?u rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?s < ?a ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision city
SYSTEM
451
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q27860 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q903177 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q1000336 Q911530 Q181276 Q583137 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q16959 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q270704 Q167109 Q734378 Q459787 Q585630 Q855529 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q325164 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q842971 Q842976 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q155975 Q1020939 Q674311 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q335427 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2973 Q137271 Q855060 Q843028 Q842996 Q679249 Q843021 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q329775 Q1854 Q1856 Q855016 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q642031 Q55598 Q498011 Q214948 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q5972 Q1721 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q15847 Q843014 Q11725 Q604516 Q73156 Q732300 Q789510 Q20073 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q187821 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q738275 Q69060 Q8179 Q727383 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3931 Q726993 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_multi_types
action find
entity Q2907
relation P1376
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?c WHERE { VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?o rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q2907 property:P1376 ?u . { { ?u rdf:type ontology:Q13220204 } UNION { ?u rdf:type ontology:Q15617994 } } } } . FILTER ( ?s < ?a ) }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Jayapura Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tiszafüred Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Tandil Hajdúhadház Szolnok Kidapawan Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Ürümqi Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Třebíč Eger Yonezawa Iloilo City Yanagawa Kistelek Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Kayes Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Sellye Mátészalka Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kutná Hora Digos Kisvárda Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Kisarazu Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Darmstadt Kota Kinabalu Encs Oroszlány Pécsvárad Kalocsa Tolna Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Gárdony Palayan Sakura Cegléd Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Medan Wiesbaden Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Manado Szarvas Chongqing Szentgotthárd Linfen Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Tatabánya Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Karatsu Xining Pangkal Pinang Sokolov Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Brandenburg an der Havel Cotabato City Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
451
action count
action less
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Sucre
relation capital of
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?c WHERE { VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?o rdf:type ?e } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Sucre property:capital_of ?u . { { ?u rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?s < ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 6402 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6402
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P1303 ?g . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?y <= 6402 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6402
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:instrument ?g . ?q rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?y <= 6402 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6402
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P1303 ?g . ?q rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?y <= 6402 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Which musical instruments can atmost 6402 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6402
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:instrument ?g . ?q rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?y <= 6402 ) }
[]