Simple Question (Direct)
Simple Question
Q5572436
P102
Q7210356
USER
Which party does Matteus Berglund belong to ?
(Q5572436,P102,c(Q7210356))
action filter_type
action find
entity Q5572436
relation P102
type Q7210356
['Q5572436', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7210356 . resource:Q5572436 property:P102 ?a }
Matteus Berglund
action filter_type
action find
entity Matteus Berglund
relation member of political party
type political organization
['Matteus Berglund', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_organization . resource:Matteus_Berglund property:member_of_political_party ?a }
[]
political organization
Q110857
SYSTEM
Liberal People's Party
Q110857
(Q5572436,P102,c(Q7210356))
action filter_type
action find
entity Q5572436
relation P102
type Q7210356
Matteus Berglund belongs to [ANSWER]
['Q5572436', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7210356 . resource:Q5572436 property:P102 ?a }
Liberal People's Party
Matteus Berglund belongs to Liberal People's Party
Liberal People's Party
action filter_type
action find
entity Matteus Berglund
relation member of political party
type political organization
['Matteus Berglund', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_organization . resource:Matteus_Berglund property:member_of_political_party ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5572436
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q110857,P39,c(Q12737077))
action filter_type
action find
entity Q5572436
relation P39
type Q12737077
['Q110857', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5572436 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Matteus Berglund
action filter_type
action find
entity Matteus Berglund
relation position held
type occupation
["Liberal People's Party", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matteus_Berglund property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q110857,P39,c(Q12737077))
action filter_type
action find
entity Q5572436
relation P39
type Q12737077
[ANSWER]
['Q110857', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5572436 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of the Riksdag
Member of the Riksdag
Member of the Riksdag
action filter_type
action find
entity Matteus Berglund
relation position held
type occupation
["Liberal People's Party", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matteus_Berglund property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1001
Q15617994
USER
How many administrative territories belong to jurisdiction of that occupation ?
(Q10655178,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q10655178 property:P1001 ?v . ?v rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q10655178,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
[ANSWER]
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q10655178 property:P1001 ?v . ?v rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6766037 Q5572436
P27
Q15617994
USER
Which administrative territories are Matteus Berglund or Mariusz Okoniewski an inhabitant of ?
OR((Q5572436,P27,c(Q15617994)), (Q6766037,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5572436
relation P27
action find
entity Q6766037
relation P27
type Q15617994
{'OR': [['Q5572436', 'P27', {'concept': 'Q15617994'}], ['Q6766037', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { ?i property:P27 ?q . VALUES ( ?i ) { ( resource:Q6766037 ) ( resource:Q5572436 ) } } . ?q rdf:type ontology:Q15617994 }
Mariusz Okoniewski Matteus Berglund
action filter_type
action union
action find
entity Matteus Berglund
relation country of citizenship
action find
entity Mariusz Okoniewski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matteus Berglund', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mariusz Okoniewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?i property:country_of_citizenship ?q . VALUES ( ?i ) { ( resource:Mariusz_Okoniewski ) ( resource:Matteus_Berglund ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q34
SYSTEM
Poland, Sweden
Q36 Q34
OR((Q5572436,P27,c(Q15617994)), (Q6766037,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5572436
relation P27
action find
entity Q6766037
relation P27
type Q15617994
[ANSWERS] are Matteus Berglund or Mariusz Okoniewski an inhabitant of
{'OR': [['Q5572436', 'P27', {'concept': 'Q15617994'}], ['Q6766037', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { ?i property:P27 ?q . VALUES ( ?i ) { ( resource:Q6766037 ) ( resource:Q5572436 ) } } . ?q rdf:type ontology:Q15617994 }
Poland Sweden
Poland and Sweden are Matteus Berglund or Mariusz Okoniewski an inhabitant of
Poland Sweden
action filter_type
action union
action find
entity Matteus Berglund
relation country of citizenship
action find
entity Mariusz Okoniewski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matteus Berglund', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mariusz Okoniewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?i property:country_of_citizenship ?q . VALUES ( ?i ) { ( resource:Mariusz_Okoniewski ) ( resource:Matteus_Berglund ) } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1686032
P27
Q502895
USER
Are Piotr Mokrosiński a citizen of those administrative territories ?
(Q1686032,P27,Q36) (Q1686032,P27,Q34)
action is_in
entity prev_answer
action find
entity Q1686032
relation P27
['Q1686032', 'P27', 'Q36'] ['Q1686032', 'P27', 'Q34']
ASK WHERE { VALUES ( ?r ) { ( resource:Q36 ) ( resource:Q34 ) } . resource:Q1686032 property:P27 ?r }
Piotr Mokrosiński
action is_in
entity prev_answer
action find
entity Piotr Mokrosiński
relation country of citizenship
['Piotr Mokrosiński', 'country of citizenship', 'Poland'] ['Piotr Mokrosiński', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?r ) { ( resource:Poland ) ( resource:Sweden ) } . resource:Piotr_Mokrosiński property:country_of_citizenship ?r }
[]
common name
SYSTEM
YES
(Q1686032,P27,Q36) (Q1686032,P27,Q34)
action is_in
entity prev_answer
action find
entity Q1686032
relation P27
[ANSWER]
['Q1686032', 'P27', 'Q36'] ['Q1686032', 'P27', 'Q34']
ASK WHERE { VALUES ( ?r ) { ( resource:Q36 ) ( resource:Q34 ) } . resource:Q1686032 property:P27 ?r }
Yes
action is_in
entity prev_answer
action find
entity Piotr Mokrosiński
relation country of citizenship
['Piotr Mokrosiński', 'country of citizenship', 'Poland'] ['Piotr Mokrosiński', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?r ) { ( resource:Poland ) ( resource:Sweden ) } . resource:Piotr_Mokrosiński property:country_of_citizenship ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q13406554 Q18608583
USER
How many people were recognized as the statistical leader of around 6 sport competitions and recurring sporting events ?
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 6
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?l ) WHERE { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?g } . FILTER ( ?l = 6 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 6
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?l ) WHERE { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?g } . FILTER ( ?l = 6 ) }
[]
common name sport competition recurring sporting event
SYSTEM
2
Q433813 Q182455
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 6
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?l ) WHERE { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?g } . FILTER ( ?l = 6 ) }
Nikos Galis Wilt Chamberlain
2
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 6
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?l ) WHERE { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?g } . FILTER ( ?l = 6 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q916
P138
Q15617994 Q17444909 Q16521
USER
How many administrative territories are less number of astronomical object types and taxons named after than Angola ?
(c(Q17444909)|c(Q16521),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q916
relation P138
type Q17444909
type Q16521
[[{'concept': 'Q17444909'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?m WHERE { VALUES ( ?c ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } . ?y rdf:type ?c } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P138 resource:Q916 . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } } } } . FILTER ( ?s < ?h ) }
Angola
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Angola
relation named after
type astronomical object type
type taxon
[[{'concept': 'astronomical object type'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?m WHERE { VALUES ( ?c ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } . ?y rdf:type ?c } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:named_after resource:Angola . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } } } } . FILTER ( ?s < ?h ) }
[]
designation for an administrative territorial entity astronomical object type taxon
SYSTEM
283
Q804 Q801 Q800 Q103408 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q3898 Q12689 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q12798 Q586072 Q1280 Q1273 Q913434 Q1279 Q186538 Q189 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q3922 Q42839 Q7603016 Q42835 Q505191 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6237 Q5642 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q12515 Q31 Q30 Q39 Q1023890 Q101226 Q42906 Q1987554 Q159626 Q236 Q129003 Q81729 Q1101 Q1206596 Q391167 Q52981 Q3139 Q514208 Q36784 Q622505 Q555328 Q1037 Q1033 Q3926245 Q697 Q186115 Q39985 Q750 Q42749 Q570035 Q1630 Q2009 Q39912 Q498534 Q40862 Q1435624 Q79 Q77 Q46130 Q512943 Q305352 Q192917 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q40641 Q40131 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q2993085 Q42996 Q954 Q822 Q1142326 Q42419 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q5274 Q111460 Q50932 Q390125 Q205050 Q581067 Q40611 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1005 Q573523 Q40497 Q2742 Q81740 Q837 Q17669 Q810 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q53246 Q1948 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q10312 Q2009898 Q42245 Q4431 Q770 Q131633 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q2790 Q566435 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q159605 Q1837 Q501626 Q554187 Q974 Q971 Q23238 Q11119 Q631654 Q42192 Q645340 Q42926 Q14870 Q1019 Q772 Q16104 Q243337 Q42441 Q182248
(c(Q17444909)|c(Q16521),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q916
relation P138
type Q17444909
type Q16521
[ANSWER]
[[{'concept': 'Q17444909'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?m WHERE { VALUES ( ?c ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } . ?y rdf:type ?c } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P138 resource:Q916 . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } } } } . FILTER ( ?s < ?h ) }
Panama Israel Costa Rica Adro Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Castrop-Rauxel Pas-de-Calais Tortona Arcole Eure Rees Radyr Prince of Orange Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Vendée Chorin Umbria Tuscany Les Halles Marche Arzachena Iceland Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Detmold Brivio Mitino Calco Leuna Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Lecco Brilon Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Gard Belgium United States of America Switzerland Huangpu District Mapello Cologno Monzese Nieder-Roden Württemberg Montenegro French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Faenza Alpes-Maritimes Jettenbach region of France Rauen Urmitz Rwanda Nigeria QT8 Nauru Montmartre Brugherio Bolivia Paderno d'Adda Hillesheim Altona Yukon Usmate Velate Diepholz Saronno Yasnaya Polyana Egypt Uruguay Rhône Sailauf Aban Erice Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Macherio Chiavenna Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Levashovo, Saint Petersburg Pero Zimbabwe Lebanon Seine Vimodrone Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Balve Pontevico Helpt Linz am Rhein Geilenkirchen Britz Casteggio Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Gambia Flechtingen Carnate Münster Lauta Nepal Serravalle Scrivia Jordan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo Codroipo Manitoba People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Tavagnasco Oberhöchstadt Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Udine Erpel Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Tivoli Wohldorf-Ohlstedt Wildeshausen Lunden Democratic Republic of the Congo Republic of the Congo Baveno Warstein Selent San Donato Milanese Brenk Calolziocorte Siegburg Madagascar Drenthe Ahrensburg Issum Cassina de' Pecchi Nordwalde
283
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Angola
relation named after
type astronomical object type
type taxon
[[{'concept': 'astronomical object type'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?m WHERE { VALUES ( ?c ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } . ?y rdf:type ?c } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:named_after resource:Angola . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } } } } . FILTER ( ?s < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q223459
P138
Q15617994 Q17444909 Q16521
USER
And what about Borbona?
(c(Q17444909)|c(Q16521),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q223459
relation P138
type Q17444909
type Q16521
[[{'concept': 'Q17444909'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P138 resource:Q223459 . { { ?n rdf:type ontology:Q17444909 } UNION { ?n rdf:type ontology:Q16521 } } } } . FILTER ( ?a < ?u ) }
Borbona
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Borbona
relation named after
type astronomical object type
type taxon
[[{'concept': 'astronomical object type'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:named_after resource:Borbona . { { ?n rdf:type ontology:astronomical_object_type } UNION { ?n rdf:type ontology:taxon } } } } . FILTER ( ?a < ?u ) }
[]
designation for an administrative territorial entity astronomical object type taxon
SYSTEM
283
Q804 Q801 Q800 Q103408 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q3898 Q12689 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q12798 Q586072 Q1280 Q1273 Q913434 Q1279 Q186538 Q189 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q3922 Q42839 Q7603016 Q42835 Q505191 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6237 Q5642 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q12515 Q31 Q30 Q39 Q1023890 Q101226 Q42906 Q1987554 Q159626 Q236 Q129003 Q81729 Q1101 Q1206596 Q391167 Q52981 Q3139 Q514208 Q36784 Q622505 Q555328 Q1037 Q1033 Q3926245 Q697 Q186115 Q39985 Q750 Q42749 Q570035 Q1630 Q2009 Q39912 Q498534 Q40862 Q1435624 Q79 Q77 Q46130 Q512943 Q305352 Q192917 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q40641 Q40131 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q2993085 Q42996 Q954 Q822 Q1142326 Q42419 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q5274 Q111460 Q50932 Q390125 Q205050 Q581067 Q40611 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1005 Q573523 Q40497 Q2742 Q81740 Q837 Q17669 Q810 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q53246 Q1948 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q10312 Q2009898 Q42245 Q4431 Q770 Q131633 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q2790 Q566435 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q159605 Q1837 Q501626 Q554187 Q974 Q971 Q23238 Q11119 Q631654 Q42192 Q645340 Q42926 Q14870 Q1019 Q772 Q16104 Q243337 Q42441 Q182248
(c(Q17444909)|c(Q16521),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q223459
relation P138
type Q17444909
type Q16521
[ANSWER]
[[{'concept': 'Q17444909'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q17444909 ) ( ontology:Q16521 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P138 resource:Q223459 . { { ?n rdf:type ontology:Q17444909 } UNION { ?n rdf:type ontology:Q16521 } } } } . FILTER ( ?a < ?u ) }
Panama Israel Costa Rica Adro Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Castrop-Rauxel Pas-de-Calais Tortona Arcole Eure Rees Radyr Prince of Orange Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Vendée Chorin Umbria Tuscany Les Halles Marche Arzachena Iceland Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Detmold Brivio Mitino Calco Leuna Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Lecco Brilon Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Gard Belgium United States of America Switzerland Huangpu District Mapello Cologno Monzese Nieder-Roden Württemberg Montenegro French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Faenza Alpes-Maritimes Jettenbach region of France Rauen Urmitz Rwanda Nigeria QT8 Nauru Montmartre Brugherio Bolivia Paderno d'Adda Hillesheim Altona Yukon Usmate Velate Diepholz Saronno Yasnaya Polyana Egypt Uruguay Rhône Sailauf Aban Erice Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Macherio Chiavenna Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Levashovo, Saint Petersburg Pero Zimbabwe Lebanon Seine Vimodrone Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Balve Pontevico Helpt Linz am Rhein Geilenkirchen Britz Casteggio Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Gambia Flechtingen Carnate Münster Lauta Nepal Serravalle Scrivia Jordan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo Codroipo Manitoba People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Tavagnasco Oberhöchstadt Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Udine Erpel Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Tivoli Wohldorf-Ohlstedt Wildeshausen Lunden Democratic Republic of the Congo Republic of the Congo Baveno Warstein Selent San Donato Milanese Brenk Calolziocorte Siegburg Madagascar Drenthe Ahrensburg Issum Cassina de' Pecchi Nordwalde
283
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Borbona
relation named after
type astronomical object type
type taxon
[[{'concept': 'astronomical object type'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:astronomical_object_type ) ( ontology:taxon ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:named_after resource:Borbona . { { ?n rdf:type ontology:astronomical_object_type } UNION { ?n rdf:type ontology:taxon } } } } . FILTER ( ?a < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3146
P706
Q15324 Q553036 Q15617994
USER
How many administrative territories are located in less number of bodies of water and natural region of Germanys than Pellworm ?
(c(Q15617994),P706,c(Q15324)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q3146
relation P706
type Q15324
type Q553036
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { { ?b property:P706 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } UNION { ?b property:P706 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q553036 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q3146 property:P706 ?k . { { ?k rdf:type ontology:Q15324 } UNION { ?k rdf:type ontology:Q553036 } } } } . FILTER ( ?c < ?d ) }
Pellworm
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Pellworm
relation located on terrain feature
type body of water
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { { ?b property:located_on_terrain_feature ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } UNION { ?b property:located_on_terrain_feature ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:natural_region_of_Germany } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Pellworm property:located_on_terrain_feature ?k . { { ?k rdf:type ontology:body_of_water } UNION { ?k rdf:type ontology:natural_region_of_Germany } } } } . FILTER ( ?c < ?d ) }
[]
body of water natural region of Germany designation for an administrative territorial entity
SYSTEM
119
Q805 Q1070686 Q695445 Q2712111 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q507258 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q3923 Q27649869 Q5283827 Q15744111 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q625747 Q2585085 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q3146
relation P706
type Q15324
type Q553036
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { { ?b property:P706 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } UNION { ?b property:P706 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q553036 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q3146 property:P706 ?k . { { ?k rdf:type ontology:Q15324 } UNION { ?k rdf:type ontology:Q553036 } } } } . FILTER ( ?c < ?d ) }
Yemen Leivathos Langen Zagori Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Kipfenberg Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Bayreuth Teglkås Divarata Niederscheuren Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Rangsdorf Wintersberg Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
119
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Pellworm
relation located on terrain feature
type body of water
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { { ?b property:located_on_terrain_feature ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } UNION { ?b property:located_on_terrain_feature ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:natural_region_of_Germany } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Pellworm property:located_on_terrain_feature ?k . { { ?k rdf:type ontology:body_of_water } UNION { ?k rdf:type ontology:natural_region_of_Germany } } } } . FILTER ( ?c < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q522992
P706
Q15324 Q553036 Q15617994
USER
And how about Braunlage?
(c(Q15617994),P706,c(Q15324)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q522992
relation P706
type Q15324
type Q553036
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15324 . ?g property:P706 ?i } UNION { ?g property:P706 ?i . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q553036 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q522992 property:P706 ?d . { { ?d rdf:type ontology:Q15324 } UNION { ?d rdf:type ontology:Q553036 } } } } . FILTER ( ?v < ?r ) }
Braunlage
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Braunlage
relation located on terrain feature
type body of water
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:body_of_water . ?g property:located_on_terrain_feature ?i } UNION { ?g property:located_on_terrain_feature ?i . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:natural_region_of_Germany } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Braunlage property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:body_of_water } UNION { ?d rdf:type ontology:natural_region_of_Germany } } } } . FILTER ( ?v < ?r ) }
[]
body of water natural region of Germany designation for an administrative territorial entity
SYSTEM
119
Q805 Q1070686 Q695445 Q2712111 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q507258 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q3923 Q27649869 Q5283827 Q15744111 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q625747 Q2585085 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q522992
relation P706
type Q15324
type Q553036
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15324 . ?g property:P706 ?i } UNION { ?g property:P706 ?i . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q553036 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q522992 property:P706 ?d . { { ?d rdf:type ontology:Q15324 } UNION { ?d rdf:type ontology:Q553036 } } } } . FILTER ( ?v < ?r ) }
Yemen Leivathos Langen Zagori Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Kipfenberg Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Bayreuth Teglkås Divarata Niederscheuren Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Rangsdorf Wintersberg Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
119
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Braunlage
relation located on terrain feature
type body of water
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:body_of_water . ?g property:located_on_terrain_feature ?i } UNION { ?g property:located_on_terrain_feature ?i . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:natural_region_of_Germany } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Braunlage property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:body_of_water } UNION { ?d rdf:type ontology:natural_region_of_Germany } } } } . FILTER ( ?v < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P710
Q15275719
USER
What event was Poland a participant of ?
(c(Q15275719),P710,Q36)
action filter_type
action find_reverse
entity Q36
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q36']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q36 . ?p rdf:type ontology:Q15275719 }
Poland
action filter_type
action find_reverse
entity Poland
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Poland']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Poland . ?p rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q36)
action filter_type
action find_reverse
entity Q36
relation P710
type Q15275719
Poland was the [ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q36']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q36 . ?p rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
Poland was the Eurovision Song Contest 1996
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Poland
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Poland']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Poland . ?p rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P276
Q15275719
USER
Which recurring event has its location as Poland ?
(c(Q15275719),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q36']
SELECT DISTINCT ?w WHERE { ?w property:P276 resource:Q36 . ?w rdf:type ontology:Q15275719 }
Poland
action filter_type
action find_reverse
entity Poland
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Poland']
SELECT DISTINCT ?w WHERE { ?w property:location resource:Poland . ?w rdf:type ontology:recurring_event }
[]
recurring event
Q549121
SYSTEM
Tour de Pologne
Q549121
(c(Q15275719),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q15275719
[ANSWER] has its location as Poland
[{'concept': 'Q15275719'}, 'P276', 'Q36']
SELECT DISTINCT ?w WHERE { ?w property:P276 resource:Q36 . ?w rdf:type ontology:Q15275719 }
Tour de Pologne
Tour de Pologne has its location as Poland
Tour de Pologne
action filter_type
action find_reverse
entity Poland
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Poland']
SELECT DISTINCT ?w WHERE { ?w property:location resource:Poland . ?w rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q549121
P641
Q31629
USER
What did that recurring event participate in ?
(Q549121,P641,c(Q31629))
action filter_type
action find
entity Q549121
relation P641
type Q31629
['Q549121', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q549121 property:P641 ?k . ?k rdf:type ontology:Q31629 }
Tour de Pologne
action filter_type
action find
entity Tour de Pologne
relation sport
type type of sport
['Tour de Pologne', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Tour_de_Pologne property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q549121,P641,c(Q31629))
action filter_type
action find
entity Q549121
relation P641
type Q31629
That recurring event participated in [ANSWER]
['Q549121', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q549121 property:P641 ?k . ?k rdf:type ontology:Q31629 }
road bicycle racing
That recurring event participated in road bicycle racing
road bicycle racing
action filter_type
action find
entity Tour de Pologne
relation sport
type type of sport
['Tour de Pologne', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Tour_de_Pologne property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]