Simple Question (Direct)
Simple Question
Q1556496
P140
Q879146
USER
Which Christian denomination does Gustav Albert Vogt correspond to ?
(Q1556496,P140,c(Q879146))
action filter_type
action find
entity Q1556496
relation P140
type Q879146
['Q1556496', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?m WHERE { resource:Q1556496 property:P140 ?m . ?m rdf:type ontology:Q879146 }
Gustav Albert Vogt
action filter_type
action find
entity Gustav Albert Vogt
relation religion
type Christian denomination
['Gustav Albert Vogt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?m WHERE { resource:Gustav_Albert_Vogt property:religion ?m . ?m rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1556496,P140,c(Q879146))
action filter_type
action find
entity Q1556496
relation P140
type Q879146
Gustav Albert Vogt corresponds au [ANSWER]
['Q1556496', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?m WHERE { resource:Q1556496 property:P140 ?m . ?m rdf:type ontology:Q879146 }
Roman Catholic Church
Gustav Albert Vogt corresponds au Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Gustav Albert Vogt
relation religion
type Christian denomination
['Gustav Albert Vogt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?m WHERE { resource:Gustav_Albert_Vogt property:religion ?m . ?m rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1556496
P27
Q1048835
USER
Which political territory is the country of citizenship of Gustav Albert Vogt ?
(Q1556496,P27,c(Q1048835))
action filter_type
action find
entity Q1556496
relation P27
type Q1048835
['Q1556496', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1556496 property:P27 ?f }
Gustav Albert Vogt
action filter_type
action find
entity Gustav Albert Vogt
relation country of citizenship
type political territorial entity
['Gustav Albert Vogt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Gustav_Albert_Vogt property:country_of_citizenship ?f }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1556496,P27,c(Q1048835))
action filter_type
action find
entity Q1556496
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Gustav Albert Vogt
['Q1556496', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1556496 property:P27 ?f }
Germany
Germany is the country of citizenship of Gustav Albert Vogt
Germany
action filter_type
action find
entity Gustav Albert Vogt
relation country of citizenship
type political territorial entity
['Gustav Albert Vogt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Gustav_Albert_Vogt property:country_of_citizenship ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10409474
Q1048835
USER
And what about Stathis Kappos?
(Q10409474,P27,c(Q1048835))
action filter_type
action find
entity Q10409474
relation P27
type Q1048835
['Q10409474', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q10409474 property:P27 ?c }
Stathis Kappos
action filter_type
action find
entity Stathis Kappos
relation country of citizenship
type political territorial entity
['Stathis Kappos', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Stathis_Kappos property:country_of_citizenship ?c }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q10409474,P27,c(Q1048835))
action filter_type
action find
entity Q10409474
relation P27
type Q1048835
[ANSWER]
['Q10409474', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q10409474 property:P27 ?c }
Canada
Canada
action filter_type
action find
entity Stathis Kappos
relation country of citizenship
type political territorial entity
['Stathis Kappos', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Stathis_Kappos property:country_of_citizenship ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10409474
P641
Q349
USER
Which sport did that person participate in ?
(Q16,P641,c(Q349))
action filter_type
action find
entity Q10409474
relation P641
type Q349
['Q16', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q10409474 property:P641 ?h }
Stathis Kappos
action filter_type
action find
entity Stathis Kappos
relation sport
type sport
['Canada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Stathis_Kappos property:sport ?h }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16,P641,c(Q349))
action filter_type
action find
entity Q10409474
relation P641
type Q349
That person participated in [ANSWER]
['Q16', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q10409474 property:P641 ?h }
association football
That person participated in association football
association football
action filter_type
action find
entity Stathis Kappos
relation sport
type sport
['Canada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Stathis_Kappos property:sport ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2986260 Q10409474
P19
Q56061
USER
Which administrative territories were Stathis Kappos or Stacey Kemp born ?
OR((Q10409474,P19,c(Q56061)), (Q2986260,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10409474
relation P19
action find
entity Q2986260
relation P19
type Q56061
{'OR': [['Q10409474', 'P19', {'concept': 'Q56061'}], ['Q2986260', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P19 ?x . VALUES ( ?q ) { ( resource:Q10409474 ) ( resource:Q2986260 ) } } . ?x rdf:type ontology:Q56061 }
Stacey Kemp Stathis Kappos
action filter_type
action union
action find
entity Stathis Kappos
relation place of birth
action find
entity Stacey Kemp
relation place of birth
type administrative territorial entity
{'OR': [['Stathis Kappos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stacey Kemp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:place_of_birth ?x . VALUES ( ?q ) { ( resource:Stathis_Kappos ) ( resource:Stacey_Kemp ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q184090 Q172
SYSTEM
Preston, Toronto
Q184090 Q172
OR((Q10409474,P19,c(Q56061)), (Q2986260,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10409474
relation P19
action find
entity Q2986260
relation P19
type Q56061
[ANSWERS] were Stathis Kappos or Stacey Kemp born
{'OR': [['Q10409474', 'P19', {'concept': 'Q56061'}], ['Q2986260', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P19 ?x . VALUES ( ?q ) { ( resource:Q10409474 ) ( resource:Q2986260 ) } } . ?x rdf:type ontology:Q56061 }
Preston Toronto
Preston and Toronto were Stathis Kappos or Stacey Kemp born
Preston Toronto
action filter_type
action union
action find
entity Stathis Kappos
relation place of birth
action find
entity Stacey Kemp
relation place of birth
type administrative territorial entity
{'OR': [['Stathis Kappos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stacey Kemp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:place_of_birth ?x . VALUES ( ?q ) { ( resource:Stathis_Kappos ) ( resource:Stacey_Kemp ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q13406554 Q1344963
USER
How many people were considered to be the statistical leader of atmost 3 sport competitions and world championships ?
(c(Q13406554)|c(Q1344963),P3279,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
value 3
[[{'concept': 'Q13406554'}, {'concept': 'Q1344963'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P3279 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q13406554 } UNION { ?q property:P3279 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1344963 } } GROUP BY ?g } . FILTER ( ?f <= 3 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
value 3
[[{'concept': 'sport competition'}, {'concept': 'world championship'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:statistical_leader ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:sport_competition } UNION { ?q property:statistical_leader ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:world_championship } } GROUP BY ?g } . FILTER ( ?f <= 3 ) }
[]
common name sport competition world championship
SYSTEM
354
Q348032 Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q431455 Q57079 Q17403110 Q316183 Q1638747 Q1791161 Q44470 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q11691650 Q644091 Q1363974 Q193052 Q498257 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q273561 Q370068 Q1584802 Q4973709 Q3595275 Q4893969 Q16232325 Q310519 Q677546 Q822531 Q314071 Q7332071 Q1032995 Q3855901 Q1635555 Q952921 Q10515951 Q2345884 Q1773788 Q516765 Q1572946 Q314185 Q8053501 Q4142118 Q16228417 Q16198360 Q277780 Q366109 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q58335 Q1237848 Q2489833 Q2609359 Q375574 Q309731 Q3814247 Q3814712 Q352159 Q61219 Q3930044 Q6451152 Q18749100 Q555488 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q18957309 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q18206776 Q27187275 Q3731471 Q20713339 Q721076 Q26838731 Q16563047 Q1560424 Q664405 Q434824 Q455970 Q60417 Q1091369 Q3846678 Q27510015 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q27518724 Q44815 Q1337310 Q1638755 Q3325479 Q2526170 Q44464 Q6388861 Q2718535 Q3848178 Q683030 Q3809921 Q437241 Q2679406 Q3930387 Q3317928 Q5086674 Q27187336 Q2449620 Q15069755 Q505800 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q201885 Q3882086 Q11889550 Q14470242 Q47470 Q3857382 Q1353620 Q186478 Q11561907 Q7131158 Q7130157 Q3787321 Q1797248 Q152871 Q703224 Q312651 Q613234 Q440121 Q2451584 Q3123694 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q775971 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q1123222 Q316261 Q935769 Q19829005 Q80471 Q27518101 Q2336113 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q354774 Q2468364 Q1378121 Q3830637 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q465968 Q16227000 Q1246116 Q7192274 Q616572 Q169452 Q169999 Q3620463 Q5238520 Q703757 Q18398239 Q209368 Q1179395 Q62162 Q160363 Q1691427 Q193108 Q6832426 Q2565247 Q4027073 Q3719980 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q2077350 Q284176 Q18630884 Q1763902 Q2910958 Q3192666 Q24088775 Q44068 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q366559 Q702406 Q58590 Q18352226 Q3342371 Q27187254 Q21259159 Q3806182 Q433813 Q7666079 Q4801743 Q202295 Q310541 Q2423715 Q20873438 Q26257453 Q451780 Q371193 Q3830797 Q2021449 Q4965612 Q2714829 Q5170529 Q1634199 Q493027 Q24002 Q5262323 Q2466594 Q1435883 Q1913679 Q3699232 Q1100455 Q27187285 Q3876996 Q977135 Q1071728 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q379603 Q3856209 Q2419943 Q5170460 Q2409213 Q433392 Q3788234 Q380015 Q343341 Q270653 Q510074 Q16228471 Q441283 Q31683 Q628060 Q311195 Q2310881 Q20744974 Q542563 Q718794 Q3563317 Q977666 Q741842 Q450869 Q7539568 Q521771 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q3961216 Q927966 Q939343 Q211876 Q43744 Q384894 Q2459470 Q583904 Q2560815 Q2309972 Q313913 Q166336 Q459258 Q2602217 Q2640666 Q485817 Q306872 Q152107 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q13406554)|c(Q1344963),P3279,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
value 3
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q1344963'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P3279 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q13406554 } UNION { ?q property:P3279 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1344963 } } GROUP BY ?g } . FILTER ( ?f <= 3 ) }
Šarūnas Marčiulionis Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Sergej Barbarez Jürgen Klinsmann Mack Tuck Pete Maravich Trey Johnson Hortência Marcari Uwe Seeler Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Crispina Correia Michael Preetz Rawle Marshall Pau Gasol Lothar Emmerich Alhaji Mohammed Isaac Fontaine Matt Lojeski LeBron James Michalis Shialis Omar Krayem Bob Pettit Anne-Marie Colchen Branko Milisavljević Keydren Clark Shin Dong-pa Geethu Anna Jose Bernardo Vasconcelos Marco Tagbajumi Ulf Kirsten Heiko Herrlich Bernard King Luis Scola Ricky Franklin Ramel Curry Mfon Udoka Lars Hansen Patrick Mills Jorge Filipe Monteiro Siniša Gogić Mieczysław Młynarski Andre Alves Jørn Andersen George Mikan Yiannos Ioannou Atanas Golomeev Jordan McRae Matt Bauscher Peja Stojaković Mario Basler Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Leandro Barbosa Mickaël Poté Cal Bruton Sean May Darren Phillip Márcio Amoroso Corey Fisher Kenyan Weaks Stephen Curry Fredi Bobic Randy Culpepper Kyle Fogg James Miller Álvaro Salvadores Claude Gregory Davin White Charalambos Papadopoulos Jerome Dyson Rocky Smith Ángela Salvadores Jabari Brown Jānis Kaufmanis José Filipe Correia Semedo Gastón Sangoy Troy DeVries Spas Dzhevizov Stefon Jackson Toni Prostran Ricardo Guillén Nirra Fields Kostakis Pieridis Eric Devendorf Evaldas Žabas Alberto Herreros Darryl Bryant Heino Veskila Joe Arlauckas József Dzurják Rick Barry Amaya Valdemoro Dieter Müller Aleksandar Ćapin Marcus Douthit Antri Violari Dominique Wilkins Bobby Dixon Predrag Danilović Bojan Bogdanović Wayne Hightower Alex English Charles Smith Marilena Georgiou Élber Giovane Emiliano Rodríguez Miljan Goljović Mouhammad Faye Dario Šarić Rudi Völler Kendal Pinder Milan Gurović Marino Baždarić Roland Wohlfarth Jonathan Gibson Stefan Kuntz Rūdolfs Jurciņš Rasheim Wright Modibo Niakate Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Thomas Christiansen Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Theofanis Gekas Omar Quintero Quinnel Brown Lamont Jones Uwe Rahn Michael Efevberha Neil Johnston Luca Toni Ramu Tokashiki Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Oscar Schmidt Karl-Heinz Rummenigge Thomas Allofs Rudy Fernández Radivoj Korać Dave Bing Pete Mickeal Géraldine Robert Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Evanthia Maltsi Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Laura Rus Linas Kleiza Oded Kattash Yannick Franke Miroslav Klose Maria Daniella Johansson Kees Akerboom, Sr. Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Marek Mintál Margo Dydek Keith Langford Andrea Borrell Gregor Fučka Robert Arnold Will Hanley Toni Bizaca Frank Hassell Marc Salyers Larry McNeill Leandro García Morales Anthony Grundy Charlie Bell Russell Westbrook Lee Nailon Ann Wauters Melvin Ejim Doron Jamchi Pierre Jackson Endéné Miyem Shaquille O'Neal Klaus Fischer Antwain Barbour David Pereira da Costa Martin Max Brandis Raley-Ross Raško Katić De'Teri Mayes Fritz Walter Aílton Gonçalves da Silva Joe Fulks Tony Parker Michael Madanly Miljan Mrdaković Darnell Hinson Edward Jurkiewicz Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Radhouane Slimane Michael Scott Terran Petteway Jeff Xavier Boris Gorenc Kani Kouyaté Antonia Edmondson Dirk Nowitzki Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Horst Hrubesch Hannes Löhr Yao Ming Isabela Ramona Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Nikos Galis Sérgio Luis Gardino da Silva Arturo Guerrero Tracy Mcmi Juan Carlos Navarro Jacques Perrier Quinn McDowell Kostas Tsiges Nate Archibald José Juan Barea Leroy Edwards Yuko Oga Brian Wethers Khalid El-Amin Corin Henry Dontae' Jones Andray Blatche Andy Panko Derek Rucker Joeano Marcelo Machado Max Zaslofsky Livio Franceschini Iva Perovanović Panikos Efthymiades Nikos Pappas Horace Jenkins József Kiprich Sean Colson Jonas Valančiūnas Zdravko Radulović Josh Pace Chris Copeland Sean Kilpatrick Federico Mussini Andrija Žižić Tadija Dragićević Érika de Souza Will Clyburn Aleksandar Vezenkov Džanan Musa Chris Woods Kareem Abdul-Jabbar Andreas Kanaris Bobby Brown Tony Yeboah Michael Lee Ike Diogu Corey Webster Steve Burtt Suzy Batkovic Hüseyin Öztürk Igor Rakočević İbrahim Kutluay Lauren Jackson Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Sabahudin Bilalović Jerry West Dewarick Spencer Damion Lee Marcus Brown Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Lothar Kobluhn Slađan Šćepović Paweł Stok Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green Simone Edwards David Simon Wojciech Kowalczyk David Robinson Gerd Müller Giorgos Kolokithas Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Ebbe Sand Klaus Allofs Sancho Lyttle Michael Wright Janeth Arcain Rudolf Brunnenmeier Abby Bishop Jupp Heynckes Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
354
action count
action atmost
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
value 3
[[{'concept': 'sport competition'}, {'concept': 'world championship'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:statistical_leader ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:sport_competition } UNION { ?q property:statistical_leader ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:world_championship } } GROUP BY ?g } . FILTER ( ?f <= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q1048835
USER
Which political territories are located next to around 1 waterways or bodies of water ?
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 1
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?s WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?s } }
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?s WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?s } }
[]
waterway body of water political territorial entity
Q35 Q217840 Q171334
SYSTEM
Denmark, Carmarthenshire, Zaporizhzhya Oblast
Q1649616 Q691567 Q1228773 Q657407 Q844784 Q2012050 Q1614800 Q1470810 Q492312 Q7206212 Q5067 Q18356359 Q147774 Q217829 Q7451347 Q5095 Q18350152 Q3557 Q804466 Q5096 Q898856 Q492420 Q35 Q5017377 Q917886 Q6674900 Q7521776 Q616847 Q1637424 Q1443906 Q13751 Q847329 Q817971 Q16851746 Q1634820 Q1447802 Q217840 Q7130989 Q100166 Q163271 Q5437809 Q1443992 Q1631163 Q1637406 Q743849 Q650682 Q748078 Q4481 Q904566 Q1645555 Q5939706 Q3903 Q4673688 Q3724 Q1391437 Q18359182 Q171334 Q847127 Q5616614 Q47134 Q1623000 Q18357018 Q505610 Q607474 Q3891 Q18351821 Q936264 Q42314 Q7684726 Q5197069 Q824076 Q6298722 Q697126
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
value 1
[ANSWERS] are located next to around 1 waterways or bodies of water
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?s WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?s } }
Orio Les Dirouilles Plentzia Sopela Vale of Glamorgan Donetsk Oblast Val de San Vicente Pierres de Lecq Hondarribia Poblacion Gorontalo Province Manipulon Zarautz Ceredigion Sentinela Papua Loguingot Central Java Province Bakio West Papua Jethou Getxo Denmark Cagting Santurtzi Looc, Mandaue Sinandigan Ribamontán al Mar Miengo Arnuero Biliran Comillas Conwy County Borough Caparangasan Barreiros Noja Carmarthenshire Pangpang Orkney Islands Kherson Oblast Fatima Bareyo Aia Ruiloba Valdáliga Denbighshire Neath Port Talbot County Borough Barrika Brecqhou Liendo Humayhumay North Kalimantan Achila West Java Province Alfoz de Lloredo Botlog Island Zaporizhzhya Oblast Pasaia Guintabo-an Shetland Piélagos Bayas Island Flintshire Muskiz Kalimantan Tengah Malangabang Lemoiz Channel Islands Tapon Cuya Ribadeo Juagdan Bridgend County Borough
Denmark, Carmarthenshire and Zaporizhzhya Oblast are located next to around 1 waterways or bodies of water
Denmark Carmarthenshire Zaporizhzhya Oblast
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?s WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q879146 Q102496 Q44539
USER
Which Christian denominations are max number of parishes and temples a component of ?
(c(Q102496)|c(Q44539),P361,c(Q879146))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
[[{'concept': 'Q102496'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q44539 ) ( ontology:Q102496 ) } . ?k rdf:type ?b } GROUP BY ?v } . FILTER ( ?u = ?w ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?o WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q102496 ) ( ontology:Q44539 ) } } GROUP BY ?o } } }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
[[{'concept': 'parish'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?v WHERE { VALUES ( ?b ) { ( ontology:temple ) ( ontology:parish ) } . ?k rdf:type ?b } GROUP BY ?v } . FILTER ( ?u = ?w ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?o WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:parish ) ( ontology:temple ) } } GROUP BY ?o } } }
[]
Christian denomination parish temple
Q682443 Q749243 Q9592
SYSTEM
Episcopal Church, Church of Sweden, Roman Catholic Church
Q682443 Q749243 Q9592
(c(Q102496)|c(Q44539),P361,c(Q879146))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
[ANSWERS] are max number of parishes and temples a component of
[[{'concept': 'Q102496'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q44539 ) ( ontology:Q102496 ) } . ?k rdf:type ?b } GROUP BY ?v } . FILTER ( ?u = ?w ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?o WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q102496 ) ( ontology:Q44539 ) } } GROUP BY ?o } } }
Episcopal Church Church of Sweden Roman Catholic Church
Episcopal Church, Church of Sweden and Roman Catholic Church are max number of parishes and temples a component of
Episcopal Church Church of Sweden Roman Catholic Church
action argmax
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
[[{'concept': 'parish'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) ?v WHERE { VALUES ( ?b ) { ( ontology:temple ) ( ontology:parish ) } . ?k rdf:type ?b } GROUP BY ?v } . FILTER ( ?u = ?w ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?o WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:parish ) ( ontology:temple ) } } GROUP BY ?o } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19254395 Q10409474
P276 P19
Q56061
USER
Which administrative territories are the birthplace of Stathis Kappos or are the locations of Hondiusstraat ?
OR((Q10409474,P19,c(Q56061)), (Q19254395,P276,c(Q56061)))
action filter_type
action union
action find
entity Q10409474
relation P19
action find
entity Q19254395
relation P276
type Q56061
{'OR': [['Q10409474', 'P19', {'concept': 'Q56061'}], ['Q19254395', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10409474 property:P19 ?i } UNION { resource:Q19254395 property:P276 ?i } } . ?i rdf:type ontology:Q56061 }
Hondiusstraat Stathis Kappos
action filter_type
action union
action find
entity Stathis Kappos
relation place of birth
action find
entity Hondiusstraat
relation location
type administrative territorial entity
{'OR': [['Stathis Kappos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hondiusstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Stathis_Kappos property:place_of_birth ?i } UNION { resource:Hondiusstraat property:location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172 Q2207185
SYSTEM
Toronto, Terneuzen
Q172 Q2207185
OR((Q10409474,P19,c(Q56061)), (Q19254395,P276,c(Q56061)))
action filter_type
action union
action find
entity Q10409474
relation P19
action find
entity Q19254395
relation P276
type Q56061
[ANSWERS] are the birthplace of Stathis Kappos or are the locations of Hondiusstraat
{'OR': [['Q10409474', 'P19', {'concept': 'Q56061'}], ['Q19254395', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10409474 property:P19 ?i } UNION { resource:Q19254395 property:P276 ?i } } . ?i rdf:type ontology:Q56061 }
Toronto Terneuzen
Toronto and Terneuzen are the birthplace of Stathis Kappos or are the locations of Hondiusstraat
Toronto Terneuzen
action filter_type
action union
action find
entity Stathis Kappos
relation place of birth
action find
entity Hondiusstraat
relation location
type administrative territorial entity
{'OR': [['Stathis Kappos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hondiusstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Stathis_Kappos property:place_of_birth ?i } UNION { resource:Hondiusstraat property:location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]