Simple Question (Direct)
Simple Question
Q2564070
P106
Q12737077
USER
Which occupation is the profession of Johan Hübner von Holst ?
(Q2564070,P106,c(Q12737077))
action filter_type
action find
entity Q2564070
relation P106
type Q12737077
['Q2564070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2564070 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Johan Hübner von Holst
action filter_type
action find
entity Johan Hübner von Holst
relation occupation
type occupation
['Johan Hübner von Holst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Johan_Hübner_von_Holst property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q17486376
SYSTEM
sport shooter
Q17486376
(Q2564070,P106,c(Q12737077))
action filter_type
action find
entity Q2564070
relation P106
type Q12737077
The [ANSWER] is the profession of Johan Hübner von Holst
['Q2564070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2564070 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
sport shooter
The sport shooter is the profession of Johan Hübner von Holst
sport shooter
action filter_type
action find
entity Johan Hübner von Holst
relation occupation
type occupation
['Johan Hübner von Holst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Johan_Hübner_von_Holst property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19562688 Q2564070
P27 P17
Q15617994
USER
Which administrative territories are Johan Hübner von Holst a civilian of or are 't Reekje a part of ?
OR((Q2564070,P27,c(Q15617994)), (Q19562688,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2564070
relation P27
action find
entity Q19562688
relation P17
type Q15617994
{'OR': [['Q2564070', 'P27', {'concept': 'Q15617994'}], ['Q19562688', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2564070 property:P27 ?u } UNION { resource:Q19562688 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
't Reekje Johan Hübner von Holst
action filter_type
action union
action find
entity Johan Hübner von Holst
relation country of citizenship
action find
entity 't Reekje
relation country
type designation for an administrative territorial entity
{'OR': [['Johan Hübner von Holst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["'t Reekje", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Johan_Hübner_von_Holst property:country_of_citizenship ?u } UNION { resource:'t_Reekje property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q34
SYSTEM
Netherlands, Sweden
Q55 Q34
OR((Q2564070,P27,c(Q15617994)), (Q19562688,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2564070
relation P27
action find
entity Q19562688
relation P17
type Q15617994
[ANSWERS] are Johan Hübner von Holst a civilian of or are 't Reekje a part of
{'OR': [['Q2564070', 'P27', {'concept': 'Q15617994'}], ['Q19562688', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2564070 property:P27 ?u } UNION { resource:Q19562688 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Netherlands Sweden
Netherlands and Sweden are Johan Hübner von Holst a civilian of or are 't Reekje a part of
Netherlands Sweden
action filter_type
action union
action find
entity Johan Hübner von Holst
relation country of citizenship
action find
entity 't Reekje
relation country
type designation for an administrative territorial entity
{'OR': [['Johan Hübner von Holst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["'t Reekje", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Johan_Hübner_von_Holst property:country_of_citizenship ?u } UNION { resource:'t_Reekje property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic associations with those administrative territories ?
(Q183,P530,Q55) (Q183,P530,Q34)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q34']
ASK WHERE { resource:Q183 property:P530 ?d . VALUES ( ?d ) { ( resource:Q55 ) ( resource:Q34 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Germany property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Netherlands ) ( resource:Sweden ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q55) (Q183,P530,Q34)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q34']
ASK WHERE { resource:Q183 property:P530 ?d . VALUES ( ?d ) { ( resource:Q55 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Germany property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Netherlands ) ( resource:Sweden ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q739
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with more number of administrative territories than Colombia ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q739 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?q property:P530 ?g } GROUP BY ?q } }
Colombia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Colombia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Colombia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?g } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q822 Q241 Q32 Q31 Q30 Q928 Q929 Q39 Q38 Q230 Q27 Q843 Q184 Q225 Q222 Q347 Q17 Q902 Q114 Q212 Q213 Q218 Q79 Q858 Q948 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q739
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with more number of administrative territories than Colombia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q739 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?q property:P530 ?g } GROUP BY ?q } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Lebanon Cuba Luxembourg Belgium United States of America Philippines Central African Republic Switzerland Italy Georgia Ireland Pakistan Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Bangladesh Kenya Ukraine Czech Republic Romania Egypt Syria Tunisia Libya Cape Verde Zambia
Italy, Brazil and United States of America are known to have diplomatic connections with more number of administrative territories than Colombia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Colombia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Colombia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?a ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?g } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q236
P530
Q15617994 Q15617994
USER
And also tell me about Montenegro?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q236 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?c ) }
Montenegro
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Montenegro
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Montenegro property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q236 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?c ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Montenegro
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Montenegro property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P112
Q484652
USER
Which international organization was founded by Netherlands ?
(c(Q484652),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q55']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q55 . ?x rdf:type ontology:Q484652 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:Netherlands . ?x rdf:type ontology:international_organization }
[]
international organization
Q42262
SYSTEM
European Space Agency
Q42262
(c(Q484652),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q484652
[ANSWER] was founded by Netherlands
[{'concept': 'Q484652'}, 'P112', 'Q55']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q55 . ?x rdf:type ontology:Q484652 }
European Space Agency
European Space Agency was founded by Netherlands
European Space Agency
action filter_type
action find_reverse
entity Netherlands
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:Netherlands . ?x rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P710
Q13406554
USER
Which sport competition was that administrative territory a participant of ?
(c(Q13406554),P710,Q42262)
action filter_type
action find_reverse
entity Q55
relation P710
type Q13406554
[{'concept': 'Q13406554'}, 'P710', 'Q42262']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q55 . ?o rdf:type ontology:Q13406554 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Netherlands . ?o rdf:type ontology:sport_competition }
[]
sport competition
Q22712313
SYSTEM
2016 World Single Distance Speed Skating Championships – Women's team pursuit
Q22712313
(c(Q13406554),P710,Q42262)
action filter_type
action find_reverse
entity Q55
relation P710
type Q13406554
[ANSWER] was that administrative territory a participant of
[{'concept': 'Q13406554'}, 'P710', 'Q42262']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q55 . ?o rdf:type ontology:Q13406554 }
2016 World Single Distance Speed Skating Championships – Women's team pursuit
2016 World Single Distance Speed Skating Championships – Women's team pursuit was that administrative territory a participant of
2016 World Single Distance Speed Skating Championships – Women's team pursuit
action filter_type
action find_reverse
entity Netherlands
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Netherlands . ?o rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q337567 Q15617994
USER
How many administrative territories are situated in the neighbourhood of atmost 1 waterways and still waterss ?
(c(Q15617994),P206,c(Q1267889)|c(Q337567))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 1
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?n property:P206 ?v . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1267889 } UNION { ?n property:P206 ?v . ?v rdf:type ontology:Q337567 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
action count
action atmost
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 still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?n property:located_next_to_body_of_water ?v . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:waterway } UNION { ?n property:located_next_to_body_of_water ?v . ?v rdf:type ontology:still_waters . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
[]
waterway still waters designation for an administrative territorial entity
SYSTEM
134
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 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(Q337567))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?n property:P206 ?v . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1267889 } UNION { ?n property:P206 ?v . ?v rdf:type ontology:Q337567 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Poland Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania 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
134
action count
action atmost
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 still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?n property:located_next_to_body_of_water ?v . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:waterway } UNION { ?n property:located_next_to_body_of_water ?v . ?v rdf:type ontology:still_waters . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?l <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q31629 Q13406554
USER
Which types of sport did atmost 51 sport competitions participate in ?
(c(Q13406554),P641,c(Q31629))
action atmost
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
value 51
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P641 ?o . ?o rdf:type ontology:Q31629 . ?e rdf:type ontology:Q13406554 } GROUP BY ?o } . FILTER ( ?a <= 51 ) }
action atmost
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
value 51
[{'concept': 'sport competition'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:sport ?o . ?o rdf:type ontology:type_of_sport . ?e rdf:type ontology:sport_competition } GROUP BY ?o } . FILTER ( ?a <= 51 ) }
[]
type of sport sport competition
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q13406554),P641,c(Q31629))
action atmost
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
value 51
[ANSWERS] atmost 51 sport competitions participated in
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P641 ?o . ?o rdf:type ontology:Q31629 . ?e rdf:type ontology:Q13406554 } GROUP BY ?o } . FILTER ( ?a <= 51 ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
Nordic skiing, high jump and marathon atmost 51 sport competitions participated in
Nordic skiing high jump marathon
action atmost
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
value 51
[{'concept': 'sport competition'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:sport ?o . ?o rdf:type ontology:type_of_sport . ?e rdf:type ontology:sport_competition } GROUP BY ?o } . FILTER ( ?a <= 51 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q216613 Q165704 Q40244
P641
Q31629
USER
What types of sport were those ones a part of ?
(Q216613,P641,c(Q31629)) (Q165704,P641,c(Q31629)) (Q40244,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
['Q216613', 'P641', {'concept': 'Q31629'}] ['Q165704', 'P641', {'concept': 'Q31629'}] ['Q40244', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?i ) { ( resource:Q271008 ) ( resource:Q637186 ) ( resource:Q170004 ) } . ?i property:P641 ?e . ?e rdf:type ontology:Q31629 }
Nordic skiing high jump marathon
action filter_type
action find
entity prev_answer
relation sport
type type of sport
['Nordic skiing', 'sport', {'concept': 'type of sport'}] ['high jump', 'sport', {'concept': 'type of sport'}] ['marathon', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?i ) { ( resource:800_metres ) ( resource:grass_skiing ) ( resource:110_metres_hurdles ) } . ?i property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q166788 Q542 Q542
SYSTEM
biathlon for 1st, athletics for 2nd, 3rd
Q166788 Q542 Q542
(Q216613,P641,c(Q31629)) (Q165704,P641,c(Q31629)) (Q40244,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
[ANSWERS]
['Q216613', 'P641', {'concept': 'Q31629'}] ['Q165704', 'P641', {'concept': 'Q31629'}] ['Q40244', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?i ) { ( resource:Q271008 ) ( resource:Q637186 ) ( resource:Q170004 ) } . ?i property:P641 ?e . ?e rdf:type ontology:Q31629 }
biathlon athletics athletics
Biathlon, athletics and athletics were those ones a part of
biathlon athletics athletics
action filter_type
action find
entity prev_answer
relation sport
type type of sport
['Nordic skiing', 'sport', {'concept': 'type of sport'}] ['high jump', 'sport', {'concept': 'type of sport'}] ['marathon', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?i ) { ( resource:800_metres ) ( resource:grass_skiing ) ( resource:110_metres_hurdles ) } . ?i property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]