Simple Question (Direct)
Simple Question
Q18215096
P27
Q15617994
USER
Which administrative territory is the native country of Jean-Paul Lebeuf ?
(Q18215096,P27,c(Q15617994))
action filter_type
action find
entity Q18215096
relation P27
type Q15617994
['Q18215096', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18215096 property:P27 ?t }
Jean-Paul Lebeuf
action filter_type
action find
entity Jean-Paul Lebeuf
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Paul Lebeuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Paul_Lebeuf property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q18215096,P27,c(Q15617994))
action filter_type
action find
entity Q18215096
relation P27
type Q15617994
Of [ANSWER] is the native country of Jean-Paul Lebeuf
['Q18215096', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18215096 property:P27 ?t }
France
Of France is the native country of Jean-Paul Lebeuf
France
action filter_type
action find
entity Jean-Paul Lebeuf
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Paul Lebeuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Paul_Lebeuf property:country_of_citizenship ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18215096
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q18215096
relation P106
type Q12737077
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18215096 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jean-Paul Lebeuf
action filter_type
action find
entity Jean-Paul Lebeuf
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Paul_Lebeuf property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3621491 Q1371378
SYSTEM
archaeologist, ethnologist
Q3621491 Q1371378
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q18215096
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18215096 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
archaeologist ethnologist
The professions of that person are archaeologist and ethnologist
archaeologist ethnologist
action filter_type
action find
entity Jean-Paul Lebeuf
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Paul_Lebeuf property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q3516658
USER
Which occupations are demonstrated in approximately 1 collectables or heraldic symbols ?
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q3516658 ) } . ?d rdf:type ?g } GROUP BY ?o } . FILTER ( ?l = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:heraldic_symbol ) } . ?d rdf:type ?g } GROUP BY ?o } . FILTER ( ?l = 1 ) }
[]
occupation collectable heraldic symbol
Q170779 Q1250916 Q11900058
SYSTEM
Kassandra, warrior, explorer
Q1250916 Q11900058 Q843281 Q170779
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[ANSWERS] are demonstrated in approximately 1 collectables or heraldic symbols
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q3516658 ) } . ?d rdf:type ?g } GROUP BY ?o } . FILTER ( ?l = 1 ) }
warrior explorer hobo Kassandra
Kassandra, warrior and explorer are demonstrated in approximately 1 collectables or heraldic symbols
Kassandra warrior explorer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:heraldic_symbol ) } . ?d rdf:type ?g } GROUP BY ?o } . FILTER ( ?l = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3516658 Q340169
USER
How many occupations are expressed in around 2 heraldic symbols or medias ?
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?k WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } } GROUP BY ?k } . FILTER ( ?n = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?k WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:media ) } } GROUP BY ?k } . FILTER ( ?n = 2 ) }
[]
occupation heraldic symbol media
SYSTEM
2
Q4991371 Q639669
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?k WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } } GROUP BY ?k } . FILTER ( ?n = 2 ) }
soldier musician
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?k WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:media ) } } GROUP BY ?k } . FILTER ( ?n = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170779
P674
Q223393
USER
Which literary genre has the character Kassandra ?
(c(Q223393),P674,Q170779)
action filter_type
action find_reverse
entity Q170779
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q170779']
SELECT DISTINCT ?y WHERE { ?y property:P674 resource:Q170779 . ?y rdf:type ontology:Q223393 }
Kassandra
action filter_type
action find_reverse
entity Kassandra
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Kassandra']
SELECT DISTINCT ?y WHERE { ?y property:characters resource:Kassandra . ?y rdf:type ontology:literary_genre }
[]
literary genre
Q8275
SYSTEM
Iliad
Q8275
(c(Q223393),P674,Q170779)
action filter_type
action find_reverse
entity Q170779
relation P674
type Q223393
[ANSWER] has the character Kassandra
[{'concept': 'Q223393'}, 'P674', 'Q170779']
SELECT DISTINCT ?y WHERE { ?y property:P674 resource:Q170779 . ?y rdf:type ontology:Q223393 }
Iliad
Iliad has the character Kassandra
Iliad
action filter_type
action find_reverse
entity Kassandra
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Kassandra']
SELECT DISTINCT ?y WHERE { ?y property:characters resource:Kassandra . ?y rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8275
P50
Q502895
USER
Who was the writer of that literary genre ?
(Q8275,P50,c(Q502895))
action filter_type
action find
entity Q8275
relation P50
type Q502895
['Q8275', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q8275 property:P50 ?n . ?n rdf:type ontology:Q502895 }
Iliad
action filter_type
action find
entity Iliad
relation author
type common name
['Iliad', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Iliad property:author ?n . ?n rdf:type ontology:common_name }
[]
common name
Q6691
SYSTEM
Homer
Q6691
(Q8275,P50,c(Q502895))
action filter_type
action find
entity Q8275
relation P50
type Q502895
The writer of that literary genre was the [ANSWER]
['Q8275', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q8275 property:P50 ?n . ?n rdf:type ontology:Q502895 }
Homer
The writer of that literary genre was the Homer
Homer
action filter_type
action find
entity Iliad
relation author
type common name
['Iliad', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Iliad property:author ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6691
P144
Q6619679
USER
Which fictional humanoid is derived from that person ?
(c(Q6619679),P144,Q6691)
action filter_type
action find_reverse
entity Q6691
relation P144
type Q6619679
[{'concept': 'Q6619679'}, 'P144', 'Q6691']
SELECT DISTINCT ?z WHERE { ?z property:P144 resource:Q6691 . ?z rdf:type ontology:Q6619679 }
Homer
action filter_type
action find_reverse
entity Homer
relation based on
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'based on', 'Homer']
SELECT DISTINCT ?z WHERE { ?z property:based_on resource:Homer . ?z rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q26702044
SYSTEM
Homer
Q26702044
(c(Q6619679),P144,Q6691)
action filter_type
action find_reverse
entity Q6691
relation P144
type Q6619679
[ANSWER] is derived from that person
[{'concept': 'Q6619679'}, 'P144', 'Q6691']
SELECT DISTINCT ?z WHERE { ?z property:P144 resource:Q6691 . ?z rdf:type ontology:Q6619679 }
Homer
Homer is derived from that person
Homer
action filter_type
action find_reverse
entity Homer
relation based on
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'based on', 'Homer']
SELECT DISTINCT ?z WHERE { ?z property:based_on resource:Homer . ?z rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q22988604 Q6619679 Q223393
USER
How many literary genres have the character atmost 19 mythological Greek characters or fictional humanoids ?
(c(Q223393),P674,c(Q22988604)|c(Q6619679))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q6619679
value 19
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?w WHERE { VALUES ( ?d ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?o rdf:type ?d } GROUP BY ?w } . FILTER ( ?v <= 19 ) }
action count
action atmost
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional humanoid
value 19
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?w WHERE { VALUES ( ?d ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?o rdf:type ?d } GROUP BY ?w } . FILTER ( ?v <= 19 ) }
[]
mythological Greek character fictional humanoid literary genre
SYSTEM
127
Q15090995 Q692374 Q1094049 Q240358 Q17631737 Q1477843 Q4010942 Q15091341 Q16653695 Q7739198 Q47504 Q764318 Q926746 Q1122722 Q15090981 Q15090984 Q978891 Q531676 Q40185 Q15091014 Q2090062 Q15091019 Q15091344 Q840339 Q1093839 Q27037201 Q15091290 Q831556 Q1094573 Q3986390 Q15091000 Q1032337 Q1747447 Q1753161 Q7718450 Q15091166 Q4395895 Q651424 Q1546812 Q15091168 Q1069560 Q15091284 Q765615 Q35160 Q1443582 Q15091287 Q2260098 Q15091280 Q11716256 Q15091066 Q734095 Q11841 Q3828461 Q15091329 Q15091070 Q15091073 Q60220 Q15091325 Q1094143 Q3795335 Q392849 Q3226514 Q1093607 Q5984367 Q266395 Q15090953 Q857836 Q11831 Q15091102 Q2891432 Q4134557 Q1093690 Q1061779 Q13390016 Q383811 Q15091334 Q2703893 Q378168 Q7540460 Q6189671 Q15091297 Q1093614 Q5984390 Q9362463 Q3792660 Q15091119 Q15091115 Q1141815 Q15091005 Q15091304 Q15091301 Q4369850 Q15091125 Q1093970 Q2264590 Q17304994 Q15091122 Q16651073 Q3223440 Q15074331 Q16654047 Q18600581 Q15091129 Q2891519 Q15091314 Q1029999 Q4378273 Q1329003 Q781898 Q2537008 Q4439291 Q6367266 Q15090967 Q650791 Q1088946 Q16651670 Q15091137 Q5984401 Q1429923 Q9192501 Q977202 Q2512207 Q2891569 Q5003827 Q2891564 Q30604 Q2966018
(c(Q223393),P674,c(Q22988604)|c(Q6619679))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q6619679
value 19
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?w WHERE { VALUES ( ?d ) { ( ontology:Q22988604 ) ( ontology:Q6619679 ) } . ?o rdf:type ?d } GROUP BY ?w } . FILTER ( ?v <= 19 ) }
Counterfeit for Murder Galley Slave The Invader of Fort Duckburg Batman: The Killing Joke The Herb of Death The Adventures of Alix Travels of Anacharsis the younger in Greece Invitation to Murder The Double Clue The Heart of a Monkey The Tale of Igor's Campaign Two Gallants The Terror of the Transvaal All Star Batman and Robin the Boy Wonder Cordially Invited to Meet Death Omit Flowers A Dame to Kill For Queen of the Black Coast The Divine Comedy Immune to Murder Beyond the Black River Man Alive Kill Now—Pay Later Rich man and Lazarus The New Laird of Castle McDuck Aliens: Field Report Bullet for One Mirror Image The Empire-Builder from Calisota The Complete Peanuts Death of a Demon The Big Fat Kill The Scarlet Citadel Black Colossus The Black Stranger Door to Death A Witch Shall be Born The Buckaroo of the Badlands Hyndluljóð Die Like a Dog The Frost-Giant's Daughter This Won't Kill You The Pool of the Black One the Odyssey Batman versus Predator Not Quite Dead Enough The Cowboy Captain of the Cutty Sark The Next Witness Come va il vostro giardino? Disguise for Murder Res Gestae Divi Augusti Cinderella Wings in the Night Easter Parade Blood Will Tell Instead of Evidence Aeneid Murder Is No Joke The Last of the Clan McDuck The Problem of Cell 13 A Perfect Day for Bananafish Le Roi Candaule The Richest Duck in the World Poison à la Carte Batman: A Death in the Family The Cop-Killer Star Wars Snow White Christmas Party Batman: Ego Red Nails Dreamtime Duck of the Never-Never The Tower of the Elephant Murder Is Corny Batman: Year One Booby Trap Raider of the Copper Hill The Prisoner of White Agony Creek Slight Rebellion off Madison Jewels of Gwahlur Black Orchids The Billionaire of Dismal Downs Method Three for Murder Triangle at Rhodes The God in the Bowl Too Many Detectives The Gun with Wings The Call of Cthulhu Bitter End Before I Die Fourth of July Picnic Xuthal of the Dusk The Squirt and the Monkey King of the Klondike Di Nü Hua Pygmalion and Galatea Help Wanted, Male The Plymouth Express Wasps' Nest A Window for Death The Mystery of the Spanish Chest Day One, Tale One of the Decameron Home to Roost The Joker: Devil's Advocate When a Man Murders The Master of the Mississippi The Man-Eaters of Zamboula Legend of the White Snake Os Lusíadas Logicomix The Devil in Iron The Blue Cross Eeny Meeny Murder Mo The People of the Black Circle Rogues in the House The Chocolate Box The Zero Clue The Rodeo Murder Grímnismál Iron Shadows in the Moon The Hard Goodbye The Phoenix on the Sword Batman and the Mad Monk By This Axe I Rule! Alternative versions of Captain America#Elseworlds Tomb of the Lion The Adventure of the Christmas Pudding
127
action count
action atmost
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional humanoid
value 19
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?w WHERE { VALUES ( ?d ) { ( ontology:mythological_Greek_character ) ( ontology:fictional_humanoid ) } . ?o rdf:type ?d } GROUP BY ?w } . FILTER ( ?v <= 19 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q1307214 Q12737077
USER
How many occupations are appointed by atleast 1 legislatures or forms of government ?
(c(Q12737077),P748,c(Q11204)|c(Q1307214))
action count
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { { ?y property:P748 ?v . ?y rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q11204 } UNION { ?y rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 . ?y property:P748 ?v } } GROUP BY ?y } . FILTER ( ?q >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { { ?y property:appointed_by ?v . ?y rdf:type ontology:occupation . ?v rdf:type ontology:legislature } UNION { ?y rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government . ?y property:appointed_by ?v } } GROUP BY ?y } . FILTER ( ?q >= 1 ) }
[]
legislature form of government occupation
SYSTEM
20
Q11793630 Q1355456 Q1507619 Q910308 Q1753754 Q943379 Q655407 Q596123 Q583809 Q1043568 Q2962001 Q866680 Q26000995 Q213107 Q4122271 Q162754 Q217217 Q1281611 Q1752225 Q687908
(c(Q12737077),P748,c(Q11204)|c(Q1307214))
action count
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { { ?y property:P748 ?v . ?y rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q11204 } UNION { ?y rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 . ?y property:P748 ?v } } GROUP BY ?y } . FILTER ( ?q >= 1 ) }
governor of national banks of Serbia and Yugoslavia Lord Chamberlain Deputy Prime Minister of the United Kingdom Lord Privy Seal Master of the Rolls Lord President of the Council President of the People's Republic of China president of Bangladesh Solicitor General for England and Wales Prime Minister of Vietnam Chief of the Defence Staff President of Vietnam President of the Parliament of Catalonia Prime Minister of Belgium Premier of the People's Republic of China Chancellor of the Duchy of Lancaster Lord Chancellor Lieutenant Governor of Jersey Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
20
action count
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?q ) WHERE { { ?y property:appointed_by ?v . ?y rdf:type ontology:occupation . ?v rdf:type ontology:legislature } UNION { ?y rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government . ?y property:appointed_by ?v } } GROUP BY ?y } . FILTER ( ?q >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8275
P1441
Q15619164
USER
Which abstract beings are featured in Iliad ?
(c(Q15619164),P1441,Q8275)
action filter_type
action find_reverse
entity Q8275
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q8275']
SELECT DISTINCT ?a WHERE { ?a property:P1441 resource:Q8275 . ?a rdf:type ontology:Q15619164 }
Iliad
action filter_type
action find_reverse
entity Iliad
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Iliad']
SELECT DISTINCT ?a WHERE { ?a property:present_in_work resource:Iliad . ?a rdf:type ontology:abstract_being }
[]
abstract being
Q3854705 Q3726840 Q3622225
SYSTEM
Menon, Epicles of Troy, Areto
Q3854705 Q3726840 Q3622225
(c(Q15619164),P1441,Q8275)
action filter_type
action find_reverse
entity Q8275
relation P1441
type Q15619164
[ANSWERS] are featured in Iliad
[{'concept': 'Q15619164'}, 'P1441', 'Q8275']
SELECT DISTINCT ?a WHERE { ?a property:P1441 resource:Q8275 . ?a rdf:type ontology:Q15619164 }
Menon Epicles of Troy Areto
Menon, Epicles of Troy and Areto are featured in Iliad
Menon Epicles of Troy Areto
action filter_type
action find_reverse
entity Iliad
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Iliad']
SELECT DISTINCT ?a WHERE { ?a property:present_in_work resource:Iliad . ?a rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8275
P136
Q234460
USER
Which text can be considered as genre of Iliad ?
(Q8275,P136,c(Q234460))
action filter_type
action find
entity Q8275
relation P136
type Q234460
['Q8275', 'P136', {'concept': 'Q234460'}]
SELECT DISTINCT ?h WHERE { resource:Q8275 property:P136 ?h . ?h rdf:type ontology:Q234460 }
Iliad
action filter_type
action find
entity Iliad
relation genre
type text
['Iliad', 'genre', {'concept': 'text'}]
SELECT DISTINCT ?h WHERE { resource:Iliad property:genre ?h . ?h rdf:type ontology:text }
[]
text
Q5185279
SYSTEM
poem
Q5185279
(Q8275,P136,c(Q234460))
action filter_type
action find
entity Q8275
relation P136
type Q234460
The [ANSWER] can be considered as genre of Iliad
['Q8275', 'P136', {'concept': 'Q234460'}]
SELECT DISTINCT ?h WHERE { resource:Q8275 property:P136 ?h . ?h rdf:type ontology:Q234460 }
poem
The poem can be considered as genre of Iliad
poem
action filter_type
action find
entity Iliad
relation genre
type text
['Iliad', 'genre', {'concept': 'text'}]
SELECT DISTINCT ?h WHERE { resource:Iliad property:genre ?h . ?h rdf:type ontology:text }
[]