Simple Question (Direct)
Simple Question
Q2553026
P27
Q15617994
USER
Which administrative territory is Wayne Clarke a civilian of ?
(Q2553026,P27,c(Q15617994))
action filter_type
action find
entity Q2553026
relation P27
type Q15617994
['Q2553026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2553026 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Wayne Clarke
action filter_type
action find
entity Wayne Clarke
relation country of citizenship
type designation for an administrative territorial entity
['Wayne Clarke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Wayne_Clarke property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2553026,P27,c(Q15617994))
action filter_type
action find
entity Q2553026
relation P27
type Q15617994
The [ANSWER] is Wayne Clarke a civilian of
['Q2553026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2553026 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Wayne Clarke a civilian of
United Kingdom
action filter_type
action find
entity Wayne Clarke
relation country of citizenship
type designation for an administrative territorial entity
['Wayne Clarke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Wayne_Clarke property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P194
Q1752346
USER
Which assembly is the representative body for that administrative territory ?
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1752346 . resource:Q145 property:P194 ?d }
United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:assembly . resource:United_Kingdom property:legislative_body ?d }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
[ANSWER] is the representative body for that administrative territory
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1752346 . resource:Q145 property:P194 ?d }
Parliament of the United Kingdom
Parliament of the United Kingdom is the representative body for that administrative territory
Parliament of the United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:assembly . resource:United_Kingdom property:legislative_body ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11010
P361
Q375928
USER
Which lower house is a component of that assembly ?
(c(Q375928),P361,Q11010)
action filter_type
action find_reverse
entity Q11010
relation P361
type Q375928
[{'concept': 'Q375928'}, 'P361', 'Q11010']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q11010 . ?z rdf:type ontology:Q375928 }
Parliament of the United Kingdom
action filter_type
action find_reverse
entity Parliament of the United Kingdom
relation part of
type lower house
[{'concept': 'lower house'}, 'part of', 'Parliament of the United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Parliament_of_the_United_Kingdom . ?z rdf:type ontology:lower_house }
[]
lower house
Q11005
SYSTEM
House of Commons
Q11005
(c(Q375928),P361,Q11010)
action filter_type
action find_reverse
entity Q11010
relation P361
type Q375928
[ANSWER] is a component of that assembly
[{'concept': 'Q375928'}, 'P361', 'Q11010']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q11010 . ?z rdf:type ontology:Q375928 }
House of Commons
House of Commons is a component of that assembly
House of Commons
action filter_type
action find_reverse
entity Parliament of the United Kingdom
relation part of
type lower house
[{'concept': 'lower house'}, 'part of', 'Parliament of the United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Parliament_of_the_United_Kingdom . ?z rdf:type ontology:lower_house }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2152015
P138
Q15617994 Q15617994 Q179049
USER
Which administrative territories are the etymology of less number of administrative territories and nature reserves than Riedelbach ?
(c(Q15617994)|c(Q179049),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q2152015
relation P138
type Q15617994
type Q179049
[[{'concept': 'Q15617994'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q179049 . ?p property:P138 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P138 resource:Q2152015 . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q179049 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?h < ?l ) }
Riedelbach
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Riedelbach
relation named after
type designation for an administrative territorial entity
type nature reserve
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:nature_reserve . ?p property:named_after ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:named_after resource:Riedelbach . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:nature_reserve ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?h < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity nature reserve
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q15617994)|c(Q179049),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q2152015
relation P138
type Q15617994
type Q179049
[ANSWERS] are the etymology of less number of administrative territories and nature reserves than Riedelbach
[[{'concept': 'Q15617994'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q179049 . ?p property:P138 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P138 resource:Q2152015 . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q179049 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?h < ?l ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are the etymology of less number of administrative territories and nature reserves than Riedelbach
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Riedelbach
relation named after
type designation for an administrative territorial entity
type nature reserve
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:nature_reserve . ?p property:named_after ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:named_after resource:Riedelbach . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:nature_reserve ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?h < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6998
P138
Q15617994 Q15617994 Q179049
USER
And also tell me about Freising?
(c(Q15617994)|c(Q179049),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q6998
relation P138
type Q15617994
type Q179049
[[{'concept': 'Q15617994'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P138 resource:Q6998 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q179049 } } } } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q179049 ) } } GROUP BY ?w } }
Freising
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Freising
relation named after
type designation for an administrative territorial entity
type nature reserve
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:named_after resource:Freising . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:nature_reserve } } } } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:nature_reserve ) } } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity nature reserve
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q18421666 Q167215 Q42777 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q40871 Q43055 Q42509 Q629830 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q107426 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q23178 Q968 Q965 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q39971 Q73532 Q42626 Q42628 Q499045 Q20103 Q10312 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q47578 Q11337 Q211 Q159605 Q215 Q501626 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q15617994)|c(Q179049),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q6998
relation P138
type Q15617994
type Q179049
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P138 resource:Q6998 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q179049 } } } } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15617994 ) ( ontology:Q179049 ) } } GROUP BY ?w } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Livigno Gorgonzola Bussero Meerfeld Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Anjou Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Bisceglie Warburg Burkina Faso Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Assisi Tavagnasco Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wildeshausen Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Freising
relation named after
type designation for an administrative territorial entity
type nature reserve
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:named_after resource:Freising . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:nature_reserve } } } } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:nature_reserve ) } } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q45 Q155
P27
Q502895
USER
Which people are civilians of Brazil and Portugal ?
AND((c(Q502895),P27,Q155), (c(Q502895),P27,Q45))
action filter_type
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q45
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q155'], [{'concept': 'Q502895'}, 'P27', 'Q45']]}
SELECT DISTINCT ?i WHERE { ?i property:P27 resource:Q45 . ?i property:P27 resource:Q155 . ?i rdf:type ontology:Q502895 }
Portugal Brazil
action filter_type
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Portugal
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Brazil'], [{'concept': 'common name'}, 'country of citizenship', 'Portugal']]}
SELECT DISTINCT ?i WHERE { ?i property:country_of_citizenship resource:Portugal . ?i property:country_of_citizenship resource:Brazil . ?i rdf:type ontology:common_name }
[]
common name
Q10324142 Q1334602 Q17318141 Q9594342 Q12784665 Q9621570 Q16495208 Q2085012 Q17318353 Q1500168
SYSTEM
Some of them are Manuel Francisco Lisboa, Tomás António Gonzaga, Bernardo de São Bento Correia de Souza, Alberto Lume, André Vidal de Negreiros, Antônio Elzeário de Miranda e Brito, Augusto Emílio Zaluar, José Augusto, Gabriel Ribeiro, José de Lima
Q2542051 Q10321592 Q10321594 Q2484423 Q10289512 Q3072407 Q601214 Q16495208 Q17318141 Q580523 Q17318149 Q18784981 Q704141 Q213676 Q1442041 Q10369156 Q39230 Q16336887 Q1441650 Q10281405 Q1500168 Q2081458 Q3324919 Q20078787 Q455317 Q10371780 Q10309975 Q2734857 Q1960658 Q15711499 Q16940378 Q709516 Q9621570 Q261802 Q9696862 Q10306750 Q164575 Q5615957 Q5058469 Q210950 Q3301259 Q3889529 Q10310530 Q5505329 Q1409885 Q1372533 Q1465328 Q1701414 Q939 Q6527878 Q2756495 Q5837972 Q1690861 Q506055 Q10327347 Q734274 Q12784665 Q3621870 Q10364297 Q3187327 Q10390229 Q17318106 Q121655 Q659634 Q1362941 Q3476927 Q10309945 Q10324024 Q16492243 Q10369110 Q10324142 Q952551 Q3069492 Q6757454 Q17318353 Q8188119 Q9594342 Q2554759 Q1957055 Q4840631 Q10551729 Q16497936 Q10324263 Q9696989 Q10396164 Q1334602 Q703983 Q2085012 Q6752638 Q10309500 Q17329061 Q18280100 Q957002 Q4777634 Q514415 Q485697 Q10285221
AND((c(Q502895),P27,Q155), (c(Q502895),P27,Q45))
action filter_type
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q45
relation P27
type Q502895
[ANSWERS] are civilians of Brazil and Portugal
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q155'], [{'concept': 'Q502895'}, 'P27', 'Q45']]}
SELECT DISTINCT ?i WHERE { ?i property:P27 resource:Q45 . ?i property:P27 resource:Q155 . ?i rdf:type ontology:Q502895 }
Waldyr Calheiros Novaes Luís Paulino d'Oliveira Pinto da França Luís Paulino de Oliveira Pinto da França Antônio Lino da Silva Dinis Gil Montalverne de Sequeira Michel Souza da Silva Carlos Frederico Lecor, Viscount of Laguna Augusto Emílio Zaluar Bernardo de São Bento Correia de Souza João Pinheiro Chagas José Domingos Monteiro Ernesto Pego de Kruger Cibrão Martim Afonso de Sousa Liédson Francisco Joaquim Gomes Ribeiro Sebastião da Rocha Pita Marcos Aoás Corrêa Bento Ribeiro Francis Mansour Zayek Fernando Lemos José de Lima Matias de Albuquerque Aurélia de Souza José Ferreira Monteiro Bernardino Machado Simão de Vasconcelos José Maria Rebello de Andrade Vasconcellos e Souza Mem de Sá Domingos Caldas Barbosa Leitão Joaquim de Nossa Senhora da Nazaré Bartolomeu de Gusmão Antônio Elzeário de Miranda e Brito Princess Januária of Brazil Carlos Antônio Napion Jerónimo Pereira de Vasconcelos Paulo Assunção Guilherme Capra Bacinello Celso de Matos Luisão Luis Gustavo Ledes Alexandre de Gusmão José Smith de Vasconcelos Froilano de Mello José da Costa e Silva Prince Pedro Gastão of Orléans-Braganza Júlio César de Mesquita Luciana Diniz Pedro I Margarida Teresa da Silva e Orta Francisco Barreto de Meneses Jean Garrett Joaquim Justino Carreira José de Aquino Pereira Mateus de Abreu Pereira Manuel da Nóbrega André Vidal de Negreiros Vicente do Salvador Romário Correia de Souza João Severiano Maciel da Costa Vicente Coelho de Seabra Silva Teles Pedro Alexandre Cavroé Carmen Miranda Deco Prince Pedro Henrique of Orléans-Braganza Sebastião de Magalhães Lima José Maria Gonçalves Zarco da Câmara Manuel Botelho de Oliveira António Pinto da Costa Carneiro Sebastião Luís Tinoco da Silva Manuel Francisco Lisboa Miguel Bombarda Fernando Magalhães Marco Aurélio Siqueira Gabriel Ribeiro Adelina Lopes Vieira Alberto Lume Tomé de Sousa Mário Cardoso Badaró Raphael Guzzo Bernardino José de Sena Freitas Manuel Jorge Rodrigues Carlos D'Alge Ângelo da Cunha Pinto Tomás António Gonzaga Derlei José Augusto Manuel Inácio da Silva Alvarenga José Geraldo Vieira Francisco José de Souza Suares de Andrea Vera Neves Pedroso Cândido de Oliveira António de Araújo e Azevedo, 1st Count of Barca Urbano José Allgayer Pepe Francisco Xavier Craveiro Lopes
Manuel Francisco Lisboa, Tomás António Gonzaga, Bernardo de São Bento Correia de Souza, Alberto Lume, André Vidal de Negreiros, Antônio Elzeário de Miranda e Brito, Augusto Emílio Zaluar, José Augusto, Gabriel Ribeiro and José de Lima are civilians of Brazil and Portugal
Manuel Francisco Lisboa Tomás António Gonzaga Bernardo de São Bento Correia de Souza Alberto Lume André Vidal de Negreiros Antônio Elzeário de Miranda e Brito Augusto Emílio Zaluar José Augusto Gabriel Ribeiro José de Lima
action filter_type
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Portugal
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Brazil'], [{'concept': 'common name'}, 'country of citizenship', 'Portugal']]}
SELECT DISTINCT ?i WHERE { ?i property:country_of_citizenship resource:Portugal . ?i property:country_of_citizenship resource:Brazil . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q237
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Brazil and Vatican City ?
(Q155,P530,c(Q15617994)) (Q237,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q155
relation P530
type Q15617994
action filter_type
action find
entity Q237
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}] ['Q237', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q237 property:P530 ?l . ?l rdf:type ontology:Q15617994 . resource:Q155 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
Brazil Vatican City
action count
action intersection
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Vatican City', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Vatican_City property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q801
(Q155,P530,c(Q15617994)) (Q237,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q155
relation P530
type Q15617994
action filter_type
action find
entity Q237
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}] ['Q237', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q237 property:P530 ?l . ?l rdf:type ontology:Q15617994 . resource:Q155 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
France Israel
2
action count
action intersection
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Vatican City', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Vatican_City property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1334602
P50
Q2342494
USER
Which collectables are written by Tomás António Gonzaga ?
(c(Q2342494),P50,Q1334602)
action filter_type
action find_reverse
entity Q1334602
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1334602']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q1334602 . ?x rdf:type ontology:Q2342494 }
Tomás António Gonzaga
action filter_type
action find_reverse
entity Tomás António Gonzaga
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Tomás António Gonzaga']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Tomás_António_Gonzaga . ?x rdf:type ontology:collectable }
[]
collectable
Q5047058 Q6782189
SYSTEM
Cartas Chilenas, Marília de Dirceu
Q5047058 Q6782189
(c(Q2342494),P50,Q1334602)
action filter_type
action find_reverse
entity Q1334602
relation P50
type Q2342494
[ANSWERS] are written by Tomás António Gonzaga
[{'concept': 'Q2342494'}, 'P50', 'Q1334602']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q1334602 . ?x rdf:type ontology:Q2342494 }
Cartas Chilenas Marília de Dirceu
Cartas Chilenas and Marília de Dirceu are written by Tomás António Gonzaga
Cartas Chilenas Marília de Dirceu
action filter_type
action find_reverse
entity Tomás António Gonzaga
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Tomás António Gonzaga']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Tomás_António_Gonzaga . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5047058 Q6782189
P800
Q502895
USER
Whose notable work were Cartas Chilenas and Marília de Dirceu ?
(c(Q502895),P800,Q5047058) (c(Q502895),P800,Q6782189)
action union
action filter_type
action find_reverse
entity Q5047058
relation P800
type Q502895
action filter_type
action find_reverse
entity Q6782189
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q5047058'] [{'concept': 'Q502895'}, 'P800', 'Q6782189']
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q5047058 } UNION { ?u property:P800 resource:Q6782189 . ?u rdf:type ontology:Q502895 } }
Cartas Chilenas Marília de Dirceu
action union
action filter_type
action find_reverse
entity Cartas Chilenas
relation notable work
type common name
action filter_type
action find_reverse
entity Marília de Dirceu
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Cartas Chilenas'] [{'concept': 'common name'}, 'notable work', 'Marília de Dirceu']
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:common_name . ?u property:notable_work resource:Cartas_Chilenas } UNION { ?u property:notable_work resource:Marília_de_Dirceu . ?u rdf:type ontology:common_name } }
[]
common name
Q1334602
SYSTEM
Tomás António Gonzaga
Q1334602
(c(Q502895),P800,Q5047058) (c(Q502895),P800,Q6782189)
action union
action filter_type
action find_reverse
entity Q5047058
relation P800
type Q502895
action filter_type
action find_reverse
entity Q6782189
relation P800
type Q502895
[ANSWER] were Cartas Chilenas and Marília de Dirceu
[{'concept': 'Q502895'}, 'P800', 'Q5047058'] [{'concept': 'Q502895'}, 'P800', 'Q6782189']
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q5047058 } UNION { ?u property:P800 resource:Q6782189 . ?u rdf:type ontology:Q502895 } }
Tomás António Gonzaga
Tomás António Gonzaga were Cartas Chilenas and Marília de Dirceu
Tomás António Gonzaga
action union
action filter_type
action find_reverse
entity Cartas Chilenas
relation notable work
type common name
action filter_type
action find_reverse
entity Marília de Dirceu
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Cartas Chilenas'] [{'concept': 'common name'}, 'notable work', 'Marília de Dirceu']
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:common_name . ?u property:notable_work resource:Cartas_Chilenas } UNION { ?u property:notable_work resource:Marília_de_Dirceu . ?u rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
What people are United States of America the head of goverment of ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P6 ?s . ?s rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
Are the head of goverment of President [ANSWERS] United States of America
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Are the head of goverment of President Barack Obama, Dwight D. Eisenhower and Donald Trump United States of America
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1447333
Q502895
USER
And also tell me about Pedroche?
(Q1447333,P6,c(Q502895))
action filter_type
action find
entity Q1447333
relation P6
type Q502895
['Q1447333', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1447333 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Pedroche
action filter_type
action find
entity Pedroche
relation head of government
type common name
['Pedroche', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Pedroche property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q14085973
SYSTEM
Santiago Ruiz García
Q14085973
(Q1447333,P6,c(Q502895))
action filter_type
action find
entity Q1447333
relation P6
type Q502895
[ANSWER]
['Q1447333', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1447333 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Santiago Ruiz García
Santiago Ruiz García
action filter_type
action find
entity Pedroche
relation head of government
type common name
['Pedroche', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Pedroche property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]