Simple Question (Direct)
Simple Question
Q7944629
P27
Q15617994
USER
Which administrative territory is Víctor Gomis a civilian of ?
(Q7944629,P27,c(Q15617994))
action filter_type
action find
entity Q7944629
relation P27
type Q15617994
['Q7944629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q7944629 property:P27 ?y }
Víctor Gomis
action filter_type
action find
entity Víctor Gomis
relation country of citizenship
type designation for an administrative territorial entity
['Víctor Gomis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Víctor_Gomis property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q7944629,P27,c(Q15617994))
action filter_type
action find
entity Q7944629
relation P27
type Q15617994
[ANSWER] is Víctor Gomis a civilian of
['Q7944629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q7944629 property:P27 ?y }
Spain
Spain is Víctor Gomis a civilian of
Spain
action filter_type
action find
entity Víctor Gomis
relation country of citizenship
type designation for an administrative territorial entity
['Víctor Gomis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Víctor_Gomis property:country_of_citizenship ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7944629
P1412
Q34770
USER
Which language can that person understand ?
(Q29,P1412,c(Q34770))
action filter_type
action find
entity Q7944629
relation P1412
type Q34770
['Q29', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7944629 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Víctor Gomis
action filter_type
action find
entity Víctor Gomis
relation languages spoken, written or signed
type language
['Spain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Víctor_Gomis property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q29,P1412,c(Q34770))
action filter_type
action find
entity Q7944629
relation P1412
type Q34770
That person can understand in [ANSWER]
['Q29', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7944629 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
That person can understand in Spanish
Spanish
action filter_type
action find
entity Víctor Gomis
relation languages spoken, written or signed
type language
['Spain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Víctor_Gomis property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9056
P407
Q34770 Q82799 Q7725634
USER
How many languages are more number of names or literary works in than Czech ?
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P407
type Q82799
type Q7725634
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } . ?n rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P407 resource:Q9056 . { VALUES ( ?d ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } . ?o rdf:type ?d } } } . FILTER ( ?c > ?g ) }
Czech
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_multi_types
action find_reverse
entity Czech
relation language of work or name
type name
type literary work
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { VALUES ( ?t ) { ( ontology:name ) ( ontology:literary_work ) } . ?n rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:language_of_work_or_name resource:Czech . { VALUES ( ?d ) { ( ontology:name ) ( ontology:literary_work ) } . ?o rdf:type ?d } } } . FILTER ( ?c > ?g ) }
[]
language name literary work
SYSTEM
3
Q1860 Q1321 Q652
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P407
type Q82799
type Q7725634
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } . ?n rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P407 resource:Q9056 . { VALUES ( ?d ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } . ?o rdf:type ?d } } } . FILTER ( ?c > ?g ) }
English Spanish Italian
3
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_multi_types
action find_reverse
entity Czech
relation language of work or name
type name
type literary work
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { VALUES ( ?t ) { ( ontology:name ) ( ontology:literary_work ) } . ?n rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:language_of_work_or_name resource:Czech . { VALUES ( ?d ) { ( ontology:name ) ( ontology:literary_work ) } . ?o rdf:type ?d } } } . FILTER ( ?c > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8785
P407
Q34770 Q82799 Q7725634
USER
And what about Armenian?
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P407
type Q82799
type Q7725634
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:P407 ?j . ?j rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } UNION { ?b property:P407 ?j . ?j rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P407 resource:Q8785 . { { ?n rdf:type ontology:Q82799 } UNION { ?n rdf:type ontology:Q7725634 } } } } . FILTER ( ?o > ?t ) }
Armenian
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_multi_types
action find_reverse
entity Armenian
relation language of work or name
type name
type literary work
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?b rdf:type ontology:name } UNION { ?b property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?b rdf:type ontology:literary_work } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:language_of_work_or_name resource:Armenian . { { ?n rdf:type ontology:name } UNION { ?n rdf:type ontology:literary_work } } } } . FILTER ( ?o > ?t ) }
[]
language name literary work
SYSTEM
6
Q1860 Q1321 Q397 Q9056 Q8752 Q652
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P407
type Q82799
type Q7725634
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:P407 ?j . ?j rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } UNION { ?b property:P407 ?j . ?j rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P407 resource:Q8785 . { { ?n rdf:type ontology:Q82799 } UNION { ?n rdf:type ontology:Q7725634 } } } } . FILTER ( ?o > ?t ) }
English Spanish Latin Czech Basque Italian
6
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_multi_types
action find_reverse
entity Armenian
relation language of work or name
type name
type literary work
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?b rdf:type ontology:name } UNION { ?b property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?b rdf:type ontology:literary_work } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:language_of_work_or_name resource:Armenian . { { ?n rdf:type ontology:name } UNION { ?n rdf:type ontology:literary_work } } } } . FILTER ( ?o > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7944629
P19
Q1048835
USER
Where was Víctor Gomis born ?
(Q7944629,P19,c(Q1048835))
action filter_type
action find
entity Q7944629
relation P19
type Q1048835
['Q7944629', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q7944629 property:P19 ?a . ?a rdf:type ontology:Q1048835 }
Víctor Gomis
action filter_type
action find
entity Víctor Gomis
relation place of birth
type political territorial entity
['Víctor Gomis', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Víctor_Gomis property:place_of_birth ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1616611
SYSTEM
Crevillent
Q1616611
(Q7944629,P19,c(Q1048835))
action filter_type
action find
entity Q7944629
relation P19
type Q1048835
Víctor Gomis was born in [ANSWER]
['Q7944629', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q7944629 property:P19 ?a . ?a rdf:type ontology:Q1048835 }
Crevillent
Víctor Gomis was born in Crevillent
Crevillent
action filter_type
action find
entity Víctor Gomis
relation place of birth
type political territorial entity
['Víctor Gomis', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Víctor_Gomis property:place_of_birth ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1616611
P17
Q15617994
USER
Which administrative territory does that political territory belong to ?
(Q1616611,P17,c(Q15617994))
action filter_type
action find
entity Q1616611
relation P17
type Q15617994
['Q1616611', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1616611 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Crevillent
action filter_type
action find
entity Crevillent
relation country
type designation for an administrative territorial entity
['Crevillent', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Crevillent property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1616611,P17,c(Q15617994))
action filter_type
action find
entity Q1616611
relation P17
type Q15617994
That political territory belongs to the [ANSWER]
['Q1616611', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1616611 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Spain
That political territory belongs to the Spain
Spain
action filter_type
action find
entity Crevillent
relation country
type designation for an administrative territorial entity
['Crevillent', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Crevillent property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q558455 Q1025
P47
Q15617994
USER
Does Spain share border with Bothkamp and Mauritania ?
(Q29,P47,Q558455) (Q29,P47,Q1025)
action is_in
entity Q29
action intersection
action find_reverse
entity Q558455
relation P47
action find_reverse
entity Q1025
relation P47
['Q29', 'P47', 'Q558455'] ['Q29', 'P47', 'Q1025']
ASK WHERE { resource:Q29 property:P47 resource:Q558455 . resource:Q29 property:P47 resource:Q1025 }
Spain Bothkamp Mauritania
action is_in
entity Spain
action intersection
action find_reverse
entity Bothkamp
relation shares border with
action find_reverse
entity Mauritania
relation shares border with
['Spain', 'shares border with', 'Bothkamp'] ['Spain', 'shares border with', 'Mauritania']
ASK WHERE { resource:Spain property:shares_border_with resource:Bothkamp . resource:Spain property:shares_border_with resource:Mauritania }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q29,P47,Q558455) (Q29,P47,Q1025)
action is_in
entity Q29
action intersection
action find_reverse
entity Q558455
relation P47
action find_reverse
entity Q1025
relation P47
[ANSWER]
['Q29', 'P47', 'Q558455'] ['Q29', 'P47', 'Q1025']
ASK WHERE { resource:Q29 property:P47 resource:Q558455 . resource:Q29 property:P47 resource:Q1025 }
NO and YES respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Bothkamp
relation shares border with
action find_reverse
entity Mauritania
relation shares border with
['Spain', 'shares border with', 'Bothkamp'] ['Spain', 'shares border with', 'Mauritania']
ASK WHERE { resource:Spain property:shares_border_with resource:Bothkamp . resource:Spain property:shares_border_with resource:Mauritania }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P915
Q838948
USER
Which works of art were filmed at Spain ?
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q29 . ?f rdf:type ontology:Q838948 }
Spain
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Spain . ?f rdf:type ontology:work_of_art }
[]
work of art
Q108297 Q107226 Q323827
SYSTEM
Spartacus, The Bourne Ultimatum, Doctor Zhivago
Q990857 Q2983218 Q228186 Q733003 Q6060368 Q164813 Q5242958 Q879174 Q3222253 Q1740288 Q2060283 Q860425 Q18713033 Q5659581 Q5148528 Q1127790 Q464964 Q16933459 Q2484388 Q1131173 Q671423 Q3277324 Q2701566 Q3281101 Q2534044 Q930071 Q3428553 Q547259 Q3936036 Q7164420 Q107761 Q19405 Q661693 Q17086555 Q3893167 Q1198096 Q76479 Q212145 Q821604 Q190765 Q3208216 Q18415 Q6126842 Q1373198 Q679918 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 Q4189197 Q3226852 Q241811 Q714989 Q3062620 Q4666737 Q107226 Q323827 Q1199631 Q485836 Q2309964 Q192979 Q3960185 Q244115 Q41483 Q2616450 Q7995027 Q4121945 Q1918038 Q5826620 Q4500618 Q217220 Q510657 Q367748 Q960926 Q7820305 Q226773 Q108297 Q632328 Q945883 Q1877554 Q7372082 Q1339013 Q4745596 Q920225 Q688329 Q19363675 Q394978 Q1754755 Q1350521 Q1424099 Q1428124 Q18822293 Q617874 Q1199513 Q16259187 Q270988 Q1210832 Q7719656 Q512475 Q552036 Q1498454 Q638356 Q1130310 Q45988 Q181069 Q3791287 Q1092932 Q153677 Q1657565
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
[ANSWERS] were filmed at Spain
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q29 . ?f rdf:type ontology:Q838948 }
Brothers Tengo ganas de ti 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 The Trojan Women Robin and Marian Sidewalls Cannon for Cordoba The Texican Penny Princess You Only Live Twice The Ninth Gate Anything for Her Pyro... The Thing Without a Face 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 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 Moscow Zero Pieces Django Battle of Britain Extraterrestrial Abendland The Bourne Ultimatum 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 Di Di Hollywood 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 Love at First Sight Agnosía Bolero The Devil's Backbone 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
Spartacus, The Bourne Ultimatum and Doctor Zhivago were filmed at Spain
Spartacus The Bourne Ultimatum Doctor Zhivago
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Spain . ?f rdf:type ontology:work_of_art }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1441
Q838948 Q95074 Q15707583
USER
How many works of art are greater number of fictional characters or fictional taxons present in than that work of art ?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P1441 ?y } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:present_in_work ?y } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
work of art fictional character fictional taxon
Comparative|Count over More/Less|Mult. entity type|Clarification
Q323827
SYSTEM
Did you mean Doctor Zhivago ?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P1441 ?y } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
Did you mean Doctor Zhivago ?
Doctor Zhivago
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:present_in_work ?y } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant The Bourne Ultimatum. Could you tell me the answer for that?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
Q107226
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
[]
SYSTEM
68
Q4008453 Q221947 Q22665878 Q1388653 Q922006 Q719915 Q205028 Q537407 Q477365 Q5887360 Q146673 Q1332299 Q1740704 Q133654 Q753899 Q919649 Q568928 Q179215 Q17485699 Q1325217 Q174284 Q1962005 Q19946102 Q182373 Q24278982 Q7764815 Q165847 Q15140437 Q219421 Q18786473 Q182218 Q185658 Q20001199 Q18406872 Q1962032 Q217020 Q886719 Q1702819 Q1810461 Q810012 Q274167 Q379873 Q588470 Q11060926 Q14171368 Q715374 Q18407657 Q6074 Q19032697 Q192142 Q209538 Q9125658 Q164963 Q3985991 Q104871 Q162255 Q170564 Q1201853 Q16857406 Q23781155 Q192724 Q171300 Q3224298 Q172271 Q8594 Q179411 Q23780914 Q15046091
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 }
Vampirella The Jungle Book 2 Thor: Ragnarok Pacific Rim Race to Witch Mountain The Hobbit: The Desolation of Smaug Iron Man 2 Mulan 101 Dalmatians II: Patch's London Adventure Guardians of the Galaxy Basic Instinct Pete's Dragon The Rocketeer The Silence of the Lambs Scott Pilgrim vs. the World The Hobbit: The Battle of the Five Armies Garfield: The Movie Indiana Jones and the Temple of Doom Alice Through the Looking Glass Flubber Raiders of the Lost Ark Bloodfist II Beauty and the Beast Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 The Sleepy Twinkle Star 102 Dalmatians Terminator Genisys The Mask Pete's Dragon The Avengers Indiana Jones and the Last Crusade Guardians of the Galaxy Vol. 2 Doctor Strange Bloodfist Thor Manhunter Secret of the Wings Springtime with Roo Basic Instinct 2 The Exorcist Who Framed Roger Rabbit Ernest Goes to Camp A Walk Among the Tombstones Avengers: Age of Ultron Initial D Captain America: Civil War Star Wars: The Force Awakens Peter Pan, or The Boy Who Wouldn't Grow Up Terminator 3: Rise of the Machines Iron Man 3 Red Dragon The Lord of the Rings: The Two Towers The Black Cobra 2 A Midsummer Night's Dream The Terminator Terminator 2: Judgment Day Thor: The Dark World The Jungle Book Untitled Avengers Movie Iron Man The Princess and the Frog Tangled Ever After Maleficent 101 Dalmatians A Very Merry Pooh Year Avengers: Infinity War Cinderella
68
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q493017
P706
Q1267889 Q56061 Q1048835
USER
Which political territories are located in around the same number of waterways and administrative territories as Andratx ?
(c(Q1048835),P706,c(Q1267889)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q493017
relation P706
type Q1267889
type Q56061
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?i WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1267889 ) ( ontology:Q56061 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q493017 property:P706 ?k . { { ?k rdf:type ontology:Q1267889 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?q = ?m ) }
Andratx
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Andratx
relation located on terrain feature
type waterway
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?i WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:waterway ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Andratx property:located_on_terrain_feature ?k . { { ?k rdf:type ontology:waterway } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q = ?m ) }
[]
waterway administrative territorial entity political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q1267889)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q493017
relation P706
type Q1267889
type Q56061
[ANSWERS] are located in around the same number of waterways and administrative territories as Andratx
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?i WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1267889 ) ( ontology:Q56061 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q493017 property:P706 ?k . { { ?k rdf:type ontology:Q1267889 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?q = ?m ) }
Llucmajor Llanddeusant, Carmarthenshire Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
Papua New Guinea, Grenada and Jamaica are located in around the same number of waterways and administrative territories as Andratx
Papua New Guinea Grenada Jamaica
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Andratx
relation located on terrain feature
type waterway
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?i WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:waterway ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Andratx property:located_on_terrain_feature ?k . { { ?k rdf:type ontology:waterway } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691
P1001
Q1292279
USER
Which political borders have control over the jurisdiction of Papua New Guinea ?
(c(Q1292279),P1001,Q691)
action filter_type
action find_reverse
entity Q691
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q691']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q691 . ?x rdf:type ontology:Q1292279 }
Papua New Guinea
action filter_type
action find_reverse
entity Papua New Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Papua New Guinea']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Papua_New_Guinea . ?x rdf:type ontology:political_border }
[]
political border
Q16024884 Q3088775 Q17351811
SYSTEM
Australia–Papua New Guinea border, Indonesia–Papua New Guinea border, Micronesia–Papua New Guinea border
Q16024884 Q3088775 Q17351811 Q17351822
(c(Q1292279),P1001,Q691)
action filter_type
action find_reverse
entity Q691
relation P1001
type Q1292279
[ANSWERS] have control over the jurisdiction of Papua New Guinea
[{'concept': 'Q1292279'}, 'P1001', 'Q691']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q691 . ?x rdf:type ontology:Q1292279 }
Australia–Papua New Guinea border Indonesia–Papua New Guinea border Micronesia–Papua New Guinea border Papua New Guinea–Solomon Islands border
Australia–Papua New Guinea border, Indonesia–Papua New Guinea border and Micronesia–Papua New Guinea border have control over the jurisdiction of Papua New Guinea
Australia–Papua New Guinea border Indonesia–Papua New Guinea border Micronesia–Papua New Guinea border
action filter_type
action find_reverse
entity Papua New Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Papua New Guinea']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Papua_New_Guinea . ?x rdf:type ontology:political_border }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16024884 Q3088775 Q17351811
P1001
Q1048835
USER
Which political territories are judicially linked to Australia–Papua New Guinea border, Indonesia–Papua New Guinea border and Micronesia–Papua New Guinea border ?
(Q16024884,P1001,c(Q1048835)) (Q3088775,P1001,c(Q1048835)) (Q17351811,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q16024884
relation P1001
type Q1048835
action filter_type
action find
entity Q3088775
relation P1001
type Q1048835
action filter_type
action find
entity Q17351811
relation P1001
type Q1048835
['Q16024884', 'P1001', {'concept': 'Q1048835'}] ['Q3088775', 'P1001', {'concept': 'Q1048835'}] ['Q17351811', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { resource:Q16024884 property:P1001 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q3088775 property:P1001 ?a . ?a rdf:type ontology:Q1048835 } }
Australia–Papua New Guinea border Indonesia–Papua New Guinea border Micronesia–Papua New Guinea border
action union
action filter_type
action find
entity Australia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Indonesia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Micronesia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
['Australia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Indonesia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Micronesia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Australia–Papua_New_Guinea_border property:applies_to_jurisdiction ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Indonesia–Papua_New_Guinea_border property:applies_to_jurisdiction ?a . ?a rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q408 Q691 Q691
SYSTEM
Australia for 1st, Papua New Guinea for 2nd, 3rd
Q408 Q691 Q691 Q691
(Q16024884,P1001,c(Q1048835)) (Q3088775,P1001,c(Q1048835)) (Q17351811,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q16024884
relation P1001
type Q1048835
action filter_type
action find
entity Q3088775
relation P1001
type Q1048835
action filter_type
action find
entity Q17351811
relation P1001
type Q1048835
[ANSWERS]
['Q16024884', 'P1001', {'concept': 'Q1048835'}] ['Q3088775', 'P1001', {'concept': 'Q1048835'}] ['Q17351811', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { resource:Q16024884 property:P1001 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q3088775 property:P1001 ?a . ?a rdf:type ontology:Q1048835 } }
Australia Papua New Guinea Papua New Guinea Papua New Guinea
Australia, Papua New Guinea and Papua New Guinea are judicially linked to Australia–Papua New Guinea border, Indonesia–Papua New Guinea border and Micronesia–Papua New Guinea border
Australia Papua New Guinea Papua New Guinea
action union
action filter_type
action find
entity Australia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Indonesia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Micronesia–Papua New Guinea border
relation applies to jurisdiction
type political territorial entity
['Australia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Indonesia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Micronesia–Papua New Guinea border', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Australia–Papua_New_Guinea_border property:applies_to_jurisdiction ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Indonesia–Papua_New_Guinea_border property:applies_to_jurisdiction ?a . ?a rdf:type ontology:political_territorial_entity } }
[]