Simple Question (Direct)
Simple Question
Q1908475
P463
Q1110684
USER
What was Mathias Greffrath a member of ?
(Q1908475,P463,c(Q1110684))
action filter_type
action find
entity Q1908475
relation P463
type Q1110684
['Q1908475', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1110684 . resource:Q1908475 property:P463 ?a }
Mathias Greffrath
action filter_type
action find
entity Mathias Greffrath
relation member of
type professional association
['Mathias Greffrath', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:professional_association . resource:Mathias_Greffrath property:member_of ?a }
[]
professional association
Q2043519
SYSTEM
German PEN Center
Q2043519
(Q1908475,P463,c(Q1110684))
action filter_type
action find
entity Q1908475
relation P463
type Q1110684
Mathias Greffrath was a member of [ANSWER]
['Q1908475', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1110684 . resource:Q1908475 property:P463 ?a }
German PEN Center
Mathias Greffrath was a member of German PEN Center
German PEN Center
action filter_type
action find
entity Mathias Greffrath
relation member of
type professional association
['Mathias Greffrath', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:professional_association . resource:Mathias_Greffrath property:member_of ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1908475
P21
Q290
USER
Which sex does that person belong to ?
(Q2043519,P21,c(Q290))
action filter_type
action find
entity Q1908475
relation P21
type Q290
['Q2043519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1908475 property:P21 ?n . ?n rdf:type ontology:Q290 }
Mathias Greffrath
action filter_type
action find
entity Mathias Greffrath
relation gender
type sex
['German PEN Center', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mathias_Greffrath property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2043519,P21,c(Q290))
action filter_type
action find
entity Q1908475
relation P21
type Q290
That person belongs to [ANSWER]
['Q2043519', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1908475 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Mathias Greffrath
relation gender
type sex
['German PEN Center', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mathias_Greffrath property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q2464676
P21
Q502895
USER
Is Frans Hogenbirk a that sex ?
(Q2464676,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2464676
relation P21
['Q2464676', 'P21', 'Q6581097']
ASK WHERE { resource:Q2464676 property:P21 resource:Q6581097 }
male Frans Hogenbirk
action is_in
entity male
action find
entity Frans Hogenbirk
relation gender
['Frans Hogenbirk', 'gender', 'male']
ASK WHERE { resource:Frans_Hogenbirk property:gender resource:male }
[]
common name
SYSTEM
YES
(Q2464676,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2464676
relation P21
[ANSWER]
['Q2464676', 'P21', 'Q6581097']
ASK WHERE { resource:Q2464676 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Frans Hogenbirk
relation gender
['Frans Hogenbirk', 'gender', 'male']
ASK WHERE { resource:Frans_Hogenbirk property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1628882 Q1908475
P47 P27
Q1048835
USER
Which political territories are the native countriesof Mathias Greffrath or are adjacent to La Pueblanueva ?
OR((Q1908475,P27,c(Q1048835)), (Q1628882,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1908475
relation P27
action find
entity Q1628882
relation P47
type Q1048835
{'OR': [['Q1908475', 'P27', {'concept': 'Q1048835'}], ['Q1628882', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1908475 property:P27 ?e } UNION { resource:Q1628882 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
La Pueblanueva Mathias Greffrath
action filter_type
action union
action find
entity Mathias Greffrath
relation country of citizenship
action find
entity La Pueblanueva
relation shares border with
type political territorial entity
{'OR': [['Mathias Greffrath', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Pueblanueva', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mathias_Greffrath property:country_of_citizenship ?e } UNION { resource:La_Pueblanueva property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1641578 Q1606460 Q1641360 Q1641230 Q183 Q1641416 Q1641133
SYSTEM
Las Herencias, Malpica de Tajo, Montearagón, Cebolla, Germany, San Martín de Pusa, San Bartolomé de las Abiertas
Q1641578 Q1606460 Q1641360 Q1641230 Q183 Q1641416 Q1641133
OR((Q1908475,P27,c(Q1048835)), (Q1628882,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1908475
relation P27
action find
entity Q1628882
relation P47
type Q1048835
[ANSWERS] are the native countriesof Mathias Greffrath or are adjacent to La Pueblanueva
{'OR': [['Q1908475', 'P27', {'concept': 'Q1048835'}], ['Q1628882', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1908475 property:P27 ?e } UNION { resource:Q1628882 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
Las Herencias Malpica de Tajo Montearagón Cebolla Germany San Martín de Pusa San Bartolomé de las Abiertas
Las Herencias, Malpica de Tajo, Montearagón, Cebolla, Germany, San Martín de Pusa and San Bartolomé de las Abiertas are the native countriesof Mathias Greffrath or are adjacent to La Pueblanueva
Las Herencias Malpica de Tajo Montearagón Cebolla Germany San Martín de Pusa San Bartolomé de las Abiertas
action filter_type
action union
action find
entity Mathias Greffrath
relation country of citizenship
action find
entity La Pueblanueva
relation shares border with
type political territorial entity
{'OR': [['Mathias Greffrath', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Pueblanueva', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mathias_Greffrath property:country_of_citizenship ?e } UNION { resource:La_Pueblanueva property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P915
Q838948 Q15416
USER
How many works of art or television programs were filmed at that political territory ?
(c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641578) (c(Q15416),P915,Q1641578) (c(Q838948),P915,Q1606460) (c(Q15416),P915,Q1606460) (c(Q838948),P915,Q1641360) (c(Q15416),P915,Q1641360) (c(Q838948),P915,Q1641230) (c(Q15416),P915,Q1641230) (c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641416) (c(Q15416),P915,Q1641416) (c(Q838948),P915,Q1641133) (c(Q15416),P915,Q1641133)
[{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641578'] [{'concept': 'Q15416'}, 'P915', 'Q1641578'] [{'concept': 'Q838948'}, 'P915', 'Q1606460'] [{'concept': 'Q15416'}, 'P915', 'Q1606460'] [{'concept': 'Q838948'}, 'P915', 'Q1641360'] [{'concept': 'Q15416'}, 'P915', 'Q1641360'] [{'concept': 'Q838948'}, 'P915', 'Q1641230'] [{'concept': 'Q15416'}, 'P915', 'Q1641230'] [{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641416'] [{'concept': 'Q15416'}, 'P915', 'Q1641416'] [{'concept': 'Q838948'}, 'P915', 'Q1641133'] [{'concept': 'Q15416'}, 'P915', 'Q1641133']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641578 } UNION { ?y property:Q1045481 resource:Q1641578 } UNION { ?z property:Q1045481 resource:Q1606460 } UNION { ?y property:Q1045481 resource:Q1606460 } UNION { ?z property:Q1045481 resource:Q1641360 } UNION { ?y property:Q1045481 resource:Q1641360 } UNION { ?z property:Q1045481 resource:Q6904334 } UNION { ?y property:Q1045481 resource:Q6904334 } UNION { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641416 } UNION { ?y property:Q1045481 resource:Q1641416 } UNION { ?z property:Q1045481 resource:Q1641133 } UNION { ?y property:Q1045481 resource:Q1641133 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15416 }
[{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'Las Herencias'] [{'concept': 'television program'}, 'filming location', 'Las Herencias'] [{'concept': 'work of art'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'television program'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'work of art'}, 'filming location', 'Montearagón'] [{'concept': 'television program'}, 'filming location', 'Montearagón'] [{'concept': 'work of art'}, 'filming location', 'Cebolla'] [{'concept': 'television program'}, 'filming location', 'Cebolla'] [{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'television program'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'work of art'}, 'filming location', 'San Bartolomé de las Abiertas'] [{'concept': 'television program'}, 'filming location', 'San Bartolomé de las Abiertas']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:Las_Herencias } UNION { ?y property:filming_location resource:Las_Herencias } UNION { ?z property:filming_location resource:Malpica_de_Tajo } UNION { ?y property:filming_location resource:Malpica_de_Tajo } UNION { ?z property:filming_location resource:Montearagón } UNION { ?y property:filming_location resource:Montearagón } UNION { ?z property:filming_location resource:Cebolla } UNION { ?y property:filming_location resource:Cebolla } UNION { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:San_Martín_de_Pusa } UNION { ?y property:filming_location resource:San_Martín_de_Pusa } UNION { ?z property:filming_location resource:San_Bartolomé_de_las_Abiertas } UNION { ?y property:filming_location resource:San_Bartolomé_de_las_Abiertas } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_program }
[]
work of art television program
Quantitative|Count|Mult. entity type|Clarification
Q1641133
SYSTEM
Did you mean San Bartolomé de las Abiertas ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641578 } UNION { ?y property:Q1045481 resource:Q1641578 } UNION { ?z property:Q1045481 resource:Q1606460 } UNION { ?y property:Q1045481 resource:Q1606460 } UNION { ?z property:Q1045481 resource:Q1641360 } UNION { ?y property:Q1045481 resource:Q1641360 } UNION { ?z property:Q1045481 resource:Q6904334 } UNION { ?y property:Q1045481 resource:Q6904334 } UNION { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641416 } UNION { ?y property:Q1045481 resource:Q1641416 } UNION { ?z property:Q1045481 resource:Q1641133 } UNION { ?y property:Q1045481 resource:Q1641133 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15416 }
Did you mean San Bartolomé de las Abiertas ?
San Bartolomé de las Abiertas
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:Las_Herencias } UNION { ?y property:filming_location resource:Las_Herencias } UNION { ?z property:filming_location resource:Malpica_de_Tajo } UNION { ?y property:filming_location resource:Malpica_de_Tajo } UNION { ?z property:filming_location resource:Montearagón } UNION { ?y property:filming_location resource:Montearagón } UNION { ?z property:filming_location resource:Cebolla } UNION { ?y property:filming_location resource:Cebolla } UNION { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:San_Martín_de_Pusa } UNION { ?y property:filming_location resource:San_Martín_de_Pusa } UNION { ?z property:filming_location resource:San_Bartolomé_de_las_Abiertas } UNION { ?y property:filming_location resource:San_Bartolomé_de_las_Abiertas } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641578) (c(Q15416),P915,Q1641578) (c(Q838948),P915,Q1606460) (c(Q15416),P915,Q1606460) (c(Q838948),P915,Q1641360) (c(Q15416),P915,Q1641360) (c(Q838948),P915,Q1641230) (c(Q15416),P915,Q1641230) (c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641416) (c(Q15416),P915,Q1641416) (c(Q838948),P915,Q1641133) (c(Q15416),P915,Q1641133)
Q183
[{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641578'] [{'concept': 'Q15416'}, 'P915', 'Q1641578'] [{'concept': 'Q838948'}, 'P915', 'Q1606460'] [{'concept': 'Q15416'}, 'P915', 'Q1606460'] [{'concept': 'Q838948'}, 'P915', 'Q1641360'] [{'concept': 'Q15416'}, 'P915', 'Q1641360'] [{'concept': 'Q838948'}, 'P915', 'Q1641230'] [{'concept': 'Q15416'}, 'P915', 'Q1641230'] [{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641416'] [{'concept': 'Q15416'}, 'P915', 'Q1641416'] [{'concept': 'Q838948'}, 'P915', 'Q1641133'] [{'concept': 'Q15416'}, 'P915', 'Q1641133']
[{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'Las Herencias'] [{'concept': 'television program'}, 'filming location', 'Las Herencias'] [{'concept': 'work of art'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'television program'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'work of art'}, 'filming location', 'Montearagón'] [{'concept': 'television program'}, 'filming location', 'Montearagón'] [{'concept': 'work of art'}, 'filming location', 'Cebolla'] [{'concept': 'television program'}, 'filming location', 'Cebolla'] [{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'television program'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'work of art'}, 'filming location', 'San Bartolomé de las Abiertas'] [{'concept': 'television program'}, 'filming location', 'San Bartolomé de las Abiertas']
[]
SYSTEM
141
Q797445 Q7879141 Q587566 Q270061 Q1637791 Q17014725 Q7758601 Q16249045 Q3088260 Q16494458 Q671718 Q541354 Q490076 Q2500178 Q17114673 Q474425 Q18713033 Q16249196 Q671631 Q1171442 Q666707 Q679833 Q12485037 Q936327 Q7138266 Q7745749 Q421583 Q188159 Q204398 Q971985 Q5967392 Q157879 Q15715216 Q167411 Q895543 Q7749543 Q313764 Q5349579 Q1630478 Q164813 Q2394581 Q540624 Q1575773 Q1302032 Q19315473 Q5002116 Q207916 Q15040678 Q819084 Q313819 Q1283810 Q158759 Q159063 Q7924385 Q694781 Q892039 Q664234 Q378754 Q153723 Q1169101 Q1195819 Q3560411 Q158023 Q3560415 Q18407657 Q12137068 Q14952480 Q6818502 Q842720 Q152857 Q6750834 Q325648 Q2251852 Q1218840 Q827407 Q5395738 Q185658 Q652251 Q166696 Q3045056 Q3346699 Q3210569 Q228554 Q170268 Q637849 Q4666737 Q498287 Q455555 Q488316 Q1454148 Q15140361 Q250971 Q5896770 Q15040657 Q1467237 Q571583 Q12123479 Q13564191 Q760989 Q478793 Q14511981 Q1347086 Q127021 Q643847 Q481310 Q180416 Q5943675 Q3246496 Q705871 Q1192054 Q1806709 Q3352751 Q2524426 Q677347 Q309248 Q163549 Q1741753 Q5619208 Q2906966 Q216269 Q314942 Q4536024 Q18067135 Q21065355 Q627209 Q158398 Q107914 Q3521099 Q1033396 Q3206615 Q4407383 Q4656385 Q498442 Q926309 Q1524596 Q1430155 Q1203252 Q535628 Q546900 Q3016883 Q16251439
(c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641578) (c(Q15416),P915,Q1641578) (c(Q838948),P915,Q1606460) (c(Q15416),P915,Q1606460) (c(Q838948),P915,Q1641360) (c(Q15416),P915,Q1641360) (c(Q838948),P915,Q1641230) (c(Q15416),P915,Q1641230) (c(Q838948),P915,Q183) (c(Q15416),P915,Q183) (c(Q838948),P915,Q1641416) (c(Q15416),P915,Q1641416) (c(Q838948),P915,Q1641133) (c(Q15416),P915,Q1641133)
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641578'] [{'concept': 'Q15416'}, 'P915', 'Q1641578'] [{'concept': 'Q838948'}, 'P915', 'Q1606460'] [{'concept': 'Q15416'}, 'P915', 'Q1606460'] [{'concept': 'Q838948'}, 'P915', 'Q1641360'] [{'concept': 'Q15416'}, 'P915', 'Q1641360'] [{'concept': 'Q838948'}, 'P915', 'Q1641230'] [{'concept': 'Q15416'}, 'P915', 'Q1641230'] [{'concept': 'Q838948'}, 'P915', 'Q183'] [{'concept': 'Q15416'}, 'P915', 'Q183'] [{'concept': 'Q838948'}, 'P915', 'Q1641416'] [{'concept': 'Q15416'}, 'P915', 'Q1641416'] [{'concept': 'Q838948'}, 'P915', 'Q1641133'] [{'concept': 'Q15416'}, 'P915', 'Q1641133']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641578 } UNION { ?y property:Q1045481 resource:Q1641578 } UNION { ?z property:Q1045481 resource:Q1606460 } UNION { ?y property:Q1045481 resource:Q1606460 } UNION { ?z property:Q1045481 resource:Q1641360 } UNION { ?y property:Q1045481 resource:Q1641360 } UNION { ?z property:Q1045481 resource:Q6904334 } UNION { ?y property:Q1045481 resource:Q6904334 } UNION { ?z property:Q1045481 resource:Q423030 } UNION { ?y property:Q1045481 resource:Q423030 } UNION { ?z property:Q1045481 resource:Q1641416 } UNION { ?y property:Q1045481 resource:Q1641416 } UNION { ?z property:Q1045481 resource:Q1641133 } UNION { ?y property:Q1045481 resource:Q1641133 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15416 }
Baader Ullasa Paravaigal Stroszek 7 Zwerge – Der Wald ist nicht genug Chitty Chitty Bang Bang Under the Pavement Lies the Strand The Prosecutor Hallers Unfinished Business Pola X Run Boy Run The Search Faust Night Crossing Urban Explorer Of Pure Blood Nekromantik 2 Hunter's Prayer Amour Fou Ninja Assassin The Silence The Bridesmaid Black Death Habibie & Ainun Willy Wonka & the Chocolate Factory Parker The Last Escape Lore A Dangerous Method Octopussy Target I, Anna The Ghost Writer Hitman: Agent 47 The Counterfeiters Among Vultures The Magician of Lublin The Tin Drum Ein Job The Good Neighbour Perfume: The Story of a Murderer Les Misérables Germany, Year Zero Hannah Arendt Chicken with Plums Snowden Buster's Bedroom Tomorrow Never Dies The Voices Before the Fall Anonymous One, Two, Three Unknown The Reader Via Mala The American Friend Bon Appétit Itinéraire d'un enfant gâté The Church Inglourious Basterds Dr. M $ Violent Shit II: Mother Hold My Hand The White Ribbon Violent Shit Captain America: Civil War The Eye of Evil Early to Bed Mercilessly Betrayed Hostel Downfall Manniac Head-On F for Fake The Last Company Buddenbrooks Errors of the Human Body Indiana Jones and the Last Crusade Nekromantik The Baader Meinhof Complex Disengagement Nymphomaniac The Mark of the Angels – Miserere Trains'n'Roses Hanna The Damned Abendland Hansel and Gretel: Witch Hunters Anatomy 2 Anatomy Free Land Porobashinee Young Goethe in Love Honor Bound K3: Prison of Hell Ruby Cairo Laser Mission Fuck for Forest 102 Years in the Heart of Europe: A Portrait of Ernst Jünger Moscow on the Hudson Berlin 36 The Book Thief Slasher M Smilla's Sense of Snow Visions of Eight Das Experiment Az Karkheh ta Rhein House of Boys The Edge of Heaven The Holcroft Covenant Last Hippie Standing Only Lovers Left Alive Viktor Vogel – Commercial Man The Countess The Three Musketeers Black Book Children of the Open Road Gunner Palace Blood Trails 23 Pandorum The Apparition Bridge of Spies Look Who's Back Rollerball Iron Sky Diamonds Are Forever The Grand Budapest Hotel Cannibal Beauty and the Beast Monuments Men A Defeated People Spaceballs Brüno Chalet Girl The Angel's Melancholy Don 2 First Spaceship on Venus Suspiria Passion A Hologram for the King
141
[{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'Las Herencias'] [{'concept': 'television program'}, 'filming location', 'Las Herencias'] [{'concept': 'work of art'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'television program'}, 'filming location', 'Malpica de Tajo'] [{'concept': 'work of art'}, 'filming location', 'Montearagón'] [{'concept': 'television program'}, 'filming location', 'Montearagón'] [{'concept': 'work of art'}, 'filming location', 'Cebolla'] [{'concept': 'television program'}, 'filming location', 'Cebolla'] [{'concept': 'work of art'}, 'filming location', 'Germany'] [{'concept': 'television program'}, 'filming location', 'Germany'] [{'concept': 'work of art'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'television program'}, 'filming location', 'San Martín de Pusa'] [{'concept': 'work of art'}, 'filming location', 'San Bartolomé de las Abiertas'] [{'concept': 'television program'}, 'filming location', 'San Bartolomé de las Abiertas']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:Las_Herencias } UNION { ?y property:filming_location resource:Las_Herencias } UNION { ?z property:filming_location resource:Malpica_de_Tajo } UNION { ?y property:filming_location resource:Malpica_de_Tajo } UNION { ?z property:filming_location resource:Montearagón } UNION { ?y property:filming_location resource:Montearagón } UNION { ?z property:filming_location resource:Cebolla } UNION { ?y property:filming_location resource:Cebolla } UNION { ?z property:filming_location resource:Germany } UNION { ?y property:filming_location resource:Germany } UNION { ?z property:filming_location resource:San_Martín_de_Pusa } UNION { ?y property:filming_location resource:San_Martín_de_Pusa } UNION { ?z property:filming_location resource:San_Bartolomé_de_las_Abiertas } UNION { ?y property:filming_location resource:San_Bartolomé_de_las_Abiertas } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P138
Q288514 Q17444909
USER
How many fairs and astronomical object types are named after Germany ?
(c(Q288514),P138,Q183) (c(Q17444909),P138,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P138
type Q288514
action filter_type
action find_reverse
entity Q183
relation P138
type Q17444909
[{'concept': 'Q288514'}, 'P138', 'Q183'] [{'concept': 'Q17444909'}, 'P138', 'Q183']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q17444909 ) ( ontology:Q288514 ) } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation named after
type fair
action filter_type
action find_reverse
entity Germany
relation named after
type astronomical object type
[{'concept': 'fair'}, 'named after', 'Germany'] [{'concept': 'astronomical object type'}, 'named after', 'Germany']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:astronomical_object_type ) ( ontology:fair ) } }
[]
fair astronomical object type
SYSTEM
1 fairs and 1 astronomical object types
Q884213 Q148935
(c(Q288514),P138,Q183) (c(Q17444909),P138,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P138
type Q288514
action filter_type
action find_reverse
entity Q183
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q288514'}, 'P138', 'Q183'] [{'concept': 'Q17444909'}, 'P138', 'Q183']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q17444909 ) ( ontology:Q288514 ) } }
Bunte Republik Neustadt 241 Germania
1 fairs and 1 astronomical object types
action count
action union
action filter_type
action find_reverse
entity Germany
relation named after
type fair
action filter_type
action find_reverse
entity Germany
relation named after
type astronomical object type
[{'concept': 'fair'}, 'named after', 'Germany'] [{'concept': 'astronomical object type'}, 'named after', 'Germany']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:astronomical_object_type ) ( ontology:fair ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q125845 Q1908475
P27
Q1048835
USER
Which political territories do Mathias Greffrath or Karl Louis Johannes Richard von Eben belong to ?
OR((Q1908475,P27,c(Q1048835)), (Q125845,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1908475
relation P27
action find
entity Q125845
relation P27
type Q1048835
{'OR': [['Q1908475', 'P27', {'concept': 'Q1048835'}], ['Q125845', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1908475 property:P27 ?v } UNION { resource:Q125845 property:P27 ?v } } . ?v rdf:type ontology:Q1048835 }
Karl Louis Johannes Richard von Eben Mathias Greffrath
action filter_type
action union
action find
entity Mathias Greffrath
relation country of citizenship
action find
entity Karl Louis Johannes Richard von Eben
relation country of citizenship
type political territorial entity
{'OR': [['Mathias Greffrath', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karl Louis Johannes Richard von Eben', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mathias_Greffrath property:country_of_citizenship ?v } UNION { resource:Karl_Louis_Johannes_Richard_von_Eben property:country_of_citizenship ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1908475,P27,c(Q1048835)), (Q125845,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1908475
relation P27
action find
entity Q125845
relation P27
type Q1048835
[ANSWER] Mathias Greffrath or Karl Louis Johannes Richard von Eben belong to
{'OR': [['Q1908475', 'P27', {'concept': 'Q1048835'}], ['Q125845', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1908475 property:P27 ?v } UNION { resource:Q125845 property:P27 ?v } } . ?v rdf:type ontology:Q1048835 }
Germany
Germany Mathias Greffrath or Karl Louis Johannes Richard von Eben belong to
Germany
action filter_type
action union
action find
entity Mathias Greffrath
relation country of citizenship
action find
entity Karl Louis Johannes Richard von Eben
relation country of citizenship
type political territorial entity
{'OR': [['Mathias Greffrath', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karl Louis Johannes Richard von Eben', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mathias_Greffrath property:country_of_citizenship ?v } UNION { resource:Karl_Louis_Johannes_Richard_von_Eben property:country_of_citizenship ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q484652 Q7275
USER
How many international organizations or states are that political territory named after ?
(Q183,P138,c(Q484652)) (Q183,P138,c(Q7275)) (Q183,P138,c(Q484652)) (Q183,P138,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P138
type Q484652
action filter_type
action find
entity Q183
relation P138
type Q7275
['Q183', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q7275'}] ['Q183', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q484652 ) ( ontology:Q7275 ) } }
action count
action union
action filter_type
action find
entity Germany
relation named after
type international organization
action filter_type
action find
entity Germany
relation named after
type state
['Germany', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'state'}] ['Germany', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:international_organization ) ( ontology:state ) } }
[]
international organization state
SYSTEM
3
Q38872 Q980 Q132990
(Q183,P138,c(Q484652)) (Q183,P138,c(Q7275)) (Q183,P138,c(Q484652)) (Q183,P138,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P138
type Q484652
action filter_type
action find
entity Q183
relation P138
type Q7275
[ANSWER]
['Q183', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q7275'}] ['Q183', 'P138', {'concept': 'Q484652'}] ['Q183', 'P138', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q484652 ) ( ontology:Q7275 ) } }
Prussia Bavaria Alamanni
3
action count
action union
action filter_type
action find
entity Germany
relation named after
type international organization
action filter_type
action find
entity Germany
relation named after
type state
['Germany', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'state'}] ['Germany', 'named after', {'concept': 'international organization'}] ['Germany', 'named after', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:international_organization ) ( ontology:state ) } }
[]