Simple Question (Direct)
Simple Question
Q5245289
P364
Q34770
USER
Which language was used originally for the creation of Dead Man's Shoes ?
(Q5245289,P364,c(Q34770))
action filter_type
action find
entity Q5245289
relation P364
type Q34770
['Q5245289', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q5245289 property:P364 ?g . ?g rdf:type ontology:Q34770 }
Dead Man's Shoes
action filter_type
action find
entity Dead Man's Shoes
relation original language of work
type language
["Dead Man's Shoes", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Dead_Man's_Shoes property:original_language_of_work ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5245289,P364,c(Q34770))
action filter_type
action find
entity Q5245289
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Dead Man's Shoes
['Q5245289', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q5245289 property:P364 ?g . ?g rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Dead Man's Shoes
English
action filter_type
action find
entity Dead Man's Shoes
relation original language of work
type language
["Dead Man's Shoes", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Dead_Man's_Shoes property:original_language_of_work ?g . ?g rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5245289
P136
Q1792379
USER
What can be considered as category for Dead Man's Shoes ?
(Q5245289,P136,c(Q1792379))
action filter_type
action find
entity Q5245289
relation P136
type Q1792379
['Q5245289', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q5245289 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
Dead Man's Shoes
action filter_type
action find
entity Dead Man's Shoes
relation genre
type art genre
["Dead Man's Shoes", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Dead_Man's_Shoes property:genre ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q5245289,P136,c(Q1792379))
action filter_type
action find
entity Q5245289
relation P136
type Q1792379
The [ANSWER] can be considered as category for Dead Man's Shoes
['Q5245289', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q5245289 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for Dead Man's Shoes
drama film
action filter_type
action find
entity Dead Man's Shoes
relation genre
type art genre
["Dead Man's Shoes", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Dead_Man's_Shoes property:genre ?r . ?r rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P725
Q11424
USER
Which film did English do the dubbing for ?
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?y WHERE { ?y property:P725 resource:Q1860 . ?y rdf:type ontology:Q11424 }
English
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?y WHERE { ?y property:voice_actor resource:English . ?y rdf:type ontology:film }
[]
film
Q9019373
SYSTEM
The Legend of the North Wind
Q9019373
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
English did the dubbing to [ANSWER]
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?y WHERE { ?y property:P725 resource:Q1860 . ?y rdf:type ontology:Q11424 }
The Legend of the North Wind
English did the dubbing to The Legend of the North Wind
The Legend of the North Wind
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?y WHERE { ?y property:voice_actor resource:English . ?y rdf:type ontology:film }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P123
Q341
USER
Which free software produced that language ?
(c(Q341),P123,Q9019373)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q341
[{'concept': 'Q341'}, 'P123', 'Q9019373']
SELECT DISTINCT ?y WHERE { ?y property:P123 resource:Q1860 . ?y rdf:type ontology:Q341 }
English
action filter_type
action find_reverse
entity English
relation publisher
type free software
[{'concept': 'free software'}, 'publisher', 'The Legend of the North Wind']
SELECT DISTINCT ?y WHERE { ?y property:publisher resource:English . ?y rdf:type ontology:free_software }
[]
free software
Q306348
SYSTEM
Narcissu
Q306348
(c(Q341),P123,Q9019373)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q341
[ANSWER] produced that language
[{'concept': 'Q341'}, 'P123', 'Q9019373']
SELECT DISTINCT ?y WHERE { ?y property:P123 resource:Q1860 . ?y rdf:type ontology:Q341 }
Narcissu
Narcissu produced that language
Narcissu
action filter_type
action find_reverse
entity English
relation publisher
type free software
[{'concept': 'free software'}, 'publisher', 'The Legend of the North Wind']
SELECT DISTINCT ?y WHERE { ?y property:publisher resource:English . ?y rdf:type ontology:free_software }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q306348 Q338229 Q388
P400
Q676202
USER
Was that free software developed to run on BS2000 and Linux ?
(Q306348,P400,Q338229) (Q306348,P400,Q388)
action is_in
entity Q306348
action intersection
action find_reverse
entity Q338229
relation P400
action find_reverse
entity Q388
relation P400
['Q306348', 'P400', 'Q338229'] ['Q306348', 'P400', 'Q388']
ASK WHERE { resource:Q306348 property:P400 resource:Q338229 . resource:Q306348 property:P400 resource:Q388 }
Narcissu BS2000 Linux
action is_in
entity Narcissu
action intersection
action find_reverse
entity BS2000
relation platform
action find_reverse
entity Linux
relation platform
['Narcissu', 'platform', 'BS2000'] ['Narcissu', 'platform', 'Linux']
ASK WHERE { resource:Narcissu property:platform resource:BS2000 . resource:Narcissu property:platform resource:Linux }
[]
system software
SYSTEM
NO and YES respectively
(Q306348,P400,Q338229) (Q306348,P400,Q388)
action is_in
entity Q306348
action intersection
action find_reverse
entity Q338229
relation P400
action find_reverse
entity Q388
relation P400
[ANSWER]
['Q306348', 'P400', 'Q338229'] ['Q306348', 'P400', 'Q388']
ASK WHERE { resource:Q306348 property:P400 resource:Q338229 . resource:Q306348 property:P400 resource:Q388 }
NO and YES respectively
action is_in
entity Narcissu
action intersection
action find_reverse
entity BS2000
relation platform
action find_reverse
entity Linux
relation platform
['Narcissu', 'platform', 'BS2000'] ['Narcissu', 'platform', 'Linux']
ASK WHERE { resource:Narcissu property:platform resource:BS2000 . resource:Narcissu property:platform resource:Linux }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q306348
P479
Q1183543
USER
What was the means of input for that free software ?
action filter_type
action find
entity Q306348
relation P479
type Q1183543
SELECT DISTINCT ?k WHERE { resource:Q306348 property:P479 ?k . ?k rdf:type ontology:Q1183543 }
Narcissu
action filter_type
action find
entity Narcissu
relation input device
type device
SELECT DISTINCT ?k WHERE { resource:Narcissu property:input_device ?k . ?k rdf:type ontology:device }
[]
device
Q250
SYSTEM
computer keyboard
Q250
action filter_type
action find
entity Q306348
relation P479
type Q1183543
The means of input for that free software was the [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q306348 property:P479 ?k . ?k rdf:type ontology:Q1183543 }
computer keyboard
The means of input for that free software was the computer keyboard
computer keyboard
action filter_type
action find
entity Narcissu
relation input device
type device
SELECT DISTINCT ?k WHERE { resource:Narcissu property:input_device ?k . ?k rdf:type ontology:device }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q250 Q11784306
P479
Q166142
USER
Does Mobile Forces used that one as input device ?
(Q11784306,P479,Q250)
action is_in
entity Q250
action find
entity Q11784306
relation P479
['Q11784306', 'P479', 'Q250']
ASK WHERE { resource:Q11784306 property:P479 resource:Q250 }
computer keyboard Mobile Forces
action is_in
entity computer keyboard
action find
entity Mobile Forces
relation input device
['Mobile Forces', 'input device', 'computer keyboard']
ASK WHERE { resource:Mobile_Forces property:input_device resource:computer_keyboard }
[]
application
SYSTEM
YES
(Q11784306,P479,Q250)
action is_in
entity Q250
action find
entity Q11784306
relation P479
[ANSWER]
['Q11784306', 'P479', 'Q250']
ASK WHERE { resource:Q11784306 property:P479 resource:Q250 }
Yes
action is_in
entity computer keyboard
action find
entity Mobile Forces
relation input device
['Mobile Forces', 'input device', 'computer keyboard']
ASK WHERE { resource:Mobile_Forces property:input_device resource:computer_keyboard }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P189
Q271669 Q811979 Q838948
USER
Which works of art were found at min number of landforms and architectural structures ?
(c(Q838948),P189,c(Q271669)|c(Q811979))
action argmin
action union
action find_tuple_counts
relation P189
type Q838948
type Q271669
action find_tuple_counts
relation P189
type Q838948
type Q811979
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q271669'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q811979 ) ( ontology:Q271669 ) } . ?r rdf:type ?v } GROUP BY ?h } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q271669 ) ( ontology:Q811979 ) } } GROUP BY ?i } }
action argmin
action union
action find_tuple_counts
relation location of discovery
type work of art
type landform
action find_tuple_counts
relation location of discovery
type work of art
type architectural structure
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'landform'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:architectural_structure ) ( ontology:landform ) } . ?r rdf:type ?v } GROUP BY ?h } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:landform ) ( ontology:architectural_structure ) } } GROUP BY ?i } }
[]
landform architectural structure work of art
Q2584518 Q4945054 Q18668605
SYSTEM
Diana of Versailles, Sleeping Hermaphrodite, Jupiter of Smyrna
Q15943251 Q3972841 Q15726561 Q18668605 Q216402 Q2858457 Q9428681 Q681067 Q2543426 Q5483226 Q1737844 Q2148525 Q13033442 Q18668045 Q3501413 Q12397781 Q1095794 Q2233466 Q580263 Q2944327 Q3924860 Q1553211 Q1127555 Q377296 Q1137682 Q2635402 Q849063 Q2584518 Q7604487 Q3361505 Q116580 Q20669412 Q5168696 Q15693822 Q24286014 Q131397 Q16331487 Q11863760 Q3516172 Q4891271 Q15284134 Q185392 Q552113 Q3026255 Q4680067 Q848790 Q582172 Q5194510 Q2002838 Q24169384 Q724710 Q19280256 Q3564172 Q1789503 Q5315707 Q667124 Q16332506 Q17449805 Q1606977 Q691284 Q131141 Q510876 Q21485077 Q1817134 Q4945054 Q20200021 Q1624331 Q4918377 Q18575238 Q16864946 Q7194968 Q810944 Q702658 Q23760769 Q3589109 Q1248136 Q1394918 Q5797725 Q18667809 Q3918311
(c(Q838948),P189,c(Q271669)|c(Q811979))
action argmin
action union
action find_tuple_counts
relation P189
type Q838948
type Q271669
action find_tuple_counts
relation P189
type Q838948
type Q811979
Diana of Versailles, sleeping Hermaphrodite and Jupiter of Smyrna were found at min number of landforms and architectural structures
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q271669'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q811979 ) ( ontology:Q271669 ) } . ?r rdf:type ?v } GROUP BY ?h } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q271669 ) ( ontology:Q811979 ) } } GROUP BY ?i } }
Dancing Faun Raimondi Stela Worshipper of Larsa Jupiter of Smyrna Winged Victory of Samothrace Chatsworth Head The Exaltation of the Flower Lady of Elche Dancing Satyr of Mazara del Vallo Fragment from the tomb of Nikarete Phallus of Schelklingen Ribchester Helmet Škloŭ Idol The Old Fisherman Baal with Thunderbolt stele with the code of Hammurabi Idolino Seated Woman of Çatalhöyük Situla of the Pania Centaur of Vulci Pseudo-Seneca Guennol Lioness Westray Wife Venus of Petřkovice Trundholm sun chariot Biche of Balazote Venus of Brassempouy Diana of Versailles Statue of Iddi-Ilum Athena of Velletri Swimming Reindeer Jupiter Heliopolitanus Copper Bull Satala Aphrodite Sit-shamshi Venus of Willendorf Thera Kouros Elk's Head of Huittinen Bull of Osuna Berenice Venus Lion of Knidos Borghese Gladiator Venus of Dolní Věstonice Diana of Gabii Adam of Govrlevo Dying Gaul Nefertiti Bust Cupid and Psyche (Roman sculpture) Esquiline Venus Vénus impudique Venus of Savignano Bust of a male, bearded orant, found in the temple of Ishtar at Mari Townley Venus Kritios Boy Dunstable Swan Jewel Augustus of Prima Porta Ploughman Antinous-Osiris The Orator Venus of Langenzersdorf Younger Memnon Venus of Lespugue Portrait of Alexander the Great Giants of Monte Prama Sleeping Hermaphrodite Mistress of Lions Hera of Samos Bison Licking Insect Bite Artemis Doryphoros from Pompeii Pincum relief Battersea Shield Lion man of the Hohlenstein Stadel Disk of Enheduanna The Youth of Agde Antinous Mondragone Pillar of the Boatmen The Mask of Warka Sauroctonos Borghese Capitoline Antinous
Diana of Versailles, sleeping Hermaphrodite and Jupiter of Smyrna were found at min number of landforms and architectural structures
Diana of Versailles Sleeping Hermaphrodite Jupiter of Smyrna
action argmin
action union
action find_tuple_counts
relation location of discovery
type work of art
type landform
action find_tuple_counts
relation location of discovery
type work of art
type architectural structure
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'landform'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:architectural_structure ) ( ontology:landform ) } . ?r rdf:type ?v } GROUP BY ?h } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:landform ) ( ontology:architectural_structure ) } } GROUP BY ?i } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P287
Q502895 Q43229 Q1183543
USER
Which devices were atmost 2 people or organizations the designer of ?
(c(Q1183543),P287,c(Q502895)|c(Q43229))
action atmost
action union
action find_tuple_counts
relation P287
type Q1183543
type Q502895
action find_tuple_counts
relation P287
type Q1183543
type Q43229
value 2
[{'concept': 'Q1183543'}, 'P287', [{'concept': 'Q502895'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?z } . FILTER ( ?e <= 2 ) }
action atmost
action union
action find_tuple_counts
relation designer
type device
type common name
action find_tuple_counts
relation designer
type device
type organization
value 2
[{'concept': 'device'}, 'designer', [{'concept': 'common name'}, {'concept': 'organization'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?z } . FILTER ( ?e <= 2 ) }
[]
common name organization device
Q507026 Q2813838 Q1502537
SYSTEM
Space Mountain: Mission 2, 20,000 Leagues Under the Sea: Submarine Voyage, Lisebergbanan
Q507026 Q7767240 Q5388221 Q245476 Q546991 Q329003 Q2813838 Q951739 Q3150108 Q2126693 Q1502537 Q3186999 Q2306317 Q2200466 Q26036866 Q874877 Q2744001 Q7439609
(c(Q1183543),P287,c(Q502895)|c(Q43229))
action atmost
action union
action find_tuple_counts
relation P287
type Q1183543
type Q502895
action find_tuple_counts
relation P287
type Q1183543
type Q43229
value 2
S [ANSWERS] were atmost 2 people or organizations the designer of
[{'concept': 'Q1183543'}, 'P287', [{'concept': 'Q502895'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?z } . FILTER ( ?e <= 2 ) }
Space Mountain: Mission 2 The Sum Of All Thrills Ericsson DBH 1001 telephone .25 ACP Kanonen Thunderbolt 20,000 Leagues Under the Sea: Submarine Voyage Insane Indiana Jones Adventure: Temple of the Forbidden Eye The People of Laaf Lisebergbanan Journey to the Center of the Earth Space Mountain Pagoda Guardians of the Galaxy – Mission: Breakout! Eurosat The Magic Carpets of Aladdin Scuttle's Scooters
S Space Mountain: Mission 2, 20,000 Leagues Under the Sea: Submarine Voyage and Lisebergbanan were atmost 2 people or organizations the designer of
Space Mountain: Mission 2 20,000 Leagues Under the Sea: Submarine Voyage Lisebergbanan
action atmost
action union
action find_tuple_counts
relation designer
type device
type common name
action find_tuple_counts
relation designer
type device
type organization
value 2
[{'concept': 'device'}, 'designer', [{'concept': 'common name'}, {'concept': 'organization'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?z } . FILTER ( ?e <= 2 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P127
Q1269299
USER
How many business organizations are the owners of that device ?
(Q2813838,P127,c(Q1269299))
['Q2813838', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2813838 property:P127 ?z . ?z rdf:type ontology:Q1269299 }
['20,000 Leagues Under the Sea: Submarine Voyage', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:20,000_Leagues_Under_the_Sea:_Submarine_Voyage property:owned_by ?z . ?z rdf:type ontology:type_of_business_entity }
[]
type of business entity
Quantitative|Count|Single entity type|Clarification
Q1502537
SYSTEM
Did you mean Lisebergbanan ?
(Q507026,P127,c(Q1269299)) (Q2813838,P127,c(Q1269299)) (Q1502537,P127,c(Q1269299))
[ANSWER]
['Q507026', 'P127', {'concept': 'Q1269299'}] ['Q2813838', 'P127', {'concept': 'Q1269299'}] ['Q1502537', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2813838 property:P127 ?z . ?z rdf:type ontology:Q1269299 }
Did you mean Lisebergbanan ?
Lisebergbanan
['Space Mountain: Mission 2', 'owned by', {'concept': 'type of business entity'}] ['20,000 Leagues Under the Sea: Submarine Voyage', 'owned by', {'concept': 'type of business entity'}] ['Lisebergbanan', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:20,000_Leagues_Under_the_Sea:_Submarine_Voyage property:owned_by ?z . ?z rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant 20,000 Leagues Under the Sea: Submarine Voyage. Could you tell me the answer for that?
(Q2813838,P127,c(Q1269299))
Q2813838
['Q2813838', 'P127', {'concept': 'Q1269299'}]
['20,000 Leagues Under the Sea: Submarine Voyage', 'owned by', {'concept': 'type of business entity'}]
[]
SYSTEM
1
Q7414
(Q2813838,P127,c(Q1269299))
[ANSWER]
['Q2813838', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2813838 property:P127 ?z . ?z rdf:type ontology:Q1269299 }
The Walt Disney Company
1
['20,000 Leagues Under the Sea: Submarine Voyage', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:20,000_Leagues_Under_the_Sea:_Submarine_Voyage property:owned_by ?z . ?z rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q1792379 Q502895 Q2088357
USER
Which art genres are the genre for approximately 235 people or musical ensembles ?
(c(Q502895)|c(Q2088357),P136,c(Q1792379))
action approx
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2088357
value 235
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P136 ?j . ?e rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q1792379 } } GROUP BY ?j } . FILTER ( ?d = 235 ) }
action approx
action union
action find_reverse_tuple_counts
relation genre
type art genre
type common name
action find_reverse_tuple_counts
relation genre
type art genre
type musical ensemble
value 235
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:genre ?j . ?j rdf:type ontology:art_genre . ?e rdf:type ontology:common_name } UNION { ?e property:genre ?j . ?e rdf:type ontology:musical_ensemble . ?j rdf:type ontology:art_genre } } GROUP BY ?j } . FILTER ( ?d = 235 ) }
[]
art genre common name musical ensemble
Q214127 Q1400853 Q158607
SYSTEM
genre painting, portrait painting, marine art
Q214127 Q5967378 Q158607 Q208505 Q1004 Q186424 Q1400853 Q35760
(c(Q502895)|c(Q2088357),P136,c(Q1792379))
action approx
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2088357
value 235
[ANSWERS] are the genre for approximately 235 people or musical ensembles
[[{'concept': 'Q502895'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?e rdf:type ontology:Q502895 } UNION { ?e property:P136 ?j . ?e rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q1792379 } } GROUP BY ?j } . FILTER ( ?d = 235 ) }
genre painting speculative fiction marine art crime novel comic detective fiction portrait painting essay
Genre painting, portrait painting and marine art are the genre for approximately 235 people or musical ensembles
genre painting portrait painting marine art
action approx
action union
action find_reverse_tuple_counts
relation genre
type art genre
type common name
action find_reverse_tuple_counts
relation genre
type art genre
type musical ensemble
value 235
[[{'concept': 'common name'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e property:genre ?j . ?j rdf:type ontology:art_genre . ?e rdf:type ontology:common_name } UNION { ?e property:genre ?j . ?e rdf:type ontology:musical_ensemble . ?j rdf:type ontology:art_genre } } GROUP BY ?j } . FILTER ( ?d = 235 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1028
Q502895 Q1792379
USER
Which people gives max number of art genres in charity ?
(c(Q1792379),P1028,Q4924916)
action argmax
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
[{'concept': 'Q1792379'}, 'P1028', 'Q4924916']
SELECT DISTINCT ?l WHERE { FILTER ( ?d = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1028 ?l . ?v rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P1028 ?y . ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1792379 } GROUP BY ?y } } }
action argmax
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
[{'concept': 'art genre'}, 'donated by', 'Blanchette Ferry Rockefeller']
SELECT DISTINCT ?l WHERE { FILTER ( ?d = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:donated_by ?l . ?v rdf:type ontology:art_genre . ?l rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:donated_by ?y . ?y rdf:type ontology:common_name . ?p rdf:type ontology:art_genre } GROUP BY ?y } } }
[]
common name art genre
Q4770723
SYSTEM
A. Conger Goodyear
Q4770723
(c(Q1792379),P1028,Q4924916)
action argmax
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
[ANSWER] gives max number of art genres in charity
[{'concept': 'Q1792379'}, 'P1028', 'Q4924916']
SELECT DISTINCT ?l WHERE { FILTER ( ?d = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1028 ?l . ?v rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P1028 ?y . ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1792379 } GROUP BY ?y } } }
A. Conger Goodyear
A. Conger Goodyear gives max number of art genres in charity
A. Conger Goodyear
action argmax
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
[{'concept': 'art genre'}, 'donated by', 'Blanchette Ferry Rockefeller']
SELECT DISTINCT ?l WHERE { FILTER ( ?d = ?m ) . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:donated_by ?l . ?v rdf:type ontology:art_genre . ?l rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:donated_by ?y . ?y rdf:type ontology:common_name . ?p rdf:type ontology:art_genre } GROUP BY ?y } } }
[]