Simple Question (Direct)
Simple Question
Q296641
P106
Q12737077
USER
What is the job of Paul Hogan ?
(Q296641,P106,c(Q12737077))
action filter_type
action find
entity Q296641
relation P106
type Q12737077
['Q296641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q296641 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Paul Hogan
action filter_type
action find
entity Paul Hogan
relation occupation
type occupation
['Paul Hogan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Paul_Hogan property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q296641,P106,c(Q12737077))
action filter_type
action find
entity Q296641
relation P106
type Q12737077
The job of Paul Hogan is an [ANSWER]
['Q296641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q296641 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
actor
The job of Paul Hogan is an actor
actor
action filter_type
action find
entity Paul Hogan
relation occupation
type occupation
['Paul Hogan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Paul_Hogan property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q296641
P58
Q838948
USER
Which works of art are Paul Hogan a screenwriter of ?
(c(Q838948),P58,Q296641)
action filter_type
action find_reverse
entity Q296641
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q296641']
SELECT DISTINCT ?n WHERE { ?n property:P58 resource:Q296641 . ?n rdf:type ontology:Q838948 }
Paul Hogan
action filter_type
action find_reverse
entity Paul Hogan
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Paul Hogan']
SELECT DISTINCT ?n WHERE { ?n property:screenwriter resource:Paul_Hogan . ?n rdf:type ontology:work_of_art }
[]
work of art
Q615254 Q1140745 Q1140744
SYSTEM
"Crocodile" Dundee, "Crocodile" Dundee II, Crocodile Dundee in Los Angeles
Q288628 Q615254 Q1511623 Q1140744 Q1140745
(c(Q838948),P58,Q296641)
action filter_type
action find_reverse
entity Q296641
relation P58
type Q838948
[ANSWERS] are Paul Hogan a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q296641']
SELECT DISTINCT ?n WHERE { ?n property:P58 resource:Q296641 . ?n rdf:type ontology:Q838948 }
Almost an Angel "Crocodile" Dundee Lightning Jack Crocodile Dundee in Los Angeles "Crocodile" Dundee II
"Crocodile" Dundee, "Crocodile" Dundee II and Crocodile Dundee in Los Angeles are Paul Hogan a screenwriter of
"Crocodile" Dundee "Crocodile" Dundee II Crocodile Dundee in Los Angeles
action filter_type
action find_reverse
entity Paul Hogan
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Paul Hogan']
SELECT DISTINCT ?n WHERE { ?n property:screenwriter resource:Paul_Hogan . ?n rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1140744
P162
Q502895
USER
Which person is the produced of that work of art ?
(Q1140744,P162,c(Q502895))
action filter_type
action find
entity Q1140744
relation P162
type Q502895
['Q1140744', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1140744 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Crocodile Dundee in Los Angeles
action filter_type
action find
entity Crocodile Dundee in Los Angeles
relation producer
type common name
['Crocodile Dundee in Los Angeles', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Crocodile_Dundee_in_Los_Angeles property:producer ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1140745
SYSTEM
Did you mean "Crocodile" Dundee II ?
Q615254 Q1140745 Q1140744
(Q615254,P162,c(Q502895)) (Q1140745,P162,c(Q502895)) (Q1140744,P162,c(Q502895))
[ANSWER]
['Q615254', 'P162', {'concept': 'Q502895'}] ['Q1140745', 'P162', {'concept': 'Q502895'}] ['Q1140744', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1140744 property:P162 ?x . ?x rdf:type ontology:Q502895 }
"Crocodile" Dundee "Crocodile" Dundee II Crocodile Dundee in Los Angeles
Did you mean "Crocodile" Dundee II ?
"Crocodile" Dundee II
['"Crocodile" Dundee', 'producer', {'concept': 'common name'}] ['"Crocodile" Dundee II', 'producer', {'concept': 'common name'}] ['Crocodile Dundee in Los Angeles', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Crocodile_Dundee_in_Los_Angeles property:producer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Crocodile Dundee in Los Angeles. Could you tell me the answer for that?
(Q1140744,P162,c(Q502895))
Q1140744
['Q1140744', 'P162', {'concept': 'Q502895'}]
['Crocodile Dundee in Los Angeles', 'producer', {'concept': 'common name'}]
[]
Q296641
SYSTEM
Paul Hogan
Q296641
(Q1140744,P162,c(Q502895))
action filter_type
action find
entity Q1140744
relation P162
type Q502895
Was [ANSWER] is the produced of that work of art
['Q1140744', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1140744 property:P162 ?x . ?x rdf:type ontology:Q502895 }
Paul Hogan
Was Paul Hogan is the produced of that work of art
Paul Hogan
action filter_type
action find
entity Crocodile Dundee in Los Angeles
relation producer
type common name
['Crocodile Dundee in Los Angeles', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Crocodile_Dundee_in_Los_Angeles property:producer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1140744
P364
Q34770
USER
Which language was used originally for the creation of Crocodile Dundee in Los Angeles ?
(Q1140744,P364,c(Q34770))
action filter_type
action find
entity Q1140744
relation P364
type Q34770
['Q1140744', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q1140744 property:P364 ?p }
Crocodile Dundee in Los Angeles
action filter_type
action find
entity Crocodile Dundee in Los Angeles
relation original language of work
type language
['Crocodile Dundee in Los Angeles', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Crocodile_Dundee_in_Los_Angeles property:original_language_of_work ?p }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1140744,P364,c(Q34770))
action filter_type
action find
entity Q1140744
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Crocodile Dundee in Los Angeles
['Q1140744', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q1140744 property:P364 ?p }
English
In English was used originally for the creation of Crocodile Dundee in Los Angeles
English
action filter_type
action find
entity Crocodile Dundee in Los Angeles
relation original language of work
type language
['Crocodile Dundee in Los Angeles', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Crocodile_Dundee_in_Los_Angeles property:original_language_of_work ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27316650
Q34770
USER
And what about Trehalose is a chemical attractant in the establishment of coral symbiosis?
(Q27316650,P364,c(Q34770))
action filter_type
action find
entity Q27316650
relation P364
type Q34770
['Q27316650', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q27316650 property:P364 ?q . ?q rdf:type ontology:Q34770 }
Trehalose is a chemical attractant in the establishment of coral symbiosis
action filter_type
action find
entity Trehalose is a chemical attractant in the establishment of coral symbiosis
relation original language of work
type language
['Trehalose is a chemical attractant in the establishment of coral symbiosis', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Trehalose_is_a_chemical_attractant_in_the_establishment_of_coral_symbiosis property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q27316650,P364,c(Q34770))
action filter_type
action find
entity Q27316650
relation P364
type Q34770
Chemical in the establishment of coral symbiosis And a new [ANSWER] attractant
['Q27316650', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q27316650 property:P364 ?q . ?q rdf:type ontology:Q34770 }
English
Chemical in the establishment of coral symbiosis And a new English attractant
English
action filter_type
action find
entity Trehalose is a chemical attractant in the establishment of coral symbiosis
relation original language of work
type language
['Trehalose is a chemical attractant in the establishment of coral symbiosis', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Trehalose_is_a_chemical_attractant_in_the_establishment_of_coral_symbiosis property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages have writing system as greater number of writing systems than that language ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 . ?m property:P282 ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q1860 property:P282 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?y > ?i ) }
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:writing_system . ?m rdf:type ontology:language . ?m property:writing_system ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:English property:writing_system ?w . ?w rdf:type ontology:language } } . FILTER ( ?y > ?i ) }
[]
writing system language
SYSTEM
2
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 . ?m property:P282 ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q1860 property:P282 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?y > ?i ) }
Late Old Japanese Minoan language
2
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ontology:writing_system . ?m rdf:type ontology:language . ?m property:writing_system ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:English property:writing_system ?w . ?w rdf:type ontology:language } } . FILTER ( ?y > ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q184768 Q615254
P840
Q56061
USER
Which administrative territories are "Crocodile" Dundee or The Godfather Part II set in ?
OR((Q615254,P840,c(Q56061)), (Q184768,P840,c(Q56061)))
action filter_type
action union
action find
entity Q615254
relation P840
action find
entity Q184768
relation P840
type Q56061
{'OR': [['Q615254', 'P840', {'concept': 'Q56061'}], ['Q184768', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q615254 property:P840 ?h } UNION { resource:Q184768 property:P840 ?h } } . ?h rdf:type ontology:Q56061 }
The Godfather Part II "Crocodile" Dundee
action filter_type
action union
action find
entity "Crocodile" Dundee
relation narrative location
action find
entity The Godfather Part II
relation narrative location
type administrative territorial entity
{'OR': [['"Crocodile" Dundee', 'narrative location', {'concept': 'administrative territorial entity'}], ['The Godfather Part II', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:"Crocodile"_Dundee property:narrative_location ?h } UNION { resource:The_Godfather_Part_II property:narrative_location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1563 Q60
SYSTEM
Havana, New York City
Q1563 Q60
OR((Q615254,P840,c(Q56061)), (Q184768,P840,c(Q56061)))
action filter_type
action union
action find
entity Q615254
relation P840
action find
entity Q184768
relation P840
type Q56061
[ANSWERS] are "Crocodile" Dundee or The Godfather Part II set in
{'OR': [['Q615254', 'P840', {'concept': 'Q56061'}], ['Q184768', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q615254 property:P840 ?h } UNION { resource:Q184768 property:P840 ?h } } . ?h rdf:type ontology:Q56061 }
Havana New York City
Havana and New York City are "Crocodile" Dundee or The Godfather Part II set in
Havana New York City
action filter_type
action union
action find
entity "Crocodile" Dundee
relation narrative location
action find
entity The Godfather Part II
relation narrative location
type administrative territorial entity
{'OR': [['"Crocodile" Dundee', 'narrative location', {'concept': 'administrative territorial entity'}], ['The Godfather Part II', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:"Crocodile"_Dundee property:narrative_location ?h } UNION { resource:The_Godfather_Part_II property:narrative_location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1563
P19 P21
Q502895
USER
Which people have place of birth as Havana and are a male ?
AND((c(Q502895),P19,Q1563), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1563
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1563'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q1563 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Havana
action filter_type
action intersection
action find_reverse
entity Havana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Havana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Havana . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q3286846 Q19281779 Q1374294 Q13128498 Q2067516 Q22005413 Q5817702 Q1067549 Q21515457 Q16493533
SYSTEM
Some of them are Manuel Gómez de la Maza y Jiménez, Rafael Cadalso, Fernando Tarrida del Mármol, Francisco Fellové, Vicente Feliú, Ignacio Huguet, Edgar London, Roberto Fernández Retamar, Rolando Valdès-Blain, José Hugo Fernández
Q1740848 Q8048693 Q530579 Q8022551 Q1692944 Q5965185 Q4722032 Q454005 Q2903747 Q8076842 Q1775954 Q5340504 Q678703 Q11973 Q17462468 Q5441006 Q1450831 Q20720797 Q918872 Q7810177 Q26263272 Q3479665 Q5711507 Q1421838 Q16596184 Q6668306 Q535415 Q947392 Q3427229 Q3294457 Q22987992 Q3804967 Q6752612 Q5889254 Q25927 Q5288965 Q7282036 Q2500087 Q16301448 Q5041791 Q4062830 Q516919 Q1333247 Q6292231 Q5041653 Q21095603 Q4777022 Q9065826 Q2383344 Q7938770 Q1444318 Q5405815 Q5939993 Q19559398 Q1600070 Q2067516 Q11337705 Q1706078 Q3391796 Q20853438 Q4714191 Q500649 Q5984579 Q5391099 Q13128498 Q2841407 Q2939320 Q2939327 Q1018842 Q21758134 Q4762229 Q16266402 Q8059788 Q17305804 Q1506084 Q7823503 Q3290592 Q2319050 Q787073 Q583597 Q587853 Q983920 Q622100 Q4096529 Q983928 Q1131546 Q11767195 Q4090793 Q4714479 Q4790440 Q3278154 Q3278150 Q6109173 Q4716594 Q3286846 Q6097622 Q21004805 Q1566059 Q20090898 Q2159550 Q1748462 Q3835935 Q7132817 Q2391704 Q6293562 Q5526562 Q5486598 Q2852842 Q24385 Q3857250 Q6700730 Q2541316 Q704321 Q5483305 Q3605474 Q16214125 Q522542 Q103285 Q3607653 Q323501 Q838508 Q4201914 Q1682779 Q6735640 Q16013732 Q15211814 Q20658634 Q5663568 Q3703266 Q4717746 Q3428894 Q3183992 Q25917 Q1898717 Q6071750 Q7298426 Q3426796 Q493200 Q2924163 Q3040342 Q6125315 Q6764520 Q6161306 Q714998 Q4792791 Q5621465 Q5274175 Q3827047 Q5026744 Q16672298 Q11298320 Q756232 Q16839821 Q3191118 Q3163148 Q9068044 Q19873060 Q7282002 Q20856683 Q45385 Q3026181 Q3840190 Q977404 Q3808193 Q24004826 Q17478999 Q926623 Q346208 Q12391264 Q16571344 Q3441575 Q5752251 Q4790439 Q573296 Q21062935 Q946170 Q6291840 Q20630673 Q16941801 Q6108405 Q7455542 Q20642256 Q3035022 Q1351202 Q11341946 Q21971324 Q48871 Q3993216 Q16105181 Q2917063 Q15115212 Q7982306 Q5976445 Q15087221 Q3810786 Q22985971 Q12391004 Q5484314 Q452059 Q6309309 Q8061288 Q2017399 Q2420478 Q2447315 Q5906309 Q22004586 Q6299855 Q849533 Q6524700 Q7024536 Q9032736 Q1336691 Q1285479 Q2658653 Q6889216 Q5940766 Q312336 Q707366 Q4714504 Q7852910 Q924263 Q369102 Q7159508 Q6894902 Q1554017 Q5541474 Q740661 Q3301631 Q5750290 Q6101230 Q509820 Q8054300 Q714410 Q6278188 Q22003721 Q3839993 Q7351759 Q3479393 Q11790533 Q22987473 Q15097774 Q21484392 Q11918095 Q7105906 Q22003116 Q3622684 Q6097068 Q3436892 Q6465611 Q1353667 Q1890805 Q9259135 Q26244 Q1360997 Q17478010 Q329151 Q3826704 Q3189805 Q11904986 Q164762 Q3418292 Q2274382 Q5041746 Q22687858 Q3489434 Q5041745 Q18890895 Q1972432 Q11320655 Q3293392 Q3565663 Q19560329 Q7076268 Q678120 Q3610877 Q5993755 Q19281606 Q2737045 Q24175034 Q2702181 Q2834672 Q359896 Q1675579 Q9015308 Q1374294 Q7933822 Q3121695 Q1891556 Q706921 Q22910689 Q18156720 Q7944725 Q3311752 Q22005413 Q16326188 Q931039 Q2032652 Q3315554 Q5666679 Q5096425 Q3751022 Q5931927 Q4392142 Q4776814 Q6109661 Q8193574 Q963967 Q16297927 Q506421 Q5750663 Q3421446 Q765943 Q623271 Q3425963 Q4251904 Q313729 Q444778 Q16207220 Q20676069 Q6291279 Q5477084 Q711923 Q20647166 Q16493533 Q784147 Q1443202 Q3113010 Q454933 Q1345182 Q4776925 Q5836830 Q6752523 Q11337699 Q3117398 Q16298274 Q880250 Q469960 Q21418821 Q324250 Q2645150 Q11685099 Q784036 Q3120539 Q2831754 Q741648 Q19674594 Q426381 Q5414127 Q6188648 Q2919776 Q9001374 Q6777486 Q19892410 Q22259880 Q2118616 Q1062320 Q3056511 Q2735571 Q1116453 Q17256755 Q6109725 Q7282015 Q3010495 Q14939140 Q3529406 Q2694510 Q4895213 Q3299681 Q2056293 Q2821635 Q678411 Q5394159 Q16186861 Q6710818 Q16855347 Q5616254 Q27057875 Q8078823 Q21005021 Q4080599 Q9335461 Q19931318 Q911064 Q7822964 Q11350640 Q5872203 Q1876484 Q3144558 Q3609450 Q15987296 Q5561387 Q6701279 Q19282086 Q5483280 Q5727090 Q3045892 Q5100988 Q18397953 Q5829460 Q16607425 Q1343579 Q5217031 Q6889226 Q775706 Q6279562 Q654924 Q1673427 Q8193578 Q7076807 Q17274676 Q22006338 Q3850642 Q14698837 Q366949 Q18223460 Q1376744 Q3480822 Q5663104 Q6277653 Q1388405 Q954614 Q1879093 Q527853 Q8772308 Q6700715 Q12263576 Q3418671 Q7290573 Q4776650 Q1428904 Q7108063 Q323646 Q715370 Q4254475 Q15623587 Q331084 Q26213016 Q1369590 Q761696 Q3779974 Q5340672 Q24565057 Q5550291 Q4714600 Q1550675 Q1074394 Q5379658 Q5511563 Q17411099 Q5830971 Q3312968 Q4345807 Q7925140 Q5041751 Q4762252 Q1356640 Q5817702 Q1377336 Q5484088 Q2841201 Q3356446 Q5973020 Q21515457 Q1234066 Q22137225 Q5042257 Q1730560 Q2294741 Q18638133 Q83693 Q2687438 Q722461 Q6068101 Q932718 Q5675988 Q513700 Q6292065 Q3099359 Q4711920 Q18915163 Q555527 Q3362961 Q5943066 Q4703854 Q6042643 Q4776636 Q5511600 Q1192932 Q5485655 Q6301208 Q5394185 Q5973448 Q5004841 Q3499059 Q6764982 Q143540 Q23667209 Q727321 Q1462173 Q5220496 Q1349890 Q5940303 Q639120 Q15791715 Q15626643 Q5859158 Q5553508 Q2406504 Q7319427 Q6756123 Q4792860 Q4792823 Q16106558 Q455984 Q2722794 Q16231882 Q642775 Q5389857 Q5042038 Q11080924 Q5616112 Q369304 Q2839253 Q215938 Q525858 Q1356785 Q178610 Q16567931 Q4462929 Q16013146 Q22662434 Q432638 Q472644 Q3493797 Q3571339 Q3571908 Q3436956 Q139465 Q4216871 Q5658576 Q1067549 Q6309415 Q324267 Q1241017 Q3079985 Q5699506 Q6101159 Q2944046 Q16232815 Q3436859 Q7029503 Q16300412 Q6421951 Q3804970 Q2882752 Q880225 Q982714 Q16105841 Q938947 Q7357366 Q216466 Q6443470 Q1374189 Q1710471 Q2961915 Q1712338 Q6764701 Q11332373 Q2639358 Q729450 Q26853 Q14754057 Q1586335 Q316062 Q11337716 Q3571945 Q2468573 Q1372050 Q526289 Q322228 Q8345926 Q20016466 Q6505740 Q2072690 Q16043765 Q3476911 Q11337711 Q661928 Q17987354 Q6214342 Q377607 Q2840995 Q7351888 Q6071723 Q5489152 Q3614292 Q1075854 Q3186330 Q19917949 Q5948410 Q3774349 Q5131453 Q5368249 Q3374001 Q6844493 Q21075989 Q6110899 Q6310016 Q4666660 Q891248 Q1390198 Q5561352 Q6453913 Q6294346 Q18393962 Q3427042 Q3355888 Q3309912 Q4723854 Q2034197 Q1690885 Q160702 Q15430827 Q5042504 Q1363550 Q7160081 Q16233626 Q17280219 Q22944468 Q1443521 Q2939335 Q19281911 Q5946400 Q1618102 Q722618 Q16887835 Q775440 Q944759 Q887489 Q2355694 Q934652 Q3645586 Q3573228 Q5479792 Q5539636 Q942707 Q596634 Q8021881 Q4261641 Q5927974 Q5859567 Q3041643 Q5486230 Q9097458 Q1150763 Q1076708 Q1703783 Q8060892 Q1244872 Q4408230 Q4761161 Q19973593 Q467638 Q1332995 Q562148 Q3845037 Q3148365 Q2566251 Q437645 Q18157005 Q536566 Q956466 Q5129329 Q7289840 Q20749851 Q5371690 Q1386197 Q5667399 Q3361951 Q5944075 Q6279485 Q4234275 Q16199679 Q4678542 Q6291421 Q4111025 Q507893 Q1432314 Q3572530 Q956516 Q3619967 Q3603441 Q20002709 Q4822256 Q5444954 Q3356998 Q5473944 Q705477 Q5657926 Q16571332 Q436585 Q6309380 Q5278337 Q6439155 Q19281779 Q4711222 Q1608665 Q1608588 Q1311305 Q6108189 Q3700853 Q585896 Q954426 Q6844964 Q6793616 Q5417002 Q1068124 Q3151463 Q1326874 Q5923412 Q5483331 Q2841376 Q6299708 Q189415 Q478460 Q24718053 Q2711667 Q544692 Q5548252 Q3622888 Q1631856 Q3610642 Q3426732 Q15782075 Q12061490 Q20128681 Q4396038 Q6148627 Q1081144 Q4234852 Q1484780 Q5859031 Q6990362 Q3034228 Q5940003 Q22277656 Q5932325 Q7290424 Q6794600 Q713807 Q937564 Q588415
AND((c(Q502895),P19,Q1563), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1563
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Havana and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1563'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q1563 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Kid Chocolate Yaniel Velázquez Gilberto Ruíz Valdéz Willy Gort Rey Ángel Martínez Michael Tejera Alfonso Fraga Leonardo Padura Fuentes José María Vitier Ángel Hernández Jaime Colomé Eduardo Alonso Armando Peraza José Ignacio Rivero Rolando Díaz Federico Gil François-Michel Lambert Darío Suárez Chucho Valdés Tito Junco Ramon Carulla Sergio Giral Augie Diaz Carlos Alberto Montaner Reynier Mena Lois Maikel Martínez Fernando Ortiz Fernández Carlos "Patato" Valdes Yasser Gómez Marlon Fernández Juan Antonio Leyva Iván Pérez Manuel González Gumersindo Vicuña y Lazcano Oscar García Dolf Luque Rafael Banquells Carlos Pintado Ariel Texido Carlos Arrechea Alberto Alonso Alfredo de la Fé Manuel Díaz José Fors Carlos A. Giménez Pancho Quinto Antonio Vidal Fernández Rafael María de Mendive Armand Godoy Vladimiro Roca Frank Travieso Roberto San Martín Humberto Calzada Gonzalo López Silvero Rogelio J. Pineiro Vicente Feliú José Manuel Carreño José Pascual de Zayas y Chacón Eliseo Diego Jorge de Armas Alec Lazo Felipe Poey Luis de la Paz Cipriano Muñoz, 2nd Count of la Viñaza Francisco Fellové Amaury Pérez Carlos Clarens Carlos Diaz Bárbaro Marín Yosuán Crespo Angel Moya Acosta Ñico López Ysrael Seinuk Yasmani Copello Georg Stanford Brown Tony Suarez Otto Sirgo Ángel Dennis Juan Tuñas Carlos Pérez Manuel Saumell Issac Delgado Omar Almeida Quintana Sergey Brilev Michael Aris Óscar Elías Biscet Manuel Suárez Barrios Alberto J. Bolet Alejandro Argudín-Zaharia Ariel Ramos Maikel Cardona Maikel Blanco Rito Ramón Aroche Alex Abella Manuel Gómez de la Maza y Jiménez Rafael María de Labra Cadrana Jason Alvarez Luis Andres Vargas Gomez Antonio Herrera-Vaillant Roberto Monzón Andrés Guibert Loanny Cartaya Papi Oviedo Ric Estrada José Nicolás de la Escalera Gaspar Villate Frank Fernández Anthony Correa Iván Domínguez Miguel Brugueras Luis Irizar Waldemar Font Alexis Rodríguez Francisco Diaz-Silveira Lopez Adolfo Sardinia Ernesto Padilla Rocky Romero José Martín Alain Roca Adalberto Álvarez Emilio Estefan Alberto Inzúa Manuel Hilario de Céspedes y García Menocal Maikel Chang German Pinelli Enrique Piñeyro Daniel Luís Alberto Sarraín David Mitrani Arenal Alex Sandunga Reynaldo Garrido José Manuel Fors Rolando Tucker Mario Chanes de Armas Pepe Díaz Lastra Raydel Hierrezuelo Javier Méndez Francisley Bueno Brayan Peña Jorge Perugorría Sergio Andricaín Mario Algaze Vicente Revuelta Norberto Fuentes Armando Menocal Gustavo Pérez Firmat Didier Hernández Antonio de Castro y Casaléiz Camilo Pascual Raúl Antonio Capote Francisco Bens Pedro Moreno Kianz Froese Jésus Alemañy Javier González Pantón Renny Arozarena Rolando Barral Rafael A. Lecuona Joaquín Llaverías Martínez Carlos Baliño Pau Audouard Luigi Suñer Raúl De Molina Jesús Gil Guille Garcia Robert Borgatta José Miró Cardona Manny Diaz Joan Muntaner i Roig Gerardo Riverón Ronaldo Menéndez Carlos del Puerto Ariel Prieto Miguel Barnet Dayramir Gonzalez Jon Secada José Carlos Millás Carlos J. Alfonso Alejandro González Ricardo Pau-Llosa Servando Cabrera Moreno Collazo Sotomayor Vicente Genaro de Quesada Franky Gee Miguel Alfredo González Carlos Noreña Douglas Rodríguez Tony Choy Manuel Pérez Yadel Martí Jorge Soler Wenceslao Ramírez de Villa-Urrutia, 1st Marquis of Villa-Urrutia Lilo Vilaplana José Ignacio Rasco Juan Carlos Bersague Armando Valdés Freire José Cavalcanti Luis Vega de Castro Amadito Valdés Julio García Espinosa Yunier Dorticos Yotuel Romero Ignacio Cervantes Andarín Carvajal Héctor Noas Delfin Gómez Juan Garcia Miguelito Valdés Leon Ichaso Nicasio Silverio Miguel González "Miguelito" Emil R. Unanue Horacio Hernandez Joaquín Nin Modesto F. Fernandez Diaz-Silveira José Joaquín Calvo Dave Lombardo Changuito Alejandro Castro Espín Ernesto Noris Celso Golmayo Torriente Enrique Regüeiferos Pedro Carrío Moisés Vieites Guillermo Gonzalez George L. San Jose Esteban Salas y Castro Mauricio Vallina Carlos Ever Fonseca Raúl Gutiérrez Alejandro Casañas Yoel Colomé Lázaro Borges Jorge Labarga Arturo Costa Luigi Pennazzi Roberto Juan Diago Querol Serge Lancel Nelson Oñate Alejandro Pérez Leonardo Leyva Cisco Suarez Eduardo Bassave Rodríguez de Alburquerque Oscar Cardenas Sergio Álvarez Roberto Goizueta Rafael Blanco Estera Roberto Faz Orlando Miguel Erick Fornaris Leonel Marshall Jr. Fernando Hernandez Ramos Elvis Gregory Juan de Marcos González Enrique Encinosa Fernando Pérez Emilio Aragón Álvarez Julio César Herrera Alfredo Guevara José Gu͏̈ell y Renté Ralph Ortega Rodolfo Falcón Carlos Alvarez Lázaro Pérez Tito Gómez Carlos Alvarez Eduardo Moure Roland Alphonso Deynis Suarez Laguardia Mario Carreño Morales Waltary Agusti Mario de Armas Luis Castaneda Emilio Correa Alexis Elizalde Manuel Mendive Alberto Arredondo Gutiérrez Eliseo Grenet Rolando Valdés-Blain Félix Varela Alexis Valdés Argeliers León Ivan Moffat Juan Carlos Alom Fernando Tarrida del Mármol Virgil Suárez Guy Cuevas Manuel Golmayo Torriente Gonzalo Roig Diego Cisneros Orlando Sanchez Víctor Rodríguez Núñez Mickael Korvin Ignacio Huguet Jaime Sarusky Jorge Hernández Oscar Arredondo Minnie Miñoso Alfonso Aragón Sac Chico Fernández Francisco Montalvo y Ambulodi Joaquín Ezpeleta Enrile René Arocha Antonio Mora Roberto Chile Alberto Pedro Torriente Juan Abreu Rolando Brito Leinier Domínguez Carlos José Alfonzo Espina Raúl Valdés César Évora Rogelio Ortega René Cardona Lee Labrada Juan Almeida Bosque Freddy Mayola Adel Souto Arseny Borrero José Agustín Quintero Óscar Ortiz de Pinedo Cuban Link Adrián Diz José Hugo Fernández Roberto Mañalich Frank Emilio Wilfredo Martínez Leo Brouwer Ricardo Alarcón Antonio Rodiles Ernesto Daranas Manuel Couceiro Prado José Acosta Orlando Martínez Orlando Casín Alfredo Zayas y Alfonso José Carlos Somoza Fred Godoy Franklin Standard Robertlandy Simón Joaquín Lorenzo Luaces Jorge Bolet Guillermo Barreto Alberto Castillo Carlos Gutierrez Ramón Peón José María Coppinger Fernando Díaz Domínguez Jesús Savigne Justo Vasco Guillermo de Osma y Scull Marty Martínez Enrique Herrera Guillermo Calzadilla Pupi Campo Chano Pozo Erick de Armas Juan Vicente de Güemes, 2nd Count of Revillagigedo Orlando Valle Adolfo Fernández García Roberto Escobar Rafael Almeida César Portillo de la Luz Arístides Esteban Hernández Guerrero Tirso Duarte Fernando Azcárate y Freyre de Andrade Bert Martinez Julio Camejo Pastor Vega Abilio Estévez Armando Hart Ernesto Dihigo Walfredo Reyes, Jr. Lázaro Ruiz Osvaldo Salas Guillermo Rosales Ernesto Quiroga Óscar Gans José Behar José Bedia Valdés Sergio Noda Oscar Zanetti Carlos del Junco Tony Mendoza Roberto Barbon Félix Chappottín Luis Moro Héctor Dairo Fuentes Alejandro Torreguitart Ruiz José Ignacio Rodríguez Gilberto Perez Luis Ávalos Agustín Fernández Francisco Covarrubias Henry Pollack Juan Carlos Tabío Ching Ho Cheng Enrique Pérez Díaz Elio Alba-Buffill Miguel de Cárdenas y Chaves Felipe Pérez Roque Daniel Díaz Torres Modesto Maidique Aurelio de la Vega Jose Sanjenis Perdomo Odlanier Solís Isaac Nicola Alberto Pujol Octavio Cortázar Lenny de la Rosa Raúl Llanos Humberto Fontova Pedro Mendiondo José Lezama Lima Teodoro Guerrero Pallarés Millard Mitchell Severiano de Heredia Alberto Guerra Naranjo Jorge Anckermann Orlando "Cachaito" López Rico Rodriguez Lázaro Rivas Paquito D'Rivera Eduardo Hernández Asiaín Luis Howell-Rivero Miguel Marina Ramón Alejandro Ramón Zaydín Antonio Gattorno Manuel Sanguily Osvaldo Miranda Miguel Calderón Gómez Arturo Miranda Osvaldo Lara Jorge Fernández-Trevejo Rivas Jesús Díaz Nivaldo Nadhir Diaz Gomez Joan Lino Martínez Jorge Luis González Gustavo Oliveros Eduardo Machado Pedrito Martinez Gerardo Mosquera Alejandro Mayorkas Hans Jürgen Herrmann Chino Pozo Enrique Caravia Montenegro Félix Alberto Beltrán Concepción Yosdenis Cedeno Emilio Alonso Miguel Coyula José Julián Parreño Vicente Escobar Carlos Alzugaray Treto Angel Pérez Juan Carlos Gómez Edgar London Juan Padrón Francisco de Albear Manuel Leonel Pereira Quintero Orlando H. Garrido Leo Frade Rolando Valdès-Blain Julián del Casal Miguel Padura Carlos Lacámara Miles Peña Noel Nicola William Valdés Candido Camero Andy Paz-Garriga Tomás Gutiérrez Alea Pedro Alonso Arbeleche Carlos Acosta Isalbet Juarez Carlos Lage Dávila José Domínguez Rodríguez Ignacio Piñeiro Alberto Alfonso Rafael Capote José Curbelo Frank Montieth José María Lado Al Garcia-Serra Nicolás de Peñalver y Zamora Antonio Gaona Félix Lancís Sánchez Nino Valdez Frank Campos Juan de Ayala y Escobar Ernesto Hernández Busto Artem Chernichuk Bárbaro Cañizares Steve Pieczenik Mario Tabares César Pedroso Rogelio París Pedro de Ampudia Alfred-Maurice de Zayas Danny Julian Boggs Gonzalo Rubalcaba José Gómez-Imaz Simón Félix Rodríguez Ahmed López Javier Valcárcel Fernando Alonso Gervasio González Jacobo Machover Rey Ordóñez Marcel Hernández Armando de Armas Romero Armando Rodriguez Ruidiaz Rogelio Blaín Ramón Fonst Roberto Valera Yosmani Piker Al Cueto Erlys García Carlos Enrique Prado Herrera Waldo Pérez Cino Guillermo Algaze Robert Alfonso Alonso Brito Alberto Korda Andy González Ernesto Peña Pablo Montes José Llanusa José Triana Antonio Arcaño Ramón Rodríguez Correa Tomás Milián Mongo Santamaría Germán Mesa Yaikel Pérez Yasmani Grandal Roberto Polo Carlos Varela Eliseo Castillo Adrián Ortega Roberto Fernández Retamar Julio Maya Ruperto Herrera Tabio Carlos Eire Joseíto Fernández Antonio Remón Zarco del Valle y Huet Raúl Díaz Argüelles Israel Blake Cantero Adrián Nieto Roberto Carcassés Nicolas Arroyo Ernesto Faxas Reineris Salas Iván Trevejo Buenaventura de Abarzuza y Ferrer Carlos Hevia Jose Canseco Luis Cruz Azaceta Gorki Águila Rodrigo Malmierca Díaz Alejo Carpentier Kumar Hilario González Juan Francisco Manzano Cheche Julio Antonio Mella Mario González J. C. Muniz Alberto Delgado Lisandro Otero Camilo Cienfuegos Leonel Munder Erik Norman Kjellesvig-Waering Iván Pedroso José Armando López Falcón Yasser Romero Vyacheslav Kernozenko Yampier Hernández Tony Cortes Nicolás Ruiz Espadero Jesús Alonso Fernández Panchito Aranaz Laz Barrera Jose Manuel Prieto Ramón Meza y Suárez Inclán Sebastián Calvo de la Puerta y O'Farrill Jose Latour Moisés Simons Carlos Acosta-Milian Joey Diaz George J. Borjas Rodolfo Pérez Valero Roberto S. Goizueta Pepe Cibrián Campoy Luis Felipe Amik Guerra Tommy McCook José Iglesias Fidel Ángel Castro Diaz-Balart Luis Manuel Molina Julio Becerra Rivero Clemente G. Gomez-Rodriguez Elvis Yero Pedro Calvo Miguel Cerejido Armando Giralt Rody Aragón Julius Peter Garesché Abelardo Morell Bola de Nieve Fabian Almazan Gilberto Andrés Romero Pino José Agustín Caballero José de la Luz y Caballero Reinier Estpinan René de Cárdenas Orestes Matacena Michel Hernández Alfredo Rodríguez Osleni Guerrero Joaquín Clerch José Raúl Capablanca Edel Rodriguez Carlos Prio-Touzet Roberto Moya Pedro Álvarez Castelló Yasmany Tomás Waldo Saavedra Emilio Del Pozo Jorge Pardo Carlos Emilio Morales Wilfredo Coto José de Zúñiga y la Cerda Hilario Durán Mario Bauzá Roberto Altmann Aureliano Sánchez Arango Aurelio Voltaire John H. Sununu Juan Carlos González Zamora Abelardo Barroso Brunet Zamora Yunel Escobar Pedro Sicard George Gascón Roberto Fonseca Harold Lopez Nussa Willie Webber Chely Lima Javier Menéndez Fernández Fernando Freyre de Andrade X-Alfonso Frank Diaz-Silveira Zamorita César Pérez Sentenat Maikro Romero Jorge Camacho Yul Vazquez Gregorio Aldo Arencibia Rolando Sarabia Andy Pereira Obdulio Morales Tomás Regalado Osmay Acosta Cachao López Manuel Ortiz Ihosvany Hernández Eduardo Sánchez de Fuentes Rudy Sarzo Adolfo Guzmán Laurel Aitken Isidoro Malmierca Peoli Claudio Brindis de Salas Garrido Ramon Ledon Al Avila Emiliano Díez Humberto Solás Alfonso Álvarez Miranda Pancho Amat José Mijares Jose Miguel Battle, Sr. Sergio Corrieri Odrisamer Despaigne Adalberto Jordan José Antonio Díaz Víctor Manuel García Valdés Gonzalo Güell Alex Castellanos Yonder Alonso Raúl Roa García Antonio Oliva Abelardo Menéndez Gonsanhi Aurelio Baldor Fernando Velázquez Vigil Oscar Hurtado César del Campo Steven Bauer Adolf Horn Gerardo Fernández Fe Antonio Sánchez de Bustamante y Sirven Julio Larraz Dinio Gerardo Chijona Rafael Cadalso Albert Siu David Fumero José Olallo Alberto Insúa Ricardo Galache Dagoberto Borges René Muñoz Sergio Oliva Miguel Ángel de la Campa y Caraveda Mauricio J. Tamargo Everett Ellis Briggs Jorge Luis Pila Inor Sotolongo Lincoln Diaz-Balart Iván Cañas Francisco Díaz-Silveira Amauri Sanit Juan Falcón Andy García Mario Cimarro Ricardo Arregui Frank Casañas Tony Plana Jesse A. Fernández Armando Barrientos Howard Lydecker Alex Castro René Peña Alberto Celestrin Mario Santoro Woith Reynaldo Miravalles Mariano Rodríguez Tomás Romay Rafael Palmeiro José Kozer Santiago Álvarez Fermín Valdés Domínguez Nelson Ascencio Gonzalo O'Farrill y Herrera Humberto Castro Ofill Echevarria Joaquín Planells Riera Ramíro Mañalich Max Borges, Jr. Al Jourgensen Roger Miret Carlos Cardet
Manuel Gómez de la Maza y Jiménez, Rafael Cadalso, Fernando Tarrida del Mármol, Francisco Fellové, Vicente Feliú, Ignacio Huguet, Edgar London, Roberto Fernández Retamar, Rolando Valdès-Blain and José Hugo Fernández have place of birth as Havana and are a male
Manuel Gómez de la Maza y Jiménez Rafael Cadalso Fernando Tarrida del Mármol Francisco Fellové Vicente Feliú Ignacio Huguet Edgar London Roberto Fernández Retamar Rolando Valdès-Blain José Hugo Fernández
action filter_type
action intersection
action find_reverse
entity Havana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Havana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Havana . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q502895 Q340169 Q838948
USER
Which people were max number of medias or works of art inspired by ?
(c(Q340169)|c(Q838948),P941,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?j rdf:type ?r } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?y WHERE { VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?t rdf:type ?h } GROUP BY ?y } . FILTER ( ?i = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:work_of_art ) } . ?j rdf:type ?r } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?y WHERE { VALUES ( ?h ) { ( ontology:media ) ( ontology:work_of_art ) } . ?t rdf:type ?h } GROUP BY ?y } . FILTER ( ?i = ?g ) }
[]
common name media work of art
Q483512 Q3385369 Q183458
SYSTEM
Isadora Duncan, Pierre Guillaume, Andrea del Verrocchio
Q531161 Q5534471 Q183458 Q357951 Q483512 Q229432 Q192222 Q3385369
(c(Q340169)|c(Q838948),P941,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
[ANSWERS] were max number of medias or works of art inspired by
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?j rdf:type ?r } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?y WHERE { VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?t rdf:type ?h } GROUP BY ?y } . FILTER ( ?i = ?g ) }
Elizabeth Kenny Geoffrey Bowers Andrea del Verrocchio Mehran Karimi Nasseri Isadora Duncan Lucretia Lysippos Pierre Guillaume
Isadora Duncan, Pierre Guillaume and Andrea del Verrocchio were max number of medias or works of art inspired by
Isadora Duncan Pierre Guillaume Andrea del Verrocchio
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:work_of_art ) } . ?j rdf:type ?r } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?y WHERE { VALUES ( ?h ) { ( ontology:media ) ( ontology:work_of_art ) } . ?t rdf:type ?h } GROUP BY ?y } . FILTER ( ?i = ?g ) }
[]