Simple Question (Direct)
Simple Question
Q378268
P921
Q9332
USER
What was the main subject in the work Grounding ?
(Q378268,P921,c(Q9332))
action filter_type
action find
entity Q378268
relation P921
type Q9332
['Q378268', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q378268 property:P921 ?c . ?c rdf:type ontology:Q9332 }
Grounding
action filter_type
action find
entity Grounding
relation main subject
type behavior
['Grounding', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:Grounding property:main_subject ?c . ?c rdf:type ontology:behavior }
[]
behavior
Q765633
SYSTEM
aviation
Q765633
(Q378268,P921,c(Q9332))
action filter_type
action find
entity Q378268
relation P921
type Q9332
The main subject in the work Grounding was the [ANSWER]
['Q378268', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q378268 property:P921 ?c . ?c rdf:type ontology:Q9332 }
aviation
The main subject in the work Grounding was the aviation
aviation
action filter_type
action find
entity Grounding
relation main subject
type behavior
['Grounding', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:Grounding property:main_subject ?c . ?c rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q378268
P495
Q15617994
USER
Which administrative territory is the country of origin of that work of art ?
(Q765633,P495,c(Q15617994))
action filter_type
action find
entity Q378268
relation P495
type Q15617994
['Q765633', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q378268 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Grounding
action filter_type
action find
entity Grounding
relation country of origin
type designation for an administrative territorial entity
['aviation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grounding property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q765633,P495,c(Q15617994))
action filter_type
action find
entity Q378268
relation P495
type Q15617994
The [ANSWER] is the country of origin of that work of art
['Q765633', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q378268 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Switzerland
The Switzerland is the country of origin of that work of art
Switzerland
action filter_type
action find
entity Grounding
relation country of origin
type designation for an administrative territorial entity
['aviation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grounding property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q39 Q16 Q1616162
P530
Q1048835
USER
Is Switzerland known to have diplomatic connections with Canada and Vimianzo ?
(Q39,P530,Q16) (Q39,P530,Q1616162)
action is_in
entity Q39
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q1616162
relation P530
['Q39', 'P530', 'Q16'] ['Q39', 'P530', 'Q1616162']
ASK WHERE { resource:Q39 property:P530 resource:Q16 . resource:Q39 property:P530 resource:Q1616162 }
Switzerland Canada Vimianzo
action is_in
entity Switzerland
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Vimianzo
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Canada'] ['Switzerland', 'diplomatic relation', 'Vimianzo']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Canada . resource:Switzerland property:diplomatic_relation resource:Vimianzo }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q39,P530,Q16) (Q39,P530,Q1616162)
action is_in
entity Q39
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q1616162
relation P530
[ANSWER]
['Q39', 'P530', 'Q16'] ['Q39', 'P530', 'Q1616162']
ASK WHERE { resource:Q39 property:P530 resource:Q16 . resource:Q39 property:P530 resource:Q1616162 }
YES and NO respectively
action is_in
entity Switzerland
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Vimianzo
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Canada'] ['Switzerland', 'diplomatic relation', 'Vimianzo']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Canada . resource:Switzerland property:diplomatic_relation resource:Vimianzo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q39 Q502326
P463
Q874405
USER
How many social groups had Switzerland or Tierpark Hagenbeck as their member ?
(Q39,P463,c(Q874405)) (Q502326,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q874405
action filter_type
action find
entity Q502326
relation P463
type Q874405
['Q39', 'P463', {'concept': 'Q874405'}] ['Q502326', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?h ) { ( resource:Q39 ) ( resource:Q502326 ) } . ?h property:P463 ?s }
Switzerland Tierpark Hagenbeck
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type social group
action filter_type
action find
entity Tierpark Hagenbeck
relation member of
type social group
['Switzerland', 'member of', {'concept': 'social group'}] ['Tierpark Hagenbeck', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?h ) { ( resource:Switzerland ) ( resource:Tierpark_Hagenbeck ) } . ?h property:member_of ?s }
[]
social group
SYSTEM
4
Q60427 Q782942 Q8908 Q60290
(Q39,P463,c(Q874405)) (Q502326,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q874405
action filter_type
action find
entity Q502326
relation P463
type Q874405
[ANSWER]
['Q39', 'P463', {'concept': 'Q874405'}] ['Q502326', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?h ) { ( resource:Q39 ) ( resource:Q502326 ) } . ?h property:P463 ?s }
World Association of Zoos and Aquariums Australia Group Council of Europe European Association of Zoos and Aquaria
4
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type social group
action filter_type
action find
entity Tierpark Hagenbeck
relation member of
type social group
['Switzerland', 'member of', {'concept': 'social group'}] ['Tierpark Hagenbeck', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?h ) { ( resource:Switzerland ) ( resource:Tierpark_Hagenbeck ) } . ?h property:member_of ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P452
Q9332 Q4830453 Q1269299
USER
How many behaviors are the industries atleast 2 business enterprises or business organizations belongs to ?
(c(Q4830453)|c(Q1269299),P452,c(Q9332))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q4830453
action find_reverse_tuple_counts
relation P452
type Q9332
type Q1269299
value 2
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P452 ?c . ?c rdf:type ontology:Q9332 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P452 ?c . ?c rdf:type ontology:Q9332 . ?y rdf:type ontology:Q1269299 } } GROUP BY ?c } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation industry
type behavior
type business enterprise
action find_reverse_tuple_counts
relation industry
type behavior
type type of business entity
value 2
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:industry ?c . ?c rdf:type ontology:behavior . ?y rdf:type ontology:business_enterprise } UNION { ?y property:industry ?c . ?c rdf:type ontology:behavior . ?y rdf:type ontology:type_of_business_entity } } GROUP BY ?c } }
[]
behavior business enterprise type of business entity
SYSTEM
7
Q36963 Q173799 Q765633 Q455550 Q130286 Q3972943 Q14373
(c(Q4830453)|c(Q1269299),P452,c(Q9332))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q4830453
action find_reverse_tuple_counts
relation P452
type Q9332
type Q1269299
value 2
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P452 ?c . ?c rdf:type ontology:Q9332 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P452 ?c . ?c rdf:type ontology:Q9332 . ?y rdf:type ontology:Q1269299 } } GROUP BY ?c } }
hunting entertainment aviation camping management consulting publishing fishing
7
action count
action atleast
action union
action find_reverse_tuple_counts
relation industry
type behavior
type business enterprise
action find_reverse_tuple_counts
relation industry
type behavior
type type of business entity
value 2
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:industry ?c . ?c rdf:type ontology:behavior . ?y rdf:type ontology:business_enterprise } UNION { ?y property:industry ?c . ?c rdf:type ontology:behavior . ?y rdf:type ontology:type_of_business_entity } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1408
Q4830453
USER
Which business enterprise has license to broadcast to United States of America ?
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P1408 resource:Q30 . ?v rdf:type ontology:Q4830453 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:licensed_to_broadcast_to resource:United_States_of_America . ?v rdf:type ontology:business_enterprise }
[]
business enterprise
Q43380
SYSTEM
CBS
Q43380
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
The [ANSWER] has license to broadcast to United States of America
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P1408 resource:Q30 . ?v rdf:type ontology:Q4830453 }
CBS
The CBS has license to broadcast to United States of America
CBS
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:licensed_to_broadcast_to resource:United_States_of_America . ?v rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q765633
P101
Q1002697
USER
Which periodical literature works in the domain of aviation ?
(c(Q1002697),P101,Q765633)
action filter_type
action find_reverse
entity Q765633
relation P101
type Q1002697
[{'concept': 'Q1002697'}, 'P101', 'Q765633']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q765633 . ?s rdf:type ontology:Q1002697 }
aviation
action filter_type
action find_reverse
entity aviation
relation field of work
type periodical literature
[{'concept': 'periodical literature'}, 'field of work', 'aviation']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:aviation . ?s rdf:type ontology:periodical_literature }
[]
periodical literature
Q11864589
SYSTEM
Ilmailu
Q11864589
(c(Q1002697),P101,Q765633)
action filter_type
action find_reverse
entity Q765633
relation P101
type Q1002697
[ANSWER] works in the domain of aviation
[{'concept': 'Q1002697'}, 'P101', 'Q765633']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q765633 . ?s rdf:type ontology:Q1002697 }
Ilmailu
Ilmailu works in the domain of aviation
Ilmailu
action filter_type
action find_reverse
entity aviation
relation field of work
type periodical literature
[{'concept': 'periodical literature'}, 'field of work', 'aviation']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:aviation . ?s rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q765633
P241
Q502895
USER
Which person has aviation as the related army branch ?
(c(Q502895),P241,Q765633)
action filter_type
action find_reverse
entity Q765633
relation P241
type Q502895
[{'concept': 'Q502895'}, 'P241', 'Q765633']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P241 resource:Q765633 }
aviation
action filter_type
action find_reverse
entity aviation
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'aviation']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:military_branch resource:aviation }
[]
common name
Q673291
SYSTEM
Fernand Jacquet
Q673291
(c(Q502895),P241,Q765633)
action filter_type
action find_reverse
entity Q765633
relation P241
type Q502895
[ANSWER] has aviation as the related army branch
[{'concept': 'Q502895'}, 'P241', 'Q765633']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P241 resource:Q765633 }
Fernand Jacquet
Fernand Jacquet has aviation as the related army branch
Fernand Jacquet
action filter_type
action find_reverse
entity aviation
relation military branch
type common name
[{'concept': 'common name'}, 'military branch', 'aviation']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:military_branch resource:aviation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q673291
P734
Q82799
USER
Who is associated with that person ?
(Q673291,P734,c(Q82799))
action filter_type
action find
entity Q673291
relation P734
type Q82799
['Q673291', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q673291 property:P734 ?p }
Fernand Jacquet
action filter_type
action find
entity Fernand Jacquet
relation family name
type name
['Fernand Jacquet', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Fernand_Jacquet property:family_name ?p }
[]
name
Q13581067
SYSTEM
Jaquet
Q13581067
(Q673291,P734,c(Q82799))
action filter_type
action find
entity Q673291
relation P734
type Q82799
[ANSWER] is associated with that person
['Q673291', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q673291 property:P734 ?p }
Jaquet
Jaquet is associated with that person
Jaquet
action filter_type
action find
entity Fernand Jacquet
relation family name
type name
['Fernand Jacquet', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Fernand_Jacquet property:family_name ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q24249569 Q673291
P734
Q82799
USER
Or John Evans?
OR((Q673291,P734,c(Q82799)), (Q24249569,P734,c(Q82799)))
action filter_type
action union
action find
entity Q673291
relation P734
action find
entity Q24249569
relation P734
type Q82799
{'OR': [['Q673291', 'P734', {'concept': 'Q82799'}], ['Q24249569', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q24249569 property:P734 ?p } UNION { resource:Q673291 property:P734 ?p } } . ?p rdf:type ontology:Q82799 }
John Evans Fernand Jacquet
action filter_type
action union
action find
entity Fernand Jacquet
relation family name
action find
entity John Evans
relation family name
type name
{'OR': [['Fernand Jacquet', 'family name', {'concept': 'name'}], ['John Evans', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:John_Evans property:family_name ?p } UNION { resource:Fernand_Jacquet property:family_name ?p } } . ?p rdf:type ontology:name }
[]
name
Q13581067 Q1260663
SYSTEM
Jaquet, Evans
Q13581067 Q1260663
OR((Q673291,P734,c(Q82799)), (Q24249569,P734,c(Q82799)))
action filter_type
action union
action find
entity Q673291
relation P734
action find
entity Q24249569
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q673291', 'P734', {'concept': 'Q82799'}], ['Q24249569', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q24249569 property:P734 ?p } UNION { resource:Q673291 property:P734 ?p } } . ?p rdf:type ontology:Q82799 }
Jaquet Evans
Jaquet Evans
action filter_type
action union
action find
entity Fernand Jacquet
relation family name
action find
entity John Evans
relation family name
type name
{'OR': [['Fernand Jacquet', 'family name', {'concept': 'name'}], ['John Evans', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:John_Evans property:family_name ?p } UNION { resource:Fernand_Jacquet property:family_name ?p } } . ?p rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q11060274 Q18783400
USER
Which names are expressed in min number of prints and genres of sculpture ?
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q = ?e ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:P180 ?r . ?r rdf:type ontology:Q82799 . ?c rdf:type ontology:Q11060274 } UNION { ?c property:P180 ?r . ?r rdf:type ontology:Q82799 . ?c rdf:type ontology:Q18783400 } } GROUP BY ?r } . { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P180 ?z . ?z rdf:type ontology:Q82799 . ?h rdf:type ontology:Q11060274 } UNION { ?h property:P180 ?z . ?z rdf:type ontology:Q82799 . ?h rdf:type ontology:Q18783400 } } GROUP BY ?z } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q = ?e ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:depicts ?r . ?r rdf:type ontology:name . ?c rdf:type ontology:print } UNION { ?c property:depicts ?r . ?r rdf:type ontology:name . ?c rdf:type ontology:genre_of_sculpture } } GROUP BY ?r } . { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:depicts ?z . ?z rdf:type ontology:name . ?h rdf:type ontology:print } UNION { ?h property:depicts ?z . ?z rdf:type ontology:name . ?h rdf:type ontology:genre_of_sculpture } } GROUP BY ?z } } }
[]
name print genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
[ANSWERS] are expressed in min number of prints and genres of sculpture
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q = ?e ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:P180 ?r . ?r rdf:type ontology:Q82799 . ?c rdf:type ontology:Q11060274 } UNION { ?c property:P180 ?r . ?r rdf:type ontology:Q82799 . ?c rdf:type ontology:Q18783400 } } GROUP BY ?r } . { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P180 ?z . ?z rdf:type ontology:Q82799 . ?h rdf:type ontology:Q11060274 } UNION { ?h property:P180 ?z . ?z rdf:type ontology:Q82799 . ?h rdf:type ontology:Q18783400 } } GROUP BY ?z } } }
octopus Cynara scolymus toad mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are expressed in min number of prints and genres of sculpture
leek magi fish
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q = ?e ) . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:depicts ?r . ?r rdf:type ontology:name . ?c rdf:type ontology:print } UNION { ?c property:depicts ?r . ?r rdf:type ontology:name . ?c rdf:type ontology:genre_of_sculpture } } GROUP BY ?r } . { SELECT DISTINCT ( MIN ( ?m ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:depicts ?z . ?z rdf:type ontology:name . ?h rdf:type ontology:print } UNION { ?h property:depicts ?z . ?z rdf:type ontology:name . ?h rdf:type ontology:genre_of_sculpture } } GROUP BY ?z } } }
[]