Simple Question (Direct)
Simple Question
Q2706629
P1344
Q15275719
USER
Which recurring event did Károly Weichelt participate in ?
(Q2706629,P1344,c(Q15275719))
action filter_type
action find
entity Q2706629
relation P1344
type Q15275719
['Q2706629', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?s WHERE { resource:Q2706629 property:P1344 ?s . ?s rdf:type ontology:Q15275719 }
Károly Weichelt
action filter_type
action find
entity Károly Weichelt
relation participant of
type recurring event
['Károly Weichelt', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?s WHERE { resource:Károly_Weichelt property:participant_of ?s . ?s rdf:type ontology:recurring_event }
[]
recurring event
Q1477177
SYSTEM
1934 FIFA World Cup
Q1477177
(Q2706629,P1344,c(Q15275719))
action filter_type
action find
entity Q2706629
relation P1344
type Q15275719
Károly Weichelt participated in [ANSWER]
['Q2706629', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?s WHERE { resource:Q2706629 property:P1344 ?s . ?s rdf:type ontology:Q15275719 }
1934 FIFA World Cup
Károly Weichelt participated in 1934 FIFA World Cup
1934 FIFA World Cup
action filter_type
action find
entity Károly Weichelt
relation participant of
type recurring event
['Károly Weichelt', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?s WHERE { resource:Károly_Weichelt property:participant_of ?s . ?s rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2706629
P21
Q290
USER
What is the sex of Károly Weichelt ?
(Q2706629,P21,c(Q290))
action filter_type
action find
entity Q2706629
relation P21
type Q290
['Q2706629', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2706629 property:P21 ?f . ?f rdf:type ontology:Q290 }
Károly Weichelt
action filter_type
action find
entity Károly Weichelt
relation gender
type sex
['Károly Weichelt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Károly_Weichelt property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2706629,P21,c(Q290))
action filter_type
action find
entity Q2706629
relation P21
type Q290
The sex of Károly Weichelt is the [ANSWER]
['Q2706629', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2706629 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Károly Weichelt is the male
male
action filter_type
action find
entity Károly Weichelt
relation gender
type sex
['Károly Weichelt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Károly_Weichelt property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2706629
P641
Q349
USER
Which sport did Károly Weichelt participate in ?
(Q2706629,P641,c(Q349))
action filter_type
action find
entity Q2706629
relation P641
type Q349
['Q2706629', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2706629 property:P641 ?y . ?y rdf:type ontology:Q349 }
Károly Weichelt
action filter_type
action find
entity Károly Weichelt
relation sport
type sport
['Károly Weichelt', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Károly_Weichelt property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2706629,P641,c(Q349))
action filter_type
action find
entity Q2706629
relation P641
type Q349
Károly Weichelt participated in [ANSWER]
['Q2706629', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2706629 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Károly Weichelt participated in association football
association football
action filter_type
action find
entity Károly Weichelt
relation sport
type sport
['Károly Weichelt', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Károly_Weichelt property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2706629
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Károly Weichelt ?
(Q2706629,P27,c(Q15617994))
action filter_type
action find
entity Q2706629
relation P27
type Q15617994
['Q2706629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2706629 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Károly Weichelt
action filter_type
action find
entity Károly Weichelt
relation country of citizenship
type designation for an administrative territorial entity
['Károly Weichelt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Károly_Weichelt property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q2706629,P27,c(Q15617994))
action filter_type
action find
entity Q2706629
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Károly Weichelt
['Q2706629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2706629 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Romania
Romania is the country of citizenship of Károly Weichelt
Romania
action filter_type
action find
entity Károly Weichelt
relation country of citizenship
type designation for an administrative territorial entity
['Károly Weichelt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Károly_Weichelt property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P276
Q350604
USER
Which armed conflict is situated at that administrative territory ?
(c(Q350604),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q218']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q350604 . ?v property:P276 resource:Q218 }
Romania
action filter_type
action find_reverse
entity Romania
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Romania']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:armed_conflict . ?v property:location resource:Romania }
[]
armed conflict
Q553157
SYSTEM
Romania during World War I
Q553157
(c(Q350604),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q350604
[ANSWER] is situated at that administrative territory
[{'concept': 'Q350604'}, 'P276', 'Q218']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q350604 . ?v property:P276 resource:Q218 }
Romania during World War I
Romania during World War I is situated at that administrative territory
Romania during World War I
action filter_type
action find_reverse
entity Romania
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Romania']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:armed_conflict . ?v property:location resource:Romania }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q1190554 Q198 Q350604
USER
How many armed conflicts are parts of less number of events and wars than that armed conflict ?
(c(Q350604),P361,c(Q1190554)|c(Q198))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q1190554
action find_tuple_counts
relation P361
type Q350604
type Q198
action count
action filter_multi_types
action find
entity Q553157
relation P361
type Q1190554
type Q198
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?p WHERE { VALUES ( ?t ) { ( ontology:Q1190554 ) ( ontology:Q198 ) } . ?d rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q553157 property:P361 ?u . { { ?u rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q198 } } } } . FILTER ( ?e < ?c ) }
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type event
action find_tuple_counts
relation part of
type armed conflict
type war
action count
action filter_multi_types
action find
entity Romania during World War I
relation part of
type event
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?p WHERE { VALUES ( ?t ) { ( ontology:event ) ( ontology:war ) } . ?d rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Romania_during_World_War_I property:part_of ?u . { { ?u rdf:type ontology:event } UNION { ?u rdf:type ontology:war } } } } . FILTER ( ?e < ?c ) }
[]
event war armed conflict
SYSTEM
101
Q5168559 Q1044829 Q1305130 Q3778613 Q3778618 Q699511 Q6334 Q1968528 Q2259304 Q18920712 Q976827 Q63863 Q4200795 Q620735 Q7572892 Q75665 Q2652686 Q58947 Q260684 Q989092 Q617350 Q1186260 Q552373 Q252298 Q317519 Q550172 Q21693680 Q4072719 Q1418062 Q2576016 Q233663 Q2667645 Q553184 Q617070 Q2602070 Q6192082 Q3540197 Q170314 Q616846 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q178687 Q1355145 Q2471586 Q17324420 Q3042463 Q3984895 Q11942758 Q1249270 Q559181 Q617782 Q6271 Q418151 Q4122579 Q1429256 Q233702 Q631799 Q26690200 Q3242848 Q1967193 Q76118 Q75626 Q34103 Q5555632 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q233553 Q1074467 Q431001 Q34145 Q182865 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q168442 Q2075775 Q329203 Q29269 Q26749 Q288251 Q1669192 Q524272 Q936803 Q1262084 Q220878 Q42937 Q1757301 Q15542964
(c(Q350604),P361,c(Q1190554)|c(Q198))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q1190554
action find_tuple_counts
relation P361
type Q350604
type Q198
action count
action filter_multi_types
action find
entity Q553157
relation P361
type Q1190554
type Q198
[ANSWER]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?p WHERE { VALUES ( ?t ) { ( ontology:Q1190554 ) ( ontology:Q198 ) } . ?d rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q553157 property:P361 ?u . { { ?u rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q198 } } } } . FILTER ( ?e < ?c ) }
Cophen Campaign Polish–Muscovite War War of Saint Sabas Caroline War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Third Punic War Operation Black Buck Hundred Years' War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance Alexander's Balkan campaign First Anglo-Afghan War Third Anglo-Mysore War Creek War Fourth Macedonian War Hungarian–Romanian war of 1919 Muslim conquest of Egypt War of the Breton Succession conflict between Unitarians and Federalists in the Argentine Civil Wars Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict First Anglo-Mysore War Colorado War Jicarilla War Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War First Sino-Japanese War Italian War of 1494–1498 Pomeranian War 2014 Israel–Gaza conflict Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War First Silesian War Fourth Anglo-Mysore War Second Punic War Second Opium War Arikara War War of the League of Cognac Second Silesian War Russo-Turkish War Rutulian War First War of Scottish Independence Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War Second Syrian War (260–253 BCE) First Messenian War English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Second Sacred War War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) War in Afghanistan French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Anglo-Spanish War (1625–1630) Second Messenian War First Boer War First Chechen War War of the Second Coalition Cisplatine War Fourth Sacred War South-East Asian theatre of World War II First Syrian War (274–271 BCE) Djiboutian Civil War Titanomachy Trojan War submarine warfare Italian War of 1542–46
101
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type event
action find_tuple_counts
relation part of
type armed conflict
type war
action count
action filter_multi_types
action find
entity Romania during World War I
relation part of
type event
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'event'}, {'concept': 'war'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) ?p WHERE { VALUES ( ?t ) { ( ontology:event ) ( ontology:war ) } . ?d rdf:type ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Romania_during_World_War_I property:part_of ?u . { { ?u rdf:type ontology:event } UNION { ?u rdf:type ontology:war } } } } . FILTER ( ?e < ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1016504 Q2706629
P54
Q1194951
USER
Which national sports teams are Károly Weichelt or Burkhard Segler a member of ?
OR((Q2706629,P54,c(Q1194951)), (Q1016504,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q2706629
relation P54
action find
entity Q1016504
relation P54
type Q1194951
{'OR': [['Q2706629', 'P54', {'concept': 'Q1194951'}], ['Q1016504', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2706629 property:P54 ?p } UNION { resource:Q1016504 property:P54 ?p } } . ?p rdf:type ontology:Q1194951 }
Burkhard Segler Károly Weichelt
action filter_type
action union
action find
entity Károly Weichelt
relation member of sports team
action find
entity Burkhard Segler
relation member of sports team
type national sports team
{'OR': [['Károly Weichelt', 'member of sports team', {'concept': 'national sports team'}], ['Burkhard Segler', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Károly_Weichelt property:member_of_sports_team ?p } UNION { resource:Burkhard_Segler property:member_of_sports_team ?p } } . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q168397 Q822990
SYSTEM
Romania national football team, Germany national football B team
Q168397 Q822990
OR((Q2706629,P54,c(Q1194951)), (Q1016504,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q2706629
relation P54
action find
entity Q1016504
relation P54
type Q1194951
[ANSWERS] are Károly Weichelt or Burkhard Segler a member of
{'OR': [['Q2706629', 'P54', {'concept': 'Q1194951'}], ['Q1016504', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2706629 property:P54 ?p } UNION { resource:Q1016504 property:P54 ?p } } . ?p rdf:type ontology:Q1194951 }
Romania national football team Germany national football B team
Romania national football team and Germany national football B team are Károly Weichelt or Burkhard Segler a member of
Romania national football team Germany national football B team
action filter_type
action union
action find
entity Károly Weichelt
relation member of sports team
action find
entity Burkhard Segler
relation member of sports team
type national sports team
{'OR': [['Károly Weichelt', 'member of sports team', {'concept': 'national sports team'}], ['Burkhard Segler', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Károly_Weichelt property:member_of_sports_team ?p } UNION { resource:Burkhard_Segler property:member_of_sports_team ?p } } . ?p rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q218
P840
Q15617994 Q2342494 Q838948
USER
Which administrative territories are lesser number of collectables and works of art set in than Romania ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q218
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P840 ?g . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P840 ?g . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P840 resource:Q218 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?n rdf:type ?o } } } . FILTER ( ?w < ?v ) }
Romania
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Romania
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:narrative_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?d property:narrative_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:narrative_location resource:Romania . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?n rdf:type ?o } } } . FILTER ( ?w < ?v ) }
[]
designation for an administrative territorial entity collectable work of art
Q230 Q159 Q801
SYSTEM
Georgia, Russia, Israel
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q3278 Q1948 Q145 Q262 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q858 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q37 Q928 Q58477 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q127043 Q1027 Q2009 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q114 Q41158 Q213 Q517107 Q217 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q218
relation P840
type Q2342494
type Q838948
[ANSWERS] are lesser number of collectables and works of art set in than Romania
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P840 ?g . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P840 ?g . ?g rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P840 resource:Q218 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?n rdf:type ?o } } } . FILTER ( ?w < ?v ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Charente-Maritime Manitoba United Kingdom Algeria Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Syria Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Luxembourg Lithuania Philippines Capua Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Garmisch-Partenkirchen Mauritius Yukon Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Kenya Cortina d'Ampezzo Czech Republic Rudolstadt Republic of Moldova Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia, Russia and Israel are lesser number of collectables and works of art set in than Romania
Georgia Russia Israel
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Romania
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:narrative_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?d property:narrative_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:narrative_location resource:Romania . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?n rdf:type ?o } } } . FILTER ( ?w < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q881
P840
Q15617994 Q2342494 Q838948
USER
And how about Vietnam?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q881
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P840 resource:Q881 . { { ?u rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q838948 } } } } . FILTER ( ?l < ?b ) }
Vietnam
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:narrative_location resource:Vietnam . { { ?u rdf:type ontology:collectable } UNION { ?u rdf:type ontology:work_of_art } } } } . FILTER ( ?l < ?b ) }
[]
designation for an administrative territorial entity collectable work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q3278 Q142 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q889 Q884 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q881
relation P840
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P840 resource:Q881 . { { ?u rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q838948 } } } } . FILTER ( ?l < ?b ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Charente-Maritime France Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Afghanistan South Korea Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Russia France
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:narrative_location resource:Vietnam . { { ?u rdf:type ontology:collectable } UNION { ?u rdf:type ontology:work_of_art } } } } . FILTER ( ?l < ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic associations with those ones ?
(Q184,P530,Q230) (Q184,P530,Q159) (Q184,P530,Q142)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q159'] ['Q184', 'P530', 'Q142']
ASK WHERE { resource:Q184 property:P530 ?i . VALUES ( ?i ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Russia'] ['Belarus', 'diplomatic relation', 'France']
ASK WHERE { resource:Belarus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q230) (Q184,P530,Q159) (Q184,P530,Q142)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q159'] ['Q184', 'P530', 'Q142']
ASK WHERE { resource:Q184 property:P530 ?i . VALUES ( ?i ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Russia'] ['Belarus', 'diplomatic relation', 'France']
ASK WHERE { resource:Belarus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } }
[]