Simple Question (Direct)
Simple Question
Q2091232
P19
Q1048835
USER
Which political territory is the place of birth of Juan Pérez Ribes ?
(Q2091232,P19,c(Q1048835))
action filter_type
action find
entity Q2091232
relation P19
type Q1048835
['Q2091232', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q2091232 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Juan Pérez Ribes
action filter_type
action find
entity Juan Pérez Ribes
relation place of birth
type political territorial entity
['Juan Pérez Ribes', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Juan_Pérez_Ribes property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1989384
SYSTEM
Montroi
Q1989384
(Q2091232,P19,c(Q1048835))
action filter_type
action find
entity Q2091232
relation P19
type Q1048835
[ANSWER] is the place of birth of Juan Pérez Ribes
['Q2091232', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q2091232 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Montroi
Montroi is the place of birth of Juan Pérez Ribes
Montroi
action filter_type
action find
entity Juan Pérez Ribes
relation place of birth
type political territorial entity
['Juan Pérez Ribes', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Juan_Pérez_Ribes property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2091232
P21
Q290
USER
Which sex does that person possess ?
(Q1989384,P21,c(Q290))
action filter_type
action find
entity Q2091232
relation P21
type Q290
['Q1989384', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2091232 property:P21 ?g . ?g rdf:type ontology:Q290 }
Juan Pérez Ribes
action filter_type
action find
entity Juan Pérez Ribes
relation gender
type sex
['Montroi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Juan_Pérez_Ribes property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1989384,P21,c(Q290))
action filter_type
action find
entity Q2091232
relation P21
type Q290
That person possesses a [ANSWER]
['Q1989384', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2091232 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Juan Pérez Ribes
relation gender
type sex
['Montroi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Juan_Pérez_Ribes property:gender ?g . ?g rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5695 Q1989384
P47
Q1048835
USER
Which political territories share border with Montroi or Tavastia Proper ?
OR((c(Q1048835),P47,Q1989384), (c(Q1048835),P47,Q5695))
action filter_type
action union
action find_reverse
entity Q1989384
relation P47
action find_reverse
entity Q5695
relation P47
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1989384'], [{'concept': 'Q1048835'}, 'P47', 'Q5695']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P47 resource:Q1989384 } UNION { ?f property:P47 resource:Q5695 } } . ?f rdf:type ontology:Q1048835 }
Tavastia Proper Montroi
action filter_type
action union
action find_reverse
entity Montroi
relation shares border with
action find_reverse
entity Tavastia Proper
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Montroi'], [{'concept': 'political territorial entity'}, 'shares border with', 'Tavastia Proper']]}
SELECT DISTINCT ?f WHERE { { { ?f property:shares_border_with resource:Montroi } UNION { ?f property:shares_border_with resource:Tavastia_Proper } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1993027 Q5708 Q367253 Q23049 Q5701 Q5712 Q5711 Q604539 Q680697
SYSTEM
Turís, Päijänne Tavastia, Real, Llombai, Pirkanmaa, Finland Proper, Uusimaa, Montserrat, Dos Aguas
Q1993027 Q5708 Q367253 Q23049 Q5701 Q5712 Q5711 Q604539 Q680697
OR((c(Q1048835),P47,Q1989384), (c(Q1048835),P47,Q5695))
action filter_type
action union
action find_reverse
entity Q1989384
relation P47
action find_reverse
entity Q5695
relation P47
type Q1048835
[ANSWERS] share border with Montroi or Tavastia Proper
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1989384'], [{'concept': 'Q1048835'}, 'P47', 'Q5695']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P47 resource:Q1989384 } UNION { ?f property:P47 resource:Q5695 } } . ?f rdf:type ontology:Q1048835 }
Turís Päijänne Tavastia Real Llombai Pirkanmaa Finland Proper Uusimaa Montserrat Dos Aguas
Turís, Päijänne Tavastia, Real, Llombai, Pirkanmaa, Finland Proper, Uusimaa, Montserrat and Dos Aguas share border with Montroi or Tavastia Proper
Turís Päijänne Tavastia Real Llombai Pirkanmaa Finland Proper Uusimaa Montserrat Dos Aguas
action filter_type
action union
action find_reverse
entity Montroi
relation shares border with
action find_reverse
entity Tavastia Proper
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Montroi'], [{'concept': 'political territorial entity'}, 'shares border with', 'Tavastia Proper']]}
SELECT DISTINCT ?f WHERE { { { ?f property:shares_border_with resource:Montroi } UNION { ?f property:shares_border_with resource:Tavastia_Proper } } . ?f rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q202174
P127
Q1048835 Q1002697 Q483110
USER
Which political territories do greater number of periodical literatures or stadia belong to than Argyll and Bute ?
(c(Q1002697)|c(Q483110),P127,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q202174
relation P127
type Q1002697
type Q483110
[[{'concept': 'Q1002697'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1002697 ) ( ontology:Q483110 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P127 resource:Q202174 . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q483110 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?b > ?c ) }
Argyll and Bute
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Argyll and Bute
relation owned by
type periodical literature
type stadium
[[{'concept': 'periodical literature'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:periodical_literature ) ( ontology:stadium ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:owned_by resource:Argyll_and_Bute . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:stadium ) ( ontology:periodical_literature ) } } } } . FILTER ( ?b > ?c ) }
[]
political territorial entity periodical literature stadium
Q40 Q5783 Q5756
SYSTEM
Austria, Andalusia, Community of Madrid
Q318314 Q192387 Q217838 Q6339 Q5783 Q741765 Q276176 Q2271 Q40 Q207111 Q5756
(c(Q1002697)|c(Q483110),P127,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q202174
relation P127
type Q1002697
type Q483110
[ANSWERS] greater number of periodical literatures or stadia belong to than Argyll and Bute
[[{'concept': 'Q1002697'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1002697 ) ( ontology:Q483110 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P127 resource:Q202174 . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q483110 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?b > ?c ) }
Ipatinga Londrina Stirling Erzgebirgskreis Andalusia San Fernando Volta Redonda South Sumatra Austria North Lanarkshire Community of Madrid
Austria, Andalusia and Community of Madrid greater number of periodical literatures or stadia belong to than Argyll and Bute
Austria Andalusia Community of Madrid
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Argyll and Bute
relation owned by
type periodical literature
type stadium
[[{'concept': 'periodical literature'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:periodical_literature ) ( ontology:stadium ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:owned_by resource:Argyll_and_Bute . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:stadium ) ( ontology:periodical_literature ) } } } } . FILTER ( ?b > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3468740 Q5756
P17
Q15617994
USER
Which administrative territories are Community of Madrid or Baruunturuun Airport a part of ?
OR((Q5756,P17,c(Q15617994)), (Q3468740,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5756
relation P17
action find
entity Q3468740
relation P17
type Q15617994
{'OR': [['Q5756', 'P17', {'concept': 'Q15617994'}], ['Q3468740', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5756 property:P17 ?l } UNION { resource:Q3468740 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Baruunturuun Airport Community of Madrid
action filter_type
action union
action find
entity Community of Madrid
relation country
action find
entity Baruunturuun Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Community of Madrid', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Baruunturuun Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Community_of_Madrid property:country ?l } UNION { resource:Baruunturuun_Airport property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q711
SYSTEM
Spain, Mongolia
Q29 Q711
OR((Q5756,P17,c(Q15617994)), (Q3468740,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5756
relation P17
action find
entity Q3468740
relation P17
type Q15617994
[ANSWERS] are Community of Madrid or Baruunturuun Airport a part of
{'OR': [['Q5756', 'P17', {'concept': 'Q15617994'}], ['Q3468740', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5756 property:P17 ?l } UNION { resource:Q3468740 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Spain Mongolia
Spain and Mongolia are Community of Madrid or Baruunturuun Airport a part of
Spain Mongolia
action filter_type
action union
action find
entity Community of Madrid
relation country
action find
entity Baruunturuun Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Community of Madrid', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Baruunturuun Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Community_of_Madrid property:country ?l } UNION { resource:Baruunturuun_Airport property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P276
Q1190554
USER
Which events are located at Spain ?
(c(Q1190554),P276,Q29)
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q29']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q29 . ?n rdf:type ontology:Q1190554 }
Spain
action filter_type
action find_reverse
entity Spain
relation location
type event
[{'concept': 'event'}, 'location', 'Spain']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Spain . ?n rdf:type ontology:event }
[]
event
Q1340107 Q2889928
SYSTEM
Cantabrian Wars, Battle of San Marcial
Q1340107 Q2889928
(c(Q1190554),P276,Q29)
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
[ANSWERS] are located at Spain
[{'concept': 'Q1190554'}, 'P276', 'Q29']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q29 . ?n rdf:type ontology:Q1190554 }
Cantabrian Wars Battle of San Marcial
Cantabrian Wars and Battle of San Marcial are located at Spain
Cantabrian Wars Battle of San Marcial
action filter_type
action find_reverse
entity Spain
relation location
type event
[{'concept': 'event'}, 'location', 'Spain']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Spain . ?n rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2889928
P710
Q15617994
USER
Who was a participant of that event ?
(Q2889928,P710,c(Q15617994))
action filter_type
action find
entity Q2889928
relation P710
type Q15617994
['Q2889928', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2889928 property:P710 ?e . ?e rdf:type ontology:Q15617994 }
Battle of San Marcial
action filter_type
action find
entity Battle of San Marcial
relation participant
type designation for an administrative territorial entity
['Battle of San Marcial', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Battle_of_San_Marcial property:participant ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1340107
SYSTEM
Did you mean Cantabrian Wars ?
Q1340107 Q2889928
(Q1340107,P710,c(Q15617994)) (Q2889928,P710,c(Q15617994))
[ANSWER]
['Q1340107', 'P710', {'concept': 'Q15617994'}] ['Q2889928', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2889928 property:P710 ?e . ?e rdf:type ontology:Q15617994 }
Cantabrian Wars Battle of San Marcial
Did you mean Cantabrian Wars ?
Cantabrian Wars
['Cantabrian Wars', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['Battle of San Marcial', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Battle_of_San_Marcial property:participant ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of San Marcial. Could you tell me the answer for that?
(Q2889928,P710,c(Q15617994))
Q2889928
['Q2889928', 'P710', {'concept': 'Q15617994'}]
['Battle of San Marcial', 'participant', {'concept': 'designation for an administrative territorial entity'}]
[]
Q29
SYSTEM
Spain
Q29
(Q2889928,P710,c(Q15617994))
action filter_type
action find
entity Q2889928
relation P710
type Q15617994
A participant of that event was of [ANSWER]
['Q2889928', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2889928 property:P710 ?e . ?e rdf:type ontology:Q15617994 }
Spain
A participant of that event was of Spain
Spain
action filter_type
action find
entity Battle of San Marcial
relation participant
type designation for an administrative territorial entity
['Battle of San Marcial', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Battle_of_San_Marcial property:participant ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2473449 Q5695
P36
Q56061
USER
Which administrative territories are associated to Tavastia Proper or Iedera as the capital ?
OR((Q5695,P36,c(Q56061)), (Q2473449,P36,c(Q56061)))
action filter_type
action union
action find
entity Q5695
relation P36
action find
entity Q2473449
relation P36
type Q56061
{'OR': [['Q5695', 'P36', {'concept': 'Q56061'}], ['Q2473449', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5695 property:P36 ?k } UNION { resource:Q2473449 property:P36 ?k } } . ?k rdf:type ontology:Q56061 }
Iedera Tavastia Proper
action filter_type
action union
action find
entity Tavastia Proper
relation capital
action find
entity Iedera
relation capital
type administrative territorial entity
{'OR': [['Tavastia Proper', 'capital', {'concept': 'administrative territorial entity'}], ['Iedera', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tavastia_Proper property:capital ?k } UNION { resource:Iedera property:capital ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q202158 Q12073218
SYSTEM
Hämeenlinna, Iedera de Jos
Q202158 Q12073218
OR((Q5695,P36,c(Q56061)), (Q2473449,P36,c(Q56061)))
action filter_type
action union
action find
entity Q5695
relation P36
action find
entity Q2473449
relation P36
type Q56061
[ANSWERS] are associated to Tavastia Proper or Iedera as the capital
{'OR': [['Q5695', 'P36', {'concept': 'Q56061'}], ['Q2473449', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5695 property:P36 ?k } UNION { resource:Q2473449 property:P36 ?k } } . ?k rdf:type ontology:Q56061 }
Hämeenlinna Iedera de Jos
Hämeenlinna and Iedera de Jos are associated to Tavastia Proper or Iedera as the capital
Hämeenlinna Iedera de Jos
action filter_type
action union
action find
entity Tavastia Proper
relation capital
action find
entity Iedera
relation capital
type administrative territorial entity
{'OR': [['Tavastia Proper', 'capital', {'concept': 'administrative territorial entity'}], ['Iedera', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tavastia_Proper property:capital ?k } UNION { resource:Iedera property:capital ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P915
Q15416 Q838948
USER
How many television programs or works of art were filmed at Spain ?
(c(Q15416),P915,Q29) (c(Q838948),P915,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P915
type Q15416
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
[{'concept': 'Q15416'}, 'P915', 'Q29'] [{'concept': 'Q838948'}, 'P915', 'Q29']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q15416 } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation filming location
type television program
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Spain'] [{'concept': 'work of art'}, 'filming location', 'Spain']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:filming_location resource:Spain . ?w rdf:type ontology:work_of_art } UNION { ?w property:filming_location resource:Spain . ?w rdf:type ontology:television_program } }
[]
television program work of art
SYSTEM
153
Q990857 Q228186 Q733003 Q6060368 Q164813 Q5242958 Q879174 Q3222253 Q1740288 Q2060283 Q860425 Q18713033 Q5659581 Q5148528 Q1127790 Q464964 Q16933459 Q2484388 Q1131173 Q671423 Q3277324 Q2701566 Q3281101 Q17086555 Q930071 Q3428553 Q547259 Q3936036 Q7164420 Q107761 Q484825 Q661693 Q2534044 Q3893167 Q1198096 Q76479 Q212145 Q821604 Q190765 Q3208216 Q18415 Q6126842 Q1373198 Q679918 Q16385561 Q1760278 Q1352428 Q597239 Q1775628 Q1431878 Q2066531 Q892039 Q1265869 Q1612412 Q1759875 Q1305104 Q1316253 Q5361071 Q16782 Q763144 Q273676 Q845252 Q3067642 Q15873488 Q195011 Q762927 Q15052351 Q574196 Q2712855 Q2268877 Q1306579 Q60792 Q3061599 Q309003 Q12102714 Q7573862 Q1162803 Q262173 Q7361466 Q185658 Q212123 Q4445949 Q277038 Q730765 Q2529482 Q7994598 Q240061 Q909239 Q649850 Q714989 Q4189197 Q3226852 Q241811 Q19363675 Q3062620 Q4666737 Q107226 Q1728850 Q323827 Q1199631 Q485836 Q2309964 Q192979 Q3960185 Q244115 Q41483 Q2616450 Q7995027 Q4121945 Q1918038 Q5826620 Q19405 Q217220 Q510657 Q367748 Q960926 Q7820305 Q226773 Q108297 Q632328 Q945883 Q1877554 Q7372082 Q1339013 Q4745596 Q920225 Q688329 Q2983218 Q4500618 Q394978 Q1754755 Q1350521 Q23572 Q1424099 Q1428124 Q18822293 Q617874 Q1199513 Q16259187 Q270988 Q1210832 Q7719656 Q512475 Q552036 Q1498454 Q638356 Q1130310 Q45988 Q181069 Q3791287 Q1092932 Q153677 Q1657565
(c(Q15416),P915,Q29) (c(Q838948),P915,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P915
type Q15416
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q29'] [{'concept': 'Q838948'}, 'P915', 'Q29']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P915 resource:Q29 . ?w rdf:type ontology:Q15416 } }
Brothers Lawrence of Arabia The Sheriff of Fractured Jaw Para Elisa Perfume: The Story of a Murderer Day of the Assassin Biutiful The Running Man Kevin & Perry Go Large Savage Grace Che Part 1: The Argentine Hunter's Prayer After Color's Notes The Happy Thieves The Dictator The Sun Also Rises The King of the Mountain Suddenly, Last Summer Navajo Joe Mindscape Sleep Tight Soldiers of Salamina Pyro... The Thing Without a Face Robin and Marian Sidewalls Cannon for Cordoba The Texican Penny Princess You Only Live Twice The Lord of the Skies Anything for Her The Trojan Women Bread, Love and Andalusia The Wind and the Lion A Fistful of Dollars The World Is Not Enough Black Beauty 1492: Conquest of Paradise The Last Grenade Spirits of the Dead Jalisco canta en Sevilla La taglia è tua... l'uomo l'ammazzo io Knight and Day Earthquake in Chile The Hit Chino Reds Villa Rides Shipwrecked Lost Command Bon Appétit Pandora and the Flying Dutchman Julius Caesar Valdez Is Coming Crack in the World Solomon and Sheba Eliminators Buried Sivaji Asterix at the Olympic Games The Machinist Zindagi Na Milegi Dobara Living Is Easy with Eyes Closed Pistol for a Hundred Coffins King of Kings Spanish Teen Rally Anthony Zimmer No Rest for the Wicked Semana santa A Pistol for Ringo Wheels on Meals The Counselor Conan the Barbarian Blackout Spartacus and the Ten Gladiators Ursus The Inbetweeners Movie Roma Indiana Jones and the Last Crusade Vicky Cristina Barcelona Honeymoon Academy The Impossible Blame It on Fidel Chimes at Midnight White Comanche Dead Men Don't Count North West Frontier Horror Express Battle of Britain Moscow Zero Pieces Django Love at First Sight Extraterrestrial Abendland The Bourne Ultimatum Kara Ben Nemsi Effendi Doctor Zhivago The Spanish Gardener La Femme et le Pantin Tetro Clash of the Titans She Killed in Ecstasy 55 Days at Peking The Good, the Bad and the Ugly Eloïse's Lover White Love House of Jericho Ma Mère Sex of Angels The Ninth Gate Patton Duck, You Sucker! The Fall of the Roman Empire Garringo Tomorrowland Wrath of the Titans Spartacus Green Zone El Cid Mr. Arkadin Rowing with the Wind The Cold Light of Day Americano Seven Dollars on the Red Even Dwarfs Started Small Tengo ganas de ti Di Di Hollywood Agnosía Bolero The Devil's Backbone Game of Thrones Live Flesh Flesh and Blood Our Lady of Sorrows The Hill Armour of God El Hijo de Hernández 800 Bullets The Adventures of Baron Munchausen The Boy Who Stole a Million Nicholas and Alexandra Sexy Beast Uncovered A Reason to Live, a Reason to Die The Skin I Live In Pancho Villa Star Wars Episode II: Attack of the Clones The Seven from Texas Circus World For a Few Dollars More Navy SEALs
153
action count
action union
action filter_type
action find_reverse
entity Spain
relation filming location
type television program
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Spain'] [{'concept': 'work of art'}, 'filming location', 'Spain']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:filming_location resource:Spain . ?w rdf:type ontology:work_of_art } UNION { ?w property:filming_location resource:Spain . ?w rdf:type ontology:television_program } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q219382 Q367253
P19
Q502895
USER
Which people have birthplace at Real or Lwówek Śląski ?
OR((c(Q502895),P19,Q367253), (c(Q502895),P19,Q219382))
action filter_type
action union
action find_reverse
entity Q367253
relation P19
action find_reverse
entity Q219382
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q367253'], [{'concept': 'Q502895'}, 'P19', 'Q219382']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?o ) { ( resource:Q367253 ) ( resource:Q219382 ) } . ?n property:P19 ?o } . ?n rdf:type ontology:Q502895 }
Lwówek Śląski Real
action filter_type
action union
action find_reverse
entity Real
relation place of birth
action find_reverse
entity Lwówek Śląski
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Real'], [{'concept': 'common name'}, 'place of birth', 'Lwówek Śląski']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?o ) { ( resource:Real ) ( resource:Lwówek_Śląski ) } . ?n property:place_of_birth ?o } . ?n rdf:type ontology:common_name }
[]
common name
Q1666911 Q1848820 Q16738811 Q9267200 Q1929858 Q1086019 Q9354999 Q27782105 Q1696725 Q11766019
SYSTEM
Some of them are Theodor Puschmann, Anna Rostkowska, José Cerveró, Georg Wichmann, Michael Wirth, Gottfried Uthmann, Tadeusz Więckowski, Wolf Hanke, Johann Zeidler, Magdalena Dąbrowska
Q1561584 Q1279537 Q1569556 Q2077417 Q9388130 Q2508932 Q11766019 Q785961 Q1929858 Q9267200 Q1666911 Q1435441 Q17123321 Q1687566 Q1873676 Q11749837 Q1365701 Q16738811 Q325109 Q1086019 Q1505944 Q9354999 Q27782105 Q20180650 Q1848820 Q65075 Q1696725 Q1632312
OR((c(Q502895),P19,Q367253), (c(Q502895),P19,Q219382))
action filter_type
action union
action find_reverse
entity Q367253
relation P19
action find_reverse
entity Q219382
relation P19
type Q502895
[ANSWERS] have birthplace at Real or Lwówek Śląski
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q367253'], [{'concept': 'Q502895'}, 'P19', 'Q219382']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?o ) { ( resource:Q367253 ) ( resource:Q219382 ) } . ?n property:P19 ?o } . ?n rdf:type ontology:Q502895 }
Günther Klammt Eberhard Zwirner Rudolf Jeschar Peter Palitzsch Zbigniew Mandziejewicz Valerius Hüttig Magdalena Dąbrowska Esaias Reusner Michael Wirth Georg Wichmann Theodor Puschmann Karl Hartmann Georg von Heineccius Jeremias Reusner Lucjan Błaszczyk Krzysztof Zawadzki Michael Wirth José Cerveró Johannes Pfuhl Gottfried Uthmann Georg Schultze Tadeusz Więckowski Wolf Hanke Elias Reusner Anna Rostkowska Otto Liebmann Johann Zeidler Nikolaus Reusner
Theodor Puschmann, Anna Rostkowska, José Cerveró, Georg Wichmann, Michael Wirth, Gottfried Uthmann, Tadeusz Więckowski, Wolf Hanke, Johann Zeidler and Magdalena Dąbrowska have birthplace at Real or Lwówek Śląski
Theodor Puschmann Anna Rostkowska José Cerveró Georg Wichmann Michael Wirth Gottfried Uthmann Tadeusz Więckowski Wolf Hanke Johann Zeidler Magdalena Dąbrowska
action filter_type
action union
action find_reverse
entity Real
relation place of birth
action find_reverse
entity Lwówek Śląski
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Real'], [{'concept': 'common name'}, 'place of birth', 'Lwówek Śląski']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?o ) { ( resource:Real ) ( resource:Lwówek_Śląski ) } . ?n property:place_of_birth ?o } . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q58580 Q5711
P47 P17
Q15617994
USER
Which administrative territories are Uusimaa a part of or are bordered by Conca della Campania ?
OR((Q5711,P17,c(Q15617994)), (Q58580,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5711
relation P17
action find
entity Q58580
relation P47
type Q15617994
{'OR': [['Q5711', 'P17', {'concept': 'Q15617994'}], ['Q58580', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5711 property:P17 ?z } UNION { resource:Q58580 property:P47 ?z } } . ?z rdf:type ontology:Q15617994 }
Conca della Campania Uusimaa
action filter_type
action union
action find
entity Uusimaa
relation country
action find
entity Conca della Campania
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Uusimaa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Conca della Campania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Uusimaa property:country ?z } UNION { resource:Conca_della_Campania property:shares_border_with ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q58622 Q58714 Q58909 Q58824 Q54965 Q58798
SYSTEM
Finland, Galluccio, Mignano Monte Lungo, Tora e Piccilli, Roccamonfina, Marzano Appio, Presenzano
Q33 Q58622 Q58714 Q58909 Q58824 Q54965 Q58798
OR((Q5711,P17,c(Q15617994)), (Q58580,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5711
relation P17
action find
entity Q58580
relation P47
type Q15617994
[ANSWERS] are Uusimaa a part of or are bordered by Conca della Campania
{'OR': [['Q5711', 'P17', {'concept': 'Q15617994'}], ['Q58580', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5711 property:P17 ?z } UNION { resource:Q58580 property:P47 ?z } } . ?z rdf:type ontology:Q15617994 }
Finland Galluccio Mignano Monte Lungo Tora e Piccilli Roccamonfina Marzano Appio Presenzano
Finland, Galluccio, Mignano Monte Lungo, Tora e Piccilli, Roccamonfina, Marzano Appio and Presenzano are Uusimaa a part of or are bordered by Conca della Campania
Finland Galluccio Mignano Monte Lungo Tora e Piccilli Roccamonfina Marzano Appio Presenzano
action filter_type
action union
action find
entity Uusimaa
relation country
action find
entity Conca della Campania
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Uusimaa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Conca della Campania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Uusimaa property:country ?z } UNION { resource:Conca_della_Campania property:shares_border_with ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]