Simple Question (Direct)
Simple Question
Q15074121
P102
Q7210356
USER
Which political organization is Johann Kiemann a member of ?
(Q15074121,P102,c(Q7210356))
action filter_type
action find
entity Q15074121
relation P102
type Q7210356
['Q15074121', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q15074121 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Johann Kiemann
action filter_type
action find
entity Johann Kiemann
relation member of political party
type political organization
['Johann Kiemann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Johann_Kiemann property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q379922
SYSTEM
Constitutional Party
Q379922
(Q15074121,P102,c(Q7210356))
action filter_type
action find
entity Q15074121
relation P102
type Q7210356
Of [ANSWER] is Johann Kiemann a member of
['Q15074121', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q15074121 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Constitutional Party
Of Constitutional Party is Johann Kiemann a member of
Constitutional Party
action filter_type
action find
entity Johann Kiemann
relation member of political party
type political organization
['Johann Kiemann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Johann_Kiemann property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15074121
P27
Q1048835
USER
Which political territory is Johann Kiemann a civilian of ?
(Q15074121,P27,c(Q1048835))
action filter_type
action find
entity Q15074121
relation P27
type Q1048835
['Q15074121', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q15074121 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Johann Kiemann
action filter_type
action find
entity Johann Kiemann
relation country of citizenship
type political territorial entity
['Johann Kiemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Johann_Kiemann property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q15074121,P27,c(Q1048835))
action filter_type
action find
entity Q15074121
relation P27
type Q1048835
[ANSWER] is Johann Kiemann a civilian of
['Q15074121', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q15074121 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Austria
Austria is Johann Kiemann a civilian of
Austria
action filter_type
action find
entity Johann Kiemann
relation country of citizenship
type political territorial entity
['Johann Kiemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Johann_Kiemann property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15074121
P21
Q290
USER
Which sex does Johann Kiemann have ?
(Q15074121,P21,c(Q290))
action filter_type
action find
entity Q15074121
relation P21
type Q290
['Q15074121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q15074121 property:P21 ?x }
Johann Kiemann
action filter_type
action find
entity Johann Kiemann
relation gender
type sex
['Johann Kiemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Johann_Kiemann property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15074121,P21,c(Q290))
action filter_type
action find
entity Q15074121
relation P21
type Q290
Johann Kiemann has a [ANSWER]
['Q15074121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q15074121 property:P21 ?x }
male
Johann Kiemann has a male
male
action filter_type
action find
entity Johann Kiemann
relation gender
type sex
['Johann Kiemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Johann_Kiemann property:gender ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15074121
P106
Q28640
USER
What is the job of Johann Kiemann ?
(Q15074121,P106,c(Q28640))
action filter_type
action find
entity Q15074121
relation P106
type Q28640
['Q15074121', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q15074121 property:P106 ?m . ?m rdf:type ontology:Q28640 }
Johann Kiemann
action filter_type
action find
entity Johann Kiemann
relation occupation
type profession
['Johann Kiemann', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Johann_Kiemann property:occupation ?m . ?m rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q15074121,P106,c(Q28640))
action filter_type
action find
entity Q15074121
relation P106
type Q28640
The job of Johann Kiemann is a [ANSWER]
['Q15074121', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q15074121 property:P106 ?m . ?m rdf:type ontology:Q28640 }
lawyer
The job of Johann Kiemann is a lawyer
lawyer
action filter_type
action find
entity Johann Kiemann
relation occupation
type profession
['Johann Kiemann', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Johann_Kiemann property:occupation ?m . ?m rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15074121
P20
Q56061
USER
Where did Johann Kiemann expire ?
(Q15074121,P20,c(Q56061))
action filter_type
action find
entity Q15074121
relation P20
type Q56061
['Q15074121', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q15074121 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Johann Kiemann
action filter_type
action find
entity Johann Kiemann
relation place of death
type administrative territorial entity
['Johann Kiemann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Kiemann property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q15074121,P20,c(Q56061))
action filter_type
action find
entity Q15074121
relation P20
type Q56061
Johann Kiemann expired in [ANSWER]
['Q15074121', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q15074121 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Prague
Johann Kiemann expired in Prague
Prague
action filter_type
action find
entity Johann Kiemann
relation place of death
type administrative territorial entity
['Johann Kiemann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Kiemann property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P610
Q14524493
USER
What is the highest point of that administrative territory ?
(Q1085,P610,c(Q14524493))
action filter_type
action find
entity Q1085
relation P610
type Q14524493
['Q1085', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q1085 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Prague
action filter_type
action find
entity Prague
relation highest point
type terrain
['Prague', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Prague property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
terrain
Q12179822
SYSTEM
Teleček
Q12179822
(Q1085,P610,c(Q14524493))
action filter_type
action find
entity Q1085
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q1085', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q1085 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Teleček
The highest point of that administrative territory is the Teleček
Teleček
action filter_type
action find
entity Prague
relation highest point
type terrain
['Prague', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Prague property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12179822 Q14707750 Q213
P17
Q15617994
USER
Is that terrain present in West Irondequoit Central School District and Czech Republic ?
(Q12179822,P17,Q14707750) (Q12179822,P17,Q213)
action is_in
entity Q12179822
action intersection
action find_reverse
entity Q14707750
relation P17
action find_reverse
entity Q213
relation P17
['Q12179822', 'P17', 'Q14707750'] ['Q12179822', 'P17', 'Q213']
ASK WHERE { resource:Q12179822 property:P17 resource:Q213 . resource:Q12179822 property:P17 resource:Q14707750 }
Teleček West Irondequoit Central School District Czech Republic
action is_in
entity Teleček
action intersection
action find_reverse
entity West Irondequoit Central School District
relation country
action find_reverse
entity Czech Republic
relation country
['Teleček', 'country', 'West Irondequoit Central School District'] ['Teleček', 'country', 'Czech Republic']
ASK WHERE { resource:Teleček property:country resource:Czech_Republic . resource:Teleček property:country resource:West_Irondequoit_Central_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q12179822,P17,Q14707750) (Q12179822,P17,Q213)
action is_in
entity Q12179822
action intersection
action find_reverse
entity Q14707750
relation P17
action find_reverse
entity Q213
relation P17
[ANSWER]
['Q12179822', 'P17', 'Q14707750'] ['Q12179822', 'P17', 'Q213']
ASK WHERE { resource:Q12179822 property:P17 resource:Q213 . resource:Q12179822 property:P17 resource:Q14707750 }
NO and YES respectively
action is_in
entity Teleček
action intersection
action find_reverse
entity West Irondequoit Central School District
relation country
action find_reverse
entity Czech Republic
relation country
['Teleček', 'country', 'West Irondequoit Central School District'] ['Teleček', 'country', 'Czech Republic']
ASK WHERE { resource:Teleček property:country resource:Czech_Republic . resource:Teleček property:country resource:West_Irondequoit_Central_School_District }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q28 Q213
P495
Q838948
USER
Which works of art originate at Czech Republic but not Hungary ?
AND((c(Q838948),P495,Q213), NOT((c(Q838948),P495,Q28)))
action filter_type
action difference
action find_reverse
entity Q213
relation P495
action find_reverse
entity Q28
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q213'], {'NOT': [[{'concept': 'Q838948'}, 'P495', 'Q28']]}]}
SELECT DISTINCT ?m WHERE { MINUS { ?m property:P495 resource:Q28 } . ?m property:P495 resource:Q213 . ?m rdf:type ontology:Q838948 }
Hungary Czech Republic
action filter_type
action difference
action find_reverse
entity Czech Republic
relation country of origin
action find_reverse
entity Hungary
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Czech Republic'], {'NOT': [[{'concept': 'work of art'}, 'country of origin', 'Hungary']]}]}
SELECT DISTINCT ?m WHERE { MINUS { ?m property:country_of_origin resource:Hungary } . ?m property:country_of_origin resource:Czech_Republic . ?m rdf:type ontology:work_of_art }
[]
work of art
Q1678575 Q12035084 Q16954342 Q2640291 Q18684463 Q3507676 Q1195393 Q3717045 Q5580526 Q13537440
SYSTEM
Some of them are Divided We Fall, Little from the Fish Shop, The Damned, Lunacy, Lost in Munich, The Country Teacher, The Ride, Girlie, Golet v údolí, An Ambiguous Report About the End of the World
Q650463 Q3507676 Q2368035 Q12019701 Q682574 Q16960278 Q8057310 Q3500184 Q328937 Q155163 Q27500565 Q7548954 Q5580526 Q6510710 Q12020767 Q3508096 Q961825 Q3717045 Q1138818 Q1075841 Q3562744 Q16160881 Q3493011 Q13629026 Q16946988 Q18882863 Q19798911 Q3502007 Q7755887 Q5289110 Q421835 Q2428688 Q3503207 Q2340628 Q1310893 Q7093065 Q3508003 Q4636534 Q13537440 Q7203905 Q12035084 Q5575337 Q12032430 Q1812183 Q492908 Q1722254 Q19824677 Q3501418 Q7505585 Q976119 Q5004118 Q3274930 Q23656909 Q6726709 Q7426827 Q12024382 Q23656959 Q23305714 Q20010910 Q8000525 Q15951713 Q18517265 Q8058481 Q768103 Q7096660 Q3507182 Q16954342 Q169296 Q10859251 Q7339191 Q3495139 Q6798250 Q6124405 Q22570084 Q1343567 Q5817326 Q7945043 Q22075000 Q11821482 Q17592291 Q3504409 Q3502474 Q20428287 Q7903247 Q6434740 Q1678575 Q3399747 Q12040838 Q7179532 Q3123933 Q7237303 Q11384898 Q12049993 Q25301499 Q7548533 Q3505827 Q5469760 Q4643911 Q3497583 Q20860425 Q5288786 Q2631320 Q7282755 Q236217 Q11925830 Q17270046 Q10856966 Q15906152 Q10860578 Q14329493 Q2893352 Q2640291 Q213153 Q3495085 Q7944818 Q16956669 Q5135267 Q10822367 Q2535745 Q26225487 Q16830050 Q15534296 Q19160829 Q20427937 Q1169108 Q1661661 Q3506769 Q7749513 Q12033964 Q151904 Q3565938 Q50929 Q10855725 Q11879237 Q3269855 Q7546528 Q1141186 Q1679422 Q5966111 Q11293895 Q7111727 Q50941 Q7907761 Q7862765 Q23210483 Q15627005 Q5191791 Q18536141 Q7108492 Q11773842 Q6485059 Q589953 Q1794537 Q10856968 Q5492613 Q22117077 Q10397511 Q2442813 Q25339964 Q3498177 Q7678491 Q3503884 Q3501102 Q15905872 Q12041844 Q2742024 Q2576243 Q3512150 Q20814438 Q166696 Q18684463 Q3009243 Q7651743 Q5004784 Q3561513 Q7651747 Q12039065 Q18507480 Q12048155 Q4358469 Q6989774 Q20649990 Q12034614 Q2566161 Q18564757 Q7580780 Q12031282 Q3500440 Q4176279 Q323275 Q11719972 Q2478495 Q2497808 Q24521615 Q4157281 Q861202 Q5595418 Q1195393 Q538516 Q3795587 Q19602481 Q1490565 Q3505855 Q6429064 Q3501523
AND((c(Q838948),P495,Q213), NOT((c(Q838948),P495,Q28)))
action filter_type
action difference
action find_reverse
entity Q213
relation P495
action find_reverse
entity Q28
relation P495
type Q838948
[ANSWERS] originate at Czech Republic but not Hungary
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q213'], {'NOT': [[{'concept': 'Q838948'}, 'P495', 'Q28']]}]}
SELECT DISTINCT ?m WHERE { MINUS { ?m property:P495 resource:Q28 } . ?m property:P495 resource:Q213 . ?m rdf:type ontology:Q838948 }
Boredom in Brno The Country Teacher The Devil's Bride Head Hands Heart Flame & Citron Victims and Murderers You Kiss like a God Walking Too Fast Identity Card Alien vs. Predator The White Dove Sněženky a machři po 25 letech Golet v údolí Leaving Hrubeš a Mareš jsou kamarádi do deště Thanks for Every New Morning Pusinky Girlie Mandragora Choking Hazard Žiletky The Snake Brothers Playing with the Devil Places Fotograf Into The Clouds We Gaze 24 Guard No. 47 The Pagan Queen Wild Flowers Kajínek Accumulator 1 Toys in the Attic Body Without Soul I Served the King of England One Night in One City Zdroj 3 Seasons in Hell An Ambiguous Report About the End of the World Pleasant Moments Little from the Fish Shop Goat Story Labyrint Empties Snowpiercer Czech Dream Ghoul Surviving Life Shut Up and Shoot Me Autumn Spring Byl jednou jeden polda Nicky's Family Matrix AB Made in Ash Saturnin One Hand Can't Clap Champions Babicka Andílek na nervy Wild Bees Devil's Mistress The Gospel According to Brabenec Young Wine Gympl Operace Silver A Sekal Has to Die The Damned Something like Happiness Auto*Mat Ro(c)k podvraťáků Flower Buds Mazaný Filip Jak básníci neztrácejí naději Under the Sun Kooky In the Shadows Všechno nejlepší! The Seven Ravens The Don Juans Corn Island Nasty Grapes Theory of Tiger Utrpení mladého Boháčka Kousek nebe Divided We Fall Post Coitum Innocence Pevnost Tobruk Prachy dělaj člověka Four Suns Deligh The Wolf from Royal Vineyard Street Snowboarďáci Účastníci zájezdu Forgotten Light 7 dní hříchů All My Loved Ones Gangster Ka Doktor od jezera hrochů Little Otik Rafťáci La Vie en Rose Vojtík a duchové Sunrise Supervising The Way Out Tender Waves An Earthly Paradise For The Eyes Three Brothers Beauty in Trouble Lunacy Buttoners The Karamazovs Vítězná křídla Candidate Close to Heaven Andel Exit Václav Prach The Conception of My Younger Brother The Confidant Kráva Home Care Year of the Devil Pánská jízda ROMing The Magical Duvet Lotrando a Zubejda Casino Royale Big Beat Skřítek I, Olga Hepnarová Vendeta The Rebels Smradi Kolya Želary I'm All Good Czech Peace Out of the City Vítejte v KLDR! V erbu lvice Tři chlapi v chalupě Menandros & Thaïs Fair Play Ctrl Emotion Dancing Barefoot Otec neznámý aneb cesta do hlubin duše výstrojního náčelníka Cyprián a bezhlavý prapradědeček Landscape A Royal Affair Cosy Dens Krásno František je děvkař Bohemian is all Greek to me Whisper Men in Hope Zpověď zapomenutého Stolen Kosovo Taková normální rodinka Up and Down 2Bobule Bony a klid 2 O zlatém pokladu Loners Normal Little Girl Blue Anthropoid The Baader Meinhof Complex Lost in Munich Lidice Svatba upírů Báječná léta pod psa Pupendo Svatební cesta do Jiljí Man in Rut The Whispering Game Story of a Godfather Exponát roku 1827 Největší z Čechů The Torchbearer Honeymoon Nesmrtelná teta US 2 Spring of Life Goat Story 2 Kawasaki's Rose Sun City From Subway with Love Janosik: A True Story Wrong Side Up Tap: Max's Game President Wanted Delta of Venus Oliver Twist Grandhotel The Ride Dark Blue World Return of the Idiot We Are Never Alone Not Angels But Angels Teddy Bear Konec básníků v Čechách Protector
Divided We Fall, Little from the Fish Shop, The Damned, Lunacy, Lost in Munich, The Country Teacher, The Ride, Girlie, Golet v údolí and An Ambiguous Report About the End of the World originate at Czech Republic but not Hungary
Divided We Fall Little from the Fish Shop The Damned Lunacy Lost in Munich The Country Teacher The Ride Girlie Golet v údolí An Ambiguous Report About the End of the World
action filter_type
action difference
action find_reverse
entity Czech Republic
relation country of origin
action find_reverse
entity Hungary
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Czech Republic'], {'NOT': [[{'concept': 'work of art'}, 'country of origin', 'Hungary']]}]}
SELECT DISTINCT ?m WHERE { MINUS { ?m property:country_of_origin resource:Hungary } . ?m property:country_of_origin resource:Czech_Republic . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16146168 Q15074121
P19 P20
Q56061
USER
Which administrative territories were Johann Kiemann born at or did Dewey C. Bailey expire ?
OR((Q15074121,P19,c(Q56061)), (Q16146168,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15074121
relation P19
action find
entity Q16146168
relation P20
type Q56061
{'OR': [['Q15074121', 'P19', {'concept': 'Q56061'}], ['Q16146168', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q15074121 property:P19 ?y } UNION { resource:Q16146168 property:P20 ?y } } . ?y rdf:type ontology:Q56061 }
Dewey C. Bailey Johann Kiemann
action filter_type
action union
action find
entity Johann Kiemann
relation place of birth
action find
entity Dewey C. Bailey
relation place of death
type administrative territorial entity
{'OR': [['Johann Kiemann', 'place of birth', {'concept': 'administrative territorial entity'}], ['Dewey C. Bailey', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Johann_Kiemann property:place_of_birth ?y } UNION { resource:Dewey_C._Bailey property:place_of_death ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16554 Q1085
SYSTEM
Denver, Prague
Q16554 Q1085
OR((Q15074121,P19,c(Q56061)), (Q16146168,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15074121
relation P19
action find
entity Q16146168
relation P20
type Q56061
Johann Kiemann were born at did or Dewey C. in [ANSWERS]
{'OR': [['Q15074121', 'P19', {'concept': 'Q56061'}], ['Q16146168', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q15074121 property:P19 ?y } UNION { resource:Q16146168 property:P20 ?y } } . ?y rdf:type ontology:Q56061 }
Denver Prague
Johann Kiemann were born at did or Dewey C. in Denver and Prague
Denver Prague
action filter_type
action union
action find
entity Johann Kiemann
relation place of birth
action find
entity Dewey C. Bailey
relation place of death
type administrative territorial entity
{'OR': [['Johann Kiemann', 'place of birth', {'concept': 'administrative territorial entity'}], ['Dewey C. Bailey', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Johann_Kiemann property:place_of_birth ?y } UNION { resource:Dewey_C._Bailey property:place_of_death ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have their base port as atmost 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action atmost
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?b ) WHERE { ?d property:P532 ?l . ?d rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q56061 } GROUP BY ?d } . FILTER ( ?b <= 2 ) }
action atmost
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?b ) WHERE { ?d property:port_of_registry ?l . ?d rdf:type ontology:ship_type . ?l rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?b <= 2 ) }
[]
administrative territorial entity ship type
Q558338 Q2596850 Q468026
SYSTEM
RV Polarstern, MS Azura, SS Maxim Gorkiy
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q2992316 Q2301456 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q983141 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q133606 Q26988086 Q23936292 Q24027181 Q168474 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q300311 Q20489530 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q5338632 Q7499755 Q3432142 Q2124429 Q1293488 Q21546160 Q7393645 Q1017179 Q7120838 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q7393546 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q25173 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q14493958 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q18128240 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q664284 Q26988094 Q26884343 Q21196329 Q24027438 Q24027439 Q2017178 Q10659251 Q24027249 Q23930851 Q477173 Q130373 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q19608222 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q1026780 Q22342351 Q24027237 Q15662618 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q33209 Q24027017 Q24683722 Q24027015 Q1514518 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q2124449 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q778649 Q4922515 Q3952367 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q11705702 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24039469 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q751584 Q6930211 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q16629249 Q24027476 Q24027475 Q24027046 Q497065 Q2714285 Q24027477 Q3053251 Q24027248 Q468026 Q1439419 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q23579589 Q4686475 Q190542 Q26987769 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q11891639 Q23935690 Q24027276 Q321007 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q6720006 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q741803 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q338340 Q7120888 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q215692 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q917188 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q18213370 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q1129910 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q2714360 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q16852551 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q1514126 Q10689319 Q18711004 Q6718072 Q4833112 Q1339472 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q3558075 Q24027134 Q192381 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q493616 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q35462 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action atmost
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have their base port as atmost 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?b ) WHERE { ?d property:P532 ?l . ?d rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q56061 } GROUP BY ?d } . FILTER ( ?b <= 2 ) }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle HSC Condor Rapide MS Viking XPRS MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy MY Sam Simon Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams MS Star Meteora Agenoria Leander MV Arctic Sunrise John James Lettice Catherine Farmers Lass Orcadia Anne Davies A MS Harmony of the Seas Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Edith Mærsk Shoalway Golar Spirit RMS Samaria MV Esperanza MV Maritec SS Empire Endurance SS Burutu PS Empress Queen Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree SS Empire Airman MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara RMS Titanic Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Mærsk Mc-Kinney Møller Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara MS Quantum of the Seas Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie Pioneering Spirit Emma Victory STI Poplar SS Argentina Plover Maggie Cummings Oker S/S Drottningholm Glenara Capricorn Emma Mærsk Admiral Makarov Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret HSC Condor Liberation Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary SS California Modern Express Lima Djurgården 8 Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Mary Celeste Gwalia Cirrus Gowerian Sapphire Princess Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion RMS St Helena German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Eclipse Blackadder MS Norman Atlantic Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity MV Ascension Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins HSC Highspeed 5 All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona MS Express Samina msy Wind Song Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Varnek (ship, 1974-2010) Adrienne Pearl Ellen MV Baltic Ace MS Rosella Lynwood Empire Sandy Prairie Flower SS Maxim Gorkiy Vitus Bering Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan MV Christinaki Adventure Costa Concordia British Explorer Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero SS Coccolita Azorean J.W. RMS Olympic James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Royal Daffodil MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela RMS Mauretania Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane MV Boudicca SS Prince of Wales Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse HMHS Britannic Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva MS Brilliance of the Seas Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane Anthem of the Seas John James Industry Marwood Rosina Jane SS Potsdam Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle MS Empress Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MS Epsilon MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II MS Marco Polo T26 MV Hoegh Osaka MS Gemini Azurite FDPSO RMS Empress of Ireland Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Vieux Crabe Nell MS Oasis of the Seas Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Royal Clipper Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN RMS Aquitania Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern, MS Azura and SS Maxim Gorkiy have their base port as atmost 2 administrative territories
RV Polarstern MS Azura SS Maxim Gorkiy
action atmost
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?b ) WHERE { ?d property:port_of_registry ?l . ?d rdf:type ontology:ship_type . ?l rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?b <= 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q800120
P355
Q28640 Q4830453 Q43229
USER
How many professions are lesser number of business enterprises and organizations the parent company of than Humongous ?
(c(Q4830453)|c(Q43229),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q800120
relation P355
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P355 resource:Q800120 . { { ?i rdf:type ontology:Q4830453 } UNION { ?i rdf:type ontology:Q43229 } } } } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:P355 ?g . ?g rdf:type ontology:Q28640 . ?h rdf:type ontology:Q4830453 } UNION { ?h property:P355 ?g . ?g rdf:type ontology:Q28640 . ?h rdf:type ontology:Q43229 } } GROUP BY ?g } }
Humongous
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Humongous
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:subsidiary resource:Humongous . { { ?i rdf:type ontology:business_enterprise } UNION { ?i rdf:type ontology:organization } } } } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:subsidiary ?g . ?g rdf:type ontology:profession . ?h rdf:type ontology:business_enterprise } UNION { ?h property:subsidiary ?g . ?g rdf:type ontology:profession . ?h rdf:type ontology:organization } } GROUP BY ?g } }
[]
profession business enterprise organization
SYSTEM
43
Q3281900 Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q6423274 Q1403157 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q684218 Q26222 Q123018 Q1053684 Q2660350 Q739711 Q991149 Q204474 Q1129295 Q13409231 Q122741 Q2510684 Q94937 Q4039000 Q73801 Q1930918 Q18594 Q923047 Q2740414 Q15018011 Q860580 Q1692707 Q8043371 Q467598 Q1358751 Q1172164 Q1466613 Q3052263
(c(Q4830453)|c(Q43229),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q800120
relation P355
type Q4830453
type Q43229
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P355 resource:Q800120 . { { ?i rdf:type ontology:Q4830453 } UNION { ?i rdf:type ontology:Q43229 } } } } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:P355 ?g . ?g rdf:type ontology:Q28640 . ?h rdf:type ontology:Q4830453 } UNION { ?h property:P355 ?g . ?g rdf:type ontology:Q28640 . ?h rdf:type ontology:Q43229 } } GROUP BY ?g } }
Malfador Machinations Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive Knowledge Adventure WMS Industries Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Cavedog Entertainment Gas Powered Games Nintendo Software Technology Polyphony Digital Havok Epic Games 1-UP Studio id Software Mojang Atari, Inc. Sega Zynga Dallas 2K Games Freeverse Microsoft Studios U.S. Gold Sony Interactive Entertainment 989 Studios Team Ninja Atari Interactive Tencent Holdings Square Enix Europe Launchworks Cryptic Studios Runic Games CD Projekt RED Ubisoft Massive Omega Force
43
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Humongous
relation subsidiary
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:subsidiary resource:Humongous . { { ?i rdf:type ontology:business_enterprise } UNION { ?i rdf:type ontology:organization } } } } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:subsidiary ?g . ?g rdf:type ontology:profession . ?h rdf:type ontology:business_enterprise } UNION { ?h property:subsidiary ?g . ?g rdf:type ontology:profession . ?h rdf:type ontology:organization } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q15617994 Q2235308
USER
How many administrative territories have exactly 2 ship types as their port of registry ?
(c(Q2235308),P532,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P532 ?u . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2235308 } GROUP BY ?u } . FILTER ( ?i = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:port_of_registry ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?u } . FILTER ( ?i = 2 ) }
[]
designation for an administrative territorial entity ship type
SYSTEM
2
Q804 Q490453
(c(Q2235308),P532,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P532 ?u . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2235308 } GROUP BY ?u } . FILTER ( ?i = 2 ) }
Panama Eckernförde
2
action count
action equal
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:port_of_registry ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?u } . FILTER ( ?i = 2 ) }
[]