Simple Question (Direct)
Simple Question
Q242634
P734
Q82799
USER
Which name is associated with Khandi Alexander ?
(Q242634,P734,c(Q82799))
action filter_type
action find
entity Q242634
relation P734
type Q82799
['Q242634', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q242634 property:P734 ?c }
Khandi Alexander
action filter_type
action find
entity Khandi Alexander
relation family name
type name
['Khandi Alexander', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Khandi_Alexander property:family_name ?c }
[]
name
Q1511218
SYSTEM
Alexander
Q1511218
(Q242634,P734,c(Q82799))
action filter_type
action find
entity Q242634
relation P734
type Q82799
[ANSWER] is associated with Khandi [ANSWER]
['Q242634', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q242634 property:P734 ?c }
Alexander
Alexander is associated with Khandi Alexander
Alexander
action filter_type
action find
entity Khandi Alexander
relation family name
type name
['Khandi Alexander', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Khandi_Alexander property:family_name ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242634
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1511218,P27,c(Q15617994))
action filter_type
action find
entity Q242634
relation P27
type Q15617994
['Q1511218', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q242634 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Khandi Alexander
action filter_type
action find
entity Khandi Alexander
relation country of citizenship
type designation for an administrative territorial entity
['Alexander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Khandi_Alexander property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1511218,P27,c(Q15617994))
action filter_type
action find
entity Q242634
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q1511218', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q242634 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Khandi Alexander
relation country of citizenship
type designation for an administrative territorial entity
['Alexander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Khandi_Alexander property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with lesser number of administrative territories than New Zealand ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?m property:P530 ?e . ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q664 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?u ) }
New Zealand
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?m property:diplomatic_relation ?e . ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:New_Zealand property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?u ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?m property:P530 ?e . ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q664 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?u ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?m property:diplomatic_relation ?e . ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:New_Zealand property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q4919348
P272
Q838948
USER
How many works of art had United States of America or Biz Television as their motion picture studio ?
(c(Q838948),P272,Q30) (c(Q838948),P272,Q4919348)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
action filter_type
action find_reverse
entity Q4919348
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q30'] [{'concept': 'Q838948'}, 'P272', 'Q4919348']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u rdf:type ontology:Q838948 . ?u property:P272 resource:Q4919348 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P272 resource:Q30 } }
United States of America Biz Television
action count
action union
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
action filter_type
action find_reverse
entity Biz Television
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United States of America'] [{'concept': 'work of art'}, 'production company', 'Biz Television']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u rdf:type ontology:work_of_art . ?u property:production_company resource:Biz_Television } UNION { ?u rdf:type ontology:work_of_art . ?u property:production_company resource:United_States_of_America } }
[]
work of art
SYSTEM
2
Q1424889 Q7401185
(c(Q838948),P272,Q30) (c(Q838948),P272,Q4919348)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
action filter_type
action find_reverse
entity Q4919348
relation P272
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q30'] [{'concept': 'Q838948'}, 'P272', 'Q4919348']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u rdf:type ontology:Q838948 . ?u property:P272 resource:Q4919348 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P272 resource:Q30 } }
Crustacés et Coquillages Saint Dracula 3D
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
action filter_type
action find_reverse
entity Biz Television
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United States of America'] [{'concept': 'work of art'}, 'production company', 'Biz Television']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { { ?u rdf:type ontology:work_of_art . ?u property:production_company resource:Biz_Television } UNION { ?u rdf:type ontology:work_of_art . ?u property:production_company resource:United_States_of_America } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is considered to be the currency of that administrative territory ?
action filter_type
action find
entity Q30
relation P38
type Q8142
SELECT DISTINCT ?j WHERE { resource:Q30 property:P38 ?j . ?j rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:currency ?j . ?j rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is considered to be the currency of that administrative territory
SELECT DISTINCT ?j WHERE { resource:Q30 property:P38 ?j . ?j rdf:type ontology:Q8142 }
United States dollar
United States dollar is considered to be the currency of that administrative territory
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:currency ?j . ?j rdf:type ontology:currency }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q242634
P161 P495
Q838948
USER
Which works of art do Khandi Alexander star in and originated in United States of America ?
AND((c(Q838948),P161,Q242634), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q242634
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q242634'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P495 resource:Q30 . ?s property:P161 resource:Q242634 . ?s rdf:type ontology:Q838948 }
United States of America Khandi Alexander
action filter_type
action intersection
action find_reverse
entity Khandi Alexander
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Khandi Alexander'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_origin resource:United_States_of_America . ?s property:cast_member resource:Khandi_Alexander . ?s rdf:type ontology:work_of_art }
[]
work of art
Q7284452 Q1471849 Q3924162 Q177374 Q1542944 Q253107 Q1537562 Q808101 Q1166150 Q2043208
SYSTEM
Rain, What's Love Got to Do with It, Streetwalkin', There's Something About Mary, Menace II Society, Greedy, Poetic Justice, Joshua Tree, Dark Blue, CB4
Q7284452 Q1471849 Q3924162 Q177374 Q1542944 Q253107 Q1537562 Q808101 Q1166150 Q2043208
AND((c(Q838948),P161,Q242634), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q242634
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
Khandi Alexander star in The [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q242634'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?s WHERE { ?s property:P495 resource:Q30 . ?s property:P161 resource:Q242634 . ?s rdf:type ontology:Q838948 }
Rain What's Love Got to Do with It Streetwalkin' There's Something About Mary Menace II Society Greedy Poetic Justice Joshua Tree Dark Blue CB4
Khandi Alexander star in The Rain, What's Love Got to Do with It, Streetwalkin', There's Something About Mary, Menace II Society, Greedy, Poetic Justice, Joshua Tree, Dark Blue and CB4
Rain What's Love Got to Do with It Streetwalkin' There's Something About Mary Menace II Society Greedy Poetic Justice Joshua Tree Dark Blue CB4
action filter_type
action intersection
action find_reverse
entity Khandi Alexander
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Khandi Alexander'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_origin resource:United_States_of_America . ?s property:cast_member resource:Khandi_Alexander . ?s rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q838948 Q3305213
USER
Which works of art are demonstrated in min number of works of art and paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?t WHERE { { ?j property:P180 ?t . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 } UNION { ?j property:P180 ?t . ?j rdf:type ontology:Q3305213 . ?t rdf:type ontology:Q838948 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?y WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?y } . FILTER ( ?o = ?l ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?t WHERE { { ?j property:depicts ?t . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art } UNION { ?j property:depicts ?t . ?j rdf:type ontology:painting . ?t rdf:type ontology:work_of_art } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?y WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?y } . FILTER ( ?o = ?l ) }
[]
work of art work of art painting
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q21375954 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q221211 Q2439030 Q170980 Q333009 Q750209 Q19969041 Q734834 Q3015661 Q473237 Q20631770 Q267971 Q831869 Q2535008 Q17172602 Q93184 Q177600 Q221323 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1395302 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q907387 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q7539835 Q745783 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q838948)|c(Q3305213),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
[ANSWERS] are demonstrated in min number of works of art and paintings
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?t WHERE { { ?j property:P180 ?t . ?j rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 } UNION { ?j property:P180 ?t . ?j rdf:type ontology:Q3305213 . ?t rdf:type ontology:Q838948 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?y WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?y } . FILTER ( ?o = ?l ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound Allegory of the city of Paris Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women Twelfth Night St. Peter's Baldacchino obelisk can-can Colossi of Memnon Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of George Washington Triton Fountain oenochoe Neptune and Triton monumental cross drawing stick figure golden calf pendant Under Western Stars Trevi Fountain print Frederik V on Horseback One True Thing Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget krater pyxis Tanagra partner dance Richard III Ploughman Marly horses Equestrian Statue of Marcus Aurelius Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons Sleeping Ariadne hydria Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and Laocoön and His Sons are demonstrated in min number of works of art and paintings
Tanagra Ghent Altarpiece Laocoön and His Sons
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?t WHERE { { ?j property:depicts ?t . ?j rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art } UNION { ?j property:depicts ?t . ?j rdf:type ontology:painting . ?t rdf:type ontology:work_of_art } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?y WHERE { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?y } . FILTER ( ?o = ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P2079 ?s . ?s rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?d = 1 ) }
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:fabrication_method ?s . ?s rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for the assembly of exactly 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P2079 ?s . ?s rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?d = 1 ) }
gilding collage
Gilding and collage are used for the assembly of exactly 1 work of art
gilding collage
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:fabrication_method ?s . ?s rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q838948 Q234460
USER
Which works of art are min number of works of art and texts a part of ?
(c(Q838948)|c(Q234460),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
[[{'concept': 'Q838948'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?s rdf:type ?h } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?p rdf:type ?n } GROUP BY ?j } . FILTER ( ?w = ?u ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action find_reverse_tuple_counts
relation part of
type work of art
type text
[[{'concept': 'work of art'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:text ) } . ?s rdf:type ?h } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:text ) } . ?p rdf:type ?n } GROUP BY ?j } . FILTER ( ?w = ?u ) }
[]
work of art work of art text
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q19393199 Q10550583 Q1209853 Q18609716 Q284184 Q734834 Q222867 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q314003 Q4110177 Q332368 Q478748 Q1195466 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q472359 Q971109 Q1360347 Q632753 Q60072 Q7572454 Q1270166 Q3395799 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q213053 Q3907484 Q2089457 Q3907512 Q79218 Q1125687 Q24980 Q283134 Q93184 Q7203413 Q1230318 Q378838 Q928019 Q152185 Q3907505 Q164804 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q838948)|c(Q234460),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
[ANSWERS] are min number of works of art and texts a part of
[[{'concept': 'Q838948'}, {'concept': 'Q234460'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?s rdf:type ?h } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?p rdf:type ?n } GROUP BY ?j } . FILTER ( ?w = ?u ) }
Star Spangled Rhythm Release the Prisoners to Spring Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Dick Tracy Scenes from the Life of the Virgin Ra.One Ghent Altarpiece 2 Fast 2 Furious Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life predella Iron Man 2 The Fighting Temptations Roseanna Christine Stolpersteine A Night Before Christmas A View to a Kill The Holiday The Man on the Roof Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Space Pirate Captain Harlock Danish Crown Regalia Polyptych of Certosa di Pavia Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Superman 1472 Polyptych Cold War Porto San Giorgio Polyptych triptych Teheran 43 Monty Python's The Meaning of Life Supergirl drawing Playing for Keeps Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes Montefiore dell'Aso Polyptych Underworld Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are min number of works of art and texts a part of
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action find_reverse_tuple_counts
relation part of
type work of art
type text
[[{'concept': 'work of art'}, {'concept': 'text'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:text ) } . ?s rdf:type ?h } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:text ) } . ?p rdf:type ?n } GROUP BY ?j } . FILTER ( ?w = ?u ) }
[]