Simple Question (Direct)
Simple Question
Q1362647
P47
Q20667921
USER
Which french administrative divisions are bordered by Saint-Loup-de-Buffigny ?
(Q1362647,P47,c(Q20667921))
action filter_type
action find
entity Q1362647
relation P47
type Q20667921
['Q1362647', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1362647 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Saint-Loup-de-Buffigny
action filter_type
action find
entity Saint-Loup-de-Buffigny
relation shares border with
type type of french administrative division
['Saint-Loup-de-Buffigny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Loup-de-Buffigny property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1085407 Q1363590 Q1105440
SYSTEM
Avant-lès-Marcilly, Saint-Martin-de-Bossenay, Saint-Hilaire-sous-Romilly
Q1363590 Q1146070 Q1105440 Q597752 Q1085407 Q1146702 Q1146255
(Q1362647,P47,c(Q20667921))
action filter_type
action find
entity Q1362647
relation P47
type Q20667921
[ANSWERS] are bordered by Saint-Loup-de-Buffigny
['Q1362647', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1362647 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Saint-Martin-de-Bossenay La Fosse-Corduan Saint-Hilaire-sous-Romilly Rigny-la-Nonneuse Avant-lès-Marcilly Gélannes Ferreux-Quincey
Avant-lès-Marcilly, Saint-Martin-de-Bossenay and Saint-Hilaire-sous-Romilly are bordered by Saint-Loup-de-Buffigny
Avant-lès-Marcilly Saint-Martin-de-Bossenay Saint-Hilaire-sous-Romilly
action filter_type
action find
entity Saint-Loup-de-Buffigny
relation shares border with
type type of french administrative division
['Saint-Loup-de-Buffigny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Loup-de-Buffigny property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085407 Q1363590 Q1105440
P47
Q20667921
USER
Which french administrative divisions share border with those ones ?
(c(Q20667921),P47,Q1085407) (c(Q20667921),P47,Q1363590) (c(Q20667921),P47,Q1105440)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1085407'] [{'concept': 'Q20667921'}, 'P47', 'Q1363590'] [{'concept': 'Q20667921'}, 'P47', 'Q1105440']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . ?s property:P47 ?p . VALUES ( ?s ) { ( resource:Q1363590 ) ( resource:Q1146070 ) ( resource:Q1105440 ) } }
Avant-lès-Marcilly Saint-Martin-de-Bossenay Saint-Hilaire-sous-Romilly
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Avant-lès-Marcilly'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Martin-de-Bossenay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Hilaire-sous-Romilly']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . ?s property:shares_border_with ?p . VALUES ( ?s ) { ( resource:Saint-Martin-de-Bossenay ) ( resource:La_Fosse-Corduan ) ( resource:Saint-Hilaire-sous-Romilly ) } }
[]
type of french administrative division
Q727297 Q818042 Q1362647
SYSTEM
Romilly-sur-Seine, Pont-sur-Seine, Saint-Loup-de-Buffigny
Q1362647 Q597752 Q670273 Q1376426 Q1033659 Q1153704 Q1146255 Q1362400 Q1410024 Q544466 Q1146070 Q1362647 Q965662 Q597752 Q1361928 Q1376191 Q1146702 Q1362647 Q727297 Q1376191 Q1033557 Q818042 Q1146255 Q1146702
(c(Q20667921),P47,Q1085407) (c(Q20667921),P47,Q1363590) (c(Q20667921),P47,Q1105440)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] share border with those ones
[{'concept': 'Q20667921'}, 'P47', 'Q1085407'] [{'concept': 'Q20667921'}, 'P47', 'Q1363590'] [{'concept': 'Q20667921'}, 'P47', 'Q1105440']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . ?s property:P47 ?p . VALUES ( ?s ) { ( resource:Q1363590 ) ( resource:Q1146070 ) ( resource:Q1105440 ) } }
Saint-Loup-de-Buffigny Rigny-la-Nonneuse Fontaine-Mâcon Soligny-les-Étangs Charmoy Bouy-sur-Orvin Ferreux-Quincey Fay-lès-Marcilly Trancault Saint-Aubin La Fosse-Corduan Saint-Loup-de-Buffigny Marigny-le-Châtel Rigny-la-Nonneuse Ossey-les-Trois-Maisons Pars-lès-Romilly Gélannes Saint-Loup-de-Buffigny Romilly-sur-Seine Pars-lès-Romilly Crancey Pont-sur-Seine Ferreux-Quincey Gélannes
Romilly-sur-Seine, Pont-sur-Seine and Saint-Loup-de-Buffigny share border with those ones
Romilly-sur-Seine Pont-sur-Seine Saint-Loup-de-Buffigny
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Avant-lès-Marcilly'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Martin-de-Bossenay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Hilaire-sous-Romilly']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . ?s property:shares_border_with ?p . VALUES ( ?s ) { ( resource:Saint-Martin-de-Bossenay ) ( resource:La_Fosse-Corduan ) ( resource:Saint-Hilaire-sous-Romilly ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q727297
P1376
Q20667921
USER
Which french administrative divisions have that one as their capital ?
(Q727297,P1376,c(Q20667921))
action filter_type
action find
entity Q727297
relation P1376
type Q20667921
['Q727297', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q727297 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
Romilly-sur-Seine
action filter_type
action find
entity Romilly-sur-Seine
relation capital of
type type of french administrative division
['Romilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Romilly-sur-Seine property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q727297
SYSTEM
Did you mean Romilly-sur-Seine ?
Q727297 Q818042 Q1362647
(Q727297,P1376,c(Q20667921)) (Q818042,P1376,c(Q20667921)) (Q1362647,P1376,c(Q20667921))
[ANSWER]
['Q727297', 'P1376', {'concept': 'Q20667921'}] ['Q818042', 'P1376', {'concept': 'Q20667921'}] ['Q1362647', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q727297 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
Romilly-sur-Seine Pont-sur-Seine Saint-Loup-de-Buffigny
Did you mean Romilly-sur-Seine ?
Romilly-sur-Seine
['Romilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}] ['Pont-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Loup-de-Buffigny', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Romilly-sur-Seine property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q727297,P1376,c(Q20667921))
['Q727297', 'P1376', {'concept': 'Q20667921'}]
['Romilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
[]
Q525518 Q174319
SYSTEM
canton of Romilly-sur-Seine-2, canton of Romilly-sur-Seine-1
Q525518 Q174319
(Q727297,P1376,c(Q20667921))
action filter_type
action find
entity Q727297
relation P1376
type Q20667921
[ANSWERS] have that one as their capital
['Q727297', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q727297 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
canton of Romilly-sur-Seine-2 canton of Romilly-sur-Seine-1
Canton of Romilly-sur-Seine-2 and canton of Romilly-sur-Seine-1 have that one as their capital
canton of Romilly-sur-Seine-2 canton of Romilly-sur-Seine-1
action filter_type
action find
entity Romilly-sur-Seine
relation capital of
type type of french administrative division
['Romilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Romilly-sur-Seine property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1085407 Q25607
P47
Q13220204
USER
How many administrative country subdivisions do Avant-lès-Marcilly or St. Gallen share a border with ?
(c(Q13220204),P47,Q1085407) (c(Q13220204),P47,Q25607)
action count
action union
action filter_type
action find_reverse
entity Q1085407
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q25607
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q1085407'] [{'concept': 'Q13220204'}, 'P47', 'Q25607']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P47 ?x . VALUES ( ?x ) { ( resource:Q1085407 ) ( resource:Q25607 ) } }
Avant-lès-Marcilly St. Gallen
action count
action union
action filter_type
action find_reverse
entity Avant-lès-Marcilly
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity St. Gallen
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Avant-lès-Marcilly'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'St. Gallen']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:shares_border_with ?x . VALUES ( ?x ) { ( resource:Avant-lès-Marcilly ) ( resource:St._Gallen ) } }
[]
second-level administrative country subdivision
SYSTEM
9
Q66868 Q66334 Q67209 Q69777 Q67148 Q67193 Q66416 Q66781 Q66056
(c(Q13220204),P47,Q1085407) (c(Q13220204),P47,Q25607)
action count
action union
action filter_type
action find_reverse
entity Q1085407
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q25607
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q1085407'] [{'concept': 'Q13220204'}, 'P47', 'Q25607']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P47 ?x . VALUES ( ?x ) { ( resource:Q1085407 ) ( resource:Q25607 ) } }
Eggersriet Mörschwil Teufen Gossau Speicher Stein Untereggen Gaiserwald Wittenbach
9
action count
action union
action filter_type
action find_reverse
entity Avant-lès-Marcilly
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity St. Gallen
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Avant-lès-Marcilly'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'St. Gallen']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:shares_border_with ?x . VALUES ( ?x ) { ( resource:Avant-lès-Marcilly ) ( resource:St._Gallen ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q24575674 Q1362647
P17
Q15617994
USER
Which administrative territories are Saint-Loup-de-Buffigny and chemin de Clairoun de Bas located in ?
AND((Q1362647,P17,c(Q15617994)), (Q24575674,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1362647
relation P17
action find
entity Q24575674
relation P17
type Q15617994
{'AND': [['Q1362647', 'P17', {'concept': 'Q15617994'}], ['Q24575674', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q1362647 property:P17 ?e . resource:Q24575674 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
chemin de Clairoun de Bas Saint-Loup-de-Buffigny
action filter_type
action intersection
action find
entity Saint-Loup-de-Buffigny
relation country
action find
entity chemin de Clairoun de Bas
relation country
type designation for an administrative territorial entity
{'AND': [['Saint-Loup-de-Buffigny', 'country', {'concept': 'designation for an administrative territorial entity'}], ['chemin de Clairoun de Bas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Saint-Loup-de-Buffigny property:country ?e . resource:chemin_de_Clairoun_de_Bas property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q1362647,P17,c(Q15617994)), (Q24575674,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1362647
relation P17
action find
entity Q24575674
relation P17
type Q15617994
[ANSWER] is Saint-Loup-de-Buffigny and chemin de Clairoun de Bas located in
{'AND': [['Q1362647', 'P17', {'concept': 'Q15617994'}], ['Q24575674', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q1362647 property:P17 ?e . resource:Q24575674 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
France
France is Saint-Loup-de-Buffigny and chemin de Clairoun de Bas located in
France
action filter_type
action intersection
action find
entity Saint-Loup-de-Buffigny
relation country
action find
entity chemin de Clairoun de Bas
relation country
type designation for an administrative territorial entity
{'AND': [['Saint-Loup-de-Buffigny', 'country', {'concept': 'designation for an administrative territorial entity'}], ['chemin de Clairoun de Bas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Saint-Loup-de-Buffigny property:country ?e . resource:chemin_de_Clairoun_de_Bas property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q636592
P159
Q20667921 Q28640 Q1269299
USER
How many french administrative divisions are the head offices of greater number of professions or business organizations than Balbigny ?
(c(Q28640)|c(Q1269299),P159,c(Q20667921))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q28640
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q636592
relation P159
type Q28640
type Q1269299
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P159 resource:Q636592 . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?v WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } GROUP BY ?v } }
Balbigny
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type profession
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Balbigny
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:headquarters_location resource:Balbigny . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?v WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } GROUP BY ?v } }
[]
type of french administrative division profession type of business entity
SYSTEM
52
Q234743 Q50189 Q42807 Q1389275 Q6593 Q47465 Q212274 Q234735 Q38380 Q42168 Q20441 Q334301 Q794124 Q6730 Q160506 Q172455 Q1064869 Q265657 Q910089 Q213515 Q828625 Q202565 Q627252 Q39984 Q170507 Q648073 Q223692 Q193370 Q1058168 Q189153 Q242569 Q724403 Q271649 Q237303 Q208314 Q209086 Q79815 Q245080 Q675950 Q135265 Q42716 Q474555 Q13596 Q182481 Q45797 Q268281 Q271407 Q288 Q206493 Q836443 Q6397 Q192982
(c(Q28640)|c(Q1269299),P159,c(Q20667921))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q28640
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q636592
relation P159
type Q28640
type Q1269299
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P159 resource:Q636592 . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?v WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } GROUP BY ?v } }
Puteaux Annecy Nîmes Verneuil-en-Halatte Vannes Aix-en-Provence Nogent-sur-Marne Meudon Angers Clermont-Ferrand Quetigny Berck Saint-Rémy-lès-Chevreuse Perpignan Saint-Denis Boulogne-Billancourt Montesquieu Vert-le-Petit Saint-Genis-Laval Ancenis Villebon-sur-Yvette Coutances Aubière Cannes Nanterre Saint-Marcel Cornillé Montreuil Roissy-en-Brie Saint-Cloud Montgeron Hautot-le-Vatois Marcq-en-Barœul Guyancourt Maisons-Alfort Pantin Mulhouse Bourbon-l'Archambault Grans Issy-les-Moulineaux Saint-Étienne Castelnau-le-Lez Vaulx-en-Velin Tourcoing Dunkirk Lognes Orvault Tours Sèvres Chalezeule Avignon Cluny
52
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type profession
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Balbigny
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:headquarters_location resource:Balbigny . { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?v WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q185721
P159
Q20667921 Q28640 Q1269299
USER
And also tell me about Bar-le-Duc?
(c(Q28640)|c(Q1269299),P159,c(Q20667921))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q28640
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q185721
relation P159
type Q28640
type Q1269299
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P159 resource:Q185721 . { { ?j rdf:type ontology:Q28640 } UNION { ?j rdf:type ontology:Q1269299 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?n WHERE { { ?e property:P159 ?n . ?e rdf:type ontology:Q28640 . ?n rdf:type ontology:Q20667921 } UNION { ?e property:P159 ?n . ?n rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q1269299 } } GROUP BY ?n } }
Bar-le-Duc
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type profession
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Bar-le-Duc
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:headquarters_location resource:Bar-le-Duc . { { ?j rdf:type ontology:profession } UNION { ?j rdf:type ontology:type_of_business_entity } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?n WHERE { { ?e property:headquarters_location ?n . ?e rdf:type ontology:profession . ?n rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:headquarters_location ?n . ?n rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:type_of_business_entity } } GROUP BY ?n } }
[]
type of french administrative division profession type of business entity
SYSTEM
52
Q234743 Q50189 Q42807 Q1389275 Q6593 Q47465 Q212274 Q234735 Q38380 Q42168 Q20441 Q334301 Q794124 Q6730 Q160506 Q172455 Q1064869 Q265657 Q910089 Q213515 Q828625 Q202565 Q627252 Q39984 Q170507 Q648073 Q223692 Q193370 Q1058168 Q189153 Q242569 Q724403 Q271649 Q237303 Q208314 Q209086 Q79815 Q245080 Q675950 Q135265 Q42716 Q474555 Q13596 Q182481 Q45797 Q268281 Q271407 Q288 Q206493 Q836443 Q6397 Q192982
(c(Q28640)|c(Q1269299),P159,c(Q20667921))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q28640
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q185721
relation P159
type Q28640
type Q1269299
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P159 resource:Q185721 . { { ?j rdf:type ontology:Q28640 } UNION { ?j rdf:type ontology:Q1269299 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?n WHERE { { ?e property:P159 ?n . ?e rdf:type ontology:Q28640 . ?n rdf:type ontology:Q20667921 } UNION { ?e property:P159 ?n . ?n rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q1269299 } } GROUP BY ?n } }
Puteaux Annecy Nîmes Verneuil-en-Halatte Vannes Aix-en-Provence Nogent-sur-Marne Meudon Angers Clermont-Ferrand Quetigny Berck Saint-Rémy-lès-Chevreuse Perpignan Saint-Denis Boulogne-Billancourt Montesquieu Vert-le-Petit Saint-Genis-Laval Ancenis Villebon-sur-Yvette Coutances Aubière Cannes Nanterre Saint-Marcel Cornillé Montreuil Roissy-en-Brie Saint-Cloud Montgeron Hautot-le-Vatois Marcq-en-Barœul Guyancourt Maisons-Alfort Pantin Mulhouse Bourbon-l'Archambault Grans Issy-les-Moulineaux Saint-Étienne Castelnau-le-Lez Vaulx-en-Velin Tourcoing Dunkirk Lognes Orvault Tours Sèvres Chalezeule Avignon Cluny
52
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type profession
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Bar-le-Duc
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { FILTER ( ?l > ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:headquarters_location resource:Bar-le-Duc . { { ?j rdf:type ontology:profession } UNION { ?j rdf:type ontology:type_of_business_entity } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?n WHERE { { ?e property:headquarters_location ?n . ?e rdf:type ontology:profession . ?n rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:headquarters_location ?n . ?n rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:type_of_business_entity } } GROUP BY ?n } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2833639 Q818042
P47 P20
Q20667921
USER
Which french administrative divisions share border with Pont-sur-Seine or did the demise of Alexandre Dumaine occur ?
OR((Q818042,P47,c(Q20667921)), (Q2833639,P20,c(Q20667921)))
action filter_type
action union
action find
entity Q818042
relation P47
action find
entity Q2833639
relation P20
type Q20667921
{'OR': [['Q818042', 'P47', {'concept': 'Q20667921'}], ['Q2833639', 'P20', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q818042 property:P47 ?l } UNION { resource:Q2833639 property:P20 ?l } } . ?l rdf:type ontology:Q20667921 }
Alexandre Dumaine Pont-sur-Seine
action filter_type
action union
action find
entity Pont-sur-Seine
relation shares border with
action find
entity Alexandre Dumaine
relation place of death
type type of french administrative division
{'OR': [['Pont-sur-Seine', 'shares border with', {'concept': 'type of french administrative division'}], ['Alexandre Dumaine', 'place of death', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Pont-sur-Seine property:shares_border_with ?l } UNION { resource:Alexandre_Dumaine property:place_of_death ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q133069 Q1033557 Q1376179 Q1105440 Q1438549 Q981550 Q1146249 Q1146255 Q544466
SYSTEM
Bourg-en-Bresse, Crancey, Périgny-la-Rose, Saint-Hilaire-sous-Romilly, La Villeneuve-au-Châtelot, Barbuise, Marnay-sur-Seine, Ferreux-Quincey, Saint-Aubin
Q133069 Q1033557 Q1376179 Q1105440 Q1438549 Q981550 Q1146249 Q1146255 Q544466
OR((Q818042,P47,c(Q20667921)), (Q2833639,P20,c(Q20667921)))
action filter_type
action union
action find
entity Q818042
relation P47
action find
entity Q2833639
relation P20
type Q20667921
[ANSWERS] share border with Pont-sur-Seine or did the demise of Alexandre Dumaine occur
{'OR': [['Q818042', 'P47', {'concept': 'Q20667921'}], ['Q2833639', 'P20', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q818042 property:P47 ?l } UNION { resource:Q2833639 property:P20 ?l } } . ?l rdf:type ontology:Q20667921 }
Bourg-en-Bresse Crancey Périgny-la-Rose Saint-Hilaire-sous-Romilly La Villeneuve-au-Châtelot Barbuise Marnay-sur-Seine Ferreux-Quincey Saint-Aubin
Bourg-en-Bresse, Crancey, Périgny-la-Rose, Saint-Hilaire-sous-Romilly, La Villeneuve-au-Châtelot, Barbuise, Marnay-sur-Seine, Ferreux-Quincey and Saint-Aubin share border with Pont-sur-Seine or did the demise of Alexandre Dumaine occur
Bourg-en-Bresse Crancey Périgny-la-Rose Saint-Hilaire-sous-Romilly La Villeneuve-au-Châtelot Barbuise Marnay-sur-Seine Ferreux-Quincey Saint-Aubin
action filter_type
action union
action find
entity Pont-sur-Seine
relation shares border with
action find
entity Alexandre Dumaine
relation place of death
type type of french administrative division
{'OR': [['Pont-sur-Seine', 'shares border with', {'concept': 'type of french administrative division'}], ['Alexandre Dumaine', 'place of death', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Pont-sur-Seine property:shares_border_with ?l } UNION { resource:Alexandre_Dumaine property:place_of_death ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q50189
P159
Q20667921 Q7210356 Q4830453
USER
How many french administrative divisions are the head office for less number of political organizations and business enterprises located than Annecy ?
(c(Q7210356)|c(Q4830453),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q50189
relation P159
type Q7210356
type Q4830453
[[{'concept': 'Q7210356'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P159 resource:Q50189 . { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q7210356 } } } } . FILTER ( ?g < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:P159 ?x . ?i rdf:type ontology:Q7210356 . ?x rdf:type ontology:Q20667921 } UNION { ?i property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q4830453 } } GROUP BY ?x } }
Annecy
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Annecy
relation headquarters location
type political organization
type business enterprise
[[{'concept': 'political organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:headquarters_location resource:Annecy . { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:political_organization } } } } . FILTER ( ?g < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:headquarters_location ?x . ?i rdf:type ontology:political_organization . ?x rdf:type ontology:type_of_french_administrative_division } UNION { ?i property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:business_enterprise } } GROUP BY ?x } }
[]
type of french administrative division political organization business enterprise
SYSTEM
408
Q22438 Q205537 Q184359 Q1047751 Q317433 Q1226504 Q1004486 Q182872 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q22810 Q46712 Q1018637 Q274683 Q271068 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q219383 Q636993 Q126675 Q213555 Q211121 Q269430 Q163108 Q21347 Q21346 Q1389275 Q194141 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q47135 Q491948 Q22697 Q22690 Q238429 Q207156 Q819837 Q565982 Q369954 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q274774 Q474768 Q735931 Q269166 Q274412 Q185066 Q192426 Q163795 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q239908 Q752150 Q1384871 Q174247 Q207614 Q1106922 Q161884 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q37719 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q746946 Q239091 Q285 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1144900 Q264637 Q193819 Q167024 Q291197 Q728517 Q532070 Q526378 Q242536 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q21298 Q728033 Q675537 Q271604 Q658561 Q21569 Q733833 Q818443 Q194160 Q188658 Q376986 Q1058168 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q777493 Q174251 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q59724 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q209086 Q338877 Q234728 Q128466 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205580 Q382095 Q3581 Q193861 Q280296 Q41139 Q833394 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q841345 Q852904 Q637279 Q791277 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q21359 Q234274 Q207584 Q6588 Q474555 Q249884 Q243135 Q193183 Q82185 Q636592 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q209005 Q203645 Q239078 Q41185 Q269732 Q182481 Q2087041 Q240546 Q956943 Q1469416 Q45797 Q1047719 Q268281 Q1388467 Q220159 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q208851 Q231720 Q243597 Q288 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q192982 Q6544 Q193256 Q769160 Q752466 Q193313 Q629891 Q5489 Q193903
(c(Q7210356)|c(Q4830453),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q50189
relation P159
type Q7210356
type Q4830453
[ANSWER]
[[{'concept': 'Q7210356'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P159 resource:Q50189 . { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q7210356 } } } } . FILTER ( ?g < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:P159 ?x . ?i rdf:type ontology:Q7210356 . ?x rdf:type ontology:Q20667921 } UNION { ?i property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q4830453 } } GROUP BY ?x } }
Entzheim Épernay Le Puy-en-Velay Chappes Les Mureaux Ruaudin Macau Fontainebleau Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges Dorlisheim Fontaine-lès-Dijon Méolans-Revel Abrest Blagnac Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Saint-Uze Marnes-la-Coquette Chantilly Corte Aubenas Bourg-lès-Valence Saint-Malo Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Château-Thierry Tours-sur-Marne Vannes Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Châlons-en-Champagne Les Clayes-sous-Bois Molsheim Metz Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Viviers Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Cholet Le Val-d'Ajol Valenciennes Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Pol-de-Léon Paray-Vieille-Poste La Ménitré Mâcon Figeac L'Horme Bagneux Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Beaurainville Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Coulounieix-Chamiers Croix Cognac Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Jarnac-Champagne Wissous Vincennes Basse-Terre Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Reichshoffen Le Bar-sur-Loup Averton Émerainville Lezennes Sarre-Union Pibrac Briare Clamart Aïcirits-Camou-Suhast Lédenon Roissy-en-Brie Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Taissy Châteauroux Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Lestrem Roubaix Labège Saint-Ours Le Bourget Étain Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Pantin Châteauneuf-du-Pape Vanves Villejuif Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Palaiseau Trégunc Roanne Castelnaudary Tain-l'Hermitage Melun Gretz-Armainvilliers Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Domancy Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Merkwiller-Pechelbronn Manosque Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Alès La Rochelle Balbigny Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Cachan Chalon-sur-Saône Romans-sur-Isère Caen Fécamp Tourcoing Dembeni Élancourt Le Port Marcy-l'Étoile Dunkirk Hem Lognes Saint-Marcel Saint-Grégoire Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Gif-sur-Yvette Honfleur Culoz Tours Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Cluny Libourne Montluçon Grande-Synthe Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy
408
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Annecy
relation headquarters location
type political organization
type business enterprise
[[{'concept': 'political organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:headquarters_location resource:Annecy . { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:political_organization } } } } . FILTER ( ?g < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:headquarters_location ?x . ?i rdf:type ontology:political_organization . ?x rdf:type ontology:type_of_french_administrative_division } UNION { ?i property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:business_enterprise } } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q279681
P159
Q20667921 Q7210356 Q4830453
USER
And also tell me about Thouars?
(c(Q7210356)|c(Q4830453),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q279681
relation P159
type Q7210356
type Q4830453
[[{'concept': 'Q7210356'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?a < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P159 resource:Q279681 . { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7210356 ) ( ontology:Q4830453 ) } } } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q7210356 } UNION { ?v property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q4830453 } } GROUP BY ?j } }
Thouars
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Thouars
relation headquarters location
type political organization
type business enterprise
[[{'concept': 'political organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?a < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:headquarters_location resource:Thouars . { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:political_organization ) ( ontology:business_enterprise ) } } } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:political_organization } UNION { ?v property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:business_enterprise } } GROUP BY ?j } }
[]
type of french administrative division political organization business enterprise
SYSTEM
408
Q22438 Q205537 Q184359 Q1047751 Q317433 Q1226504 Q1004486 Q182872 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q22810 Q46712 Q1018637 Q274683 Q271068 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q219383 Q636993 Q126675 Q213555 Q211121 Q269430 Q163108 Q21347 Q21346 Q1389275 Q194141 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q47135 Q491948 Q22697 Q22690 Q238429 Q207156 Q819837 Q565982 Q369954 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q274774 Q474768 Q735931 Q269166 Q274412 Q185066 Q192426 Q163795 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q239908 Q752150 Q1384871 Q174247 Q207614 Q1106922 Q161884 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q37719 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q746946 Q239091 Q285 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1144900 Q264637 Q193819 Q167024 Q291197 Q728517 Q532070 Q526378 Q242536 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q21298 Q728033 Q675537 Q271604 Q658561 Q21569 Q733833 Q818443 Q194160 Q188658 Q376986 Q1058168 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q777493 Q174251 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q59724 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q209086 Q338877 Q234728 Q128466 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205580 Q382095 Q3581 Q193861 Q280296 Q41139 Q833394 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q841345 Q852904 Q637279 Q791277 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q21359 Q234274 Q207584 Q6588 Q474555 Q249884 Q243135 Q193183 Q82185 Q636592 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q209005 Q203645 Q239078 Q41185 Q269732 Q182481 Q2087041 Q240546 Q956943 Q1469416 Q45797 Q1047719 Q268281 Q1388467 Q220159 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q208851 Q231720 Q243597 Q288 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q192982 Q6544 Q193256 Q769160 Q752466 Q193313 Q629891 Q5489 Q193903
(c(Q7210356)|c(Q4830453),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q279681
relation P159
type Q7210356
type Q4830453
[ANSWER]
[[{'concept': 'Q7210356'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?a < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P159 resource:Q279681 . { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7210356 ) ( ontology:Q4830453 ) } } } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q7210356 } UNION { ?v property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q4830453 } } GROUP BY ?j } }
Entzheim Épernay Le Puy-en-Velay Chappes Les Mureaux Ruaudin Macau Fontainebleau Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges Dorlisheim Fontaine-lès-Dijon Méolans-Revel Abrest Blagnac Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Saint-Uze Marnes-la-Coquette Chantilly Corte Aubenas Bourg-lès-Valence Saint-Malo Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Château-Thierry Tours-sur-Marne Vannes Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Châlons-en-Champagne Les Clayes-sous-Bois Molsheim Metz Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Viviers Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Cholet Le Val-d'Ajol Valenciennes Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Pol-de-Léon Paray-Vieille-Poste La Ménitré Mâcon Figeac L'Horme Bagneux Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Beaurainville Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Coulounieix-Chamiers Croix Cognac Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Jarnac-Champagne Wissous Vincennes Basse-Terre Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Reichshoffen Le Bar-sur-Loup Averton Émerainville Lezennes Sarre-Union Pibrac Briare Clamart Aïcirits-Camou-Suhast Lédenon Roissy-en-Brie Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Taissy Châteauroux Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Lestrem Roubaix Labège Saint-Ours Le Bourget Étain Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Pantin Châteauneuf-du-Pape Vanves Villejuif Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Palaiseau Trégunc Roanne Castelnaudary Tain-l'Hermitage Melun Gretz-Armainvilliers Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Domancy Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Merkwiller-Pechelbronn Manosque Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Alès La Rochelle Balbigny Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Cachan Chalon-sur-Saône Romans-sur-Isère Caen Fécamp Tourcoing Dembeni Élancourt Le Port Marcy-l'Étoile Dunkirk Hem Lognes Saint-Marcel Saint-Grégoire Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Gif-sur-Yvette Honfleur Culoz Tours Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Cluny Libourne Montluçon Grande-Synthe Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy
408
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Thouars
relation headquarters location
type political organization
type business enterprise
[[{'concept': 'political organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { FILTER ( ?a < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:headquarters_location resource:Thouars . { ?o rdf:type ?b . VALUES ( ?b ) { ( ontology:political_organization ) ( ontology:business_enterprise ) } } } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:political_organization } UNION { ?v property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:business_enterprise } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q133069
P190
Q532
USER
Which village is the sister city of Bourg-en-Bresse ?
(Q133069,P190,c(Q532))
action filter_type
action find
entity Q133069
relation P190
type Q532
['Q133069', 'P190', {'concept': 'Q532'}]
SELECT DISTINCT ?t WHERE { resource:Q133069 property:P190 ?t . ?t rdf:type ontology:Q532 }
Bourg-en-Bresse
action filter_type
action find
entity Bourg-en-Bresse
relation sister city
type village
['Bourg-en-Bresse', 'sister city', {'concept': 'village'}]
SELECT DISTINCT ?t WHERE { resource:Bourg-en-Bresse property:sister_city ?t . ?t rdf:type ontology:village }
[]
village
Q213474
SYSTEM
Aylesbury
Q213474
(Q133069,P190,c(Q532))
action filter_type
action find
entity Q133069
relation P190
type Q532
[ANSWER] is the sister city of Bourg-en-Bresse
['Q133069', 'P190', {'concept': 'Q532'}]
SELECT DISTINCT ?t WHERE { resource:Q133069 property:P190 ?t . ?t rdf:type ontology:Q532 }
Aylesbury
Aylesbury is the sister city of Bourg-en-Bresse
Aylesbury
action filter_type
action find
entity Bourg-en-Bresse
relation sister city
type village
['Bourg-en-Bresse', 'sister city', {'concept': 'village'}]
SELECT DISTINCT ?t WHERE { resource:Bourg-en-Bresse property:sister_city ?t . ?t rdf:type ontology:village }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q133069
Q15617994
USER
And which administrative territory?
(Q133069,P190,c(Q15617994))
action filter_type
action find
entity Q133069
relation P190
type Q15617994
['Q133069', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q133069 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Bourg-en-Bresse
action filter_type
action find
entity Bourg-en-Bresse
relation sister city
type designation for an administrative territorial entity
['Bourg-en-Bresse', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bourg-en-Bresse property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q7047 Q19275
SYSTEM
Bad Kreuznach, San Severo
Q7047 Q19275
(Q133069,P190,c(Q15617994))
action filter_type
action find
entity Q133069
relation P190
type Q15617994
[ANSWERS]
['Q133069', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q133069 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Bad Kreuznach San Severo
Bad Kreuznach San Severo
action filter_type
action find
entity Bourg-en-Bresse
relation sister city
type designation for an administrative territorial entity
['Bourg-en-Bresse', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bourg-en-Bresse property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7047
P1376
Q107425
USER
Which landscape has that administrative territory has its first city ?
(Q7047,P1376,c(Q107425))
action filter_type
action find
entity Q7047
relation P1376
type Q107425
['Q7047', 'P1376', {'concept': 'Q107425'}]
SELECT DISTINCT ?m WHERE { resource:Q7047 property:P1376 ?m . ?m rdf:type ontology:Q107425 }
Bad Kreuznach
action filter_type
action find
entity Bad Kreuznach
relation capital of
type landscape
['Bad Kreuznach', 'capital of', {'concept': 'landscape'}]
SELECT DISTINCT ?m WHERE { resource:Bad_Kreuznach property:capital_of ?m . ?m rdf:type ontology:landscape }
[]
landscape
Clarification for simple ques.
Q19275
SYSTEM
Did you mean San Severo ?
Q7047 Q19275
(Q7047,P1376,c(Q107425)) (Q19275,P1376,c(Q107425))
[ANSWER]
['Q7047', 'P1376', {'concept': 'Q107425'}] ['Q19275', 'P1376', {'concept': 'Q107425'}]
SELECT DISTINCT ?m WHERE { resource:Q7047 property:P1376 ?m . ?m rdf:type ontology:Q107425 }
Bad Kreuznach San Severo
Did you mean San Severo ?
San Severo
['Bad Kreuznach', 'capital of', {'concept': 'landscape'}] ['San Severo', 'capital of', {'concept': 'landscape'}]
SELECT DISTINCT ?m WHERE { resource:Bad_Kreuznach property:capital_of ?m . ?m rdf:type ontology:landscape }
[]
Simple Question (Coreferenced)
USER
No, I meant Bad Kreuznach. Could you tell me the answer for that?
(Q7047,P1376,c(Q107425))
Q7047
['Q7047', 'P1376', {'concept': 'Q107425'}]
['Bad Kreuznach', 'capital of', {'concept': 'landscape'}]
[]
Q212376
SYSTEM
Rheingau
Q212376
(Q7047,P1376,c(Q107425))
action filter_type
action find
entity Q7047
relation P1376
type Q107425
The [ANSWER] has that administrative territory has its first city
['Q7047', 'P1376', {'concept': 'Q107425'}]
SELECT DISTINCT ?m WHERE { resource:Q7047 property:P1376 ?m . ?m rdf:type ontology:Q107425 }
Rheingau
The Rheingau has that administrative territory has its first city
Rheingau
action filter_type
action find
entity Bad Kreuznach
relation capital of
type landscape
['Bad Kreuznach', 'capital of', {'concept': 'landscape'}]
SELECT DISTINCT ?m WHERE { resource:Bad_Kreuznach property:capital_of ?m . ?m rdf:type ontology:landscape }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q107425 Q107425
USER
Which landscapes are located in atmost 1 landscape ?
(c(Q107425),P706,c(Q107425))
action atmost
action find_tuple_counts
relation P706
type Q107425
type Q107425
value 1
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?i ) WHERE { ?m property:P706 ?y . ?m rdf:type ontology:Q107425 . ?y rdf:type ontology:Q107425 } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
action atmost
action find_tuple_counts
relation located on terrain feature
type landscape
type landscape
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?i ) WHERE { ?m property:located_on_terrain_feature ?y . ?m rdf:type ontology:landscape . ?y rdf:type ontology:landscape } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
[]
landscape landscape
Q17012 Q131198 Q236601
SYSTEM
Guadeloupe, Heard Island and McDonald Islands, Glorioso Islands
Q3593577 Q23941408 Q201698 Q23943453 Q292657 Q23941645 Q23941402 Q23941405 Q16039555 Q205711 Q4483480 Q1070802 Q649384 Q821626 Q6549341 Q6420219 Q20978866 Q20829724 Q131198 Q23943069 Q3307738 Q23943370 Q23942941 Q1060445 Q519782 Q23941363 Q880803 Q23941366 Q23943388 Q23936773 Q1413786 Q23936774 Q924897 Q2393919 Q21489350 Q23941411 Q23941416 Q17134727 Q23941414 Q21040865 Q16040106 Q1160526 Q23943279 Q942849 Q8534941 Q23936376 Q805845 Q20724847 Q846021 Q292158 Q23942951 Q23942956 Q1309953 Q23942944 Q212893 Q23936766 Q23936764 Q764547 Q236601 Q23941626 Q23941620 Q23941623 Q2860213 Q23941424 Q23941628 Q23941420 Q23943430 Q140298 Q667910 Q16511291 Q216869 Q23941384 Q6930594 Q640228 Q23942960 Q23941380 Q23943361 Q23943046 Q369269 Q1029322 Q1999082 Q23941711 Q2094207 Q23941490 Q23936769 Q23936759 Q23941716 Q17140346 Q1554172 Q23941557 Q23936751 Q93259 Q23941432 Q23941635 Q23941632 Q23943123 Q2860200 Q23941638 Q3264388 Q23943350 Q23941674 Q280158 Q128172 Q6930606 Q303431 Q3593527 Q23943055 Q478104 Q344617 Q6424147 Q1631429 Q23936425 Q1099717 Q5642826 Q23942977 Q11767 Q46772 Q23936744 Q23941605 Q2119428 Q205695 Q472207 Q202816 Q7366205 Q3593538 Q292608 Q504043 Q419567 Q1167034 Q22495712 Q23943415 Q23943342 Q5908126 Q165570 Q3237 Q7592509 Q23936779 Q23936430 Q292688 Q292684 Q47700 Q214011 Q13257169 Q620481 Q292600 Q23941426 Q17012 Q1532665 Q15710830 Q7209135 Q511957 Q502678 Q23942947 Q11980098 Q1020145 Q3375611 Q3745222 Q23936771 Q1236059 Q292072 Q2739116 Q23943033 Q3538668 Q23941686 Q23941684 Q76936 Q292695 Q1530568 Q23936777 Q1924039 Q23942987 Q23941600 Q23941607 Q292594 Q618528 Q3437623 Q140948 Q183963 Q292672 Q23936697 Q18402136 Q906924 Q143330 Q23936419 Q1945440 Q596485 Q23943006 Q6930596 Q192626 Q23936411 Q23941598 Q307143 Q1268823 Q2110514 Q23941697 Q23941690 Q23936711 Q2860229 Q665321 Q23943465 Q1632713 Q620269 Q3454571 Q23941616 Q23941611 Q23941613 Q26878046 Q23941678 Q23943440 Q23936695 Q3593561 Q292647 Q3593563 Q21922130 Q312914 Q2860242 Q23943019 Q15139 Q1537020 Q23941434 Q15909115 Q23936705 Q23936706 Q25046183 Q23936700 Q23936702 Q3511938 Q23943399 Q23941376 Q23941374 Q17155498
(c(Q107425),P706,c(Q107425))
action atmost
action find_tuple_counts
relation P706
type Q107425
type Q107425
value 1
[ANSWERS] are located in atmost 1 landscape
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?i ) WHERE { ?m property:P706 ?y . ?m rdf:type ontology:Q107425 . ?y rdf:type ontology:Q107425 } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
îles du Prince-de-Monaco Foz Hole Crozet Islands Wombat Terror îles des Saintes Coronet Cave Block Cave Paradox Cave battures de Malmanoury Solovetsky Islands Fijian Archipelago Chesterfield Islands Elephanta Caves Meseta Limestone Massif Kleine Feldhofer Grotte Moriah Marinier Archipelago Heard Island and McDonald Islands Vics Pot Mez de Goëlo Cubby Hole Cave The Verandah Grigna Gargantua Right Nostril Cave Daneil's Cave Left Nostril Cave Guides Cave No. 2 Bottomless Pit Oymyakonskoye Nagor’ye Ian Carpenter Cave Seychelles Inner Islands Possession Islands Marine Plain Casteret Cave Little Canyon Cave Cultural Landscape of Bali Province: the Subak System as a Manifestation of the Tri Hita Karana Philosophy Wiburd's Lake Cave Hohlloch îles Davis Desventuradas Islands Crack Pot îlets de Rémire Cerro de la Neblina Elder Cave Balve Cave Serra d'Espadà Southern Coral Group Saint Helen's Island Playing Fields Doline Twin Shafts Portland Bill Spider Cave Aran Islands Rho Hole Aladdin Cave Stockholm archipelago Glorioso Islands Wombats Retreat Henry's Hole Fire Pit archipel de Molène Serpentine Cave Kids Cave McKeowns Cave Chestnut Cave Windward Islands Lake Erie Islands Seal Islands Gran Sasso d'Italia Blunder Cave Mu Ko Kam Houtman Abrolhos One O'Clock Cave Dwyers Cave False Henrys Split Rock Cave Untersberg Denisova Cave Leeward Islands Peter Lambert Cave îles Finocchiarola Century Cave False Frenchman's Cave Frenchman's Cave Duckleg Cave Ko Yao archipelago Guitarrero Cave The Windslot Glass Cave Lesser Antilles Maiden Cave Devil's Coach House Dreamtime Cave Photon Cave archipel charentais Weasel Cave Lower Keys Chomp Cave The Balcony Aralkum Île d'Orléans Samui archipelago Ufenau îles Cerbicale Hobbit Hole archipel de Bréhat Acteon Group Ko Kra Raeffsky Islands The Imperial Bachstrom Point Halle Flat Warbo Cave Mesopotamia Kerguelen Islands Bow Cave Elysium Cave Puy Mary Mascarene Islands Amirante Islands Stora Alvaret Rookery Islands îles Leygues îles Nuageuses Gambier Islands Áhkká Darsser Ort Thirty Thousand Islands Harrys River Cave Interference Cave Hoskyn Islands Lelantine Plain Rügen St Anthony Head Bonwick's Dig Nettle Cave King George Islands Disappointment Islands Kalahari Desert Kebnekaise Kvarken Archipelago Alphonse Group Chausey Blowing Hole Guadeloupe Glénan Islands Anderssonøyane Polaris Reef Phi Phi Islands Ertholmene Troglamp Hole Kapp Platen Tombelaine Royal Library Garden Turku Archipelago Wallaby Cave Jentilez Lavezzi Islands Sgat Mòr and Sgat Beag Gibber Cave Triagoz Jenolan River Resurgence Fingal's Cave Frisian Islands îles du Salut Peveril Point Adrian's Folly Messara Plain Ward's Mistake Cave Contact Cave Duodenum Cave Two Groups Islands Aphrodite Terra Bird Rocks South Shetland Islands Tuamotus Duke of Gloucester Islands Lucas Cave Wolastoq Dnieper Upland Schneeberg Jubilee Cave Mont Saint-Michel Sarektjåkkå Watersend Cave Mu Ko Phayam Hawaiian Islands Chifley Cave Naked Lady Cave Grand Erg Oriental Palliser Islands Mariestad archipelago The Grand Arch Styx River Spring Mammoth Cave archipel des Ébihens Pikes Peak Scratchy îles Maria Tantal cave récifs de Bellone Playing Fields Cave The Roost Suss Camping Cave Fossil Bluff Michaelmas Cave Peanut Cave Arch Cave Îles Boynes Petite Terre Islands îles de Buguélès Jupiter Reef Active Reef archipel des Sanguinaires Shatter Cave Diablerets Grand Erg Occidental Bushrangers Cave MAN cave River Cave Skeleton Cave Surin Islands Orient Cave Temple Of Baal Natural and Culturo-Historical Region of Kotor Cave In Bluff Hennings Cave Diggins Diggins Hallstatt-Dachstein / Salzkammergut Cultural Landscape
Guadeloupe, Heard Island and McDonald Islands and Glorioso Islands are located in atmost 1 landscape
Guadeloupe Heard Island and McDonald Islands Glorioso Islands
action atmost
action find_tuple_counts
relation located on terrain feature
type landscape
type landscape
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?i ) WHERE { ?m property:located_on_terrain_feature ?y . ?m rdf:type ontology:landscape . ?y rdf:type ontology:landscape } GROUP BY ?m } . FILTER ( ?i <= 1 ) }
[]