Simple Question (Direct)
Simple Question
Q11632098
P463
Q2088357
USER
Which organization was Kazumi Morohoshi a member of ?
(Q11632098,P463,c(Q2088357))
action filter_type
action find
entity Q11632098
relation P463
type Q2088357
['Q11632098', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?i WHERE { resource:Q11632098 property:P463 ?i . ?i rdf:type ontology:Q2088357 }
Kazumi Morohoshi
action filter_type
action find
entity Kazumi Morohoshi
relation member of
type musical ensemble
['Kazumi Morohoshi', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?i WHERE { resource:Kazumi_Morohoshi property:member_of ?i . ?i rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1056450
SYSTEM
Hikaru Genji
Q1056450
(Q11632098,P463,c(Q2088357))
action filter_type
action find
entity Q11632098
relation P463
type Q2088357
[ANSWER] was Kazumi Morohoshi a member of
['Q11632098', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?i WHERE { resource:Q11632098 property:P463 ?i . ?i rdf:type ontology:Q2088357 }
Hikaru Genji
Hikaru Genji was Kazumi Morohoshi a member of
Hikaru Genji
action filter_type
action find
entity Kazumi Morohoshi
relation member of
type musical ensemble
['Kazumi Morohoshi', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?i WHERE { resource:Kazumi_Morohoshi property:member_of ?i . ?i rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1056450
P264
Q334453
USER
Who sponsored the recoding of that musical ensemble ?
(Q1056450,P264,c(Q334453))
action filter_type
action find
entity Q1056450
relation P264
type Q334453
['Q1056450', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q1056450 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Hikaru Genji
action filter_type
action find
entity Hikaru Genji
relation record label
type division
['Hikaru Genji', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Hikaru_Genji property:record_label ?e . ?e rdf:type ontology:division }
[]
division
Q1064327
SYSTEM
Johnny & Associates
Q1064327
(Q1056450,P264,c(Q334453))
action filter_type
action find
entity Q1056450
relation P264
type Q334453
[ANSWER] sponsored the recoding of that musical ensemble
['Q1056450', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q1056450 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Johnny & Associates
Johnny & Associates sponsored the recoding of that musical ensemble
Johnny & Associates
action filter_type
action find
entity Hikaru Genji
relation record label
type division
['Hikaru Genji', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Hikaru_Genji property:record_label ?e . ?e rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1064327
P127
Q334453
USER
Which division is owned by that one ?
(c(Q334453),P127,Q1064327)
action filter_type
action find_reverse
entity Q1064327
relation P127
type Q334453
[{'concept': 'Q334453'}, 'P127', 'Q1064327']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1064327 . ?w rdf:type ontology:Q334453 }
Johnny & Associates
action filter_type
action find_reverse
entity Johnny & Associates
relation owned by
type division
[{'concept': 'division'}, 'owned by', 'Johnny & Associates']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Johnny_&_Associates . ?w rdf:type ontology:division }
[]
division
Q1200105
SYSTEM
J Storm
Q1200105
(c(Q334453),P127,Q1064327)
action filter_type
action find_reverse
entity Q1064327
relation P127
type Q334453
[ANSWER] is owned by that one
[{'concept': 'Q334453'}, 'P127', 'Q1064327']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1064327 . ?w rdf:type ontology:Q334453 }
J Storm
J Storm is owned by that one
J Storm
action filter_type
action find_reverse
entity Johnny & Associates
relation owned by
type division
[{'concept': 'division'}, 'owned by', 'Johnny & Associates']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Johnny_&_Associates . ?w rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1064327
P1454
Q2712963
USER
Which abstract noun represents the legal form of Johnny & Associates ?
(Q1064327,P1454,c(Q2712963))
action filter_type
action find
entity Q1064327
relation P1454
type Q2712963
['Q1064327', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q1064327 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
Johnny & Associates
action filter_type
action find
entity Johnny & Associates
relation legal form
type abstract noun
['Johnny & Associates', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:Johnny_&_Associates property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
abstract noun
Q1480166
SYSTEM
kabushiki gaisha
Q1480166
(Q1064327,P1454,c(Q2712963))
action filter_type
action find
entity Q1064327
relation P1454
type Q2712963
The [ANSWER] represents the legal form of Johnny & Associates
['Q1064327', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q1064327 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
kabushiki gaisha
The kabushiki gaisha represents the legal form of Johnny & Associates
kabushiki gaisha
action filter_type
action find
entity Johnny & Associates
relation legal form
type abstract noun
['Johnny & Associates', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:Johnny_&_Associates property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11632098
P172
Q2472587
USER
What is the race of Kazumi Morohoshi ?
(Q11632098,P172,c(Q2472587))
action filter_type
action find
entity Q11632098
relation P172
type Q2472587
['Q11632098', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q11632098 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
Kazumi Morohoshi
action filter_type
action find
entity Kazumi Morohoshi
relation ethnic group
type people
['Kazumi Morohoshi', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:Kazumi_Morohoshi property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
people
Q161652
SYSTEM
Japanese people
Q161652
(Q11632098,P172,c(Q2472587))
action filter_type
action find
entity Q11632098
relation P172
type Q2472587
The race of Kazumi Morohoshi is a [ANSWER]
['Q11632098', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q11632098 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
Japanese people
The race of Kazumi Morohoshi is a Japanese people
Japanese people
action filter_type
action find
entity Kazumi Morohoshi
relation ethnic group
type people
['Kazumi Morohoshi', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:Kazumi_Morohoshi property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11632098
P106
Q12737077
USER
What are the job of that person ?
(Q161652,P106,c(Q12737077))
action filter_type
action find
entity Q11632098
relation P106
type Q12737077
['Q161652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11632098 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Kazumi Morohoshi
action filter_type
action find
entity Kazumi Morohoshi
relation occupation
type occupation
['Japanese people', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Kazumi_Morohoshi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q33999 Q36834 Q177220
SYSTEM
actor, composer, singer
Q33999 Q36834 Q177220
(Q161652,P106,c(Q12737077))
action filter_type
action find
entity Q11632098
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q161652', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11632098 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
actor composer singer
The job of that person are the actor, composer and singer
actor composer singer
action filter_type
action find
entity Kazumi Morohoshi
relation occupation
type occupation
['Japanese people', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Kazumi_Morohoshi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q54128
P180
Q12737077 Q838948 Q1792379
USER
Which occupations are expressed in more number of works of art or art genres than domestic worker ?
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q54128
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?r rdf:type ?a } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?q property:P180 resource:Q54128 } } . FILTER ( ?k > ?n ) }
domestic worker
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity domestic worker
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?r rdf:type ?a } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?q property:depicts resource:domestic_worker } } . FILTER ( ?k > ?n ) }
[]
occupation work of art art genre
Q19546 Q4991371 Q1028181
SYSTEM
pope, soldier, painter
Q1250916 Q81710 Q47064 Q12902372 Q1028181 Q12059906 Q19546 Q4991371 Q3127709 Q1639825 Q45722 Q2730732 Q5716684 Q3128486 Q2309784 Q838811 Q331432 Q639669 Q49757 Q1281618 Q39631
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q54128
relation P180
type Q838948
type Q1792379
[ANSWERS] are expressed in more number of works of art or art genres than domestic worker
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?r rdf:type ?a } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?q property:P180 resource:Q54128 } } . FILTER ( ?k > ?n ) }
warrior shepherd military personnel flautist painter herder pope soldier harpist blacksmith cardinal equestrian dancer high-ranking civil servant in France sport cyclist peasant fisherman musician poet sculptor physician
Pope, soldier and painter are expressed in more number of works of art or art genres than domestic worker
pope soldier painter
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity domestic worker
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?r rdf:type ?a } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?q property:depicts resource:domestic_worker } } . FILTER ( ?k > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q242468
P180
Q12737077 Q838948 Q1792379
USER
And also tell me about tailor?
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q242468
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { { ?r property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?d property:P180 resource:Q242468 } } . FILTER ( ?y > ?t ) }
tailor
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity tailor
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { { ?r property:depicts ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?d property:depicts resource:tailor } } . FILTER ( ?y > ?t ) }
[]
occupation work of art art genre
Q131512 Q19546 Q170779
SYSTEM
farmer, pope, Kassandra
Q177220 Q131512 Q27621374 Q36180 Q2079936 Q1250916 Q81710 Q1259917 Q329737 Q47064 Q22085061 Q12902372 Q1028181 Q181765 Q805221 Q12059906 Q855855 Q19546 Q6116659 Q622630 Q3330547 Q3214532 Q2981922 Q4991371 Q13381689 Q178521 Q3127709 Q1639825 Q54128 Q45722 Q20489032 Q2730732 Q965417 Q845929 Q5716684 Q170779 Q3128486 Q1627992 Q2309784 Q838811 Q189290 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q432386 Q42603 Q39631 Q842606 Q2340797 Q156839
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q242468
relation P180
type Q838948
type Q1792379
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { { ?r property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?d property:P180 resource:Q242468 } } . FILTER ( ?y > ?t ) }
singer farmer bear hunter writer king of marksmen warrior shepherd violinist butcher military personnel sower flautist painter Holy Roman Emperor ballet dancer herder page pope priestess odalisque chronicler plowman American pioneer soldier discus thrower cowboy harpist blacksmith domestic worker cardinal salt pan worker equestrian waterseller pretender dancer Kassandra high-ranking civil servant in France lady's maid sport cyclist peasant officer fisherman musician poet draughtsperson sculptor preacher priest physician Roman emperor quarryman cook
farmer pope Kassandra
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity tailor
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?p WHERE { { ?r property:depicts ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?d property:depicts resource:tailor } } . FILTER ( ?y > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33999 Q3356245
P425
Q1914636
USER
How many activities are associated with the field of occupation actor or Civilekonom ?
(Q33999,P425,c(Q1914636)) (Q3356245,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q3356245
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q3356245', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { resource:Q3356245 property:P425 ?o . ?o rdf:type ontology:Q1914636 } UNION { resource:Q33999 property:P425 ?o . ?o rdf:type ontology:Q1914636 } }
actor Civilekonom
action count
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity Civilekonom
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['Civilekonom', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { resource:Civilekonom property:field_of_this_occupation ?o . ?o rdf:type ontology:activity } UNION { resource:actor property:field_of_this_occupation ?o . ?o rdf:type ontology:activity } }
[]
activity
SYSTEM
2
Q338754 Q222749
(Q33999,P425,c(Q1914636)) (Q3356245,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q3356245
relation P425
type Q1914636
[ANSWER]
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q3356245', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { resource:Q3356245 property:P425 ?o . ?o rdf:type ontology:Q1914636 } UNION { resource:Q33999 property:P425 ?o . ?o rdf:type ontology:Q1914636 } }
control acting
2
action count
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity Civilekonom
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['Civilekonom', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { resource:Civilekonom property:field_of_this_occupation ?o . ?o rdf:type ontology:activity } UNION { resource:actor property:field_of_this_occupation ?o . ?o rdf:type ontology:activity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q2342494
USER
How many occupations are depicted in exactly 5 works of art or collectables ?
(c(Q838948)|c(Q2342494),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
value 5
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?d } . FILTER ( ?m = 5 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
value 5
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?d } . FILTER ( ?m = 5 ) }
[]
occupation work of art collectable
SYSTEM
4
Q2730732 Q838811 Q639669 Q49757
(c(Q838948)|c(Q2342494),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
value 5
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?d } . FILTER ( ?m = 5 ) }
equestrian peasant musician poet
4
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
value 5
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?d } . FILTER ( ?m = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19546
P1027
Q618779
USER
Which awards are bestowed by pope ?
(c(Q618779),P1027,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q19546']
SELECT DISTINCT ?u WHERE { ?u property:P1027 resource:Q19546 . ?u rdf:type ontology:Q618779 }
pope
action filter_type
action find_reverse
entity pope
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'pope']
SELECT DISTINCT ?u WHERE { ?u property:conferred_by resource:pope . ?u rdf:type ontology:award }
[]
award
Q735298 Q16750686 Q93716
SYSTEM
Supreme Order of Christ, knight of St. Sylvester, Order of the Golden Spur
Q16750686 Q735298 Q93716 Q16750840 Q18608365
(c(Q618779),P1027,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P1027
type Q618779
[ANSWERS] are bestowed by pope
[{'concept': 'Q618779'}, 'P1027', 'Q19546']
SELECT DISTINCT ?u WHERE { ?u property:P1027 resource:Q19546 . ?u rdf:type ontology:Q618779 }
knight of St. Sylvester Supreme Order of Christ Order of the Golden Spur komtur of Order of St. Sylvester Knight Grand Cross of the Order of St. Sylvester
Supreme Order of Christ, knight of St. Sylvester and Order of the Golden Spur are bestowed by pope
Supreme Order of Christ knight of St. Sylvester Order of the Golden Spur
action filter_type
action find_reverse
entity pope
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'pope']
SELECT DISTINCT ?u WHERE { ?u property:conferred_by resource:pope . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19546
P50
Q49848
USER
Which document has pope as its author ?
(c(Q49848),P50,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P50
type Q49848
[{'concept': 'Q49848'}, 'P50', 'Q19546']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q19546 . ?n rdf:type ontology:Q49848 }
pope
action filter_type
action find_reverse
entity pope
relation author
type document
[{'concept': 'document'}, 'author', 'pope']
SELECT DISTINCT ?n WHERE { ?n property:author resource:pope . ?n rdf:type ontology:document }
[]
document
Q782846
SYSTEM
Collectio Avellana
Q782846
(c(Q49848),P50,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P50
type Q49848
[ANSWER] has pope as its author
[{'concept': 'Q49848'}, 'P50', 'Q19546']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q19546 . ?n rdf:type ontology:Q49848 }
Collectio Avellana
Collectio Avellana has pope as its author
Collectio Avellana
action filter_type
action find_reverse
entity pope
relation author
type document
[{'concept': 'document'}, 'author', 'pope']
SELECT DISTINCT ?n WHERE { ?n property:author resource:pope . ?n rdf:type ontology:document }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19546
P748
Q12737077
USER
Who were the occupations appointed by pope ?
(c(Q12737077),P748,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q19546']
SELECT DISTINCT ?h WHERE { ?h property:P748 resource:Q19546 . ?h rdf:type ontology:Q12737077 }
pope
action filter_type
action find_reverse
entity pope
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'pope']
SELECT DISTINCT ?h WHERE { ?h property:appointed_by resource:pope . ?h rdf:type ontology:occupation }
[]
occupation
Q20736121 Q24636364 Q27088842
SYSTEM
Bishop of Versailles, bishop of Nanjing, Director of the Holy See Press Office
Q20736121 Q24636364 Q27088842 Q23906787 Q20877172
(c(Q12737077),P748,Q19546)
action filter_type
action find_reverse
entity Q19546
relation P748
type Q12737077
The occupations appointed by pope were [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', 'Q19546']
SELECT DISTINCT ?h WHERE { ?h property:P748 resource:Q19546 . ?h rdf:type ontology:Q12737077 }
Bishop of Versailles bishop of Nanjing Director of the Holy See Press Office Bishop of Nevers bishop of Amiens
The occupations appointed by pope were Bishop of Versailles, bishop of Nanjing and Director of the Holy See Press Office
Bishop of Versailles bishop of Nanjing Director of the Holy See Press Office
action filter_type
action find_reverse
entity pope
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'pope']
SELECT DISTINCT ?h WHERE { ?h property:appointed_by resource:pope . ?h rdf:type ontology:occupation }
[]