Simple Question (Direct)
Simple Question
Q5982488
P27
Q1048835
USER
Which political territories are the countries of citizenship of Ian Narev ?
(Q5982488,P27,c(Q1048835))
action filter_type
action find
entity Q5982488
relation P27
type Q1048835
['Q5982488', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q5982488 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Ian Narev
action filter_type
action find
entity Ian Narev
relation country of citizenship
type political territorial entity
['Ian Narev', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ian_Narev property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q664
SYSTEM
Australia, New Zealand
Q408 Q664
(Q5982488,P27,c(Q1048835))
action filter_type
action find
entity Q5982488
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Ian Narev
['Q5982488', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q5982488 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Australia New Zealand
Australia and New Zealand are the countries of citizenship of Ian Narev
Australia New Zealand
action filter_type
action find
entity Ian Narev
relation country of citizenship
type political territorial entity
['Ian Narev', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ian_Narev property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q664
P17
Q4830453
USER
Which business enterprises are present in those political territories ?
(c(Q4830453),P17,Q408) (c(Q4830453),P17,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q4830453
[{'concept': 'Q4830453'}, 'P17', 'Q408'] [{'concept': 'Q4830453'}, 'P17', 'Q664']
SELECT DISTINCT ?m WHERE { ?m property:P17 ?p . VALUES ( ?p ) { ( resource:Q408 ) ( resource:Q664 ) } . ?m rdf:type ontology:Q4830453 }
Australia New Zealand
action filter_type
action find_reverse
entity prev_answer
relation country
type business enterprise
[{'concept': 'business enterprise'}, 'country', 'Australia'] [{'concept': 'business enterprise'}, 'country', 'New Zealand']
SELECT DISTINCT ?m WHERE { ?m property:country ?p . VALUES ( ?p ) { ( resource:Australia ) ( resource:New_Zealand ) } . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Q7509438 Q13551978 Q1162114
SYSTEM
Sidney and Alfred Luttrell, Walkers Limited, Victorian Railways
Q6883788 Q4645099 Q4595906 Q4595904 Q7546377 Q781593 Q288794 Q4650208 Q4645679 Q5910548 Q5331199 Q27151327 Q4645563 Q7269616 Q7538893 Q4650157 Q4650866 Q4633120 Q6715204 Q4633135 Q17009142 Q4633100 Q4633110 Q4633119 Q4806073 Q4633162 Q4633177 Q4633174 Q4633173 Q4633179 Q1982888 Q7201157 Q5225900 Q4645777 Q4645772 Q4633140 Q4633146 Q4633147 Q16959154 Q7546383 Q7672030 Q4049375 Q4633154 Q4633152 Q967303 Q4633069 Q5610300 Q1967399 Q4863952 Q4646263 Q7672602 Q4642168 Q781383 Q4633257 Q4633258 Q4636357 Q4650177 Q7280882 Q4633241 Q4633243 Q4638863 Q4650162 Q4650161 Q4633239 Q4633232 Q4643638 Q4633229 Q4641741 Q6305157 Q4633075 Q4633070 Q4633210 Q4633218 Q4646280 Q4633062 Q4633067 Q4633189 Q4650137 Q4633205 Q4633209 Q4633014 Q4633015 Q4633016 Q4633017 Q4642444 Q4638895 Q913741 Q4639006 Q4650110 Q13551978 Q5601872 Q4633032 Q1162114 Q4633029 Q16961831 Q7394860 Q5337651 Q4645861 Q1544385 Q5337643 Q4646151 Q7881396 Q4636384 Q4646125 Q7280815 Q8033976 Q7858111 Q4642434 Q4633085 Q4633036 Q7418330 Q4633013 Q4633018 Q5384060 Q7281051 Q4650181 Q4650183 Q4643141 Q4642452 Q4641076 Q4642448 Q4641068 Q4633999 Q5123354 Q5582836 Q4545996 Q4642469 Q4642468 Q4642462 Q7600705 Q4641047 Q4641042 Q4833687 Q4633025 Q4546505 Q4641057 Q1522899 Q4681782 Q4646199 Q4650223 Q4633182 Q5469569 Q5578575 Q7245258 Q4650230 Q4650234 Q4650239 Q4650206 Q4643780 Q4645937 Q7760986 Q7277879 Q4546705 Q4650211 Q4650213 Q4595875 Q4646092 Q4646093 Q4650266 Q4650263 Q4636340 Q7064009 Q5195638 Q4636371 Q4645884 Q4650160 Q4633123 Q4633126 Q6914311 Q6227969 Q4633480 Q4636369 Q7280667 Q5686196 Q4642975 Q4645572 Q4636390 Q4636393 Q4636394 Q7603186 Q782780 Q4638933 Q4638930 Q4548278 Q4636382 Q4646054 Q2363315 Q4638920 Q4638926 Q4638928 Q4546258 Q4038954 Q5909694 Q4646128 Q4546499 Q4546266 Q4638865 Q7304124 Q7280636 Q4643800 Q4638973 Q4638971 Q4638977 Q4650236 Q4645022 Q4638964 Q4638967 Q16898841 Q4547305 Q7279962 Q4638993 Q4636233 Q4873994 Q12500924 Q4595895 Q4645858 Q4834348 Q4636212 Q4636218 Q8072271 Q8072270 Q6544780 Q6544782 Q6544784 Q6914000 Q4636404 Q18712966 Q4638871 Q7531314 Q6168293 Q5738799 Q1391936 Q7118432 Q7823995 Q4650237 Q5621987 Q4546646 Q4650270 Q8021298 Q1116993 Q4874164 Q4546288 Q6883791 Q6883793 Q5500901 Q7564890 Q19875817 Q6730617 Q5476340 Q4904882 Q7959948 Q7761248 Q5138076 Q7316983 Q23177553 Q6654576 Q5331146 Q7757372 Q7280930 Q939581 Q5008402 Q6418888 Q7731556 Q26863794 Q1148315 Q4645929 Q7280833 Q7509438 Q5164804 Q5985268 Q7281135 Q5458034 Q3408783 Q7981546 Q7197793 Q7719948 Q7281060 Q6910930 Q202646 Q7259758
(c(Q4830453),P17,Q408) (c(Q4830453),P17,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q4830453
[ANSWERS] are present in those political territories
[{'concept': 'Q4830453'}, 'P17', 'Q408'] [{'concept': 'Q4830453'}, 'P17', 'Q664']
SELECT DISTINCT ?m WHERE { ?m property:P17 ?p . VALUES ( ?p ) { ( resource:Q408 ) ( resource:Q664 ) } . ?m rdf:type ontology:Q4830453 }
Mix 106.3 89.1 Radio Blue Mountains 1WAY 1VFM Smooth Australian National Railways Commission ACTION ABC North West WA 91.7 ABC Coast FM Hot Tomato Easymix 1467 Little Company of Mary Health Care 90.3 ABC Coast FM Quay Slater and Gordon ABC Gippsland ACTTAB Radio 2GZF MDV 2LFF KOFM 2EL 2GGO 2GZ Ashton Raggatt McDougall 2MMM 2NM 2NCR 2NBC 2NSB New South Wales Government Railways Planet Radio Darwin's 97 Seven 92.9 92.5 ABC Central Coast 2LT 2MAX 2MBS Koori Radio Smooth 95.3 TUNE! FM Sharp End International 2MFM 2ME 2Day FM 2CBA Groove 101.7 Bay FM 99.3 Barry 99.7 FM TYGA FM 98.9 666 ABC Canberra Australian Federation of Air Pilots 2XXfm 2YOU 3KND ABC Kimberley Radio Larrakia 2WOW 2WZD 4BC ABC Great Southern ABC Goulburn Murray 2WG 2UE 783 ABC Alice Springs 2UUU 612 ABC Brisbane Juice107.3 2CUZ 2CCR 2RRR 2ST 999 ABC Broken Hill 2CA 2CC 2OOO ABC Central Victoria 2RE 2RPH 2AAA 2AAY 2APH 2ARM 6EBA-FM 4EB Incat 4ZZZ ABC Canberra Walkers Limited Greek Radio 2BOB Victorian Railways 2BH Service Seeking STV Edge FM 93.9 Bay FM Great Southern Rail Edge 96.1 979fm Umbrella Entertainment 3OCR 97.3 ABC Illawarra Radio Gaga Woolwich Dock Twin Cities FM 6AR 2DBO 2BS Sanity 2AD 2AY Epworth HealthCare Radio Skid Row ABC Midwest & Wheatbelt ABC Mildura Swan Hill 720 ABC Perth 6IX 5SEF 6GGG 5MMM 2ski City Park Radio Good News Radio 103.9 100.9 ZZZ FM 6RPH 6RED 6PR Star FM 5BBB 5AA B-Rock 99.3FM 2BCR 104.7 5GFM Triple J Adelaide Steamship Company 98.9 FM ABC Riverina 2NUR Forgacs Shipyard Tomago Gold 104.3 Print Radio Tasmania ABC Shepparton ABC South Coast ABC South West WA ABC North West Queensland 7HO FM 94.7 The Pulse The River RTRFM 107.9 ABC Ballarat ABC North and West SA ABC Northern Tasmania 1CMS 96five Family FM 96fm ABC Western Plains ABC West Coast SA 3GPH Nova 93.7 Curtin FM 3MPH 936 ABC Hobart ABC Goldfields-Esperance 2HD 2HIL Mort's Dock John Curtin House 2moro Radio 3MDR Radio Austral Hayball 702 ABC Sydney 90.9 Sea FM 3RPH 3RPH Warragul 3RPH Warrnambool State Dockyard Australian and International Pilots Association 4MMM 4MIC 1233 ABC Newcastle 3NOW 96.5 Inner FM ATV 4KQ 4LG 4MBS 101.3 Sea FM Fox FM Hot 100 FM 97.3 FM 104.1 Territory FM 101.7 WSFM Magic 882 Red FM Radio 97 AM 7XS 4RPH 4RO 4SEE ABC South East NSW 88.3 Southern FM 4RFM 98.7 Sea FM Print Hall 1116 SEN Radar 4VL 3CW Bay FM Nova 96.9 1RPH 93.7 Edge FM B105 FM 3BA 3BPH Zinc 100.7 Zinc 101.9 Life FM Life FM Life FM Morrison & Sinclair 3SPH Find a Crew 4CCC St Vincent's Health Australia Jazz Radio 94.1FM Heritage FM de Havilland Australia PBS 106.7FM Toodyay Community Radio ABC South East SA Guvera 1062 ABC Riverland ABC Western Victoria Williamstown Dockyard Commonwealth Railways Bay and Basin FM 101FM Mix 94.5 Mix 106.5 Freehills Sounds FM Magic Magic 91FM Foveaux FM Big 106.2 Waiheke Radio The Rock Coast Retro Hit Radio House of Travel LiveSport Easy Mix The Planet 97FM Radio New Zealand National Radio New Zealand International C93FM Kiwi FM The Edge Radio Active state-owned enterprise of New Zealand 94.3 The Fish Radio Hauraki Sidney and Alfred Luttrell Contact FM Ice FM Radio Windy Flava Radio New Zealand Concert Wellington and Manawatu Railway Company Pirate FM The Breeze Radio Sport More FM C4 Pulzar FM
Sidney and Alfred Luttrell, Walkers Limited and Victorian Railways are present in those political territories
Sidney and Alfred Luttrell Walkers Limited Victorian Railways
action filter_type
action find_reverse
entity prev_answer
relation country
type business enterprise
[{'concept': 'business enterprise'}, 'country', 'Australia'] [{'concept': 'business enterprise'}, 'country', 'New Zealand']
SELECT DISTINCT ?m WHERE { ?m property:country ?p . VALUES ( ?p ) { ( resource:Australia ) ( resource:New_Zealand ) } . ?m rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7509438 Q13551978 Q1162114
P17
Q1048835
USER
Which political territories are those business enterprises situated in ?
(Q7509438,P17,c(Q1048835)) (Q13551978,P17,c(Q1048835)) (Q1162114,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q7509438', 'P17', {'concept': 'Q1048835'}] ['Q13551978', 'P17', {'concept': 'Q1048835'}] ['Q1162114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . ?e property:P17 ?q . VALUES ( ?e ) { ( resource:Q6883788 ) ( resource:Q4645099 ) ( resource:Q4595906 ) } }
Sidney and Alfred Luttrell Walkers Limited Victorian Railways
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Sidney and Alfred Luttrell', 'country', {'concept': 'political territorial entity'}] ['Walkers Limited', 'country', {'concept': 'political territorial entity'}] ['Victorian Railways', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . ?e property:country ?q . VALUES ( ?e ) { ( resource:Mix_106.3 ) ( resource:89.1_Radio_Blue_Mountains ) ( resource:1WAY ) } }
[]
political territorial entity
Q664 Q408 Q408
SYSTEM
Australia for 2nd, 3rd, New Zealand for 1st
Q664 Q408 Q408
(Q7509438,P17,c(Q1048835)) (Q13551978,P17,c(Q1048835)) (Q1162114,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
[ANSWERS]
['Q7509438', 'P17', {'concept': 'Q1048835'}] ['Q13551978', 'P17', {'concept': 'Q1048835'}] ['Q1162114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . ?e property:P17 ?q . VALUES ( ?e ) { ( resource:Q6883788 ) ( resource:Q4645099 ) ( resource:Q4595906 ) } }
New Zealand Australia Australia
Those business enterprises are situated in New Zealand, Australia and Australia
New Zealand Australia Australia
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Sidney and Alfred Luttrell', 'country', {'concept': 'political territorial entity'}] ['Walkers Limited', 'country', {'concept': 'political territorial entity'}] ['Victorian Railways', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . ?e property:country ?q . VALUES ( ?e ) { ( resource:Mix_106.3 ) ( resource:89.1_Radio_Blue_Mountains ) ( resource:1WAY ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7509438
P84
Q44539
USER
What was designed by that business enterprise ?
(c(Q44539),P84,Q7509438)
action filter_type
action find_reverse
entity Q7509438
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q7509438']
SELECT DISTINCT ?f WHERE { ?f property:P84 resource:Q7509438 . ?f rdf:type ontology:Q44539 }
Sidney and Alfred Luttrell
action filter_type
action find_reverse
entity Sidney and Alfred Luttrell
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Sidney and Alfred Luttrell']
SELECT DISTINCT ?f WHERE { ?f property:architect resource:Sidney_and_Alfred_Luttrell . ?f rdf:type ontology:temple }
[]
temple
Clarification for simple ques.
Q7509438
SYSTEM
Did you mean Sidney and Alfred Luttrell ?
Q664 Q408 Q408
(c(Q44539),P84,Q664) (c(Q44539),P84,Q408) (c(Q44539),P84,Q408)
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q664'] [{'concept': 'Q44539'}, 'P84', 'Q408'] [{'concept': 'Q44539'}, 'P84', 'Q408']
SELECT DISTINCT ?f WHERE { ?f property:P84 resource:Q7509438 . ?f rdf:type ontology:Q44539 }
New Zealand Australia Australia
Did you mean Sidney and Alfred Luttrell ?
Sidney and Alfred Luttrell
[{'concept': 'temple'}, 'architect', 'New Zealand'] [{'concept': 'temple'}, 'architect', 'Australia'] [{'concept': 'temple'}, 'architect', 'Australia']
SELECT DISTINCT ?f WHERE { ?f property:architect resource:Sidney_and_Alfred_Luttrell . ?f rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q44539),P84,Q7509438)
[{'concept': 'Q44539'}, 'P84', 'Q7509438']
[{'concept': 'temple'}, 'architect', 'Sidney and Alfred Luttrell']
[]
Q7367799
SYSTEM
Rose Historic Chapel
Q7367799
(c(Q44539),P84,Q7509438)
action filter_type
action find_reverse
entity Q7509438
relation P84
type Q44539
[ANSWER] was designed by that business enterprise
[{'concept': 'Q44539'}, 'P84', 'Q7509438']
SELECT DISTINCT ?f WHERE { ?f property:P84 resource:Q7509438 . ?f rdf:type ontology:Q44539 }
Rose Historic Chapel
Rose Historic Chapel was designed by that business enterprise
Rose Historic Chapel
action filter_type
action find_reverse
entity Sidney and Alfred Luttrell
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Sidney and Alfred Luttrell']
SELECT DISTINCT ?f WHERE { ?f property:architect resource:Sidney_and_Alfred_Luttrell . ?f rdf:type ontology:temple }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7367799 Q664
P17
Q1048835
USER
Does that temple belong to New Zealand ?
(Q7367799,P17,Q664)
action is_in
entity Q664
action find
entity Q7367799
relation P17
['Q7367799', 'P17', 'Q664']
ASK WHERE { resource:Q7367799 property:P17 resource:Q664 }
Rose Historic Chapel New Zealand
action is_in
entity New Zealand
action find
entity Rose Historic Chapel
relation country
['Rose Historic Chapel', 'country', 'New Zealand']
ASK WHERE { resource:Rose_Historic_Chapel property:country resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q7367799,P17,Q664)
action is_in
entity Q664
action find
entity Q7367799
relation P17
[ANSWER]
['Q7367799', 'P17', 'Q664']
ASK WHERE { resource:Q7367799 property:P17 resource:Q664 }
Yes
action is_in
entity New Zealand
action find
entity Rose Historic Chapel
relation country
['Rose Historic Chapel', 'country', 'New Zealand']
ASK WHERE { resource:Rose_Historic_Chapel property:country resource:New_Zealand }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q13551978 Q474200
P452
Q268592
USER
Does that business enterprise belong to shipbuilding ?
(Q13551978,P452,Q474200)
action is_in
entity Q474200
action find
entity Q13551978
relation P452
['Q13551978', 'P452', 'Q474200']
ASK WHERE { resource:Q13551978 property:P452 resource:Q474200 }
Walkers Limited shipbuilding
action is_in
entity shipbuilding
action find
entity Walkers Limited
relation industry
['Walkers Limited', 'industry', 'shipbuilding']
ASK WHERE { resource:Walkers_Limited property:industry resource:shipbuilding }
[]
economic branch
SYSTEM
YES
(Q13551978,P452,Q474200)
action is_in
entity Q474200
action find
entity Q13551978
relation P452
[ANSWER]
['Q13551978', 'P452', 'Q474200']
ASK WHERE { resource:Q13551978 property:P452 resource:Q474200 }
Yes
action is_in
entity shipbuilding
action find
entity Walkers Limited
relation industry
['Walkers Limited', 'industry', 'shipbuilding']
ASK WHERE { resource:Walkers_Limited property:industry resource:shipbuilding }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q849584
P127
Q1048835 Q811979 Q7743
USER
Which political territories are the owners of lesser number of architectural structures and homes than Jaraguá do Sul ?
(c(Q811979)|c(Q7743),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q849584
relation P127
type Q811979
type Q7743
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { { ?o property:P127 ?z . ?o rdf:type ontology:Q811979 . ?z rdf:type ontology:Q1048835 } UNION { ?o property:P127 ?z . ?z rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q7743 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { { ?e rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q7743 } } . ?e property:P127 resource:Q849584 } } . FILTER ( ?j < ?t ) }
Jaraguá do Sul
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Jaraguá do Sul
relation owned by
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { { ?o property:owned_by ?z . ?o rdf:type ontology:architectural_structure . ?z rdf:type ontology:political_territorial_entity } UNION { ?o property:owned_by ?z . ?z rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:home } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { { ?e rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:home } } . ?e property:owned_by resource:Jaraguá_do_Sul } } . FILTER ( ?j < ?t ) }
[]
political territorial entity architectural structure home
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q35 Q191091 Q2947 Q276176 Q1135166 Q46070 Q211106 Q202174 Q192697 Q188373 Q190930 Q192702 Q2175 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q5756
(c(Q811979)|c(Q7743),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q849584
relation P127
type Q811979
type Q7743
[ANSWERS] are the owners of lesser number of architectural structures and homes than Jaraguá do Sul
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { { ?o property:P127 ?z . ?o rdf:type ontology:Q811979 . ?z rdf:type ontology:Q1048835 } UNION { ?o property:P127 ?z . ?z rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q7743 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { { ?e rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q7743 } } . ?e property:P127 resource:Q849584 } } . FILTER ( ?j < ?t ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Denmark Karlovy Vary Region Dithmarschen Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada Community of Madrid
Australia, Denmark and Canada are the owners of lesser number of architectural structures and homes than Jaraguá do Sul
Australia Denmark Canada
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Jaraguá do Sul
relation owned by
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?z WHERE { { ?o property:owned_by ?z . ?o rdf:type ontology:architectural_structure . ?z rdf:type ontology:political_territorial_entity } UNION { ?o property:owned_by ?z . ?z rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:home } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { { ?e rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:home } } . ?e property:owned_by resource:Jaraguá_do_Sul } } . FILTER ( ?j < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q54902
P127
Q1048835 Q811979 Q7743
USER
And how about Fuenlabrada?
(c(Q811979)|c(Q7743),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q54902
relation P127
type Q811979
type Q7743
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q7743 ) ( ontology:Q811979 ) } . ?q rdf:type ?a } GROUP BY ?j } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P127 resource:Q54902 . { { ?h rdf:type ontology:Q811979 } UNION { ?h rdf:type ontology:Q7743 } } } } }
Fuenlabrada
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Fuenlabrada
relation owned by
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:home ) ( ontology:architectural_structure ) } . ?q rdf:type ?a } GROUP BY ?j } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:owned_by resource:Fuenlabrada . { { ?h rdf:type ontology:architectural_structure } UNION { ?h rdf:type ontology:home } } } } }
[]
political territorial entity architectural structure home
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q35 Q191091 Q2947 Q276176 Q1135166 Q46070 Q211106 Q202174 Q192697 Q188373 Q190930 Q192702 Q2175 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q5756
(c(Q811979)|c(Q7743),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q54902
relation P127
type Q811979
type Q7743
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q7743 ) ( ontology:Q811979 ) } . ?q rdf:type ?a } GROUP BY ?j } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P127 resource:Q54902 . { { ?h rdf:type ontology:Q811979 } UNION { ?h rdf:type ontology:Q7743 } } } } }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Denmark Karlovy Vary Region Dithmarschen Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada Community of Madrid
Australia Denmark Canada
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Fuenlabrada
relation owned by
type architectural structure
type home
[[{'concept': 'architectural structure'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:home ) ( ontology:architectural_structure ) } . ?q rdf:type ?a } GROUP BY ?j } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:owned_by resource:Fuenlabrada . { { ?h rdf:type ontology:architectural_structure } UNION { ?h rdf:type ontology:home } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q44539 Q14660 Q15709879
USER
Which temples are expressed in max number of flags and artwork series ?
(c(Q14660)|c(Q15709879),P180,c(Q44539))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q44539
type Q14660
action find_reverse_tuple_counts
relation P180
type Q44539
type Q15709879
[[{'concept': 'Q14660'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?m WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q14660 ) ( ontology:Q15709879 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?i WHERE { { ?r rdf:type ontology:Q15709879 . ?i rdf:type ontology:Q44539 . ?r property:P180 ?i } UNION { ?r property:P180 ?i . ?i rdf:type ontology:Q44539 . ?r rdf:type ontology:Q14660 } } GROUP BY ?i } . FILTER ( ?z = ?e ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type temple
type flag
action find_reverse_tuple_counts
relation depicts
type temple
type artwork series
[[{'concept': 'flag'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?m WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:flag ) ( ontology:artwork_series ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?i WHERE { { ?r rdf:type ontology:artwork_series . ?i rdf:type ontology:temple . ?r property:depicts ?i } UNION { ?r property:depicts ?i . ?i rdf:type ontology:temple . ?r rdf:type ontology:flag } } GROUP BY ?i } . FILTER ( ?z = ?e ) }
[]
temple flag artwork series
Q1354667 Q1813867 Q43473
SYSTEM
Sant'Andrea al Quirinale, Santi Luca e Martina, Angkor Wat
Q752555 Q99309 Q43473 Q831361 Q1354667 Q1813867 Q1324617 Q849241 Q576929 Q753791
(c(Q14660)|c(Q15709879),P180,c(Q44539))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q44539
type Q14660
action find_reverse_tuple_counts
relation P180
type Q44539
type Q15709879
[ANSWERS] are expressed in max number of flags and artwork series
[[{'concept': 'Q14660'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?m WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q14660 ) ( ontology:Q15709879 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?i WHERE { { ?r rdf:type ontology:Q15709879 . ?i rdf:type ontology:Q44539 . ?r property:P180 ?i } UNION { ?r property:P180 ?i . ?i rdf:type ontology:Q44539 . ?r rdf:type ontology:Q14660 } } GROUP BY ?i } . FILTER ( ?z = ?e ) }
Temple of Antoninus and Faustina Pantheon Angkor Wat Santa Costanza Sant'Andrea al Quirinale Santi Luca e Martina Sant'Ivo alla Sapienza Temple of Portunus Temple of Hercules Victor Temple of Vesta
Sant'Andrea al Quirinale, Santi Luca e Martina and Angkor Wat are expressed in max number of flags and artwork series
Sant'Andrea al Quirinale Santi Luca e Martina Angkor Wat
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type temple
type flag
action find_reverse_tuple_counts
relation depicts
type temple
type artwork series
[[{'concept': 'flag'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?m WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:flag ) ( ontology:artwork_series ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?i WHERE { { ?r rdf:type ontology:artwork_series . ?i rdf:type ontology:temple . ?r property:depicts ?i } UNION { ?r property:depicts ?i . ?i rdf:type ontology:temple . ?r rdf:type ontology:flag } } GROUP BY ?i } . FILTER ( ?z = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1354667 Q29709
P138
Q56061
USER
How many administrative territories are the origin of Sant'Andrea al Quirinale or Leghorn ?
(Q1354667,P138,c(Q56061)) (Q29709,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q1354667
relation P138
type Q56061
action filter_type
action find
entity Q29709
relation P138
type Q56061
['Q1354667', 'P138', {'concept': 'Q56061'}] ['Q29709', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { resource:Q1354667 property:P138 ?e . ?e rdf:type ontology:Q56061 } UNION { resource:Q29709 property:P138 ?e . ?e rdf:type ontology:Q56061 } }
Sant'Andrea al Quirinale Leghorn
action count
action union
action filter_type
action find
entity Sant'Andrea al Quirinale
relation named after
type administrative territorial entity
action filter_type
action find
entity Leghorn
relation named after
type administrative territorial entity
["Sant'Andrea al Quirinale", 'named after', {'concept': 'administrative territorial entity'}] ['Leghorn', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { resource:Sant'Andrea_al_Quirinale property:named_after ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { resource:Leghorn property:named_after ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q2044 Q6761
(Q1354667,P138,c(Q56061)) (Q29709,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q1354667
relation P138
type Q56061
action filter_type
action find
entity Q29709
relation P138
type Q56061
[ANSWER]
['Q1354667', 'P138', {'concept': 'Q56061'}] ['Q29709', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { resource:Q1354667 property:P138 ?e . ?e rdf:type ontology:Q56061 } UNION { resource:Q29709 property:P138 ?e . ?e rdf:type ontology:Q56061 } }
Florence Livorno
2
action count
action union
action filter_type
action find
entity Sant'Andrea al Quirinale
relation named after
type administrative territorial entity
action filter_type
action find
entity Leghorn
relation named after
type administrative territorial entity
["Sant'Andrea al Quirinale", 'named after', {'concept': 'administrative territorial entity'}] ['Leghorn', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { resource:Sant'Andrea_al_Quirinale property:named_after ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { resource:Leghorn property:named_after ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1354667
P84
Q502895
USER
Who is the designer of that temple ?
action filter_type
action find
entity Q1354667
relation P84
type Q502895
SELECT DISTINCT ?d WHERE { resource:Q1354667 property:P84 ?d . ?d rdf:type ontology:Q502895 }
Sant'Andrea al Quirinale
action filter_type
action find
entity Sant'Andrea al Quirinale
relation architect
type common name
SELECT DISTINCT ?d WHERE { resource:Sant'Andrea_al_Quirinale property:architect ?d . ?d rdf:type ontology:common_name }
[]
common name
Q160538
SYSTEM
Gian Lorenzo Bernini
Q160538
action filter_type
action find
entity Q1354667
relation P84
type Q502895
The designer of that temple is [ANSWER]
SELECT DISTINCT ?d WHERE { resource:Q1354667 property:P84 ?d . ?d rdf:type ontology:Q502895 }
Gian Lorenzo Bernini
The designer of that temple is Gian Lorenzo Bernini
Gian Lorenzo Bernini
action filter_type
action find
entity Sant'Andrea al Quirinale
relation architect
type common name
SELECT DISTINCT ?d WHERE { resource:Sant'Andrea_al_Quirinale property:architect ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q160538 Q2223279
P20
Q56061
USER
Is Santa Teresita, Buenos Aires the place of death of that person ?
(Q160538,P20,Q2223279)
action is_in
entity Q2223279
action find
entity Q160538
relation P20
['Q160538', 'P20', 'Q2223279']
ASK WHERE { resource:Q160538 property:P20 resource:Q2223279 }
Gian Lorenzo Bernini Santa Teresita, Buenos Aires
action is_in
entity Santa Teresita, Buenos Aires
action find
entity Gian Lorenzo Bernini
relation place of death
['Gian Lorenzo Bernini', 'place of death', 'Santa Teresita, Buenos Aires']
ASK WHERE { resource:Gian_Lorenzo_Bernini property:place_of_death resource:Santa_Teresita,_Buenos_Aires }
[]
administrative territorial entity
SYSTEM
NO
(Q160538,P20,Q2223279)
action is_in
entity Q2223279
action find
entity Q160538
relation P20
[ANSWER]
['Q160538', 'P20', 'Q2223279']
ASK WHERE { resource:Q160538 property:P20 resource:Q2223279 }
No
action is_in
entity Santa Teresita, Buenos Aires
action find
entity Gian Lorenzo Bernini
relation place of death
['Gian Lorenzo Bernini', 'place of death', 'Santa Teresita, Buenos Aires']
ASK WHERE { resource:Gian_Lorenzo_Bernini property:place_of_death resource:Santa_Teresita,_Buenos_Aires }
[]