Simple Question (Direct)
Simple Question
Q60469
P20
Q486972
USER
Which human settlement is the place of death of Angelus Silesius ?
(Q60469,P20,c(Q486972))
action filter_type
action find
entity Q60469
relation P20
type Q486972
['Q60469', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q60469 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Angelus Silesius
action filter_type
action find
entity Angelus Silesius
relation place of death
type human settlement
['Angelus Silesius', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Angelus_Silesius property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q1799
SYSTEM
Wrocław
Q1799
(Q60469,P20,c(Q486972))
action filter_type
action find
entity Q60469
relation P20
type Q486972
[ANSWER] is the place of death of Angelus Silesius
['Q60469', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q60469 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Wrocław
Wrocław is the place of death of Angelus Silesius
Wrocław
action filter_type
action find
entity Angelus Silesius
relation place of death
type human settlement
['Angelus Silesius', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Angelus_Silesius property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1799
P190
Q56061
USER
Which administrative territories are partner towns of that human settlement ?
(Q1799,P190,c(Q56061))
action filter_type
action find
entity Q1799
relation P190
type Q56061
['Q1799', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1799 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Wrocław
action filter_type
action find
entity Wrocław
relation sister city
type administrative territorial entity
['Wrocław', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Wrocław property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q648 Q36036 Q384
SYSTEM
Lille, Lviv, Skopje
Q40844 Q180139 Q648 Q181376 Q384 Q4115712 Q192807 Q36036
(Q1799,P190,c(Q56061))
action filter_type
action find
entity Q1799
relation P190
type Q56061
[ANSWERS] are partner towns of that human settlement
['Q1799', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1799 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Breda Hradec Králové Lille Grodno Skopje Kaunas Ramat Gan Lviv
Lille, Lviv and Skopje are partner towns of that human settlement
Lille Lviv Skopje
action filter_type
action find
entity Wrocław
relation sister city
type administrative territorial entity
['Wrocław', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Wrocław property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q384
P237
Q17335294
USER
What is the ensign for that administrative territory ?
(Q384,P237,c(Q17335294))
action filter_type
action find
entity Q384
relation P237
type Q17335294
['Q384', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { resource:Q384 property:P237 ?j . ?j rdf:type ontology:Q17335294 }
Skopje
action filter_type
action find
entity Skopje
relation coat of arms
type flag or coat of arms
['Skopje', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { resource:Skopje property:coat_of_arms ?j . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Clarification for simple ques.
Q384
SYSTEM
Did you mean Skopje ?
Q648 Q36036 Q384
(Q648,P237,c(Q17335294)) (Q36036,P237,c(Q17335294)) (Q384,P237,c(Q17335294))
[ANSWER]
['Q648', 'P237', {'concept': 'Q17335294'}] ['Q36036', 'P237', {'concept': 'Q17335294'}] ['Q384', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { resource:Q384 property:P237 ?j . ?j rdf:type ontology:Q17335294 }
Lille Lviv Skopje
Did you mean Skopje ?
Skopje
['Lille', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Lviv', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Skopje', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { resource:Skopje property:coat_of_arms ?j . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
USER
Yes
(Q384,P237,c(Q17335294))
['Q384', 'P237', {'concept': 'Q17335294'}]
['Skopje', 'coat of arms', {'concept': 'flag or coat of arms'}]
[]
Q1956155
SYSTEM
Coat of arms of Skopje
Q1956155
(Q384,P237,c(Q17335294))
action filter_type
action find
entity Q384
relation P237
type Q17335294
The ensign for that administrative territory is the [ANSWER]
['Q384', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { resource:Q384 property:P237 ?j . ?j rdf:type ontology:Q17335294 }
Coat of arms of Skopje
The ensign for that administrative territory is the Coat of arms of Skopje
Coat of arms of Skopje
action filter_type
action find
entity Skopje
relation coat of arms
type flag or coat of arms
['Skopje', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { resource:Skopje property:coat_of_arms ?j . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P793
Q1190554 Q17335294
USER
Which events are max number of coats of arms associated with ?
(c(Q17335294),P793,Q663405)
action argmax
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
[{'concept': 'Q17335294'}, 'P793', 'Q663405']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?o ) WHERE { ?j rdf:type ontology:Q1190554 . ?w rdf:type ontology:Q17335294 . ?w property:P793 ?j } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?d ) WHERE { ?t rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q17335294 . ?b property:P793 ?t } GROUP BY ?t } . FILTER ( ?d = ?s ) }
action argmax
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'significant event', 'Battle of Zorndorf']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?o ) WHERE { ?j rdf:type ontology:event . ?w rdf:type ontology:flag_or_coat_of_arms . ?w property:significant_event ?j } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?d ) WHERE { ?t rdf:type ontology:event . ?b rdf:type ontology:flag_or_coat_of_arms . ?b property:significant_event ?t } GROUP BY ?t } . FILTER ( ?d = ?s ) }
[]
event flag or coat of arms
Q21014657
SYSTEM
assignment
Q21014657
(c(Q17335294),P793,Q663405)
action argmax
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
Max number of coats of arms are associated with [ANSWER]
[{'concept': 'Q17335294'}, 'P793', 'Q663405']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?o ) WHERE { ?j rdf:type ontology:Q1190554 . ?w rdf:type ontology:Q17335294 . ?w property:P793 ?j } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?d ) WHERE { ?t rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q17335294 . ?b property:P793 ?t } GROUP BY ?t } . FILTER ( ?d = ?s ) }
assignment
Max number of coats of arms are associated with assignment
assignment
action argmax
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'significant event', 'Battle of Zorndorf']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?o ) WHERE { ?j rdf:type ontology:event . ?w rdf:type ontology:flag_or_coat_of_arms . ?w property:significant_event ?j } GROUP BY ?j } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?d ) WHERE { ?t rdf:type ontology:event . ?b rdf:type ontology:flag_or_coat_of_arms . ?b property:significant_event ?t } GROUP BY ?t } . FILTER ( ?d = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P793
Q17335294
USER
How many coats of arms have that event as a significant associated event ?
(c(Q17335294),P793,Q21014657)
action count
action filter_type
action find_reverse
entity Q21014657
relation P793
type Q17335294
[{'concept': 'Q17335294'}, 'P793', 'Q21014657']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P793 resource:Q21014657 . ?j rdf:type ontology:Q17335294 }
action count
action filter_type
action find_reverse
entity assignment
relation significant event
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'significant event', 'assignment']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:significant_event resource:assignment . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
SYSTEM
193
Q27094309 Q2361898 Q19829204 Q20771742 Q16070375 Q21026844 Q16801448 Q2138407 Q21113151 Q15883827 Q15883828 Q20992306 Q20992308 Q19630939 Q19829227 Q19829222 Q18923027 Q16070279 Q17493159 Q16070268 Q19829281 Q1927446 Q2361119 Q19829296 Q19829236 Q17496790 Q19829193 Q20631490 Q19829272 Q19829219 Q20988152 Q20088705 Q20088704 Q20088706 Q20743162 Q27016844 Q21004690 Q2332442 Q20631470 Q20991162 Q20631481 Q20812698 Q2794188 Q20085265 Q25809828 Q1843110 Q27686189 Q19829200 Q19829209 Q20743150 Q19819952 Q20732591 Q19829212 Q19829214 Q9289537 Q3100968 Q20736265 Q15883689 Q19829238 Q19829232 Q19829237 Q20743104 Q16070293 Q15883696 Q15883698 Q19829242 Q2541882 Q20827592 Q20827590 Q2063837 Q20031997 Q18033282 Q20985198 Q21002279 Q19829261 Q21079233 Q19829256 Q19840667 Q17492773 Q1813884 Q19829270 Q19829271 Q18033363 Q14517558 Q15910445 Q14517560 Q14517565 Q14517564 Q20644742 Q2217645 Q21000739 Q21100242 Q27643083 Q20893741 Q20011187 Q4017779 Q20089573 Q19829194 Q21075691 Q15883702 Q15883707 Q19829267 Q20821992 Q2481794 Q18435338 Q21079518 Q18033265 Q18033264 Q18033267 Q21065704 Q20171269 Q20830775 Q13375962 Q2442459 Q18033274 Q18033275 Q18033270 Q27158736 Q15991913 Q18033248 Q17561010 Q16467054 Q18033253 Q27016845 Q19829278 Q20113606 Q27158707 Q2068228 Q19851115 Q17264901 Q2248565 Q21076961 Q16467065 Q18033397 Q2340874 Q14924229 Q18033448 Q17264918 Q17265251 Q19720852 Q19986529 Q20680155 Q27043719 Q20821395 Q15883823 Q15883824 Q14517653 Q18589349 Q19984116 Q19984115 Q21099849 Q2503824 Q21076933 Q15883808 Q17747411 Q15883817 Q17747409 Q20819074 Q2693505 Q18033306 Q27016848 Q27043691 Q21006214 Q27587078 Q19829289 Q18033325 Q21112383 Q21028170 Q21030481 Q18033392 Q2601036 Q21088458 Q21748773 Q1859114 Q27687538 Q27043672 Q20080565 Q2159815 Q16070354 Q20631469 Q15883711 Q2112008 Q13138551 Q21099940 Q13138543 Q21069060 Q27652703 Q20069864 Q20069872 Q20010892 Q19905136 Q20010895 Q20083722
(c(Q17335294),P793,Q21014657)
action count
action filter_type
action find_reverse
entity Q21014657
relation P793
type Q17335294
[ANSWER]
[{'concept': 'Q17335294'}, 'P793', 'Q21014657']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P793 resource:Q21014657 . ?j rdf:type ontology:Q17335294 }
coat of arms of Borssele coat of arms of Anna Paulowna coat of arms of Bleiswijk coat of arms of 's-Gravenpolder coat of arms of Mill en Sint Hubert coat of arms of Houthem coat of arms of Aalsmeer coat of arms of Sint Anthonis coat of arms of Ottersum coat of arms of Wijlre coat of arms of Wijnandsrade coat of arms of Cuijk en Sint Agatha coat of arms of Roggel en Neer coat of arms of Rijnsaterwoude coat of arms of Giessendam coat of arms of Echteld coat of arms of Heel coat of arms of Bernisse coat of arms of De Marne coat of arms of Abtsregt coat of arms of Ouddorp coat of arms of Wormerland coat of arms of Bonaire coat of arms of Sint Pieter coat of arms of Haastrecht coat of arms of Bemelen coat of arms of Abbekerk coat of arms of Poederoijen coat of arms of Nieuwe-Tonge coat of arms of Driebergen-Rijsenburg coat of arms of Kethel en Spaland coat of arms of Baarderadeel coat of arms of Aengwirden coat of arms of Beerta coat of arms of Cadzand coat of arms of Ambt Vollenhove coat of arms of Jabeek coat of arms of Schardam coat of arms of Ambt Almelo coat of arms of Vierlingsbeek coat of arms of Gameren coat of arms of Breskens second coat of arms of Emmen coat of arms of Baflo coat of arms of Eeklo coat of arms of Hoorn first coat of arms of Emmen coat of arms of Bergschenhoek coat of arms of Boskoop coat of arms of Retranchement coat of arms of Charlois coat of arms of Hooge en Lage Zwaluwe coat of arms of Brouwershaven coat of arms of De Friese Meren coat of arms of Leiden coat of arms of Waterland coat of arms of Eversdijk coat of arms of Bodegraven-Reeuwijk coat of arms of Hardinxveld coat of arms of Goudswaard coat of arms of Hagestein coat of arms of Schoondijke coat of arms of Capelle aan den IJssel coat of arms of Brummen coat of arms of Bunschoten coat of arms of Heerjansdam coat of arms of Heerenveen coat of arms of 's-Heer Arendskerke coat of arms of 's-Heer Abtskerke coat of arms of Ilpendam coat of arms of Adorp coat of arms of De Mijl coat of arms of Roosendaal en Nispen coat of arms of Meerleo coat of arms of Leidschendam coat of arms of Borgharen coat of arms of Kijfhoek coat of arms of Akersloot coat of arms of Beusichem coat of arms of Gendringen coat of arms of Nieuw-Helvoet coat of arms of Nieuw-Lekkerland coat of arms of Menterwolde coat of arms of Apeldoorn coat of arms of Albrandswaard coat of arms of Beemster coat of arms of Bronckhorst coat of arms of Brielle coat of arms of Achttienhoven coat of arms of Almere coat of arms of Meijel coat of arms of Oud-Vroenhoven first coat of arms of Elburg coat of arms of Oploo, Sint Anthonis en Ledeacker coat of arms of Aduard coat of arms of Zaanstad coat of arms of Gaasterlân-Sleat coat of arms of Alphen coat of arms of Broeksittard coat of arms of Culemborg second coat of arms of Elburg coat of arms of Monster coat of arms of Krabbendijke coat of arms of Noorder-Koggenland coat of arms of Kesteren coat of arms of Bocholtz coat of arms of Blaricum coat of arms of Biggekerke coat of arms of Borger-Odoorn coat of arms of Heer coat of arms of Zuid-Polsbroek coat of arms of Wissekerke coat of arms of Achtkarspelen coat of arms of Enkhuizen coat of arms of Bussum coat of arms of Cromstrijen coat of arms of Brakel second coat of arms of Beers coat of arms of Borsele second coat of arms of Anloo coat of arms of Elst coat of arms of Cuijk coat of arms of Bedum coat of arms of Stad Vollenhove coat of arms of Rockanje coat of arms of Brederwiede first coat of arms of Beers coat of arms of Zeevang coat of arms of Spaarndam coat of arms of Venray coat of arms of 's-Heerenberg coat of arms of Mheer coat of arms of Boxtel coat of arms of Roosendaal coat of arms of Barradeel coat of arms of Aarlanderveen coat of arms of Zoelen coat of arms of Bergen coat of arms of Vrouwenpolder coat of arms of Pernis coat of arms of Alem coat of arms of 's Gravenmoer third coat of arms of Beverwijk coat of arms of Maarheeze coat of arms of Wessem coat of arms of West Maas en Waal coat of arms of Wissenkerke coat of arms of Zaandam coat of arms of Aalst coat of arms of Hoogkerk coat of arms of Schinveld coat of arms of Sint Maarten coat of arms of Beegden coat of arms of Ulestraten coat of arms of Appeltern second coat of arms of Voorst coat of arms of Hoevelaken coat of arms of Oost-Souburg coat of arms of Alkemade coat of arms of Genemuden coat of arms of Vollenhove second coat of arms of Beverwijk coat of arms of Bingelrade first coat of arms of Leiden coat of arms of Rijnsburg coat of arms of Haren coat of arms of Oud-Valkenburg coat of arms of Horst coat of arms of Grevenbicht coat of arms of Raalte coat of arms of Beets coat of arms of Cadier en Keer coat of arms of Ganshoren coat of arms of Dokkum first coat of arms of Voorst first coat of arms of Beverwijk coat of arms of Noordbroek coat of arms of Edam-Volendam coat of arms of Korendijk coat of arms of Aalst coat of arms of Eygelshoven coat of arms of Medemblik coat of arms of Ameland coat of arms of Oirsbeek coat of arms of Boarnsterhim coat of arms of Grathem first coat of arms of Anloo coat of arms of Bladel en Netersel coat of arms of Nieuwolda coat of arms of Baardwijk coat of arms of Wormerveer coat of arms of 't Zandt coat of arms of Hoogezand
193
action count
action filter_type
action find_reverse
entity assignment
relation significant event
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'significant event', 'assignment']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:significant_event resource:assignment . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q648
P740
Q43229
USER
Which organizations originated at Lille ?
(c(Q43229),P740,Q648)
action filter_type
action find_reverse
entity Q648
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q648']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q648 . ?u rdf:type ontology:Q43229 }
Lille
action filter_type
action find_reverse
entity Lille
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Lille']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Lille . ?u rdf:type ontology:organization }
[]
organization
Q966971 Q892279
SYSTEM
Castorama, Bonduelle
Q966971 Q892279
(c(Q43229),P740,Q648)
action filter_type
action find_reverse
entity Q648
relation P740
type Q43229
[ANSWERS] originated at Lille
[{'concept': 'Q43229'}, 'P740', 'Q648']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q648 . ?u rdf:type ontology:Q43229 }
Castorama Bonduelle
Castorama and Bonduelle originated at Lille
Castorama Bonduelle
action filter_type
action find_reverse
entity Lille
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Lille']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Lille . ?u rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q648
P47
Q20667921
USER
Who share the border with Lille ?
(Q648,P47,c(Q20667921))
action filter_type
action find
entity Q648
relation P47
type Q20667921
['Q648', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q648 property:P47 ?m }
Lille
action filter_type
action find
entity Lille
relation shares border with
type type of french administrative division
['Lille', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Lille property:shares_border_with ?m }
[]
type of french administrative division
Q43295 Q271649 Q274325
SYSTEM
Villeneuve-d'Ascq, Marcq-en-Barœul, Loos
Q539167 Q274325 Q244311 Q640115 Q677059 Q1102131 Q842003 Q747086 Q658561 Q548574 Q764338 Q536489 Q728517 Q43295 Q271649 Q687375 Q638573 Q841686
(Q648,P47,c(Q20667921))
action filter_type
action find
entity Q648
relation P47
type Q20667921
[ANSWERS] share the border with Lille
['Q648', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q648 property:P47 ?m }
Ennetières-en-Weppes Loos Lambersart Faches-Thumesnil Capinghem Wattignies La Madeleine Prémesques Lezennes Ronchin Lompret Englos Saint-André-lez-Lille Villeneuve-d'Ascq Marcq-en-Barœul Sequedin Pérenchies Mons-en-Barœul
Villeneuve-d'Ascq, Marcq-en-Barœul and Loos share the border with Lille
Villeneuve-d'Ascq Marcq-en-Barœul Loos
action filter_type
action find
entity Lille
relation shares border with
type type of french administrative division
['Lille', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Lille property:shares_border_with ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q648
P6
Q502895
USER
Which person does Lille serve as the head of government for ?
(Q648,P6,c(Q502895))
action filter_type
action find
entity Q648
relation P6
type Q502895
['Q648', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q648 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Lille
action filter_type
action find
entity Lille
relation head of government
type common name
['Lille', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lille property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q228977
SYSTEM
Martine Aubry
Q228977
(Q648,P6,c(Q502895))
action filter_type
action find
entity Q648
relation P6
type Q502895
Cabinet [ANSWER] Lille serves as the head of government
['Q648', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q648 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Martine Aubry
Cabinet Martine Aubry Lille serves as the head of government
Martine Aubry
action filter_type
action find
entity Lille
relation head of government
type common name
['Lille', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lille property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q966971
P159
Q20667921
USER
Where is the headquarter of Castorama located ?
(Q966971,P159,c(Q20667921))
action filter_type
action find
entity Q966971
relation P159
type Q20667921
['Q966971', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q966971 property:P159 ?c . ?c rdf:type ontology:Q20667921 }
Castorama
action filter_type
action find
entity Castorama
relation headquarters location
type type of french administrative division
['Castorama', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Castorama property:headquarters_location ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q763901
SYSTEM
Templemars
Q763901
(Q966971,P159,c(Q20667921))
action filter_type
action find
entity Q966971
relation P159
type Q20667921
The headquarter of Castorama is located in [ANSWER]
['Q966971', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q966971 property:P159 ?c . ?c rdf:type ontology:Q20667921 }
Templemars
The headquarter of Castorama is located in Templemars
Templemars
action filter_type
action find
entity Castorama
relation headquarters location
type type of french administrative division
['Castorama', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Castorama property:headquarters_location ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q382106 Q892279
P19 P159
Q56061
USER
Which administrative territories are the headquarter locations of Bonduelle or were Peker Açıkalın born at ?
OR((Q892279,P159,c(Q56061)), (Q382106,P19,c(Q56061)))
action filter_type
action union
action find
entity Q892279
relation P159
action find
entity Q382106
relation P19
type Q56061
{'OR': [['Q892279', 'P159', {'concept': 'Q56061'}], ['Q382106', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . { { resource:Q892279 property:P159 ?h } UNION { resource:Q382106 property:P19 ?h } } }
Peker Açıkalın Bonduelle
action filter_type
action union
action find
entity Bonduelle
relation headquarters location
action find
entity Peker Açıkalın
relation place of birth
type administrative territorial entity
{'OR': [['Bonduelle', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Peker Açıkalın', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . { { resource:Bonduelle property:headquarters_location ?h } UNION { resource:Peker_Açıkalın property:place_of_birth ?h } } }
[]
administrative territorial entity
Q127063 Q648 Q406
SYSTEM
Kars, Lille, Istanbul
Q127063 Q648 Q406
OR((Q892279,P159,c(Q56061)), (Q382106,P19,c(Q56061)))
action filter_type
action union
action find
entity Q892279
relation P159
action find
entity Q382106
relation P19
type Q56061
[ANSWERS] are the headquarter locations of Bonduelle or were Peker Açıkalın born at
{'OR': [['Q892279', 'P159', {'concept': 'Q56061'}], ['Q382106', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . { { resource:Q892279 property:P159 ?h } UNION { resource:Q382106 property:P19 ?h } } }
Kars Lille Istanbul
Kars, Lille and Istanbul are the headquarter locations of Bonduelle or were Peker Açıkalın born at
Kars Lille Istanbul
action filter_type
action union
action find
entity Bonduelle
relation headquarters location
action find
entity Peker Açıkalın
relation place of birth
type administrative territorial entity
{'OR': [['Bonduelle', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Peker Açıkalın', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . { { resource:Bonduelle property:headquarters_location ?h } UNION { resource:Peker_Açıkalın property:place_of_birth ?h } } }
[]