Simple Question (Direct)
Simple Question
Q1127276
P641
Q349
USER
Which sport did István Laczkó participate in ?
(Q1127276,P641,c(Q349))
action filter_type
action find
entity Q1127276
relation P641
type Q349
['Q1127276', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1127276 property:P641 ?u . ?u rdf:type ontology:Q349 }
István Laczkó
action filter_type
action find
entity István Laczkó
relation sport
type sport
['István Laczkó', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:István_Laczkó property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1127276,P641,c(Q349))
action filter_type
action find
entity Q1127276
relation P641
type Q349
István Laczkó participated in [ANSWER]
['Q1127276', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1127276 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
István Laczkó participated in association football
association football
action filter_type
action find
entity István Laczkó
relation sport
type sport
['István Laczkó', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:István_Laczkó property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1127276
P20
Q515
USER
Which city is the place of death of István Laczkó ?
(Q1127276,P20,c(Q515))
action filter_type
action find
entity Q1127276
relation P20
type Q515
['Q1127276', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1127276 property:P20 ?g . ?g rdf:type ontology:Q515 }
István Laczkó
action filter_type
action find
entity István Laczkó
relation place of death
type city
['István Laczkó', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:István_Laczkó property:place_of_death ?g . ?g rdf:type ontology:city }
[]
city
Q748797
SYSTEM
Dorog
Q748797
(Q1127276,P20,c(Q515))
action filter_type
action find
entity Q1127276
relation P20
type Q515
[ANSWER] is the place of death of István Laczkó
['Q1127276', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1127276 property:P20 ?g . ?g rdf:type ontology:Q515 }
Dorog
Dorog is the place of death of István Laczkó
Dorog
action filter_type
action find
entity István Laczkó
relation place of death
type city
['István Laczkó', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:István_Laczkó property:place_of_death ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1127276
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q748797,P19,c(Q56061))
action filter_type
action find
entity Q1127276
relation P19
type Q56061
['Q748797', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1127276 property:P19 ?x }
István Laczkó
action filter_type
action find
entity István Laczkó
relation place of birth
type administrative territorial entity
['Dorog', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:István_Laczkó property:place_of_birth ?x }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q748797,P19,c(Q56061))
action filter_type
action find
entity Q1127276
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q748797', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1127276 property:P19 ?x }
Budapest
Budapest is the place of birth of that person
Budapest
action filter_type
action find
entity István Laczkó
relation place of birth
type administrative territorial entity
['Dorog', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:István_Laczkó property:place_of_birth ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1461
P1376
Q13220204 Q1048835 Q515
USER
Which cities are the capital of more number of administrative country subdivisions and political territories than Manila ?
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q1461
relation P1376
type Q13220204
type Q1048835
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?n WHERE { { ?n property:P1376 ?j . ?n rdf:type ontology:Q515 . ?j rdf:type ontology:Q13220204 } UNION { ?n property:P1376 ?j . ?n rdf:type ontology:Q515 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } . resource:Q1461 property:P1376 ?z } } }
Manila
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Manila
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?n WHERE { { ?n property:capital_of ?j . ?n rdf:type ontology:city . ?j rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?n property:capital_of ?j . ?n rdf:type ontology:city . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } . resource:Manila property:capital_of ?z } } }
[]
second-level administrative country subdivision political territorial entity city
Q1899 Q1731 Q23482
SYSTEM
Kyiv, Dresden, Marseille
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q3974 Q873377 Q8131 Q4024 Q1711 Q496667 Q27860 Q3806 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q3926 Q11462 Q3214 Q23482 Q505208 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q2966 Q1467 Q14499 Q2865 Q12245 Q117676 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q6602 Q23661 Q191651 Q305640 Q14819 Q5285 Q14182 Q6807568 Q7568 Q1731 Q1636 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q714628 Q177149 Q14960 Q874270 Q2978 Q2973 Q14821 Q3958 Q2079 Q8156 Q1856 Q4007 Q14168 Q55598 Q271000 Q1826 Q542154 Q7253 Q2936 Q2749 Q63145 Q2119 Q271917 Q5972 Q83247 Q1645 Q7578 Q14126 Q15847 Q3768 Q2209 Q2200 Q16506 Q14155 Q14409 Q40626 Q55740 Q693264 Q6582 Q502205 Q57944 Q2795 Q8179 Q5217 Q1020709 Q456 Q267894 Q2152435 Q2833 Q3935 Q7003 Q3750 Q894059 Q183111 Q40584 Q1067897 Q11506 Q107624 Q8042 Q50179 Q104125 Q2999
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q1461
relation P1376
type Q13220204
type Q1048835
[ANSWERS] are the capital of more number of administrative country subdivisions and political territories than Manila
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?n WHERE { { ?n property:P1376 ?j . ?n rdf:type ontology:Q515 . ?j rdf:type ontology:Q13220204 } UNION { ?n property:P1376 ?j . ?n rdf:type ontology:Q515 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } . resource:Q1461 property:P1376 ?z } } }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Landshut Dumaguete Palembang Frankfurt (Oder) Potsdam Muroran Jayapura Tübingen Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Pretoria Surabaya Cottbus Marseille Ouarzazate Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Heidelberg Cebu City Samarinda Kassel Stanley Viseu Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Strasbourg Wellington Masbate City Abashiri Freiberg Tarlac Banjarmasin Emmen Yogyakarta Dresden Antipolo Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Rumoi Obihiro Brno Pagadian Regensburg Darmstadt Coburg Neubrandenburg Leipzig Bandar Lampung Malaybalay Rosenheim Pontianak Palayan Bouaké Tagbilaran Koronadal Padang Oldenburg Augsburg Imus Mannheim Kushiro Medan Braga Cagayan de Oro Jambi Mataram Manado Yamoussoukro Roxas Tuguegarao České Budějovice Kupang Palangkaraya Tacloban San Fernando Iwamizawa Carcassonne Nemuro Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Lyon Wakkanai Miramar Freiburg im Breisgau Windhoek Dijon Gera Borongan Jihlava San Fernando Oroquieta Denpasar Calapan Bengkulu Ilagan Lucena Würzburg
Kyiv, Dresden and Marseille are the capital of more number of administrative country subdivisions and political territories than Manila
Kyiv Dresden Marseille
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Manila
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?n WHERE { { ?n property:capital_of ?j . ?n rdf:type ontology:city . ?j rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?n property:capital_of ?j . ?n rdf:type ontology:city . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } . resource:Manila property:capital_of ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1781 Q25579
P276
Q811979
USER
How many architectural structures are situated at Budapest or Umeå ?
(c(Q811979),P276,Q1781) (c(Q811979),P276,Q25579)
action count
action union
action filter_type
action find_reverse
entity Q1781
relation P276
type Q811979
action filter_type
action find_reverse
entity Q25579
relation P276
type Q811979
[{'concept': 'Q811979'}, 'P276', 'Q1781'] [{'concept': 'Q811979'}, 'P276', 'Q25579']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Q1781 ) ( resource:Q25579 ) } . ?w property:P276 ?n }
Budapest Umeå
action count
action union
action filter_type
action find_reverse
entity Budapest
relation location
type architectural structure
action filter_type
action find_reverse
entity Umeå
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Budapest'] [{'concept': 'architectural structure'}, 'location', 'Umeå']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Budapest ) ( resource:Umeå ) } . ?w property:location ?n }
[]
architectural structure
SYSTEM
16
Q10709747 Q10658674 Q10709145 Q3603773 Q10709194 Q10716747 Q3603782 Q1792366 Q3603778 Q10419250 Q3303308 Q10550358 Q10573295 Q10502451 Q7626050 Q10502610
(c(Q811979),P276,Q1781) (c(Q811979),P276,Q25579)
action count
action union
action filter_type
action find_reverse
entity Q1781
relation P276
type Q811979
action filter_type
action find_reverse
entity Q25579
relation P276
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P276', 'Q1781'] [{'concept': 'Q811979'}, 'P276', 'Q25579']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Q1781 ) ( resource:Q25579 ) } . ?w property:P276 ?n }
Universum Rådhustorget Umedalens mentalsjukhus Tegsbron Umeå rådhus Von Ahnska magasinet Gamla bron Umeå Arts Campus Kyrkbron Aschanska Villa Umeå Arena Utopia (galleria) MVG-Gallerian Gamla bankhuset Strömpilen Gammliahallen
16
action count
action union
action filter_type
action find_reverse
entity Budapest
relation location
type architectural structure
action filter_type
action find_reverse
entity Umeå
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Budapest'] [{'concept': 'architectural structure'}, 'location', 'Umeå']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Budapest ) ( resource:Umeå ) } . ?w property:location ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q750220
P1376
Q515 Q515
USER
How many cities have approximately the same number of cities as their capital as Huedin ?
(c(Q515),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q750220
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 . ?h property:P1376 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q750220 property:P1376 ?q . ?q rdf:type ontology:Q515 } } . FILTER ( ?s = ?e ) }
Huedin
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Huedin
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:city . ?y rdf:type ontology:city . ?h property:capital_of ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Huedin property:capital_of ?q . ?q rdf:type ontology:city } } . FILTER ( ?s = ?e ) }
[]
city city
SYSTEM
220
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q235 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q148540 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q515),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_type
action find
entity Q750220
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 . ?h property:P1376 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q750220 property:P1376 ?q . ?q rdf:type ontology:Q515 } } . FILTER ( ?s = ?e ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Monaco Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Republic of Florence Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
220
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type city
action count
action filter_type
action find
entity Huedin
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:city . ?y rdf:type ontology:city . ?h property:capital_of ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Huedin property:capital_of ?q . ?q rdf:type ontology:city } } . FILTER ( ?s = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23482
P1376
Q20667921
USER
How many french administrative divisions have Marseille as their county seat ?
(Q23482,P1376,c(Q20667921))
action count
action filter_type
action find
entity Q23482
relation P1376
type Q20667921
['Q23482', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q23482 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
Marseille
action count
action filter_type
action find
entity Marseille
relation capital of
type type of french administrative division
['Marseille', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Marseille property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
26
Q930210 Q740598 Q1517425 Q1660878 Q1726150 Q15104 Q585715 Q1726115 Q1726117 Q2035144 Q1726132 Q1605528 Q1726134 Q1726137 Q993282 Q1657879 Q1726143 Q1726141 Q1726147 Q1726149 Q1726121 Q1726123 Q1726125 Q1726127 Q1726128 Q1726113
(Q23482,P1376,c(Q20667921))
action count
action filter_type
action find
entity Q23482
relation P1376
type Q20667921
[ANSWER]
['Q23482', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q23482 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
canton of Marseille-Le Camas canton of Marseille-Saint-Marcel canton of Marseille-Belsunce canton of Marseille-La Belle-de-Mai canton of Marseille-Verduron Provence-Alpes-Côte d'Azur canton of Marseille-Les Trois Lucs canton of Marseille-La Capelette canton of Marseille-La Pomme canton of Marseille-La Rose canton of Marseille-Notre-Dame-du-Mont canton of Marseille-La Pointe-Rouge canton of Marseille-Saint-Giniez canton of Marseille-Saint-Just canton of Marseille-Saint-Barthélemy canton of Marseille-Les Cinq-Avenues canton of Marseille-Saint-Mauront canton of Marseille-Saint-Lambert canton of Marseille-Sainte-Marguerite canton of Marseille-Vauban canton of Marseille-Les Grands-Carmes canton of Marseille-Les Olives canton of Marseille-Mazargues canton of Marseille-Montolivet canton of Marseille-Notre-Dame-Limite canton of Marseille-la Blancarde
26
action count
action filter_type
action find
entity Marseille
relation capital of
type type of french administrative division
['Marseille', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Marseille property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P915
Q838948
USER
Which works of art had that city as their location of filming ?
action filter_type
action find_reverse
entity Q23482
relation P915
type Q838948
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q23482 . ?z rdf:type ontology:Q838948 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation filming location
type work of art
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Marseille . ?z rdf:type ontology:work_of_art }
[]
work of art
Q190588 Q894172 Q1033136
SYSTEM
Love Actually, Borsalino, Declaration of War
Q1241684 Q3223236 Q819972 Q3202461 Q277648 Q1961758 Q86427 Q215319 Q3548877 Q3110361 Q943447 Q12138538 Q16654535 Q929220 Q151711 Q3561465 Q815550 Q803974 Q1536329 Q726215 Q2986062 Q1140062 Q894172 Q2397097 Q3576826 Q1101794 Q1424889 Q3204767 Q2929140 Q1322784 Q756574 Q17174401 Q3214258 Q3293881 Q756572 Q1768064 Q220735 Q3226974 Q1661961 Q3222987 Q3231564 Q13553881 Q2849832 Q16314359 Q2601067 Q2443227 Q2859040 Q1395728 Q1195192 Q912877 Q1430568 Q3023905 Q850338 Q1033136 Q3443185 Q3213738 Q3442494 Q3110359 Q1283793 Q1416440 Q3235471 Q261415 Q3349169 Q5627325 Q3354995 Q190588 Q905959
action filter_type
action find_reverse
entity Q23482
relation P915
type Q838948
[ANSWERS] had that city as their location of filming
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q23482 . ?z rdf:type ontology:Q838948 }
Pépé le Moko The Big Brother The Transporter L'Assaut Taxi 3 Moon in the Gutter Breathless 22 Bullets A Man Named Rocca Gomez & Tavarès, la suite Fanny Nous, princesses de Clèves Journey to the West César Marie-Jo and Her Two Lovers Vive la France Transporter 3 Baise-moi Traitor Taxi Comme un aimant Mademoiselle Chambon Borsalino Chouchou Til Death Do Us Part High Crime Crustacés et Coquillages The Overeater Bye-Bye French Connection II Taxi 4 Ariane's Thread The Town Is Quiet Marius and Jeannette Taxi 2 MR 73 The French Connection Le schpountz Law Breakers Forbidden Fruit The Five Cents of Lavarede Suzanne Angèle La French 1, 2, 3 Marius Heat Wave Fanny Legionnaire A Good Year The Marseille Contract Last Summer Betty Blue Declaration of War Rouge midi The Shameless Old Lady Roselyne and the Lions Payoff Time to Live Le Cercle rouge Seven Thunders My Mother's Castle Odette Le Gitan Orage Love Actually My Father's Glory
Love Actually, Borsalino and Declaration of War had that city as their location of filming
Love Actually Borsalino Declaration of War
action filter_type
action find_reverse
entity Marseille
relation filming location
type work of art
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Marseille . ?z rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q180176 Q23482
P190
Q486972
USER
Which human settlements are twin cities of Marseille or Kozani ?
OR((Q23482,P190,c(Q486972)), (Q180176,P190,c(Q486972)))
action filter_type
action union
action find
entity Q23482
relation P190
action find
entity Q180176
relation P190
type Q486972
{'OR': [['Q23482', 'P190', {'concept': 'Q486972'}], ['Q180176', 'P190', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q486972 . { { resource:Q23482 property:P190 ?m } UNION { resource:Q180176 property:P190 ?m } } }
Kozani Marseille
action filter_type
action union
action find
entity Marseille
relation sister city
action find
entity Kozani
relation sister city
type human settlement
{'OR': [['Marseille', 'sister city', {'concept': 'human settlement'}], ['Kozani', 'sister city', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:human_settlement . { { resource:Marseille property:sister_city ?m } UNION { resource:Kozani property:sister_city ?m } } }
[]
human settlement
Q1792 Q209034 Q1055
SYSTEM
Gdańsk, Toluca, Hamburg
Q1792 Q209034 Q1055
OR((Q23482,P190,c(Q486972)), (Q180176,P190,c(Q486972)))
action filter_type
action union
action find
entity Q23482
relation P190
action find
entity Q180176
relation P190
type Q486972
[ANSWERS] are twin cities of Marseille or Kozani
{'OR': [['Q23482', 'P190', {'concept': 'Q486972'}], ['Q180176', 'P190', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q486972 . { { resource:Q23482 property:P190 ?m } UNION { resource:Q180176 property:P190 ?m } } }
Gdańsk Toluca Hamburg
Gdańsk, Toluca and Hamburg are twin cities of Marseille or Kozani
Gdańsk Toluca Hamburg
action filter_type
action union
action find
entity Marseille
relation sister city
action find
entity Kozani
relation sister city
type human settlement
{'OR': [['Marseille', 'sister city', {'concept': 'human settlement'}], ['Kozani', 'sister city', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:human_settlement . { { resource:Marseille property:sister_city ?m } UNION { resource:Kozani property:sister_city ?m } } }
[]