Simple Question (Direct)
Simple Question
Q6468266
P7
Q502895
USER
Which person is the brother of Lacey Schwimmer ?
(Q6468266,P7,c(Q502895))
action filter_type
action find
entity Q6468266
relation P7
type Q502895
['Q6468266', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q6468266 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Lacey Schwimmer
action filter_type
action find
entity Lacey Schwimmer
relation brother
type common name
['Lacey Schwimmer', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Lacey_Schwimmer property:brother ?n . ?n rdf:type ontology:common_name }
[]
common name
Q3352282
SYSTEM
Benji Schwimmer
Q3352282
(Q6468266,P7,c(Q502895))
action filter_type
action find
entity Q6468266
relation P7
type Q502895
[ANSWER] is the brother of Lacey Schwimmer
['Q6468266', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q6468266 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Benji Schwimmer
Benji Schwimmer is the brother of Lacey Schwimmer
Benji Schwimmer
action filter_type
action find
entity Lacey Schwimmer
relation brother
type common name
['Lacey Schwimmer', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Lacey_Schwimmer property:brother ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6468266
P22
Q502895
USER
Which person was the father of Lacey Schwimmer ?
(Q6468266,P22,c(Q502895))
action filter_type
action find
entity Q6468266
relation P22
type Q502895
['Q6468266', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6468266 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Lacey Schwimmer
action filter_type
action find
entity Lacey Schwimmer
relation father
type common name
['Lacey Schwimmer', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Lacey_Schwimmer property:father ?q . ?q rdf:type ontology:common_name }
[]
common name
Q4984945
SYSTEM
Buddy Schwimmer
Q4984945
(Q6468266,P22,c(Q502895))
action filter_type
action find
entity Q6468266
relation P22
type Q502895
[ANSWER] was the father of Lacey Schwimmer
['Q6468266', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6468266 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Buddy Schwimmer
Buddy Schwimmer was the father of Lacey Schwimmer
Buddy Schwimmer
action filter_type
action find
entity Lacey Schwimmer
relation father
type common name
['Lacey Schwimmer', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Lacey_Schwimmer property:father ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3352282
P40
Q502895
USER
Which person has Benji Schwimmer as a child ?
(c(Q502895),P40,Q3352282)
action filter_type
action find_reverse
entity Q3352282
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3352282']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P40 resource:Q3352282 }
Benji Schwimmer
action filter_type
action find_reverse
entity Benji Schwimmer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Benji Schwimmer']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:child resource:Benji_Schwimmer }
[]
common name
Q4984945
SYSTEM
Buddy Schwimmer
Q4984945
(c(Q502895),P40,Q3352282)
action filter_type
action find_reverse
entity Q3352282
relation P40
type Q502895
[ANSWER] has Benji Schwimmer as a child
[{'concept': 'Q502895'}, 'P40', 'Q3352282']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P40 resource:Q3352282 }
Buddy Schwimmer
Buddy Schwimmer has Benji Schwimmer as a child
Buddy Schwimmer
action filter_type
action find_reverse
entity Benji Schwimmer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Benji Schwimmer']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:child resource:Benji_Schwimmer }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3352282
P161
Q838948
USER
Which work of art does Benji Schwimmer star in ?
(c(Q838948),P161,Q3352282)
action filter_type
action find_reverse
entity Q3352282
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3352282']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q3352282 . ?k rdf:type ontology:Q838948 }
Benji Schwimmer
action filter_type
action find_reverse
entity Benji Schwimmer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Benji Schwimmer']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Benji_Schwimmer . ?k rdf:type ontology:work_of_art }
[]
work of art
Q17182563
SYSTEM
Leading Ladies
Q17182563
(c(Q838948),P161,Q3352282)
action filter_type
action find_reverse
entity Q3352282
relation P161
type Q838948
Benji Schwimmer stars as [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3352282']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q3352282 . ?k rdf:type ontology:Q838948 }
Leading Ladies
Benji Schwimmer stars as Leading Ladies
Leading Ladies
action filter_type
action find_reverse
entity Benji Schwimmer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Benji Schwimmer']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Benji_Schwimmer . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4984945
P21
Q290
USER
Which sex does Buddy Schwimmer belong to ?
(Q4984945,P21,c(Q290))
action filter_type
action find
entity Q4984945
relation P21
type Q290
['Q4984945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4984945 property:P21 ?p . ?p rdf:type ontology:Q290 }
Buddy Schwimmer
action filter_type
action find
entity Buddy Schwimmer
relation gender
type sex
['Buddy Schwimmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Buddy_Schwimmer property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4984945,P21,c(Q290))
action filter_type
action find
entity Q4984945
relation P21
type Q290
Buddy Schwimmer belongs to [ANSWER]
['Q4984945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4984945 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Buddy Schwimmer belongs to male
male
action filter_type
action find
entity Buddy Schwimmer
relation gender
type sex
['Buddy Schwimmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Buddy_Schwimmer property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q3977918
USER
Which mineral supergroups has that sex as its toponym ?
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q6581097 . ?k rdf:type ontology:Q3977918 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:male . ?k rdf:type ontology:mineral_supergroups }
[]
mineral supergroups
Q19861994
SYSTEM
tazzoliite
Q19861994
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[ANSWER] has that sex as its toponym
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q6581097 . ?k rdf:type ontology:Q3977918 }
tazzoliite
Tazzoliite has that sex as its toponym
tazzoliite
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:male . ?k rdf:type ontology:mineral_supergroups }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19861994 Q7341951 Q24339989
P138
Q502895
USER
Does that mineral supergroup comes from Robert Baynard and Vittorio Tazzoli ?
(Q19861994,P138,Q7341951) (Q19861994,P138,Q24339989)
action is_in
entity Q19861994
action intersection
action find_reverse
entity Q7341951
relation P138
action find_reverse
entity Q24339989
relation P138
['Q19861994', 'P138', 'Q7341951'] ['Q19861994', 'P138', 'Q24339989']
ASK WHERE { resource:Q19861994 property:P138 resource:Q7341951 . resource:Q19861994 property:P138 resource:Q24339989 }
tazzoliite Robert Baynard Vittorio Tazzoli
action is_in
entity tazzoliite
action intersection
action find_reverse
entity Robert Baynard
relation named after
action find_reverse
entity Vittorio Tazzoli
relation named after
['tazzoliite', 'named after', 'Robert Baynard'] ['tazzoliite', 'named after', 'Vittorio Tazzoli']
ASK WHERE { resource:tazzoliite property:named_after resource:Robert_Baynard . resource:tazzoliite property:named_after resource:Vittorio_Tazzoli }
[]
common name
SYSTEM
NO and YES respectively
(Q19861994,P138,Q7341951) (Q19861994,P138,Q24339989)
action is_in
entity Q19861994
action intersection
action find_reverse
entity Q7341951
relation P138
action find_reverse
entity Q24339989
relation P138
[ANSWER]
['Q19861994', 'P138', 'Q7341951'] ['Q19861994', 'P138', 'Q24339989']
ASK WHERE { resource:Q19861994 property:P138 resource:Q7341951 . resource:Q19861994 property:P138 resource:Q24339989 }
NO and YES respectively
action is_in
entity tazzoliite
action intersection
action find_reverse
entity Robert Baynard
relation named after
action find_reverse
entity Vittorio Tazzoli
relation named after
['tazzoliite', 'named after', 'Robert Baynard'] ['tazzoliite', 'named after', 'Vittorio Tazzoli']
ASK WHERE { resource:tazzoliite property:named_after resource:Robert_Baynard . resource:tazzoliite property:named_after resource:Vittorio_Tazzoli }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23835377
P2695
Q14524493 Q3977918
USER
How many terrains are famous for containing less number of mineral supergroupss than Kukisvumchorr mount ?
(c(Q3977918),P2695,c(Q14524493))
action count
action less
action find_reverse_tuple_counts
relation P2695
type Q14524493
type Q3977918
action count
action filter_type
action find_reverse
entity Q23835377
relation P2695
type Q3977918
[{'concept': 'Q3977918'}, 'P2695', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P2695 ?e . ?e rdf:type ontology:Q14524493 . ?j rdf:type ontology:Q3977918 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P2695 resource:Q23835377 . ?o rdf:type ontology:Q3977918 } } . FILTER ( ?i < ?w ) }
Kukisvumchorr mount
action count
action less
action find_reverse_tuple_counts
relation type locality
type terrain
type mineral supergroups
action count
action filter_type
action find_reverse
entity Kukisvumchorr mount
relation type locality
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'type locality', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:type_locality ?e . ?e rdf:type ontology:terrain . ?j rdf:type ontology:mineral_supergroups } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:type_locality resource:Kukisvumchorr_mount . ?o rdf:type ontology:mineral_supergroups } } . FILTER ( ?i < ?w ) }
[]
terrain mineral supergroups
SYSTEM
49
Q24273487 Q1605368 Q23768328 Q1545475 Q676736 Q184975 Q24045498 Q26267391 Q27490269 Q1152462 Q27473333 Q27070694 Q24445988 Q27490395 Q22461977 Q24035878 Q24386134 Q791652 Q985449 Q23802895 Q217274 Q17088970 Q8333280 Q24067217 Q20999865 Q22454092 Q746787 Q959258 Q23839192 Q700092 Q24036116 Q2130456 Q729873 Q23942339 Q21887662 Q825347 Q7430650 Q1948974 Q27349291 Q2168360 Q3862148 Q1887525 Q24071241 Q23924627 Q24035864 Q21964389 Q830766 Q662715 Q2301875
(c(Q3977918),P2695,c(Q14524493))
action count
action less
action find_reverse_tuple_counts
relation P2695
type Q14524493
type Q3977918
action count
action filter_type
action find_reverse
entity Q23835377
relation P2695
type Q3977918
[ANSWER]
[{'concept': 'Q3977918'}, 'P2695', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P2695 ?e . ?e rdf:type ontology:Q14524493 . ?j rdf:type ontology:Q3977918 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P2695 resource:Q23835377 . ?o rdf:type ontology:Q3977918 } } . FILTER ( ?i < ?w ) }
Lakargi mount Hennenkobel Loma La Peguera Greifensteine Stockhorn Hekla Trumbull peak Somma-Vesuvius complex Elgoras mount, Sal’nye Tundry Scherbadung Mount Shaheru Etna Volcanic complex Malyi Murun massif Mount Cavalluccio Pabellón de Pica Lepkhe-Nel'm mountain Rother Kopf Avachinsky Laurium Otto mountain Eldfell Sterling Hill Harrow Peaks Temple mountain Goldberg Falotta Ol Doinyo Lengai Alluaiv mount Rasvumchorr mount Hohentwiel Vuoriyarvi alkaline-ultrabasic massif The Storr Mount Somma Murunskii massif Mount Painter Colima Scawt Hill Moschel mountain Mount Adamson Roter Berg Falò mount Mallestiger Mittagskogel Picacho peak Selsurt mount Sengischorr mount Dome Rock Bezymianny Kondyor massif Água de Pau
49
action count
action less
action find_reverse_tuple_counts
relation type locality
type terrain
type mineral supergroups
action count
action filter_type
action find_reverse
entity Kukisvumchorr mount
relation type locality
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'type locality', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:type_locality ?e . ?e rdf:type ontology:terrain . ?j rdf:type ontology:mineral_supergroups } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:type_locality resource:Kukisvumchorr_mount . ?o rdf:type ontology:mineral_supergroups } } . FILTER ( ?i < ?w ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23835377
P2695
Q7946
USER
Which mineral is found in that terrain ?
action filter_type
action find_reverse
entity Q23835377
relation P2695
type Q7946
SELECT DISTINCT ?s WHERE { ?s property:P2695 resource:Q23835377 . ?s rdf:type ontology:Q7946 }
Kukisvumchorr mount
action filter_type
action find_reverse
entity Kukisvumchorr mount
relation type locality
type mineral
SELECT DISTINCT ?s WHERE { ?s property:type_locality resource:Kukisvumchorr_mount . ?s rdf:type ontology:mineral }
[]
mineral
Q3615274
SYSTEM
ancylite-(La)
Q3615274
action filter_type
action find_reverse
entity Q23835377
relation P2695
type Q7946
[ANSWER] is found in that terrain
SELECT DISTINCT ?s WHERE { ?s property:P2695 resource:Q23835377 . ?s rdf:type ontology:Q7946 }
ancylite-(La)
Ancylite-(La) is found in that terrain
ancylite-(La)
action filter_type
action find_reverse
entity Kukisvumchorr mount
relation type locality
type mineral
SELECT DISTINCT ?s WHERE { ?s property:type_locality resource:Kukisvumchorr_mount . ?s rdf:type ontology:mineral }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3615274 Q6924096
P2695
Q14524493
USER
Is Mount Theseus the locality where that mineral is found ?
(Q3615274,P2695,Q6924096)
action is_in
entity Q6924096
action find
entity Q3615274
relation P2695
['Q3615274', 'P2695', 'Q6924096']
ASK WHERE { resource:Q3615274 property:P2695 resource:Q6924096 }
ancylite-(La) Mount Theseus
action is_in
entity Mount Theseus
action find
entity ancylite-(La)
relation type locality
['ancylite-(La)', 'type locality', 'Mount Theseus']
ASK WHERE { resource:ancylite-(La) property:type_locality resource:Mount_Theseus }
[]
terrain
SYSTEM
NO
(Q3615274,P2695,Q6924096)
action is_in
entity Q6924096
action find
entity Q3615274
relation P2695
[ANSWER]
['Q3615274', 'P2695', 'Q6924096']
ASK WHERE { resource:Q3615274 property:P2695 resource:Q6924096 }
No
action is_in
entity Mount Theseus
action find
entity ancylite-(La)
relation type locality
['ancylite-(La)', 'type locality', 'Mount Theseus']
ASK WHERE { resource:ancylite-(La) property:type_locality resource:Mount_Theseus }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19862049
P2695
Q811979 Q8063 Q3977918
USER
How many mineral supergroupss can be obtained naturally in approximately the same number of architectural structures or rocks as warkite ?
(c(Q3977918),P2695,c(Q811979)|c(Q8063))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q3977918
type Q811979
action find_tuple_counts
relation P2695
type Q3977918
type Q8063
action count
action filter_multi_types
action find
entity Q19862049
relation P2695
type Q811979
type Q8063
[{'concept': 'Q3977918'}, 'P2695', [{'concept': 'Q811979'}, {'concept': 'Q8063'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?j WHERE { { ?j property:P2695 ?f . ?f rdf:type ontology:Q8063 . ?j rdf:type ontology:Q3977918 } UNION { ?j property:P2695 ?f . ?f rdf:type ontology:Q811979 . ?j rdf:type ontology:Q3977918 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q19862049 property:P2695 ?y . { { ?y rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q8063 } } } } . FILTER ( ?w = ?s ) }
warkite
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral supergroups
type architectural structure
action find_tuple_counts
relation type locality
type mineral supergroups
type rock
action count
action filter_multi_types
action find
entity warkite
relation type locality
type architectural structure
type rock
[{'concept': 'mineral supergroups'}, 'type locality', [{'concept': 'architectural structure'}, {'concept': 'rock'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?j WHERE { { ?j property:type_locality ?f . ?f rdf:type ontology:rock . ?j rdf:type ontology:mineral_supergroups } UNION { ?j property:type_locality ?f . ?f rdf:type ontology:architectural_structure . ?j rdf:type ontology:mineral_supergroups } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:warkite property:type_locality ?y . { { ?y rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:rock } } } } . FILTER ( ?w = ?s ) }
[]
architectural structure rock mineral supergroups
SYSTEM
22
Q18220110 Q3647858 Q19850652 Q19860888 Q3895150 Q19861092 Q19861248 Q19833631 Q19841374 Q3880613 Q20821478 Q3642691 Q4022367 Q19833629 Q19860910 Q3929821 Q3697227 Q19833645 Q19861091 Q3675916 Q19862026 Q19862049
(c(Q3977918),P2695,c(Q811979)|c(Q8063))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q3977918
type Q811979
action find_tuple_counts
relation P2695
type Q3977918
type Q8063
action count
action filter_multi_types
action find
entity Q19862049
relation P2695
type Q811979
type Q8063
[ANSWER]
[{'concept': 'Q3977918'}, 'P2695', [{'concept': 'Q811979'}, {'concept': 'Q8063'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?j WHERE { { ?j property:P2695 ?f . ?f rdf:type ontology:Q8063 . ?j rdf:type ontology:Q3977918 } UNION { ?j property:P2695 ?f . ?f rdf:type ontology:Q811979 . ?j rdf:type ontology:Q3977918 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q19862049 property:P2695 ?y . { { ?y rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q8063 } } } } . FILTER ( ?w = ?s ) }
cámaraite bykovaite szklaryite khesinite paralabuntsovite-Mg obradovicite-NaNa saamite ferriandrosite-(La) galloplumbogummite obradovicite-KCu addibischoffite bornemanite yafsoanite ferriakasakaite-(La) kolskyite hydrokenoralstonite cryolithionite ferrotaaffeite-2N'2S obradovicite-NaCu chromium-dravite vanackerite warkite
22
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral supergroups
type architectural structure
action find_tuple_counts
relation type locality
type mineral supergroups
type rock
action count
action filter_multi_types
action find
entity warkite
relation type locality
type architectural structure
type rock
[{'concept': 'mineral supergroups'}, 'type locality', [{'concept': 'architectural structure'}, {'concept': 'rock'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?j WHERE { { ?j property:type_locality ?f . ?f rdf:type ontology:rock . ?j rdf:type ontology:mineral_supergroups } UNION { ?j property:type_locality ?f . ?f rdf:type ontology:architectural_structure . ?j rdf:type ontology:mineral_supergroups } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:warkite property:type_locality ?y . { { ?y rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:rock } } } } . FILTER ( ?w = ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q515 Q7946
USER
Which cities are the origin of max number of minerals ?
(c(Q7946),P138,Q11725)
action argmax
action find_reverse_tuple_counts
relation P138
type Q515
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q11725']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P138 ?a . ?a rdf:type ontology:Q515 . ?c rdf:type ontology:Q7946 } GROUP BY ?a } } . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P138 ?y . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q7946 } GROUP BY ?y } . FILTER ( ?x = ?i ) }
action argmax
action find_reverse_tuple_counts
relation named after
type city
type mineral
[{'concept': 'mineral'}, 'named after', 'Chongqing']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:named_after ?a . ?a rdf:type ontology:city . ?c rdf:type ontology:mineral } GROUP BY ?a } } . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:named_after ?y . ?y rdf:type ontology:city . ?m rdf:type ontology:mineral } GROUP BY ?y } . FILTER ( ?x = ?i ) }
[]
city mineral
Q841296 Q827041 Q14440
SYSTEM
Příbram, Beroun, Iquique
Q569639 Q841296 Q827041 Q14440 Q830418 Q328067 Q1790515 Q58675
(c(Q7946),P138,Q11725)
action argmax
action find_reverse_tuple_counts
relation P138
type Q515
type Q7946
[ANSWERS] are the origin of max number of minerals
[{'concept': 'Q7946'}, 'P138', 'Q11725']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P138 ?a . ?a rdf:type ontology:Q515 . ?c rdf:type ontology:Q7946 } GROUP BY ?a } } . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P138 ?y . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q7946 } GROUP BY ?y } . FILTER ( ?x = ?i ) }
Lahnstein Příbram Beroun Iquique Jáchymov Ise Krásno Chengde
Příbram, Beroun and Iquique are the origin of max number of minerals
Příbram Beroun Iquique
action argmax
action find_reverse_tuple_counts
relation named after
type city
type mineral
[{'concept': 'mineral'}, 'named after', 'Chongqing']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?i ) { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:named_after ?a . ?a rdf:type ontology:city . ?c rdf:type ontology:mineral } GROUP BY ?a } } . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:named_after ?y . ?y rdf:type ontology:city . ?m rdf:type ontology:mineral } GROUP BY ?y } . FILTER ( ?x = ?i ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people do that city serve as the head of government for ?
(Q841296,P6,c(Q502895))
['Q841296', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q841296 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['Příbram', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Příbram property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q14440
SYSTEM
Did you mean Iquique ?
(Q841296,P6,c(Q502895)) (Q827041,P6,c(Q502895)) (Q14440,P6,c(Q502895))
[ANSWER]
['Q841296', 'P6', {'concept': 'Q502895'}] ['Q827041', 'P6', {'concept': 'Q502895'}] ['Q14440', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q841296 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Iquique ?
Iquique
['Příbram', 'head of government', {'concept': 'common name'}] ['Beroun', 'head of government', {'concept': 'common name'}] ['Iquique', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Příbram property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Příbram. Could you tell me the answer for that?
(Q841296,P6,c(Q502895))
Q841296
['Q841296', 'P6', {'concept': 'Q502895'}]
['Příbram', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
1
Q21280523
(Q841296,P6,c(Q502895))
[ANSWER]
['Q841296', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q841296 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Jindřich Vařeka
1
['Příbram', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Příbram property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q153015
P1376
Q7275 Q515
USER
Which states have less number of cities have their first city than Kingdom of Saxony ?
(c(Q515),P1376,c(Q7275))
action less
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find_reverse
entity Q153015
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1376 ?r . ?r rdf:type ontology:Q7275 . ?t rdf:type ontology:Q515 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1376 resource:Q153015 . ?v rdf:type ontology:Q515 } } . FILTER ( ?b < ?j ) }
Kingdom of Saxony
action less
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find_reverse
entity Kingdom of Saxony
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:capital_of ?r . ?r rdf:type ontology:state . ?t rdf:type ontology:city } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:capital_of resource:Kingdom_of_Saxony . ?v rdf:type ontology:city } } . FILTER ( ?b < ?j ) }
[]
state city
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515),P1376,c(Q7275))
action less
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find_reverse
entity Q153015
relation P1376
type Q515
[ANSWERS] have less number of cities have their first city than Kingdom of Saxony
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1376 ?r . ?r rdf:type ontology:Q7275 . ?t rdf:type ontology:Q515 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1376 resource:Q153015 . ?v rdf:type ontology:Q515 } } . FILTER ( ?b < ?j ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia, Soviet Union and Bavaria have less number of cities have their first city than Kingdom of Saxony
Czechoslovakia Soviet Union Bavaria
action less
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find_reverse
entity Kingdom of Saxony
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:capital_of ?r . ?r rdf:type ontology:state . ?t rdf:type ontology:city } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:capital_of resource:Kingdom_of_Saxony . ?v rdf:type ontology:city } } . FILTER ( ?b < ?j ) }
[]