Simple Question (Direct)
Simple Question
Q1468540
P20
Q15617994
USER
Where did Fritz Stoltenberg die ?
(Q1468540,P20,c(Q15617994))
action filter_type
action find
entity Q1468540
relation P20
type Q15617994
['Q1468540', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1468540 property:P20 ?o }
Fritz Stoltenberg
action filter_type
action find
entity Fritz Stoltenberg
relation place of death
type designation for an administrative territorial entity
['Fritz Stoltenberg', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fritz_Stoltenberg property:place_of_death ?o }
[]
designation for an administrative territorial entity
Q696374
SYSTEM
Schönberg
Q696374
(Q1468540,P20,c(Q15617994))
action filter_type
action find
entity Q1468540
relation P20
type Q15617994
Fritz Stoltenberg died in [ANSWER]
['Q1468540', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1468540 property:P20 ?o }
Schönberg
Fritz Stoltenberg died in Schönberg
Schönberg
action filter_type
action find
entity Fritz Stoltenberg
relation place of death
type designation for an administrative territorial entity
['Fritz Stoltenberg', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fritz_Stoltenberg property:place_of_death ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1468540
P136
Q1792379
USER
What can be considered as category for that person ?
(Q696374,P136,c(Q1792379))
action filter_type
action find
entity Q1468540
relation P136
type Q1792379
['Q696374', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q1468540 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
Fritz Stoltenberg
action filter_type
action find
entity Fritz Stoltenberg
relation genre
type art genre
['Schönberg', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Fritz_Stoltenberg property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q158607
SYSTEM
marine art
Q158607
(Q696374,P136,c(Q1792379))
action filter_type
action find
entity Q1468540
relation P136
type Q1792379
[ANSWER] can be considered as category for that person
['Q696374', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q1468540 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
marine art
Marine art can be considered as category for that person
marine art
action filter_type
action find
entity Fritz Stoltenberg
relation genre
type art genre
['Schönberg', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Fritz_Stoltenberg property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q696374 Q1346906
P19
Q502895
USER
How many people have location of birth at Schönberg or Russell Square ?
(c(Q502895),P19,Q696374) (c(Q502895),P19,Q1346906)
action count
action union
action filter_type
action find_reverse
entity Q696374
relation P19
type Q502895
action filter_type
action find_reverse
entity Q1346906
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q696374'] [{'concept': 'Q502895'}, 'P19', 'Q1346906']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P19 ?u . VALUES ( ?u ) { ( resource:Q696374 ) ( resource:Q1346906 ) } }
Schönberg Russell Square
action count
action union
action filter_type
action find_reverse
entity Schönberg
relation place of birth
type common name
action filter_type
action find_reverse
entity Russell Square
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Schönberg'] [{'concept': 'common name'}, 'place of birth', 'Russell Square']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:place_of_birth ?u . VALUES ( ?u ) { ( resource:Schönberg ) ( resource:Russell_Square ) } }
[]
common name
SYSTEM
2
Q16744897 Q349850
(c(Q502895),P19,Q696374) (c(Q502895),P19,Q1346906)
action count
action union
action filter_type
action find_reverse
entity Q696374
relation P19
type Q502895
action filter_type
action find_reverse
entity Q1346906
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q696374'] [{'concept': 'Q502895'}, 'P19', 'Q1346906']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P19 ?u . VALUES ( ?u ) { ( resource:Q696374 ) ( resource:Q1346906 ) } }
Horatio Porter Adam Jessin
2
action count
action union
action filter_type
action find_reverse
entity Schönberg
relation place of birth
type common name
action filter_type
action find_reverse
entity Russell Square
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Schönberg'] [{'concept': 'common name'}, 'place of birth', 'Russell Square']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:place_of_birth ?u . VALUES ( ?u ) { ( resource:Schönberg ) ( resource:Russell_Square ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q696374 Q996986
P20
Q502895
USER
How many people have Schönberg or Brühl Palace, Warsaw as the location of death ?
(c(Q502895),P20,Q696374) (c(Q502895),P20,Q996986)
action count
action union
action filter_type
action find_reverse
entity Q696374
relation P20
type Q502895
action filter_type
action find_reverse
entity Q996986
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q696374'] [{'concept': 'Q502895'}, 'P20', 'Q996986']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Q996986 ) ( resource:Q696374 ) } . ?x property:P20 ?y }
Schönberg Brühl Palace, Warsaw
action count
action union
action filter_type
action find_reverse
entity Schönberg
relation place of death
type common name
action filter_type
action find_reverse
entity Brühl Palace, Warsaw
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Schönberg'] [{'concept': 'common name'}, 'place of death', 'Brühl Palace, Warsaw']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Brühl_Palace,_Warsaw ) ( resource:Schönberg ) } . ?x property:place_of_death ?y }
[]
common name
SYSTEM
3
Q1468540 Q496669 Q1377426
(c(Q502895),P20,Q696374) (c(Q502895),P20,Q996986)
action count
action union
action filter_type
action find_reverse
entity Q696374
relation P20
type Q502895
action filter_type
action find_reverse
entity Q996986
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q696374'] [{'concept': 'Q502895'}, 'P20', 'Q996986']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Q996986 ) ( resource:Q696374 ) } . ?x property:P20 ?y }
Fritz Stoltenberg Andreas Coerdt Jerzy Ossoliński
3
action count
action union
action filter_type
action find_reverse
entity Schönberg
relation place of death
type common name
action filter_type
action find_reverse
entity Brühl Palace, Warsaw
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Schönberg'] [{'concept': 'common name'}, 'place of death', 'Brühl Palace, Warsaw']
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Brühl_Palace,_Warsaw ) ( resource:Schönberg ) } . ?x property:place_of_death ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q12280 Q17444909
USER
How many administrative territories are namesakes of atmost 2 bridges or astronomical object types ?
(c(Q12280)|c(Q17444909),P138,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q12280
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
value 2
[[{'concept': 'Q12280'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q12280 ) ( ontology:Q17444909 ) } . ?t rdf:type ?y } GROUP BY ?l } . FILTER ( ?x <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
value 2
[[{'concept': 'bridge'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?l WHERE { VALUES ( ?y ) { ( ontology:bridge ) ( ontology:astronomical_object_type ) } . ?t rdf:type ?y } GROUP BY ?l } . FILTER ( ?x <= 2 ) }
[]
designation for an administrative territorial entity bridge astronomical object type
SYSTEM
383
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 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 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 Q2152015 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(Q12280)|c(Q17444909),P138,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q12280
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
value 2
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q12280 ) ( ontology:Q17444909 ) } . ?t rdf:type ?y } GROUP BY ?l } . FILTER ( ?x <= 2 ) }
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 Anklam 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 Sprendlingen 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 Riedelbach 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
383
action count
action atmost
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
value 2
[[{'concept': 'bridge'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?l WHERE { VALUES ( ?y ) { ( ontology:bridge ) ( ontology:astronomical_object_type ) } . ?t rdf:type ?y } GROUP BY ?l } . FILTER ( ?x <= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q696374 Q18061354
P17
Q15617994
USER
How many administrative territories do Schönberg or 2015 Men's EuroHockey Nations Championship belong to ?
(Q696374,P17,c(Q15617994)) (Q18061354,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q696374
relation P17
type Q15617994
action filter_type
action find
entity Q18061354
relation P17
type Q15617994
['Q696374', 'P17', {'concept': 'Q15617994'}] ['Q18061354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?q ) { ( resource:Q696374 ) ( resource:Q18061354 ) } . ?q property:P17 ?k }
Schönberg 2015 Men's EuroHockey Nations Championship
action count
action union
action filter_type
action find
entity Schönberg
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2015 Men's EuroHockey Nations Championship
relation country
type designation for an administrative territorial entity
['Schönberg', 'country', {'concept': 'designation for an administrative territorial entity'}] ["2015 Men's EuroHockey Nations Championship", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?q ) { ( resource:Schönberg ) ( resource:2015_Men's_EuroHockey_Nations_Championship ) } . ?q property:country ?k }
[]
designation for an administrative territorial entity
SYSTEM
2
Q31 Q145
(Q696374,P17,c(Q15617994)) (Q18061354,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q696374
relation P17
type Q15617994
action filter_type
action find
entity Q18061354
relation P17
type Q15617994
[ANSWER]
['Q696374', 'P17', {'concept': 'Q15617994'}] ['Q18061354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?q ) { ( resource:Q696374 ) ( resource:Q18061354 ) } . ?q property:P17 ?k }
Belgium United Kingdom
2
action count
action union
action filter_type
action find
entity Schönberg
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2015 Men's EuroHockey Nations Championship
relation country
type designation for an administrative territorial entity
['Schönberg', 'country', {'concept': 'designation for an administrative territorial entity'}] ["2015 Men's EuroHockey Nations Championship", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?q ) { ( resource:Schönberg ) ( resource:2015_Men's_EuroHockey_Nations_Championship ) } . ?q property:country ?k }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q502895 Q1792379
USER
Which art genres express min number of names or people ?
(c(Q1792379),P180,c(Q82799)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q82799
action find_tuple_counts
relation P180
type Q1792379
type Q502895
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q82799 ) ( ontology:Q502895 ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?x ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:P180 ?q . ?q rdf:type ontology:Q82799 . ?n rdf:type ontology:Q1792379 } UNION { ?n property:P180 ?q . ?n rdf:type ontology:Q1792379 . ?q rdf:type ontology:Q502895 } } GROUP BY ?n } } }
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type name
action find_tuple_counts
relation depicts
type art genre
type common name
[{'concept': 'art genre'}, 'depicts', [{'concept': 'name'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:name ) ( ontology:common_name ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?x ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:depicts ?q . ?q rdf:type ontology:name . ?n rdf:type ontology:art_genre } UNION { ?n property:depicts ?q . ?n rdf:type ontology:art_genre . ?q rdf:type ontology:common_name } } GROUP BY ?n } } }
[]
name common name art genre
Q4668641 Q3207118 Q3687196
SYSTEM
Above and Below, The Ring of Fire, Christ's Charge to Peter
Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26928600 Q3900659 Q742530 Q742333 Q937330 Q3374376 Q1615638 Q22677825 Q6944995 Q248726 Q3207118 Q214127 Q1353984 Q158607 Q18559971 Q18917896 Q22575803 Q1339864 Q2415378 Q191163 Q5448026 Q12303833
(c(Q1792379),P180,c(Q82799)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q82799
action find_tuple_counts
relation P180
type Q1792379
type Q502895
[ANSWERS] express min number of names or people
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q82799 ) ( ontology:Q502895 ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?x ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:P180 ?q . ?q rdf:type ontology:Q82799 . ?n rdf:type ontology:Q1792379 } UNION { ?n property:P180 ?q . ?n rdf:type ontology:Q1792379 . ?q rdf:type ontology:Q502895 } } GROUP BY ?n } } }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Existentialist literature The Miraculous Draught of Fishes idyll history painting kouros mythological painting submarine films Maire-sculpture My Bed Venus figurine The Ring of Fire genre painting landscape photography marine art Rock art at Åbodsjön history sculpture Going swimming, from the theme mother and child sports film schutterstuk landscape art figure painting floral painting
Above and Below, The Ring of Fire and Christ's Charge to Peter express min number of names or people
Above and Below The Ring of Fire Christ's Charge to Peter
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type name
action find_tuple_counts
relation depicts
type art genre
type common name
[{'concept': 'art genre'}, 'depicts', [{'concept': 'name'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:name ) ( ontology:common_name ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?i = ?x ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?x ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:depicts ?q . ?q rdf:type ontology:name . ?n rdf:type ontology:art_genre } UNION { ?n property:depicts ?q . ?n rdf:type ontology:art_genre . ?q rdf:type ontology:common_name } } GROUP BY ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1233563 Q696374
P47 P17
Q1048835
USER
Which political territories do Schönberg belong to or are adjacent to Gratallops ?
OR((Q696374,P17,c(Q1048835)), (Q1233563,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q696374
relation P17
action find
entity Q1233563
relation P47
type Q1048835
{'OR': [['Q696374', 'P17', {'concept': 'Q1048835'}], ['Q1233563', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q696374 property:P17 ?f } UNION { resource:Q1233563 property:P47 ?f } } . ?f rdf:type ontology:Q1048835 }
Gratallops Schönberg
action filter_type
action union
action find
entity Schönberg
relation country
action find
entity Gratallops
relation shares border with
type political territorial entity
{'OR': [['Schönberg', 'country', {'concept': 'political territorial entity'}], ['Gratallops', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Schönberg property:country ?f } UNION { resource:Gratallops property:shares_border_with ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1233531 Q1233519 Q1248591 Q183 Q1233422 Q1248500 Q761878 Q537604 Q745357
SYSTEM
Bellmunt del Priorat, El Lloar, El Molar, Germany, La Vilella Baixa, Porrera, La Vilella Alta, Falset, Tarragona, Torroja del Priorat
Q1233531 Q1233519 Q1248591 Q183 Q1233422 Q1248500 Q761878 Q537604 Q745357
OR((Q696374,P17,c(Q1048835)), (Q1233563,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q696374
relation P17
action find
entity Q1233563
relation P47
type Q1048835
Schönberg belong to [ANSWERS] or are adjacent to Gratallops
{'OR': [['Q696374', 'P17', {'concept': 'Q1048835'}], ['Q1233563', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q696374 property:P17 ?f } UNION { resource:Q1233563 property:P47 ?f } } . ?f rdf:type ontology:Q1048835 }
Bellmunt del Priorat El Lloar El Molar Germany La Vilella Baixa Porrera La Vilella Alta Falset, Tarragona Torroja del Priorat
Schönberg belong to Bellmunt del Priorat, El Lloar, El Molar, Germany, La Vilella Baixa, Porrera, La Vilella Alta, Falset, Tarragona and Torroja del Priorat or are adjacent to Gratallops
Bellmunt del Priorat El Lloar El Molar Germany La Vilella Baixa Porrera La Vilella Alta Falset, Tarragona Torroja del Priorat
action filter_type
action union
action find
entity Schönberg
relation country
action find
entity Gratallops
relation shares border with
type political territorial entity
{'OR': [['Schönberg', 'country', {'concept': 'political territorial entity'}], ['Gratallops', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Schönberg property:country ?f } UNION { resource:Gratallops property:shares_border_with ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q745357
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q745357)
action filter_type
action find_reverse
entity Q745357
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q745357']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q745357 . ?i rdf:type ontology:Q12737077 }
Torroja del Priorat
action filter_type
action find_reverse
entity Torroja del Priorat
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Torroja del Priorat']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Torroja_del_Priorat . ?i rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1248500
SYSTEM
Did you mean Porrera ?
Q1233531 Q1233519 Q1248591 Q183 Q1233422 Q1248500 Q761878 Q537604 Q745357
(c(Q12737077),P1001,Q1233531) (c(Q12737077),P1001,Q1233519) (c(Q12737077),P1001,Q1248591) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q1233422) (c(Q12737077),P1001,Q1248500) (c(Q12737077),P1001,Q761878) (c(Q12737077),P1001,Q537604) (c(Q12737077),P1001,Q745357)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q1233531'] [{'concept': 'Q12737077'}, 'P1001', 'Q1233519'] [{'concept': 'Q12737077'}, 'P1001', 'Q1248591'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q1233422'] [{'concept': 'Q12737077'}, 'P1001', 'Q1248500'] [{'concept': 'Q12737077'}, 'P1001', 'Q761878'] [{'concept': 'Q12737077'}, 'P1001', 'Q537604'] [{'concept': 'Q12737077'}, 'P1001', 'Q745357']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q745357 . ?i rdf:type ontology:Q12737077 }
Bellmunt del Priorat El Lloar El Molar Germany La Vilella Baixa Porrera La Vilella Alta Falset, Tarragona Torroja del Priorat
Did you mean Porrera ?
Porrera
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Bellmunt del Priorat'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'El Lloar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'El Molar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'La Vilella Baixa'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Porrera'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'La Vilella Alta'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Falset, Tarragona'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Torroja del Priorat']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Torroja_del_Priorat . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Torroja del Priorat. Could you tell me the answer for that?
(c(Q12737077),P1001,Q745357)
Q745357
[{'concept': 'Q12737077'}, 'P1001', 'Q745357']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Torroja del Priorat']
[]
Q26699835
SYSTEM
mayor of Torroja
Q26699835
(c(Q12737077),P1001,Q745357)
action filter_type
action find_reverse
entity Q745357
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q745357']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q745357 . ?i rdf:type ontology:Q12737077 }
mayor of Torroja
The mayor of Torroja applies to jurisdiction over that political territory
mayor of Torroja
action filter_type
action find_reverse
entity Torroja del Priorat
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Torroja del Priorat']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Torroja_del_Priorat . ?i rdf:type ontology:occupation }
[]