Simple Question (Direct)
Simple Question
Q16168093
P1412
Q34770
USER
Which language is Antoni Rovira i Rabassa capable of writing ?
(Q16168093,P1412,c(Q34770))
action filter_type
action find
entity Q16168093
relation P1412
type Q34770
['Q16168093', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q16168093 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Antoni Rovira i Rabassa
action filter_type
action find
entity Antoni Rovira i Rabassa
relation languages spoken, written or signed
type language
['Antoni Rovira i Rabassa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antoni_Rovira_i_Rabassa property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16168093,P1412,c(Q34770))
action filter_type
action find
entity Q16168093
relation P1412
type Q34770
[ANSWER] is Antoni Rovira i Rabassa capable of writing
['Q16168093', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q16168093 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Spanish
Spanish is Antoni Rovira i Rabassa capable of writing
Spanish
action filter_type
action find
entity Antoni Rovira i Rabassa
relation languages spoken, written or signed
type language
['Antoni Rovira i Rabassa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antoni_Rovira_i_Rabassa property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16168093
P135
Q968159
USER
Which art movement was Antoni Rovira i Rabassa linked with ?
(Q16168093,P135,c(Q968159))
action filter_type
action find
entity Q16168093
relation P135
type Q968159
['Q16168093', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?g WHERE { resource:Q16168093 property:P135 ?g . ?g rdf:type ontology:Q968159 }
Antoni Rovira i Rabassa
action filter_type
action find
entity Antoni Rovira i Rabassa
relation movement
type art movement
['Antoni Rovira i Rabassa', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?g WHERE { resource:Antoni_Rovira_i_Rabassa property:movement ?g . ?g rdf:type ontology:art_movement }
[]
art movement
Q1122677
SYSTEM
Modernisme
Q1122677
(Q16168093,P135,c(Q968159))
action filter_type
action find
entity Q16168093
relation P135
type Q968159
Antoni Rovira i Rabassa with was linked to [ANSWER]
['Q16168093', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?g WHERE { resource:Q16168093 property:P135 ?g . ?g rdf:type ontology:Q968159 }
Modernisme
Antoni Rovira i Rabassa with was linked to Modernisme
Modernisme
action filter_type
action find
entity Antoni Rovira i Rabassa
relation movement
type art movement
['Antoni Rovira i Rabassa', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?g WHERE { resource:Antoni_Rovira_i_Rabassa property:movement ?g . ?g rdf:type ontology:art_movement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16168093
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1122677,P27,c(Q15617994))
action filter_type
action find
entity Q16168093
relation P27
type Q15617994
['Q1122677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16168093 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Antoni Rovira i Rabassa
action filter_type
action find
entity Antoni Rovira i Rabassa
relation country of citizenship
type designation for an administrative territorial entity
['Modernisme', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antoni_Rovira_i_Rabassa property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1122677,P27,c(Q15617994))
action filter_type
action find
entity Q16168093
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q1122677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16168093 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Spain
Spain is that person a civilian of
Spain
action filter_type
action find
entity Antoni Rovira i Rabassa
relation country of citizenship
type designation for an administrative territorial entity
['Modernisme', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antoni_Rovira_i_Rabassa property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q1028 Q1025
P47
Q15617994
USER
Is that administrative territory bordered by Morocco and Mauritania ?
(Q29,P47,Q1028) (Q29,P47,Q1025)
action is_in
entity Q29
action intersection
action find_reverse
entity Q1028
relation P47
action find_reverse
entity Q1025
relation P47
['Q29', 'P47', 'Q1028'] ['Q29', 'P47', 'Q1025']
ASK WHERE { resource:Q29 property:P47 resource:Q1028 . resource:Q29 property:P47 resource:Q1025 }
Spain Morocco Mauritania
action is_in
entity Spain
action intersection
action find_reverse
entity Morocco
relation shares border with
action find_reverse
entity Mauritania
relation shares border with
['Spain', 'shares border with', 'Morocco'] ['Spain', 'shares border with', 'Mauritania']
ASK WHERE { resource:Spain property:shares_border_with resource:Morocco . resource:Spain property:shares_border_with resource:Mauritania }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q29,P47,Q1028) (Q29,P47,Q1025)
action is_in
entity Q29
action intersection
action find_reverse
entity Q1028
relation P47
action find_reverse
entity Q1025
relation P47
[ANSWER]
['Q29', 'P47', 'Q1028'] ['Q29', 'P47', 'Q1025']
ASK WHERE { resource:Q29 property:P47 resource:Q1028 . resource:Q29 property:P47 resource:Q1025 }
Yes
action is_in
entity Spain
action intersection
action find_reverse
entity Morocco
relation shares border with
action find_reverse
entity Mauritania
relation shares border with
['Spain', 'shares border with', 'Morocco'] ['Spain', 'shares border with', 'Mauritania']
ASK WHERE { resource:Spain property:shares_border_with resource:Morocco . resource:Spain property:shares_border_with resource:Mauritania }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20749316 Q1122677
P495
Q1048835
USER
Which political territories are the origins of Modernisme or Danmarks Melodibog ?
OR((Q1122677,P495,c(Q1048835)), (Q20749316,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q1122677
relation P495
action find
entity Q20749316
relation P495
type Q1048835
{'OR': [['Q1122677', 'P495', {'concept': 'Q1048835'}], ['Q20749316', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?h ) { ( resource:Q1122677 ) ( resource:Q20749316 ) } . ?h property:P495 ?n } . ?n rdf:type ontology:Q1048835 }
Danmarks Melodibog Modernisme
action filter_type
action union
action find
entity Modernisme
relation country of origin
action find
entity Danmarks Melodibog
relation country of origin
type political territorial entity
{'OR': [['Modernisme', 'country of origin', {'concept': 'political territorial entity'}], ['Danmarks Melodibog', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?h ) { ( resource:Modernisme ) ( resource:Danmarks_Melodibog ) } . ?h property:country_of_origin ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q5705 Q35
SYSTEM
Catalonia, Denmark
Q5705 Q35
OR((Q1122677,P495,c(Q1048835)), (Q20749316,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q1122677
relation P495
action find
entity Q20749316
relation P495
type Q1048835
[ANSWERS] are the origins of Modernisme or Danmarks Melodibog
{'OR': [['Q1122677', 'P495', {'concept': 'Q1048835'}], ['Q20749316', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?h ) { ( resource:Q1122677 ) ( resource:Q20749316 ) } . ?h property:P495 ?n } . ?n rdf:type ontology:Q1048835 }
Catalonia Denmark
Catalonia and Denmark are the origins of Modernisme or Danmarks Melodibog
Catalonia Denmark
action filter_type
action union
action find
entity Modernisme
relation country of origin
action find
entity Danmarks Melodibog
relation country of origin
type political territorial entity
{'OR': [['Modernisme', 'country of origin', {'concept': 'political territorial entity'}], ['Danmarks Melodibog', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?h ) { ( resource:Modernisme ) ( resource:Danmarks_Melodibog ) } . ?h property:country_of_origin ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5705 Q35
P47
Q15617994
USER
Which administrative territories are next to the border of those political territories ?
(c(Q15617994),P47,Q5705) (c(Q15617994),P47,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q5705'] [{'concept': 'Q15617994'}, 'P47', 'Q35']
SELECT DISTINCT ?q WHERE { ?q property:P47 ?t . ?q rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q5705 ) ( resource:Q35 ) } }
Catalonia Denmark
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Catalonia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ?q WHERE { ?q property:shares_border_with ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Catalonia ) ( resource:Denmark ) } }
[]
designation for an administrative territorial entity
Q145 Q34 Q20
SYSTEM
United Kingdom, Sweden, Norway
Q12709 Q12538 Q34 Q145 Q20
(c(Q15617994),P47,Q5705) (c(Q15617994),P47,Q35)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are next to the border of those political territories
[{'concept': 'Q15617994'}, 'P47', 'Q5705'] [{'concept': 'Q15617994'}, 'P47', 'Q35']
SELECT DISTINCT ?q WHERE { ?q property:P47 ?t . ?q rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q5705 ) ( resource:Q35 ) } }
Pyrénées-Orientales Haute-Garonne Sweden United Kingdom Norway
United Kingdom, Sweden and Norway are next to the border of those political territories
United Kingdom Sweden Norway
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Catalonia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ?q WHERE { ?q property:shares_border_with ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Catalonia ) ( resource:Denmark ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q145 Q34 Q20
P17
Q486972
USER
Which human settlements are situated in United Kingdom, Sweden and Norway ?
(c(Q486972),P17,Q145) (c(Q486972),P17,Q34) (c(Q486972),P17,Q20)
action union
action filter_type
action find_reverse
entity Q145
relation P17
type Q486972
action filter_type
action find_reverse
entity Q34
relation P17
type Q486972
action filter_type
action find_reverse
entity Q20
relation P17
type Q486972
[{'concept': 'Q486972'}, 'P17', 'Q145'] [{'concept': 'Q486972'}, 'P17', 'Q34'] [{'concept': 'Q486972'}, 'P17', 'Q20']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q486972 . ?o property:P17 resource:Q145 } UNION { ?o property:P17 resource:Q34 . ?o rdf:type ontology:Q486972 } }
United Kingdom Sweden Norway
action union
action filter_type
action find_reverse
entity United Kingdom
relation country
type human settlement
action filter_type
action find_reverse
entity Sweden
relation country
type human settlement
action filter_type
action find_reverse
entity Norway
relation country
type human settlement
[{'concept': 'human settlement'}, 'country', 'United Kingdom'] [{'concept': 'human settlement'}, 'country', 'Sweden'] [{'concept': 'human settlement'}, 'country', 'Norway']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:human_settlement . ?o property:country resource:United_Kingdom } UNION { ?o property:country resource:Sweden . ?o rdf:type ontology:human_settlement } }
[]
human settlement
Q62868 Q4356881 Q10602449
SYSTEM
Koszalin, Solberga, Norra Hammarbyhamnen
Q8039977 Q7999552 Q13132002 Q7592452 Q5330820 Q591133 Q5142151 Q5600557 Q146436 Q7577604 Q733632 Q15265452 Q4983278 Q5003128 Q7363217 Q5884697 Q7573657 Q7567113 Q4975321 Q6519243 Q7653718 Q8059775 Q7978158 Q5558917 Q5049958 Q7128336 Q739700 Q1617333 Q4919065 Q4983293 Q185672 Q745706 Q8025985 Q7084675 Q5642586 Q4523493 Q2022844 Q122909 Q1293366 Q2070986 Q6859514 Q3247321 Q5057282 Q2755753 Q5566315 Q5741700 Q1292186 Q146837 Q16998897 Q1016629 Q3494239 Q5038481 Q4996138 Q7162350 Q1319650 Q5306104 Q7055300 Q6751698 Q5197212 Q17985750 Q4096564 Q4095759 Q5179126 Q2447222 Q1348519 Q7102135 Q5759471 Q2578988 Q590710 Q6861276 Q4893397 Q5142291 Q4923281 Q6177815 Q124041 Q6705860 Q7567412 Q15216467 Q5005835 Q6820674 Q7300455 Q7161872 Q7060656 Q7926534 Q4713739 Q7380764 Q8028354 Q5741965 Q10448563 Q54743 Q6552201 Q10541640 Q7071032 Q13383459 Q7909385 Q5361689 Q10581199 Q1940596 Q10593446 Q5612861 Q925544 Q5364554 Q6711354 Q10553388 Q6416029 Q6374788 Q6553008 Q4883975 Q5473354 Q15088561 Q18334004 Q644563 Q7666357 Q2604885 Q10542675 Q781879 Q4385688 Q10727732 Q10550336 Q4779332 Q3126518 Q7944408 Q15093548 Q10613687 Q7927758 Q10541777 Q6958168 Q10431952 Q10602449 Q7386696 Q271138 Q8564835 Q6680484 Q10524203 Q16897568 Q121951 Q1726101 Q7386688 Q5511489 Q7944447 Q7862353 Q5372002 Q10727797 Q4821084 Q1735844 Q7335987 Q10673362 Q15100439 Q2469613 Q5285393 Q3054968 Q671330 Q983681 Q10655723 Q5389056 Q1013563 Q15845360 Q5963282 Q6217184 Q8079084 Q8079083 Q8079082 Q6378009 Q17048602 Q7944368 Q6438818 Q4346476 Q6699816 Q10715546 Q1449662 Q7813000 Q4111996 Q5520230 Q5520239 Q3793116 Q7322332 Q7322335 Q14613273 Q10688489 Q6438884 Q413420 Q4993188 Q1580580 Q8079028 Q7070765 Q6549395 Q6549396 Q5503577 Q1709192 Q7368616 Q10718360 Q5617817 Q7859842 Q4768983 Q6950339 Q2943721 Q6439616 Q5883189 Q7446219 Q657725 Q10480508 Q10548462 Q10611682 Q7665803 Q4733804 Q4733801 Q10701260 Q2754039 Q5366136 Q10534217 Q1894860 Q7386063 Q10691412 Q1424949 Q1277374 Q10548412 Q1426086 Q26212304 Q10529125 Q10529123 Q10431331 Q7115663 Q7534024 Q5458665 Q7446223 Q10522703 Q669660 Q7446239 Q10571902 Q765434 Q5212687 Q5963413 Q62868 Q3844977 Q7370047 Q7666347 Q7557132 Q7577278 Q75013 Q10499926 Q5703924 Q4356881 Q7607590 Q6444559 Q10562473 Q4883891 Q2031883 Q4945070 Q10660758 Q10570781 Q10532214 Q7691869 Q3563948 Q10667344 Q2011990 Q4769037 Q22704716 Q10510688 Q7542368 Q4734036 Q10673024 Q4584339 Q12001733 Q11957543 Q6370499 Q6515944 Q5710413 Q7651716 Q34771 Q6514682 Q3954812 Q11997963 Q6552439 Q12000521 Q11003834 Q11971986 Q5767325 Q1453033 Q984650 Q14983191 Q23042471 Q1873950 Q1058197 Q1770350 Q23042575 Q4897106 Q2648207 Q7417025 Q11976564 Q6517253 Q1666327 Q6352298 Q4584248 Q2580196 Q3458910 Q3240767 Q18559944
(c(Q486972),P17,Q145) (c(Q486972),P17,Q34) (c(Q486972),P17,Q20)
action union
action filter_type
action find_reverse
entity Q145
relation P17
type Q486972
action filter_type
action find_reverse
entity Q34
relation P17
type Q486972
action filter_type
action find_reverse
entity Q20
relation P17
type Q486972
[ANSWERS] are situated in United Kingdom, Sweden and Norway
[{'concept': 'Q486972'}, 'P17', 'Q145'] [{'concept': 'Q486972'}, 'P17', 'Q34'] [{'concept': 'Q486972'}, 'P17', 'Q20']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q486972 . ?o property:P17 resource:Q145 } UNION { ?o property:P17 resource:Q34 . ?o rdf:type ontology:Q486972 } }
Wymering Wigan Urban Area Cadoxton, Vale of Glamorgan St Ann's Easton, Bristol Old Town Colcot Greater Glasgow Waterloo Spinney Hill Bitterne Manor Park District, Glasgow Buckland, Portsmouth Buttrills Romilly, Vale of Glamorgan Holton, Vale of Glamorgan Sparkhill South East Dorset conurbation Broomhill, Aberdeen Leicester Urban Area Swansea Urban Area Ysgol yr Hendre Wearside Gibbonsdown Castle, Bedford Palmerstown, Vale of Glamorgan East End of London Liverpool Urban Area Bitterscote Buckland End Grytviken Assynt Winson Green Old Oscott Hall Green Sheffield urban area East Village, London Crystal Palace Teesside Wavertree Millhouses Greater Nottingham Cefnllys area of London Gladstone, Vale of Glamorgan Hermiston, Edinburgh West Midlands conurbation Upton Newport Built-up area Burlington Estate Springfield, Birmingham Cardiff Urban Area Bulford Camp Pencoedtre The Potteries Urban Area Drayton, Hampshire North End, Hampshire Mansfield Urban Area Cwm Talwg Barry Waterfront Greater Bristol Brighton/Worthing/Littlehampton Coventry and Bedworth Urban Area Greater London Urban Area Greater Manchester Urban Area Orgill Highlight Park Tyneside New Town Milton Keynes urban area New Lodge Cold Knap Blackpool Urban Area Jenner Park London Docklands Luton/Dunstable Urban Area South Hampshire Ellesmere Park Swaythling Merthyr Dyfan Reading/Wokingham Urban Area Pemberton Norton Manor Camp Victoria Aldershot Urban Area Rushall, West Midlands Witley military camp Hermodsdal Charlottendal Alingsås Lindeborg Jägersro villastad Nydala, Malmö Nacka Valdemarsro Elisedal Mellanheden Aneby Mårtensdal Gröndal Kungens Kurva Ella Park Lönngården Lahäll Kirsebergsstaden Kastanjegården Lindängen Bellevuegården Fosieby Masmo Torkelstorp Falmark Södervärn Alvesta Kalkudden Universitetssjukhuset MAS Kirseberg Ösby Kungsklippan Apelgården Hammarby Sjöstad Västervång Alviks strand Oxie kyrkby Videdal Järla sjö Naffentorp Bodal Norra Hammarbyhamnen Rörsjöstaden Åre Fortuna Hemgården Lorensborg Hindby Västra Söderkulla Norrbyskär Lickershamn Rönneholm, Malmö Fågelbacken Västra Kattarp Törnrosen Emilstorp Östberga Augustenborg, Malmö Smygehuk Riseberga, Malmö Solsidan Sörskogen Borstahusen Djupadal Ensta Arjeplog Tomelilla Risby Eriksfält Torekov Uppsälje Hästhagen, Malmö Johanneslust Östra Söderkulla Östra Skrävlinge Östra Sorgenfri Katrinelund Sättra Värnhem Kroksbäck Klara Lugnet, Malmö Villastaden Eriksberg Toftanäs Vira bruk Gamla Limhamn Gamla staden, Malmö Germania Ribersborg Ribersborgsstranden Axelsberg Söderby Kronborg, Malmö Ajvide Jägersro Nösund Örtagården, Malmö Nya Bellevue Limhamns hamnområde Limhamns kalkbrott Fridhem, Malmö Lärkstaden Rosenvång Västra Sorgenfri Gullvik Tygelsjö vång Annelund, Malmö Möllevången Stocksund Kryddgården Holma, Malmö Sege industriområde SoFo Ekeby Kragstalund Ormsta Sågen Almhög Almgården, Malmö Tranebergs strand Storängen Ellstorp Igelboda Ronehamn Rådmansvången Tattby Ritsem Gnisvärd Kottla Jonsered Sattajärvi Hyllievång Hyllieby Blidö Oxievång Skarpnäcksfältet Flensburg Segemölla Herrgården Arboga Segevång Länna bruk Höör Dammfri Håkanstorp Koszalin Jakriborg Rostorp Södertorp Solbacken, Malmö Spillepengen Österskär Fullersta Heleneholm Solberga Stenkällan Kungshög, Malmö Linde Bellevue, Malmö Boda Borgmästaregården Saltsjö-Duvnäs Lunde Högberga Teatern, Malmö Västra hamnen Sickla udde Hemsjö Annetorp Andersberg Gullviksborg Slussen, Malmö Almvik, Malmö Södra Sofielund Galgeberg Sogn Alna nord Karihaugen Årø Helsfyr-Sinsen Svartlamon Holmenkollen Skøyen Bogerud Riska Linderud Simensbråten Stangeland Gimlemoen Hinna Rena, Norway Kampen Slettebakken Møviklia Åros Bredtvet Holmlia Skutevika Bestum Åkrehamn Sandviken Høybråten Manglerud Ljabru Kalfaret Austrått Degernes Rødsand Liland Nordøyan
Koszalin, Solberga and Norra Hammarbyhamnen are situated in United Kingdom, Sweden and Norway
Koszalin Solberga Norra Hammarbyhamnen
action union
action filter_type
action find_reverse
entity United Kingdom
relation country
type human settlement
action filter_type
action find_reverse
entity Sweden
relation country
type human settlement
action filter_type
action find_reverse
entity Norway
relation country
type human settlement
[{'concept': 'human settlement'}, 'country', 'United Kingdom'] [{'concept': 'human settlement'}, 'country', 'Sweden'] [{'concept': 'human settlement'}, 'country', 'Norway']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:human_settlement . ?o property:country resource:United_Kingdom } UNION { ?o property:country resource:Sweden . ?o rdf:type ontology:human_settlement } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4356881
P276
Q34442
USER
What is situated at that human settlement ?
(c(Q34442),P276,Q4356881)
action filter_type
action find_reverse
entity Q4356881
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q4356881']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q4356881 . ?i rdf:type ontology:Q34442 }
Solberga
action filter_type
action find_reverse
entity Solberga
relation location
type road
[{'concept': 'road'}, 'location', 'Solberga']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Solberga . ?i rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q10602449
SYSTEM
Did you mean Norra Hammarbyhamnen ?
Q62868 Q4356881 Q10602449
(c(Q34442),P276,Q62868) (c(Q34442),P276,Q4356881) (c(Q34442),P276,Q10602449)
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q62868'] [{'concept': 'Q34442'}, 'P276', 'Q4356881'] [{'concept': 'Q34442'}, 'P276', 'Q10602449']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q4356881 . ?i rdf:type ontology:Q34442 }
Koszalin Solberga Norra Hammarbyhamnen
Did you mean Norra Hammarbyhamnen ?
Norra Hammarbyhamnen
[{'concept': 'road'}, 'location', 'Koszalin'] [{'concept': 'road'}, 'location', 'Solberga'] [{'concept': 'road'}, 'location', 'Norra Hammarbyhamnen']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Solberga . ?i rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
No, I meant Solberga. Could you tell me the answer for that?
(c(Q34442),P276,Q4356881)
Q4356881
[{'concept': 'Q34442'}, 'P276', 'Q4356881']
[{'concept': 'road'}, 'location', 'Solberga']
[]
Q10725782
SYSTEM
Älvsjövägen
Q10725782
(c(Q34442),P276,Q4356881)
action filter_type
action find_reverse
entity Q4356881
relation P276
type Q34442
[ANSWER] is situated at that human settlement
[{'concept': 'Q34442'}, 'P276', 'Q4356881']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q4356881 . ?i rdf:type ontology:Q34442 }
Älvsjövägen
Älvsjövägen is situated at that human settlement
Älvsjövägen
action filter_type
action find_reverse
entity Solberga
relation location
type road
[{'concept': 'road'}, 'location', 'Solberga']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Solberga . ?i rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10725782
P138
Q56061
USER
Which administrative territory is namesake of that road ?
(Q10725782,P138,c(Q56061))
action filter_type
action find
entity Q10725782
relation P138
type Q56061
['Q10725782', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q10725782 property:P138 ?j }
Älvsjövägen
action filter_type
action find
entity Älvsjövägen
relation named after
type administrative territorial entity
['Älvsjövägen', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Älvsjövägen property:named_after ?j }
[]
administrative territorial entity
Q255019
SYSTEM
Älvsjö
Q255019
(Q10725782,P138,c(Q56061))
action filter_type
action find
entity Q10725782
relation P138
type Q56061
[ANSWER] is namesake of that road
['Q10725782', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q10725782 property:P138 ?j }
Älvsjö
Älvsjö is namesake of that road
Älvsjö
action filter_type
action find
entity Älvsjövägen
relation named after
type administrative territorial entity
['Älvsjövägen', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Älvsjövägen property:named_after ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18537479 Q255019
P17
Q15617994
USER
Which administrative territories are Älvsjö or fortified Lutheran church of Apold present in ?
OR((Q255019,P17,c(Q15617994)), (Q18537479,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q255019
relation P17
action find
entity Q18537479
relation P17
type Q15617994
{'OR': [['Q255019', 'P17', {'concept': 'Q15617994'}], ['Q18537479', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18537479 property:P17 ?d } UNION { resource:Q255019 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
fortified Lutheran church of Apold Älvsjö
action filter_type
action union
action find
entity Älvsjö
relation country
action find
entity fortified Lutheran church of Apold
relation country
type designation for an administrative territorial entity
{'OR': [['Älvsjö', 'country', {'concept': 'designation for an administrative territorial entity'}], ['fortified Lutheran church of Apold', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:fortified_Lutheran_church_of_Apold property:country ?d } UNION { resource:Älvsjö property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q34
SYSTEM
Romania, Sweden
Q218 Q34
OR((Q255019,P17,c(Q15617994)), (Q18537479,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q255019
relation P17
action find
entity Q18537479
relation P17
type Q15617994
[ANSWERS] are Älvsjö or fortified Lutheran church of Apold present in
{'OR': [['Q255019', 'P17', {'concept': 'Q15617994'}], ['Q18537479', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18537479 property:P17 ?d } UNION { resource:Q255019 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Romania Sweden
Romania and Sweden are Älvsjö or fortified Lutheran church of Apold present in
Romania Sweden
action filter_type
action union
action find
entity Älvsjö
relation country
action find
entity fortified Lutheran church of Apold
relation country
type designation for an administrative territorial entity
{'OR': [['Älvsjö', 'country', {'concept': 'designation for an administrative territorial entity'}], ['fortified Lutheran church of Apold', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:fortified_Lutheran_church_of_Apold property:country ?d } UNION { resource:Älvsjö property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4240083
P530
Q1048835
USER
Do Kreminets have tactful political relations with those administrative territories ?
(Q4240083,P530,Q218) (Q4240083,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4240083
relation P530
['Q4240083', 'P530', 'Q218'] ['Q4240083', 'P530', 'Q34']
ASK WHERE { VALUES ( ?h ) { ( resource:Q218 ) ( resource:Q34 ) } . resource:Q4240083 property:P530 ?h }
Kreminets
action is_in
entity prev_answer
action find
entity Kreminets
relation diplomatic relation
['Kreminets', 'diplomatic relation', 'Romania'] ['Kreminets', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?h ) { ( resource:Romania ) ( resource:Sweden ) } . resource:Kreminets property:diplomatic_relation ?h }
[]
political territorial entity
SYSTEM
NO
(Q4240083,P530,Q218) (Q4240083,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4240083
relation P530
[ANSWER]
['Q4240083', 'P530', 'Q218'] ['Q4240083', 'P530', 'Q34']
ASK WHERE { VALUES ( ?h ) { ( resource:Q218 ) ( resource:Q34 ) } . resource:Q4240083 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Kreminets
relation diplomatic relation
['Kreminets', 'diplomatic relation', 'Romania'] ['Kreminets', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?h ) { ( resource:Romania ) ( resource:Sweden ) } . resource:Kreminets property:diplomatic_relation ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q1791440 Q4090795
P530
Q1048835
USER
Is United Kingdom known to have diplomatic connections with Jesuânia and Boleslavchyk ?
(Q145,P530,Q1791440) (Q145,P530,Q4090795)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1791440
relation P530
action find_reverse
entity Q4090795
relation P530
['Q145', 'P530', 'Q1791440'] ['Q145', 'P530', 'Q4090795']
ASK WHERE { resource:Q145 property:P530 resource:Q1791440 . resource:Q145 property:P530 resource:Q4090795 }
United Kingdom Jesuânia Boleslavchyk
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Jesuânia
relation diplomatic relation
action find_reverse
entity Boleslavchyk
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Jesuânia'] ['United Kingdom', 'diplomatic relation', 'Boleslavchyk']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Jesuânia . resource:United_Kingdom property:diplomatic_relation resource:Boleslavchyk }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q1791440) (Q145,P530,Q4090795)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1791440
relation P530
action find_reverse
entity Q4090795
relation P530
[ANSWER]
['Q145', 'P530', 'Q1791440'] ['Q145', 'P530', 'Q4090795']
ASK WHERE { resource:Q145 property:P530 resource:Q1791440 . resource:Q145 property:P530 resource:Q4090795 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Jesuânia
relation diplomatic relation
action find_reverse
entity Boleslavchyk
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Jesuânia'] ['United Kingdom', 'diplomatic relation', 'Boleslavchyk']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Jesuânia . resource:United_Kingdom property:diplomatic_relation resource:Boleslavchyk }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1930187 Q1028
P27 P106
Q502895
USER
Which people are civilians of Morocco and have career as journalist ?
AND((c(Q502895),P27,Q1028), (c(Q502895),P106,Q1930187))
action filter_type
action intersection
action find_reverse
entity Q1028
relation P27
action find_reverse
entity Q1930187
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1028'], [{'concept': 'Q502895'}, 'P106', 'Q1930187']]}
SELECT DISTINCT ?s WHERE { ?s property:P27 resource:Q1028 . ?s property:P106 resource:Q1930187 . ?s rdf:type ontology:Q502895 }
journalist Morocco
action filter_type
action intersection
action find_reverse
entity Morocco
relation country of citizenship
action find_reverse
entity journalist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Morocco'], [{'concept': 'common name'}, 'occupation', 'journalist']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_citizenship resource:Morocco . ?s property:occupation resource:journalist . ?s rdf:type ontology:common_name }
[]
common name
Q3572965 Q3318387 Q2824054 Q3318584 Q3319084 Q3154291 Q12239844 Q3328944 Q1165426 Q16654658
SYSTEM
Some of them are Youssef Ziraoui, Mohamed Baniyahya, Adama Wade, Mohamed Hassan El Ouazzani, Mohamed Gahs, Irassi Kamal, Larbi Messari, Mustapha El Khalfi, Laila Lalami, Leila Ghandi
Q3399811 Q3304478 Q2821229 Q2735742 Q2836273 Q3191720 Q12233998 Q3260197 Q2840942 Q3617731 Q12216919 Q3098614 Q2821141 Q3319081 Q3218479 Q2824054 Q3319084 Q3325949 Q379960 Q3125839 Q12239844 Q202650 Q15021103 Q3416173 Q3328934 Q3318677 Q1165426 Q3572965 Q3318819 Q3318542 Q3515720 Q3470806 Q3318734 Q2821766 Q464398 Q18213928 Q3143052 Q6721283 Q3860095 Q3818623 Q15629740 Q16654658 Q3318584 Q2827485 Q3318756 Q3325545 Q2773385 Q18844221 Q2748105 Q3483750 Q2827654 Q3318387 Q4842215 Q2836372 Q3109563 Q3325521 Q6895310 Q3039493 Q2747105 Q2827516 Q307988 Q1753931 Q2821191 Q307924 Q3154291 Q3318803 Q3325974 Q3318374 Q3318515 Q3328944 Q18173445 Q3237529
AND((c(Q502895),P27,Q1028), (c(Q502895),P106,Q1930187))
action filter_type
action intersection
action find_reverse
entity Q1028
relation P27
action find_reverse
entity Q1930187
relation P106
type Q502895
[ANSWERS] are civilians of Morocco and have career as journalist
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1028'], [{'concept': 'Q502895'}, 'P106', 'Q1930187']]}
SELECT DISTINCT ?s WHERE { ?s property:P27 resource:Q1028 . ?s property:P106 resource:Q1930187 . ?s rdf:type ontology:Q502895 }
Zakya Daoud Mehdi Bennouna Abderrahim Bargache Mohammed Achaari Ali Lmrabet Kacem Zhiri El Houcine Kissami Loubna Moussali Amale Samie Anna Mahjar Barducci Samira Sitail Mohamed Benaissa Abdellah Tourabi Mohammed el-Qorri Latifa Akherbach Adama Wade Mohamed Gahs Mouna Hachim Driss Chraïbi Hakim El Ghissassi Larbi Messari Abd el-Krim Ali Anouzla Rachid Jaafar Mustapha El Kasri Mohamed Lyazidi Laila Lalami Youssef Ziraoui Mohamed Selhami Mohamed Ferhat Tarik Youness Daoudi Noris Samid Ghailan Nabil Benabdallah Aboubakr Jamaï Omar Benjelloun Sofia Amara Mohammed Abed al-Jabri Maati Kabbal Mohamed Bouhari Abdelkrim Ghallab Charles Haroche Leila Ghandi Mohamed Hassan El Ouazzani Ahmed Akhchichine Mohamed Ouamoussi Moulay Slimane Alaoui Leila Abouzeid Zineb El Rhazoui Mohamed Sibari Siham Benchekroun Ahmed Benchemsi Mohamed Baniyahya Bahaa Trabelsi Ali Yata Rachid Niny Moulay Ahmed Alaoui Mokhtar Laghzioui Driss Ksikes Abdelkhalek Torres Ahmed Benkirane Abdellah Taïa Abdallah Laroui Abdelmounaïm Dilami Abdelkader Benali Irassi Kamal Mohamed Saad Alami Mounir Bahi Mohamed Aujjar Mohamed El Bekkali Mustapha El Khalfi Leïla Slimani Lhoussain Azergui
Youssef Ziraoui, Mohamed Baniyahya, Adama Wade, Mohamed Hassan El Ouazzani, Mohamed Gahs, Irassi Kamal, Larbi Messari, Mustapha El Khalfi, Laila Lalami and Leila Ghandi are civilians of Morocco and have career as journalist
Youssef Ziraoui Mohamed Baniyahya Adama Wade Mohamed Hassan El Ouazzani Mohamed Gahs Irassi Kamal Larbi Messari Mustapha El Khalfi Laila Lalami Leila Ghandi
action filter_type
action intersection
action find_reverse
entity Morocco
relation country of citizenship
action find_reverse
entity journalist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Morocco'], [{'concept': 'common name'}, 'occupation', 'journalist']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_citizenship resource:Morocco . ?s property:occupation resource:journalist . ?s rdf:type ontology:common_name }
[]