Simple Question (Direct)
Simple Question
Q1048118
P17
Q15617994
USER
Which administrative territory is Saint-Babel present in ?
(Q1048118,P17,c(Q15617994))
action filter_type
action find
entity Q1048118
relation P17
type Q15617994
['Q1048118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1048118 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Saint-Babel
action filter_type
action find
entity Saint-Babel
relation country
type designation for an administrative territorial entity
['Saint-Babel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Saint-Babel property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1048118,P17,c(Q15617994))
action filter_type
action find
entity Q1048118
relation P17
type Q15617994
Which administrative territory is Saint-Babel present in
['Q1048118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1048118 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
France
Which administrative territory is Saint-Babel present in
France
action filter_type
action find
entity Saint-Babel
relation country
type designation for an administrative territorial entity
['Saint-Babel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Saint-Babel property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1048118
P47
Q20667921
USER
Which french administrative divisions are bordered by Saint-Babel ?
(Q1048118,P47,c(Q20667921))
action filter_type
action find
entity Q1048118
relation P47
type Q20667921
['Q1048118', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1048118 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Saint-Babel
action filter_type
action find
entity Saint-Babel
relation shares border with
type type of french administrative division
['Saint-Babel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Babel property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q41109 Q270370 Q922120
SYSTEM
Vic-le-Comte, Orbeil, Yronde-et-Buron
Q270370 Q1094804 Q1000319 Q41109 Q966370 Q922120 Q21979670 Q749031
(Q1048118,P47,c(Q20667921))
action filter_type
action find
entity Q1048118
relation P47
type Q20667921
[ANSWERS] are bordered by Saint-Babel
['Q1048118', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1048118 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Orbeil Sallèdes Aulhat-Saint-Privat Vic-le-Comte Pignols Yronde-et-Buron Aulhat-Flat Manglieu
Vic-le-Comte, Orbeil and Yronde-et-Buron are bordered by Saint-Babel
Vic-le-Comte Orbeil Yronde-et-Buron
action filter_type
action find
entity Saint-Babel
relation shares border with
type type of french administrative division
['Saint-Babel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Saint-Babel property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q41109 Q270370 Q922120
P47
Q20667921
USER
Which french administrative divisions are bordered by Vic-le-Comte, Orbeil and Yronde-et-Buron ?
(Q41109,P47,c(Q20667921)) (Q270370,P47,c(Q20667921)) (Q922120,P47,c(Q20667921))
action union
action filter_type
action find
entity Q41109
relation P47
type Q20667921
action filter_type
action find
entity Q270370
relation P47
type Q20667921
action filter_type
action find
entity Q922120
relation P47
type Q20667921
['Q41109', 'P47', {'concept': 'Q20667921'}] ['Q270370', 'P47', {'concept': 'Q20667921'}] ['Q922120', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { { resource:Q41109 property:P47 ?a . ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q20667921 . resource:Q270370 property:P47 ?a } }
Vic-le-Comte Orbeil Yronde-et-Buron
action union
action filter_type
action find
entity Vic-le-Comte
relation shares border with
type type of french administrative division
action filter_type
action find
entity Orbeil
relation shares border with
type type of french administrative division
action filter_type
action find
entity Yronde-et-Buron
relation shares border with
type type of french administrative division
['Vic-le-Comte', 'shares border with', {'concept': 'type of french administrative division'}] ['Orbeil', 'shares border with', {'concept': 'type of french administrative division'}] ['Yronde-et-Buron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { { resource:Vic-le-Comte property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:type_of_french_administrative_division . resource:Orbeil property:shares_border_with ?a } }
[]
type of french administrative division
Q133824 Q41109 Q1048118
SYSTEM
Issoire, Vic-le-Comte, Saint-Babel
Q1094650 Q966370 Q922120 Q1159666 Q1217186 Q1098360 Q1048118 Q1049843 Q250389 Q384041 Q250045 Q133824 Q241287 Q21979670 Q1048118 Q922120 Q269805 Q250045 Q270370 Q542885 Q41109 Q1098360 Q1048470 Q1048118
(Q41109,P47,c(Q20667921)) (Q270370,P47,c(Q20667921)) (Q922120,P47,c(Q20667921))
action union
action filter_type
action find
entity Q41109
relation P47
type Q20667921
action filter_type
action find
entity Q270370
relation P47
type Q20667921
action filter_type
action find
entity Q922120
relation P47
type Q20667921
[ANSWERS] are bordered by Vic-le-Comte, Orbeil and Yronde-et-Buron
['Q41109', 'P47', {'concept': 'Q20667921'}] ['Q270370', 'P47', {'concept': 'Q20667921'}] ['Q922120', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { { resource:Q41109 property:P47 ?a . ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q20667921 . resource:Q270370 property:P47 ?a } }
Saint-Maurice Pignols Yronde-et-Buron Les Martres-de-Veyre Laps Parent Saint-Babel Authezat Montpeyroux Corent Saint-Yvoine Issoire Parentignat Aulhat-Flat Saint-Babel Yronde-et-Buron Brenat Saint-Yvoine Orbeil Sauvagnat-Sainte-Marthe Vic-le-Comte Parent Coudes Saint-Babel
Issoire, Vic-le-Comte and Saint-Babel are bordered by Vic-le-Comte, Orbeil and Yronde-et-Buron
Issoire Vic-le-Comte Saint-Babel
action union
action filter_type
action find
entity Vic-le-Comte
relation shares border with
type type of french administrative division
action filter_type
action find
entity Orbeil
relation shares border with
type type of french administrative division
action filter_type
action find
entity Yronde-et-Buron
relation shares border with
type type of french administrative division
['Vic-le-Comte', 'shares border with', {'concept': 'type of french administrative division'}] ['Orbeil', 'shares border with', {'concept': 'type of french administrative division'}] ['Yronde-et-Buron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { { resource:Vic-le-Comte property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:type_of_french_administrative_division . resource:Orbeil property:shares_border_with ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41109
P36
Q20667921
USER
Which french administrative division has that one as its capital ?
(c(Q20667921),P36,Q41109)
action filter_type
action find_reverse
entity Q41109
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q41109']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q41109 . ?e rdf:type ontology:Q20667921 }
Vic-le-Comte
action filter_type
action find_reverse
entity Vic-le-Comte
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Vic-le-Comte']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Vic-le-Comte . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q133824
SYSTEM
Did you mean Issoire ?
Q133824 Q41109 Q1048118
(c(Q20667921),P36,Q133824) (c(Q20667921),P36,Q41109) (c(Q20667921),P36,Q1048118)
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q133824'] [{'concept': 'Q20667921'}, 'P36', 'Q41109'] [{'concept': 'Q20667921'}, 'P36', 'Q1048118']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q41109 . ?e rdf:type ontology:Q20667921 }
Issoire Vic-le-Comte Saint-Babel
Did you mean Issoire ?
Issoire
[{'concept': 'type of french administrative division'}, 'capital', 'Issoire'] [{'concept': 'type of french administrative division'}, 'capital', 'Vic-le-Comte'] [{'concept': 'type of french administrative division'}, 'capital', 'Saint-Babel']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Vic-le-Comte . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Vic-le-Comte. Could you tell me the answer for that?
(c(Q20667921),P36,Q41109)
Q41109
[{'concept': 'Q20667921'}, 'P36', 'Q41109']
[{'concept': 'type of french administrative division'}, 'capital', 'Vic-le-Comte']
[]
Q276493
SYSTEM
canton of Vic-le-Comte
Q276493
(c(Q20667921),P36,Q41109)
action filter_type
action find_reverse
entity Q41109
relation P36
type Q20667921
The [ANSWER] has that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q41109']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q41109 . ?e rdf:type ontology:Q20667921 }
canton of Vic-le-Comte
The canton of Vic-le-Comte has that one as its capital
canton of Vic-le-Comte
action filter_type
action find_reverse
entity Vic-le-Comte
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Vic-le-Comte']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Vic-le-Comte . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q276493 Q142 Q5041637
P17
Q15617994
USER
Is that french administrative division present in France and Carloggas ?
(Q276493,P17,Q142) (Q276493,P17,Q5041637)
action is_in
entity Q276493
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q5041637
relation P17
['Q276493', 'P17', 'Q142'] ['Q276493', 'P17', 'Q5041637']
ASK WHERE { resource:Q276493 property:P17 resource:Q142 . resource:Q276493 property:P17 resource:Q5041637 }
canton of Vic-le-Comte France Carloggas
action is_in
entity canton of Vic-le-Comte
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Carloggas
relation country
['canton of Vic-le-Comte', 'country', 'France'] ['canton of Vic-le-Comte', 'country', 'Carloggas']
ASK WHERE { resource:canton_of_Vic-le-Comte property:country resource:France . resource:canton_of_Vic-le-Comte property:country resource:Carloggas }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q276493,P17,Q142) (Q276493,P17,Q5041637)
action is_in
entity Q276493
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q5041637
relation P17
[ANSWER]
['Q276493', 'P17', 'Q142'] ['Q276493', 'P17', 'Q5041637']
ASK WHERE { resource:Q276493 property:P17 resource:Q142 . resource:Q276493 property:P17 resource:Q5041637 }
YES and NO respectively
action is_in
entity canton of Vic-le-Comte
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Carloggas
relation country
['canton of Vic-le-Comte', 'country', 'France'] ['canton of Vic-le-Comte', 'country', 'Carloggas']
ASK WHERE { resource:canton_of_Vic-le-Comte property:country resource:France . resource:canton_of_Vic-le-Comte property:country resource:Carloggas }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3038
P206
Q1267889 Q15324 Q15617994
USER
How many administrative territories are located nearby less number of waterways or bodies of water than Helgoland ?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3038
relation P206
type Q1267889
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { { ?j property:P206 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 } UNION { ?j property:P206 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q3038 property:P206 ?i . { { ?i rdf:type ontology:Q1267889 } UNION { ?i rdf:type ontology:Q15324 } } } } . FILTER ( ?w < ?l ) }
Helgoland
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Helgoland
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { { ?j property:located_next_to_body_of_water ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water } UNION { ?j property:located_next_to_body_of_water ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Helgoland property:located_next_to_body_of_water ?i . { { ?i rdf:type ontology:waterway } UNION { ?i rdf:type ontology:body_of_water } } } } . FILTER ( ?w < ?l ) }
[]
waterway body of water designation for an administrative territorial entity
SYSTEM
111
Q505785 Q104577 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q104192 Q519663 Q2360428 Q255698 Q681329 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q2043234 Q42265 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3038
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { { ?j property:P206 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 } UNION { ?j property:P206 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q3038 property:P206 ?i . { { ?i rdf:type ontology:Q1267889 } UNION { ?i rdf:type ontology:Q15324 } } } } . FILTER ( ?w < ?l ) }
Pförring Desenzano del Garda Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Oneop Eichstätt Kleinmachnow Kösching Tijuana Municipality Abensberg Dümmer Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Almere Buiten Abbadia Lariana Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
111
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Helgoland
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?w ) WHERE { { ?j property:located_next_to_body_of_water ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water } UNION { ?j property:located_next_to_body_of_water ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Helgoland property:located_next_to_body_of_water ?i . { { ?i rdf:type ontology:waterway } UNION { ?i rdf:type ontology:body_of_water } } } } . FILTER ( ?w < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q446425
P206
Q1267889 Q15324 Q15617994
USER
And how about Altwarp?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q446425
relation P206
type Q1267889
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?c rdf:type ?n } GROUP BY ?l } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q446425 property:P206 ?b . { { ?b rdf:type ontology:Q1267889 } UNION { ?b rdf:type ontology:Q15324 } } } } }
Altwarp
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Altwarp
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?n ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?c rdf:type ?n } GROUP BY ?l } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Altwarp property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:waterway } UNION { ?b rdf:type ontology:body_of_water } } } } }
[]
waterway body of water designation for an administrative territorial entity
SYSTEM
111
Q505785 Q104577 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q104192 Q519663 Q2360428 Q255698 Q681329 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q2043234 Q42265 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q446425
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?n ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?c rdf:type ?n } GROUP BY ?l } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q446425 property:P206 ?b . { { ?b rdf:type ontology:Q1267889 } UNION { ?b rdf:type ontology:Q15324 } } } } }
Pförring Desenzano del Garda Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Oneop Eichstätt Kleinmachnow Kösching Tijuana Municipality Abensberg Dümmer Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Almere Buiten Abbadia Lariana Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
111
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Altwarp
relation located next to body of water
type waterway
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?n ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?c rdf:type ?n } GROUP BY ?l } . FILTER ( ?q < ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Altwarp property:located_next_to_body_of_water ?b . { { ?b rdf:type ontology:waterway } UNION { ?b rdf:type ontology:body_of_water } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
How many cities are the county seat of atmost 1 french administrative division ?
(c(Q515),P1376,c(Q20667921))
action count
action atmost
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 1
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?n ) WHERE { ?e property:P1376 ?i . ?e rdf:type ontology:Q515 . ?i rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
action count
action atmost
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 1
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?n ) WHERE { ?e property:capital_of ?i . ?e rdf:type ontology:city . ?i rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
[]
type of french administrative division city
SYSTEM
521
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q505208 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q8684 Q270704 Q3838 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q6807568 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q1953 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1854 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q187821 Q502205 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q1761 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q20667921))
action count
action atmost
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 1
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?n ) WHERE { ?e property:P1376 ?i . ?e rdf:type ontology:Q515 . ?i rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Ouarzazate Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Seoul Třebíč Kinshasa Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Emmen Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Yerevan Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Tatabánya Nemuro Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
521
action count
action atmost
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 1
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?n ) WHERE { ?e property:capital_of ?i . ?e rdf:type ontology:city . ?i rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q133824
P190
Q15617994
USER
Which administrative territory is twin city of Issoire ?
(Q133824,P190,c(Q15617994))
action filter_type
action find
entity Q133824
relation P190
type Q15617994
['Q133824', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q133824 property:P190 ?f . ?f rdf:type ontology:Q15617994 }
Issoire
action filter_type
action find
entity Issoire
relation sister city
type designation for an administrative territorial entity
['Issoire', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Issoire property:sister_city ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q14887
SYSTEM
Neumarkt in der Oberpfalz
Q14887
(Q133824,P190,c(Q15617994))
action filter_type
action find
entity Q133824
relation P190
type Q15617994
[ANSWER] is twin city of Issoire
['Q133824', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q133824 property:P190 ?f . ?f rdf:type ontology:Q15617994 }
Neumarkt in der Oberpfalz
Neumarkt in der Oberpfalz is twin city of Issoire
Neumarkt in der Oberpfalz
action filter_type
action find
entity Issoire
relation sister city
type designation for an administrative territorial entity
['Issoire', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Issoire property:sister_city ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]