Simple Question (Direct)
Simple Question
Q1693030
P21
Q290
USER
Which sex does Johann Christoph Friedrich Baumgarten have ?
(Q1693030,P21,c(Q290))
action filter_type
action find
entity Q1693030
relation P21
type Q290
['Q1693030', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1693030 property:P21 ?o }
Johann Christoph Friedrich Baumgarten
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation gender
type sex
['Johann Christoph Friedrich Baumgarten', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Johann_Christoph_Friedrich_Baumgarten property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1693030,P21,c(Q290))
action filter_type
action find
entity Q1693030
relation P21
type Q290
Johann Christoph Friedrich Baumgarten has left [ANSWER]
['Q1693030', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1693030 property:P21 ?o }
male
Johann Christoph Friedrich Baumgarten has left male
male
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation gender
type sex
['Johann Christoph Friedrich Baumgarten', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Johann_Christoph_Friedrich_Baumgarten property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1693030
P106
Q151885
USER
What is the job of Johann Christoph Friedrich Baumgarten ?
(Q1693030,P106,c(Q151885))
action filter_type
action find
entity Q1693030
relation P106
type Q151885
['Q1693030', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q1693030 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Johann Christoph Friedrich Baumgarten
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation occupation
type concept
['Johann Christoph Friedrich Baumgarten', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Christoph_Friedrich_Baumgarten property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q1693030,P106,c(Q151885))
action filter_type
action find
entity Q1693030
relation P106
type Q151885
The job of Johann Christoph Friedrich Baumgarten is the [ANSWER]
['Q1693030', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q1693030 property:P106 ?z . ?z rdf:type ontology:Q151885 }
author
The job of Johann Christoph Friedrich Baumgarten is the author
author
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation occupation
type concept
['Johann Christoph Friedrich Baumgarten', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Christoph_Friedrich_Baumgarten property:occupation ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1693030
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q482980,P19,c(Q56061))
action filter_type
action find
entity Q1693030
relation P19
type Q56061
['Q482980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1693030 property:P19 ?i }
Johann Christoph Friedrich Baumgarten
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation place of birth
type administrative territorial entity
['author', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Johann_Christoph_Friedrich_Baumgarten property:place_of_birth ?i }
[]
administrative territorial entity
Q1733
SYSTEM
Magdeburg
Q1733
(Q482980,P19,c(Q56061))
action filter_type
action find
entity Q1693030
relation P19
type Q56061
That person was born in [ANSWER]
['Q482980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1693030 property:P19 ?i }
Magdeburg
That person was born in Magdeburg
Magdeburg
action filter_type
action find
entity Johann Christoph Friedrich Baumgarten
relation place of birth
type administrative territorial entity
['author', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Johann_Christoph_Friedrich_Baumgarten property:place_of_birth ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1733 Q17352957
P19
Q502895
USER
Was Christian Pospischil born at that administrative territory ?
(Q17352957,P19,Q1733)
action is_in
entity Q17352957
action find
entity Q1733
relation P19
['Q17352957', 'P19', 'Q1733']
ASK WHERE { resource:Q1733 property:P19 resource:Q17352957 }
Magdeburg Christian Pospischil
action is_in
entity Christian Pospischil
action find
entity Magdeburg
relation place of birth
['Christian Pospischil', 'place of birth', 'Magdeburg']
ASK WHERE { resource:Magdeburg property:place_of_birth resource:Christian_Pospischil }
[]
common name
SYSTEM
NO
(Q17352957,P19,Q1733)
action is_in
entity Q17352957
action find
entity Q1733
relation P19
[ANSWER]
['Q17352957', 'P19', 'Q1733']
ASK WHERE { resource:Q1733 property:P19 resource:Q17352957 }
No
action is_in
entity Christian Pospischil
action find
entity Magdeburg
relation place of birth
['Christian Pospischil', 'place of birth', 'Magdeburg']
ASK WHERE { resource:Magdeburg property:place_of_birth resource:Christian_Pospischil }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21907511 Q17352957
P27 P17
Q1048835
USER
Which political territories are the native countriesof Christian Pospischil or do Little Creek belong to ?
OR((Q17352957,P27,c(Q1048835)), (Q21907511,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q17352957
relation P27
action find
entity Q21907511
relation P17
type Q1048835
{'OR': [['Q17352957', 'P27', {'concept': 'Q1048835'}], ['Q21907511', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { { resource:Q17352957 property:P27 ?p } UNION { resource:Q21907511 property:P17 ?p } } }
Little Creek Christian Pospischil
action filter_type
action union
action find
entity Christian Pospischil
relation country of citizenship
action find
entity Little Creek
relation country
type political territorial entity
{'OR': [['Christian Pospischil', 'country of citizenship', {'concept': 'political territorial entity'}], ['Little Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { { resource:Christian_Pospischil property:country_of_citizenship ?p } UNION { resource:Little_Creek property:country ?p } } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q17352957,P27,c(Q1048835)), (Q21907511,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q17352957
relation P27
action find
entity Q21907511
relation P17
type Q1048835
[ANSWERS] are the native countriesof Christian Pospischil or do Little Creek belong to
{'OR': [['Q17352957', 'P27', {'concept': 'Q1048835'}], ['Q21907511', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { { resource:Q17352957 property:P27 ?p } UNION { resource:Q21907511 property:P17 ?p } } }
Australia Germany
Australia and Germany are the native countriesof Christian Pospischil or do Little Creek belong to
Australia Germany
action filter_type
action union
action find
entity Christian Pospischil
relation country of citizenship
action find
entity Little Creek
relation country
type political territorial entity
{'OR': [['Christian Pospischil', 'country of citizenship', {'concept': 'political territorial entity'}], ['Little Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { { resource:Christian_Pospischil property:country_of_citizenship ?p } UNION { resource:Little_Creek property:country ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P915
Q838948
USER
Which works of art were filmed in the location those political territories ?
(c(Q838948),P915,Q408) (c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q408'] [{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P915 ?z . ?q rdf:type ontology:Q838948 . VALUES ( ?z ) { ( resource:Q408 ) ( resource:Q183 ) } }
Australia Germany
action filter_type
action find_reverse
entity prev_answer
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Australia'] [{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:filming_location ?z . ?q rdf:type ontology:work_of_art . VALUES ( ?z ) { ( resource:Australia ) ( resource:Germany ) } }
[]
work of art
Q18407657 Q159063 Q3521099
SYSTEM
Captain America: Civil War, The Reader, The Grand Budapest Hotel
Q3422730 Q6986572 Q1467545 Q3429521 Q18611372 Q115993 Q3232062 Q2579375 Q7728500 Q19874606 Q926678 Q1091580 Q200873 Q622742 Q16961093 Q1140738 Q189505 Q17014394 Q1305119 Q6376051 Q930294 Q1660083 Q15411503 Q19573090 Q2819997 Q17015508 Q83730 Q7203385 Q19007199 Q7719728 Q5433095 Q731335 Q4956299 Q3283835 Q690463 Q1400892 Q1029548 Q2548513 Q612373 Q6960773 Q132374 Q6691811 Q1148499 Q580351 Q12126894 Q679679 Q505790 Q3520813 Q7617526 Q18350575 Q429934 Q15972938 Q7785141 Q2894960 Q18389586 Q945685 Q4959331 Q962592 Q426663 Q93876 Q4778174 Q1515931 Q24154 Q7093117 Q180337 Q1783930 Q6929084 Q980327 Q207536 Q2710763 Q5207857 Q1364029 Q685694 Q7379502 Q1632707 Q1346439 Q17379618 Q7622858 Q1680405 Q6122574 Q18166039 Q7770748 Q1114179 Q2986009 Q5242390 Q15140361 Q198560 Q15039765 Q1249239 Q10350033 Q221491 Q600253 Q6412332 Q7757326 Q845077 Q42051 Q16172886 Q6477009 Q2565495 Q623072 Q798641 Q5447888 Q14921984 Q217552 Q7142697 Q5187761 Q255328 Q83495 Q172260 Q936302 Q7709495 Q18636742 Q3176350 Q391143 Q1356265 Q5190184 Q5212753 Q1198545 Q1755928 Q12125270 Q2902017 Q12125818 Q5042347 Q1537088 Q5897662 Q12126705 Q5016137 Q720724 Q3007933 Q16985835 Q20002353 Q158398 Q17052588 Q197491 Q1421747 Q15039629 Q4877736 Q275180 Q4178880 Q1144962 Q15973073 Q7560679 Q737318 Q16679516 Q4898722 Q3028325 Q5141012 Q7972859 Q469624 Q6672759 Q7295920 Q1692212 Q177340 Q796792 Q5912157 Q5256327 Q41754 Q1469774 Q2893302 Q3503837 Q746538 Q3111799 Q1144983 Q181069 Q2767704 Q1170071 Q15146380 Q7961003 Q3421998 Q1130317 Q5256446 Q1134648 Q1473596 Q7418710 Q19874556 Q1302032 Q250971 Q14952480 Q13564191 Q1347086 Q216269 Q652251 Q677347 Q167411 Q313819 Q7745749 Q5896770 Q6750834 Q21065355 Q3560411 Q3560415 Q842720 Q18407657 Q1430155 Q1454148 Q3016883 Q16249045 Q421583 Q3206615 Q926309 Q5395738 Q1169101 Q12123479 Q185658 Q7879141 Q3346699 Q627209 Q1806709 Q488316 Q1467237 Q3088260 Q637849 Q498442 Q666707 Q270061 Q16494458 Q188159 Q170268 Q16249196 Q153723 Q2394581 Q694781 Q498287 Q3246496 Q14511981 Q892039 Q2251852 Q157879 Q18067135 Q158023 Q671718 Q180416 Q228554 Q4656385 Q19315473 Q17014725 Q760989 Q1192054 Q15140361 Q204398 Q5967392 Q7758601 Q705871 Q541354 Q107914 Q4407383 Q1637791 Q474425 Q15715216 Q971985 Q15040678 Q158759 Q164813 Q166696 Q1195819 Q671631 Q12485037 Q1524596 Q1283810 Q490076 Q540624 Q895543 Q455555 Q936327 Q3210569 Q314942 Q571583 Q1218840 Q2500178 Q16251439 Q1171442 Q797445 Q2906966 Q378754 Q4536024 Q1203252 Q18713033 Q1575773 Q1630478 Q158398 Q325648 Q159063 Q819084 Q2524426 Q546900 Q7138266 Q207916 Q313764 Q309248 Q587566 Q3521099 Q7924385 Q4666737 Q12137068 Q6818502 Q535628 Q5943675 Q664234 Q478793 Q5002116 Q3352751 Q3045056 Q1033396 Q7749543 Q152857 Q481310 Q679833 Q127021 Q15040657 Q643847 Q163549 Q5619208
(c(Q838948),P915,Q408) (c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P915
type Q838948
[ANSWERS] were filmed in the location those political territories
[{'concept': 'Q838948'}, 'P915', 'Q408'] [{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?q WHERE { ?q property:P915 ?z . ?q rdf:type ontology:Q838948 . VALUES ( ?z ) { ( resource:Q408 ) ( resource:Q183 ) } }
Red Hill Needle See No Evil Unnale Unnale Fat Pizza vs. Housos Tomorrow, When the War Began Love in Space Suburban Mayhem The Custodian Infini The Cars That Ate Paris The Island of Dr. Moreau The Lost World: Jurassic Park Where the Wild Things Are Locker The Crocodile Hunter: Collision Course Jaws Predestination Fool's Gold Kath & Kimderella My Brilliant Career Last Ride The Water Diviner Mountains May Depart Aadavari Matalaku Arthale Verule Nerve December Boys Playing Beatie Bow The Wilding The Boys Family Demons The Pirate Movie Bran Nue Dae Puberty Blues Lantana Feed Chak De! India Romulus, My Father Fortress Nala Damayanthi Inspector Gadget 2 Love in Perth Stealth Sanctum Peaches House of Wax Mission: Impossible II The Eye of the Storm Stir Love Lies Bleeding Pitch Black Gods of Egypt Thirst A Girl in Australia The Dressmaker Red Planet Break of Day Sniper Mad Max Beyond Thunderdome The Condemned Any Questions for Ben? Rogue Van Diemen's Land One Perfect Day The Proposition Triangle Mr. Perfect The Clinic The Matrix Revolutions Road Kill Dad and Dave: On Our Selection Peter Pan Bachna Ae Haseeno Run Chrissie Run! The Reef Strictly Ballroom The Moon and the Sun Street Hero The Boys Are Back Jaggubhai Lemon Tree Passage The Turning Return to the Blue Lagoon Beneath Hill 60 Dawn! Porobashinee A Few Best Men The Fire In The Stone Evil Angels Pirates of the Caribbean: Dead Men Tell No Tales The Thin Red Line The Hard Word King of the Coral Sea The Place at the Coast Dead Calm Star Wars: Episode III – Revenge of the Sith Crush Lake Mungo Newcastle Aquamarine Bad Boy Bubby Fighting Fear The Reckoning X-Men Origins: Wolverine Passion Crook The Adventures of Priscilla, Queen of the Desert The Matrix Singularity Scooby-Doo Thalaivaa The Light Between Oceans Jedda Chinese Zodiac Ghost Ship Crush Damned by Dawn The Sundowners The Black Balloon Journey Out of Darkness Welcome to Woop Woop Look Both Ways The Rover Gone Hoodwink Offside Cactus Babe Garage Days The Inbetweeners 2 Performance Anxiety Iron Sky Love of My Life The Wolverine Picnic at Hanging Rock Healing Beautiful Kate Australia The Railway Man Police Story 4: First Strike San Andreas Son of a Gun Salaam Namaste The Dying of the Light Betty Blokk-buster Follies Dingo Coffin Rock Wasted on the Young Planet of the Apes Long John Silver Rats in the Ranks Malcolm Nim's Island BMX Bandits Hotel de Love Demonstrator Ghost Rider On the Beach Beautiful Sunday Too Far Away Race the Sun Indian Animal Kingdom Star Wars Episode II: Attack of the Clones Free Willy: Escape from Pirate's Cove The Phantom Unbroken Wake in Fright Reckless Kelly The Marine Den Orange Mighty Morphin Power Rangers: The Movie Sankham In the Winter Dark Chicken with Plums Young Goethe in Love Early to Bed 102 Years in the Heart of Europe: A Portrait of Ernst Jünger Slasher 23 Nekromantik The Countess The Counterfeiters Anonymous The Last Escape Honor Bound Manniac Look Who's Back Violent Shit II: Mother Hold My Hand Violent Shit Hostel Captain America: Civil War The Angel's Melancholy Free Land Passion Unfinished Business Lore Beauty and the Beast Brüno Errors of the Human Body Dr. M Fuck for Forest Indiana Jones and the Last Crusade Ullasa Paravaigal Nymphomaniac Rollerball Last Hippie Standing Anatomy Ruby Cairo Pola X The Damned Spaceballs The Bridesmaid 7 Zwerge – Der Wald ist nicht genug Run Boy Run A Dangerous Method Hanna Amour Fou Inglourious Basterds Les Misérables The American Friend Hansel and Gretel: Witch Hunters House of Boys The Book Thief Bon Appétit F for Fake The Ghost Writer Bridge of Spies The White Ribbon The Search Das Experiment Trains'n'Roses A Defeated People Snowden Under the Pavement Lies the Strand Moscow on the Hudson The Holcroft Covenant Porobashinee Octopussy I, Anna The Prosecutor Hallers The Edge of Heaven Faust Diamonds Are Forever Monuments Men Chitty Chitty Bang Bang Nekromantik 2 Hitman: Agent 47 Target The Voices Unknown Perfume: The Story of a Murderer The Baader Meinhof Complex $ Ninja Assassin Habibie & Ainun Chalet Girl One, Two, Three Night Crossing Germany, Year Zero Among Vultures Anatomy 2 Willy Wonka & the Chocolate Factory The Mark of the Angels – Miserere Pandorum Laser Mission The Last Company Urban Explorer A Hologram for the King The Silence Baader Blood Trails The Church The Apparition Don 2 Hunter's Prayer Hannah Arendt The Good Neighbour Iron Sky Head-On The Reader Before the Fall Viktor Vogel – Commercial Man Suspiria Parker Tomorrow Never Dies The Tin Drum The Three Musketeers Stroszek The Grand Budapest Hotel Via Mala Abendland The Eye of Evil Mercilessly Betrayed First Spaceship on Venus Az Karkheh ta Rhein Itinéraire d'un enfant gâté Berlin 36 Buster's Bedroom Only Lovers Left Alive Disengagement Cannibal The Magician of Lublin Downfall Visions of Eight Black Death M K3: Prison of Hell Smilla's Sense of Snow Black Book Gunner Palace
Captain America: Civil War, The Reader and The Grand Budapest Hotel were filmed in the location those political territories
Captain America: Civil War The Reader The Grand Budapest Hotel
action filter_type
action find_reverse
entity prev_answer
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Australia'] [{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?q WHERE { ?q property:filming_location ?z . ?q rdf:type ontology:work_of_art . VALUES ( ?z ) { ( resource:Australia ) ( resource:Germany ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3521099
P1040
Q502895
USER
Which person edited that work of art ?
(Q3521099,P1040,c(Q502895))
action filter_type
action find
entity Q3521099
relation P1040
type Q502895
['Q3521099', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3521099 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
The Grand Budapest Hotel
action filter_type
action find
entity The Grand Budapest Hotel
relation film editor
type common name
['The Grand Budapest Hotel', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Grand_Budapest_Hotel property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q159063
SYSTEM
Did you mean The Reader ?
Q18407657 Q159063 Q3521099
(Q18407657,P1040,c(Q502895)) (Q159063,P1040,c(Q502895)) (Q3521099,P1040,c(Q502895))
[ANSWER]
['Q18407657', 'P1040', {'concept': 'Q502895'}] ['Q159063', 'P1040', {'concept': 'Q502895'}] ['Q3521099', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3521099 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
Captain America: Civil War The Reader The Grand Budapest Hotel
Did you mean The Reader ?
The Reader
['Captain America: Civil War', 'film editor', {'concept': 'common name'}] ['The Reader', 'film editor', {'concept': 'common name'}] ['The Grand Budapest Hotel', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Grand_Budapest_Hotel property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Grand Budapest Hotel. Could you tell me the answer for that?
(Q3521099,P1040,c(Q502895))
Q3521099
['Q3521099', 'P1040', {'concept': 'Q502895'}]
['The Grand Budapest Hotel', 'film editor', {'concept': 'common name'}]
[]
Q4861768
SYSTEM
Barney Pilling
Q4861768
(Q3521099,P1040,c(Q502895))
action filter_type
action find
entity Q3521099
relation P1040
type Q502895
[ANSWER] edited that work of art
['Q3521099', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3521099 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
Barney Pilling
Barney Pilling edited that work of art
Barney Pilling
action filter_type
action find
entity The Grand Budapest Hotel
relation film editor
type common name
['The Grand Budapest Hotel', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Grand_Budapest_Hotel property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q43047 Q408
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Australia and do Cremosano belong to ?
AND((Q408,P530,c(Q15617994)), (Q43047,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q43047
relation P17
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q43047', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?q . resource:Q43047 property:P17 ?q }
Cremosano Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Cremosano
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cremosano', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?q . resource:Cremosano property:country ?q }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q408,P530,c(Q15617994)), (Q43047,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q43047
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Australia and do Cremosano belong to
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q43047', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?q . resource:Q43047 property:P17 ?q }
Italy
Italy have diplomatic relationships with Australia and do Cremosano belong to
Italy
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Cremosano
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cremosano', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?q . resource:Cremosano property:country ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q10294
P180
Q151885 Q838948 Q17638008
USER
How many concepts are depicted in approximately the same number of works of art and game equipment as poverty ?
(c(Q838948)|c(Q17638008),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q10294
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?w WHERE { { ?r property:P180 ?w . ?w rdf:type ontology:Q151885 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?w . ?r rdf:type ontology:Q17638008 . ?w rdf:type ontology:Q151885 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P180 resource:Q10294 . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q17638008 } } } } . FILTER ( ?n = ?a ) }
poverty
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action find_reverse_tuple_counts
relation depicts
type concept
type game equipment
action count
action filter_multi_types
action find_reverse
entity poverty
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?w WHERE { { ?r property:depicts ?w . ?w rdf:type ontology:concept . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?w . ?r rdf:type ontology:game_equipment . ?w rdf:type ontology:concept } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:depicts resource:poverty . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:game_equipment } } } } . FILTER ( ?n = ?a ) }
[]
concept work of art game equipment
SYSTEM
66
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q838948)|c(Q17638008),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q10294
relation P180
type Q838948
type Q17638008
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?w WHERE { { ?r property:P180 ?w . ?w rdf:type ontology:Q151885 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?w . ?r rdf:type ontology:Q17638008 . ?w rdf:type ontology:Q151885 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P180 resource:Q10294 . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q17638008 } } } } . FILTER ( ?n = ?a ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
66
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action find_reverse_tuple_counts
relation depicts
type concept
type game equipment
action count
action filter_multi_types
action find_reverse
entity poverty
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?w WHERE { { ?r property:depicts ?w . ?w rdf:type ontology:concept . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?w . ?r rdf:type ontology:game_equipment . ?w rdf:type ontology:concept } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:depicts resource:poverty . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:game_equipment } } } } . FILTER ( ?n = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1714828
P180
Q151885 Q838948 Q17638008
USER
And how about hunter?
(c(Q838948)|c(Q17638008),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q1714828
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } . ?l rdf:type ?i } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P180 resource:Q1714828 . { { ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q17638008 } } } } . FILTER ( ?t = ?f ) }
hunter
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action find_reverse_tuple_counts
relation depicts
type concept
type game equipment
action count
action filter_multi_types
action find_reverse
entity hunter
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } . ?l rdf:type ?i } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:depicts resource:hunter . { { ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:game_equipment } } } } . FILTER ( ?t = ?f ) }
[]
concept work of art game equipment
SYSTEM
66
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q838948)|c(Q17638008),P180,c(Q151885))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action find_reverse_tuple_counts
relation P180
type Q151885
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q1714828
relation P180
type Q838948
type Q17638008
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q17638008 ) } . ?l rdf:type ?i } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P180 resource:Q1714828 . { { ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q17638008 } } } } . FILTER ( ?t = ?f ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
66
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action find_reverse_tuple_counts
relation depicts
type concept
type game equipment
action count
action filter_multi_types
action find_reverse
entity hunter
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:game_equipment ) } . ?l rdf:type ?i } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:depicts resource:hunter . { { ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:game_equipment } } } } . FILTER ( ?t = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7665941 Q1693030
P27
Q1048835
USER
Which political territories are the native countriesof Johann Christoph Friedrich Baumgarten or Sébastien Mamboundou Mouyama ?
OR((Q1693030,P27,c(Q1048835)), (Q7665941,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1693030
relation P27
action find
entity Q7665941
relation P27
type Q1048835
{'OR': [['Q1693030', 'P27', {'concept': 'Q1048835'}], ['Q7665941', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?c property:P27 ?b . VALUES ( ?c ) { ( resource:Q1693030 ) ( resource:Q7665941 ) } } . ?b rdf:type ontology:Q1048835 }
Sébastien Mamboundou Mouyama Johann Christoph Friedrich Baumgarten
action filter_type
action union
action find
entity Johann Christoph Friedrich Baumgarten
relation country of citizenship
action find
entity Sébastien Mamboundou Mouyama
relation country of citizenship
type political territorial entity
{'OR': [['Johann Christoph Friedrich Baumgarten', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sébastien Mamboundou Mouyama', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?c property:country_of_citizenship ?b . VALUES ( ?c ) { ( resource:Johann_Christoph_Friedrich_Baumgarten ) ( resource:Sébastien_Mamboundou_Mouyama ) } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1000 Q183
SYSTEM
Gabon, Germany
Q1000 Q183
OR((Q1693030,P27,c(Q1048835)), (Q7665941,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1693030
relation P27
action find
entity Q7665941
relation P27
type Q1048835
[ANSWERS] are the native countriesof Johann Christoph Friedrich Baumgarten or Sébastien Mamboundou Mouyama
{'OR': [['Q1693030', 'P27', {'concept': 'Q1048835'}], ['Q7665941', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?c property:P27 ?b . VALUES ( ?c ) { ( resource:Q1693030 ) ( resource:Q7665941 ) } } . ?b rdf:type ontology:Q1048835 }
Gabon Germany
Gabon and Germany are the native countriesof Johann Christoph Friedrich Baumgarten or Sébastien Mamboundou Mouyama
Gabon Germany
action filter_type
action union
action find
entity Johann Christoph Friedrich Baumgarten
relation country of citizenship
action find
entity Sébastien Mamboundou Mouyama
relation country of citizenship
type political territorial entity
{'OR': [['Johann Christoph Friedrich Baumgarten', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sébastien Mamboundou Mouyama', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?c property:country_of_citizenship ?b . VALUES ( ?c ) { ( resource:Johann_Christoph_Friedrich_Baumgarten ) ( resource:Sébastien_Mamboundou_Mouyama ) } } . ?b rdf:type ontology:political_territorial_entity }
[]