Simple Question (Direct)
Simple Question
Q1005677
P47
Q20667921
USER
Who share the border with Puycasquier ?
(Q1005677,P47,c(Q20667921))
action filter_type
action find
entity Q1005677
relation P47
type Q20667921
['Q1005677', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1005677 property:P47 ?p . ?p rdf:type ontology:Q20667921 }
Puycasquier
action filter_type
action find
entity Puycasquier
relation shares border with
type type of french administrative division
['Puycasquier', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Puycasquier property:shares_border_with ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q859465 Q860263 Q1006392
SYSTEM
Crastes, Pis, Miramont-Latour
Q1004795 Q859465 Q860263 Q996993 Q668857 Q1005681 Q1006416 Q1006392 Q1006369
(Q1005677,P47,c(Q20667921))
action filter_type
action find
entity Q1005677
relation P47
type Q20667921
[ANSWERS] share the border with Puycasquier
['Q1005677', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1005677 property:P47 ?p . ?p rdf:type ontology:Q20667921 }
Saint-Antonin Crastes Pis Augnax Tourrenquets Taybosc Maravat Miramont-Latour Mansempuy
Crastes, Pis and Miramont-Latour share the border with Puycasquier
Crastes Pis Miramont-Latour
action filter_type
action find
entity Puycasquier
relation shares border with
type type of french administrative division
['Puycasquier', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Puycasquier property:shares_border_with ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1006392
P915
Q838948
USER
Which work of art was filmed in the location Miramont-Latour ?
(c(Q838948),P915,Q1006392)
action filter_type
action find_reverse
entity Q1006392
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1006392']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q1006392 . ?o rdf:type ontology:Q838948 }
Miramont-Latour
action filter_type
action find_reverse
entity Miramont-Latour
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Miramont-Latour']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Miramont-Latour . ?o rdf:type ontology:work_of_art }
[]
work of art
Q194346
SYSTEM
The Musketeer
Q194346
(c(Q838948),P915,Q1006392)
action filter_type
action find_reverse
entity Q1006392
relation P915
type Q838948
[ANSWER] was filmed in the location Miramont-Latour
[{'concept': 'Q838948'}, 'P915', 'Q1006392']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q1006392 . ?o rdf:type ontology:Q838948 }
The Musketeer
The Musketeer was filmed in the location Miramont-Latour
The Musketeer
action filter_type
action find_reverse
entity Miramont-Latour
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Miramont-Latour']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Miramont-Latour . ?o rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q194346 Q7615130
P1431
Q502895
USER
Is Steven Paul the excecutive producer of The Musketeer ?
(Q194346,P1431,Q7615130)
action is_in
entity Q7615130
action find
entity Q194346
relation P1431
['Q194346', 'P1431', 'Q7615130']
ASK WHERE { resource:Q194346 property:P1431 resource:Q7615130 }
The Musketeer Steven Paul
action is_in
entity Steven Paul
action find
entity The Musketeer
relation executive producer
['The Musketeer', 'executive producer', 'Steven Paul']
ASK WHERE { resource:The_Musketeer property:executive_producer resource:Steven_Paul }
[]
common name
SYSTEM
YES
(Q194346,P1431,Q7615130)
action is_in
entity Q7615130
action find
entity Q194346
relation P1431
[ANSWER]
['Q194346', 'P1431', 'Q7615130']
ASK WHERE { resource:Q194346 property:P1431 resource:Q7615130 }
Yes
action is_in
entity Steven Paul
action find
entity The Musketeer
relation executive producer
['The Musketeer', 'executive producer', 'Steven Paul']
ASK WHERE { resource:The_Musketeer property:executive_producer resource:Steven_Paul }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q859465 Q9552 Q142
P17
Q15617994
USER
Is Crastes present in Perosa Canavese and France ?
(Q859465,P17,Q9552) (Q859465,P17,Q142)
action is_in
entity Q859465
action intersection
action find_reverse
entity Q9552
relation P17
action find_reverse
entity Q142
relation P17
['Q859465', 'P17', 'Q9552'] ['Q859465', 'P17', 'Q142']
ASK WHERE { resource:Q859465 property:P17 resource:Q142 . resource:Q859465 property:P17 resource:Q9552 }
Crastes Perosa Canavese France
action is_in
entity Crastes
action intersection
action find_reverse
entity Perosa Canavese
relation country
action find_reverse
entity France
relation country
['Crastes', 'country', 'Perosa Canavese'] ['Crastes', 'country', 'France']
ASK WHERE { resource:Crastes property:country resource:France . resource:Crastes property:country resource:Perosa_Canavese }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q859465,P17,Q9552) (Q859465,P17,Q142)
action is_in
entity Q859465
action intersection
action find_reverse
entity Q9552
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q859465', 'P17', 'Q9552'] ['Q859465', 'P17', 'Q142']
ASK WHERE { resource:Q859465 property:P17 resource:Q142 . resource:Q859465 property:P17 resource:Q9552 }
NO and YES respectively
action is_in
entity Crastes
action intersection
action find_reverse
entity Perosa Canavese
relation country
action find_reverse
entity France
relation country
['Crastes', 'country', 'Perosa Canavese'] ['Crastes', 'country', 'France']
ASK WHERE { resource:Crastes property:country resource:France . resource:Crastes property:country resource:Perosa_Canavese }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1005677 Q1552717 Q39909
P17
Q15617994
USER
Is Puycasquier present in Ober-Kinzig and Rognano ?
(Q1005677,P17,Q1552717) (Q1005677,P17,Q39909)
action is_in
entity Q1005677
action intersection
action find_reverse
entity Q1552717
relation P17
action find_reverse
entity Q39909
relation P17
['Q1005677', 'P17', 'Q1552717'] ['Q1005677', 'P17', 'Q39909']
ASK WHERE { resource:Q1005677 property:P17 resource:Q1552717 . resource:Q1005677 property:P17 resource:Q39909 }
Puycasquier Ober-Kinzig Rognano
action is_in
entity Puycasquier
action intersection
action find_reverse
entity Ober-Kinzig
relation country
action find_reverse
entity Rognano
relation country
['Puycasquier', 'country', 'Ober-Kinzig'] ['Puycasquier', 'country', 'Rognano']
ASK WHERE { resource:Puycasquier property:country resource:Ober-Kinzig . resource:Puycasquier property:country resource:Rognano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1005677,P17,Q1552717) (Q1005677,P17,Q39909)
action is_in
entity Q1005677
action intersection
action find_reverse
entity Q1552717
relation P17
action find_reverse
entity Q39909
relation P17
[ANSWER]
['Q1005677', 'P17', 'Q1552717'] ['Q1005677', 'P17', 'Q39909']
ASK WHERE { resource:Q1005677 property:P17 resource:Q1552717 . resource:Q1005677 property:P17 resource:Q39909 }
No
action is_in
entity Puycasquier
action intersection
action find_reverse
entity Ober-Kinzig
relation country
action find_reverse
entity Rognano
relation country
['Puycasquier', 'country', 'Ober-Kinzig'] ['Puycasquier', 'country', 'Rognano']
ASK WHERE { resource:Puycasquier property:country resource:Ober-Kinzig . resource:Puycasquier property:country resource:Rognano }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2966275 Q860263
P47 P19
Q20667921
USER
Which french administrative divisions share the border with Pis or are the birthplace of Christophe Guilluy ?
OR((Q860263,P47,c(Q20667921)), (Q2966275,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q860263
relation P47
action find
entity Q2966275
relation P19
type Q20667921
{'OR': [['Q860263', 'P47', {'concept': 'Q20667921'}], ['Q2966275', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q860263 property:P47 ?r } UNION { resource:Q2966275 property:P19 ?r } } . ?r rdf:type ontology:Q20667921 }
Christophe Guilluy Pis
action filter_type
action union
action find
entity Pis
relation shares border with
action find
entity Christophe Guilluy
relation place of birth
type type of french administrative division
{'OR': [['Pis', 'shares border with', {'concept': 'type of french administrative division'}], ['Christophe Guilluy', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Pis property:shares_border_with ?r } UNION { resource:Christophe_Guilluy property:place_of_birth ?r } } . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1005677 Q193370 Q1005681 Q777353 Q1006814 Q859610 Q1006392
SYSTEM
Puycasquier, Montreuil, Taybosc, Lalanne, Goutz, Céran, Miramont-Latour
Q1005677 Q193370 Q1005681 Q777353 Q1006814 Q859610 Q1006392
OR((Q860263,P47,c(Q20667921)), (Q2966275,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q860263
relation P47
action find
entity Q2966275
relation P19
type Q20667921
[ANSWERS] share the border with Pis or are the birthplace of Christophe Guilluy
{'OR': [['Q860263', 'P47', {'concept': 'Q20667921'}], ['Q2966275', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q860263 property:P47 ?r } UNION { resource:Q2966275 property:P19 ?r } } . ?r rdf:type ontology:Q20667921 }
Puycasquier Montreuil Taybosc Lalanne Goutz Céran Miramont-Latour
Puycasquier, Montreuil, Taybosc, Lalanne, Goutz, Céran and Miramont-Latour share the border with Pis or are the birthplace of Christophe Guilluy
Puycasquier Montreuil Taybosc Lalanne Goutz Céran Miramont-Latour
action filter_type
action union
action find
entity Pis
relation shares border with
action find
entity Christophe Guilluy
relation place of birth
type type of french administrative division
{'OR': [['Pis', 'shares border with', {'concept': 'type of french administrative division'}], ['Christophe Guilluy', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Pis property:shares_border_with ?r } UNION { resource:Christophe_Guilluy property:place_of_birth ?r } } . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q193370
P19
Q502895
USER
How many people have birthplace at Montreuil ?
(c(Q502895),P19,Q193370)
action count
action filter_type
action find_reverse
entity Q193370
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q193370']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P19 resource:Q193370 . ?q rdf:type ontology:Q502895 }
Montreuil
action count
action filter_type
action find_reverse
entity Montreuil
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Montreuil']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:place_of_birth resource:Montreuil . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
118
Q16028266 Q1974920 Q2975688 Q25936199 Q1999768 Q3269216 Q3261628 Q3368901 Q321649 Q5435252 Q1233406 Q3219497 Q3369211 Q15079088 Q3268306 Q3085877 Q3167832 Q2848717 Q7437393 Q2141202 Q3031122 Q3572033 Q236138 Q3102123 Q5200699 Q19945057 Q3026993 Q3560750 Q3524546 Q22210090 Q17350623 Q3266455 Q1314747 Q3219269 Q3168981 Q286445 Q16269594 Q3144826 Q432685 Q19945004 Q3219246 Q60611 Q3419454 Q3168024 Q3219012 Q3471977 Q3367388 Q1747188 Q324187 Q2551989 Q3052825 Q3105513 Q2090879 Q25905775 Q3336562 Q1607471 Q3172342 Q1059176 Q3709230 Q3047747 Q3328980 Q2942068 Q24088820 Q16678104 Q3288107 Q3325899 Q2944686 Q513221 Q3572348 Q3168748 Q2942213 Q20971857 Q391302 Q20745071 Q3159406 Q23021082 Q3022927 Q2400314 Q20005809 Q3129959 Q3166988 Q288477 Q1982299 Q23926434 Q3082482 Q946440 Q2998296 Q27739 Q1524081 Q3144618 Q19975190 Q3168716 Q74191 Q2055348 Q3556020 Q3510249 Q6215204 Q3171756 Q444545 Q2966275 Q2298698 Q3086571 Q314879 Q2070432 Q554183 Q3191041 Q3675669 Q1684965 Q3241831 Q3292246 Q3106169 Q22211602 Q4202264 Q3106768 Q1050982 Q19999524 Q2221186 Q21294674
(c(Q502895),P19,Q193370)
action count
action filter_type
action find_reverse
entity Q193370
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q193370']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P19 resource:Q193370 . ?q rdf:type ontology:Q502895 }
Frédéric Verger Niels Arestrup Clary Monthal Damien Roudeau Michel Rougerie Lydia Schénardi Louis Cuny Patrice Calmejane Djamel Abdoun Farid Hazem Mathieu Valverde Laurent Sagalovitsch Patrick Bard Tony Tixier Liazid Sandjak François Taddei Jean-Marie Stéphanopoli André Trigano Scott Tixier Oumar Bakari Valentin Roberge Yazid Kaïssi Élodie Bouchez Georges-Maurice Defert Cyril Eboki Poh Michaël Garçon Didier Daurat Virginie Linhart Thierry Tonnelier Romain Carpentier Raymond Grandsart Luigi Glombard Peter of Montereau Laurent Guénet Jean-Pierre Bastid Charles-Émile Reynaud Michel Galvin Hélène Montardre Sabine Haudepin Toumany Coulibaly Laurent Genefort Quentin Othon Raphaël Guerreiro Jean-Michel Fourgous Laurent Baffie Sandrine Aurières Pascal Durand Mohamed Chalali Jean-Pierre Jouyet Lionel Mathis Emmanuel Perrotin Gil Alma Annick Dumont Florian Bruzzo Nathalie Courval Roger Hubert Jean Gosset Mehdi Abeid Abel Thermeus Edmond Blaise Mustapha Raifak Catherine Szaibrum Aurélien Gazeau Stéphane Imbratta Marc Herpoux Mouloud Akkouche Mamadou Samassa Marion Vernoux Yoan Pivaty Jean-Philippe Biojout Cathy Ytak Karine Rubini Michel Vermeulin Nordi Mukiele Jacques Lizot Fatsah Bouyahmed Denis Roux Souarata Cissé Marie Anne Lureau Helno Jean-Louis Swiners Éric Zemmour Sandra Temporelli Émeric Chantier Frank Anastasio Steven Thicot Cosmo Vitelli Oumar Sissoko Gilbert Trigano Héla Fattoumi & Éric Lamoureux Gaston-Auguste Schweitzer Jean-Paul Wolf Evelyne Gebhardt Yvon Ledanois Veronica Antico Sébastien Paindestre Johan Letzelter Jean Divry Marie Rivière Christophe Guilluy William Prunier Françoise Pinkwasser Olivier Dacourt Chaher Zarour Jean-Claude Andruet Jérôme Robart Christian Le Bartz Jean-Louis Déotte Lionel Carole Marie-Sophie Vermot Thierry Neuvic Jacques Poupon Christopher Glombard Ginie Line Catherine Hiegel Jacques Grinblat Sandrine Roux Jean-Marc Gaucher
118
action count
action filter_type
action find_reverse
entity Montreuil
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Montreuil']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:place_of_birth resource:Montreuil . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1479726
P1376
Q7275 Q20667921
USER
Which states have greater number of french administrative divisions as their capital than Federation of Malaya ?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q1479726
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P1376 ?y . ?y rdf:type ontology:Q7275 . ?r rdf:type ontology:Q20667921 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q1479726 property:P1376 ?q . ?q rdf:type ontology:Q7275 } } . FILTER ( ?a > ?t ) }
Federation of Malaya
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Federation of Malaya
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:capital_of ?y . ?y rdf:type ontology:state . ?r rdf:type ontology:type_of_french_administrative_division } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Federation_of_Malaya property:capital_of ?q . ?q rdf:type ontology:state } } . FILTER ( ?a > ?t ) }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q1479726
relation P1376
type Q7275
[ANSWERS] have greater number of french administrative divisions as their capital than Federation of Malaya
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P1376 ?y . ?y rdf:type ontology:Q7275 . ?r rdf:type ontology:Q20667921 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q1479726 property:P1376 ?q . ?q rdf:type ontology:Q7275 } } . FILTER ( ?a > ?t ) }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo, Duchy of Normandy and Republic of Saugeais have greater number of french administrative divisions as their capital than Federation of Malaya
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Federation of Malaya
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:capital_of ?y . ?y rdf:type ontology:state . ?r rdf:type ontology:type_of_french_administrative_division } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Federation_of_Malaya property:capital_of ?q . ?q rdf:type ontology:state } } . FILTER ( ?a > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q172107
P1376
Q7275 Q20667921
USER
And how about Polish–Lithuanian Commonwealth?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q172107
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q172107 property:P1376 ?g . ?g rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1376 ?u . ?u rdf:type ontology:Q7275 . ?v rdf:type ontology:Q20667921 } GROUP BY ?u } }
Polish–Lithuanian Commonwealth
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Polish–Lithuanian Commonwealth
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Polish–Lithuanian_Commonwealth property:capital_of ?g . ?g rdf:type ontology:state } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:capital_of ?u . ?u rdf:type ontology:state . ?v rdf:type ontology:type_of_french_administrative_division } GROUP BY ?u } }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q172107
relation P1376
type Q7275
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q172107 property:P1376 ?g . ?g rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1376 ?u . ?u rdf:type ontology:Q7275 . ?v rdf:type ontology:Q20667921 } GROUP BY ?u } }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Polish–Lithuanian Commonwealth
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?q > ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Polish–Lithuanian_Commonwealth property:capital_of ?g . ?g rdf:type ontology:state } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:capital_of ?u . ?u rdf:type ontology:state . ?v rdf:type ontology:type_of_french_administrative_division } GROUP BY ?u } }
[]