Simple Question (Direct)
Simple Question
Q1402567
P106
Q12737077
USER
What are the job of Vincent McNabb ?
(Q1402567,P106,c(Q12737077))
action filter_type
action find
entity Q1402567
relation P106
type Q12737077
['Q1402567', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1402567 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Vincent McNabb
action filter_type
action find
entity Vincent McNabb
relation occupation
type occupation
['Vincent McNabb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Vincent_McNabb property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q2566598 Q36180 Q831474
SYSTEM
religious, writer, presbyter
Q2566598 Q36180 Q831474
(Q1402567,P106,c(Q12737077))
action filter_type
action find
entity Q1402567
relation P106
type Q12737077
[ANSWERS]
['Q1402567', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1402567 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
religious writer presbyter
religious writer presbyter
action filter_type
action find
entity Vincent McNabb
relation occupation
type occupation
['Vincent McNabb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Vincent_McNabb property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1402567
P98
Q2342494
USER
Which collectable did Vincent McNabb act as an editor for ?
(c(Q2342494),P98,Q1402567)
action filter_type
action find_reverse
entity Q1402567
relation P98
type Q2342494
[{'concept': 'Q2342494'}, 'P98', 'Q1402567']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P98 resource:Q1402567 }
Vincent McNabb
action filter_type
action find_reverse
entity Vincent McNabb
relation editor
type collectable
[{'concept': 'collectable'}, 'editor', 'Vincent McNabb']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:editor resource:Vincent_McNabb }
[]
collectable
Q19084434
SYSTEM
The Decrees of the Vatican Council
Q19084434
(c(Q2342494),P98,Q1402567)
action filter_type
action find_reverse
entity Q1402567
relation P98
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P98', 'Q1402567']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P98 resource:Q1402567 }
The Decrees of the Vatican Council
The Decrees of the Vatican Council
action filter_type
action find_reverse
entity Vincent McNabb
relation editor
type collectable
[{'concept': 'collectable'}, 'editor', 'Vincent McNabb']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:editor resource:Vincent_McNabb }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19084434
P50
Q1530022
USER
Who authored that collectable ?
(Q19084434,P50,c(Q1530022))
action filter_type
action find
entity Q19084434
relation P50
type Q1530022
['Q19084434', 'P50', {'concept': 'Q1530022'}]
SELECT DISTINCT ?m WHERE { resource:Q19084434 property:P50 ?m . ?m rdf:type ontology:Q1530022 }
The Decrees of the Vatican Council
action filter_type
action find
entity The Decrees of the Vatican Council
relation author
type religious organization
['The Decrees of the Vatican Council', 'author', {'concept': 'religious organization'}]
SELECT DISTINCT ?m WHERE { resource:The_Decrees_of_the_Vatican_Council property:author ?m . ?m rdf:type ontology:religious_organization }
[]
religious organization
Q190857
SYSTEM
First Vatican Council
Q190857
(Q19084434,P50,c(Q1530022))
action filter_type
action find
entity Q19084434
relation P50
type Q1530022
[ANSWER]
['Q19084434', 'P50', {'concept': 'Q1530022'}]
SELECT DISTINCT ?m WHERE { resource:Q19084434 property:P50 ?m . ?m rdf:type ontology:Q1530022 }
First Vatican Council
First Vatican Council
action filter_type
action find
entity The Decrees of the Vatican Council
relation author
type religious organization
['The Decrees of the Vatican Council', 'author', {'concept': 'religious organization'}]
SELECT DISTINCT ?m WHERE { resource:The_Decrees_of_the_Vatican_Council property:author ?m . ?m rdf:type ontology:religious_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q190857 Q6119320
P463
Q502895
USER
Does Jacob Stolt-Nielsen have a membership of that religious organization ?
(Q6119320,P463,Q190857)
action is_in
entity Q6119320
action find
entity Q190857
relation P463
['Q6119320', 'P463', 'Q190857']
ASK WHERE { resource:Q190857 property:P463 resource:Q6119320 }
First Vatican Council Jacob Stolt-Nielsen
action is_in
entity Jacob Stolt-Nielsen
action find
entity First Vatican Council
relation member of
['Jacob Stolt-Nielsen', 'member of', 'First Vatican Council']
ASK WHERE { resource:First_Vatican_Council property:member_of resource:Jacob_Stolt-Nielsen }
[]
common name
SYSTEM
NO
(Q6119320,P463,Q190857)
action is_in
entity Q6119320
action find
entity Q190857
relation P463
[ANSWER]
['Q6119320', 'P463', 'Q190857']
ASK WHERE { resource:Q190857 property:P463 resource:Q6119320 }
No
action is_in
entity Jacob Stolt-Nielsen
action find
entity First Vatican Council
relation member of
['Jacob Stolt-Nielsen', 'member of', 'First Vatican Council']
ASK WHERE { resource:First_Vatican_Council property:member_of resource:Jacob_Stolt-Nielsen }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7975365 Q19084434
P98 P161
Q502895
USER
Which people are the editors of The Decrees of the Vatican Council or are in Wavelength ?
OR((Q19084434,P98,c(Q502895)), (Q7975365,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19084434
relation P98
action find
entity Q7975365
relation P161
type Q502895
{'OR': [['Q19084434', 'P98', {'concept': 'Q502895'}], ['Q7975365', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19084434 property:P98 ?p } UNION { resource:Q7975365 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Wavelength The Decrees of the Vatican Council
action filter_type
action union
action find
entity The Decrees of the Vatican Council
relation editor
action find
entity Wavelength
relation cast member
type common name
{'OR': [['The Decrees of the Vatican Council', 'editor', {'concept': 'common name'}], ['Wavelength', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:The_Decrees_of_the_Vatican_Council property:editor ?p } UNION { resource:Wavelength property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q946859 Q463734 Q1402567 Q237497
SYSTEM
Keenan Wynn, Robert Carradine, Vincent McNabb, Cherie Currie
Q946859 Q463734 Q1402567 Q237497
OR((Q19084434,P98,c(Q502895)), (Q7975365,P161,c(Q502895)))
action filter_type
action union
action find
entity Q19084434
relation P98
action find
entity Q7975365
relation P161
type Q502895
[ANSWERS]
{'OR': [['Q19084434', 'P98', {'concept': 'Q502895'}], ['Q7975365', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19084434 property:P98 ?p } UNION { resource:Q7975365 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Keenan Wynn Robert Carradine Vincent McNabb Cherie Currie
Keenan Wynn Robert Carradine Vincent McNabb Cherie Currie
action filter_type
action union
action find
entity The Decrees of the Vatican Council
relation editor
action find
entity Wavelength
relation cast member
type common name
{'OR': [['The Decrees of the Vatican Council', 'editor', {'concept': 'common name'}], ['Wavelength', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:The_Decrees_of_the_Vatican_Council property:editor ?p } UNION { resource:Wavelength property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q463734)
[{'concept': 'Q838948'}, 'P161', 'Q463734']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q463734 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Robert Carradine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Robert_Carradine . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q1402567
SYSTEM
Did you mean Vincent McNabb ?
(c(Q838948),P161,Q946859) (c(Q838948),P161,Q463734) (c(Q838948),P161,Q1402567) (c(Q838948),P161,Q237497)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q946859'] [{'concept': 'Q838948'}, 'P161', 'Q463734'] [{'concept': 'Q838948'}, 'P161', 'Q1402567'] [{'concept': 'Q838948'}, 'P161', 'Q237497']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q463734 . ?z rdf:type ontology:Q838948 }
Did you mean Vincent McNabb ?
Vincent McNabb
[{'concept': 'work of art'}, 'cast member', 'Keenan Wynn'] [{'concept': 'work of art'}, 'cast member', 'Robert Carradine'] [{'concept': 'work of art'}, 'cast member', 'Vincent McNabb'] [{'concept': 'work of art'}, 'cast member', 'Cherie Currie']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Robert_Carradine . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Robert Carradine. Could you tell me the answer for that?
(c(Q838948),P161,Q463734)
Q463734
[{'concept': 'Q838948'}, 'P161', 'Q463734']
[{'concept': 'work of art'}, 'cast member', 'Robert Carradine']
[]
SYSTEM
32
Q1114683 Q1211921 Q1437448 Q7711757 Q3961764 Q571032 Q7824265 Q303136 Q1907367 Q4734176 Q7975365 Q2085004 Q937395 Q5433712 Q1553848 Q4641332 Q926839 Q768237 Q743190 Q4907409 Q1697491 Q5121033 Q472456 Q742733 Q5692532 Q1170554 Q2671985 Q3269931 Q841335 Q12125916 Q647316 Q1779547
(c(Q838948),P161,Q463734)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q463734']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q463734 . ?z rdf:type ontology:Q838948 }
Coming Home The Cowboys Joyride The 13th Alley Buy & Cell Django Unchained Tooth and Nail The Big Red One Massacre at Central High Aloha, Bobby and Rose Wavelength Just the Way You Are Revenge of the Nerds Fancypants Cannonball Tag: The Assassination Game Rude Awakening Revenge of the Nerds II: Nerds in Paradise The Lizzie McGuire Movie Bikini Spring Break The Long Riders Cinnamon Jackson County Jail Revenge of the Nerds III: The Next Generation Heartaches The Howling Supercross The Pom Pom Girls Mean Streets Lycanthrope Orca Max Keeble's Big Move
32
[{'concept': 'work of art'}, 'cast member', 'Robert Carradine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Robert_Carradine . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 2106 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2106
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P1303 ?k . ?s rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?c = 2106 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2106
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:instrument ?k . ?s rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?c = 2106 ) }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2106
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P1303 ?k . ?s rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?c = 2106 ) }
bass guitar double bass trumpet cello organ drum kit
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2106
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:instrument ?k . ?s rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?c = 2106 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2666591
P921
Q12737077 Q2342494 Q191067
USER
Which occupations were the main subjects in the work approximately the same number of collectables or articles as Chair of the Federal Reserve ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q2666591
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P921 resource:Q2666591 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?f WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?f } }
Chair of the Federal Reserve
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity Chair of the Federal Reserve
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:main_subject resource:Chair_of_the_Federal_Reserve . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?f WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?f } }
[]
occupation collectable article
Q131512 Q16707842 Q9045502
SYSTEM
farmer, Member of Parliament in the United Kingdom, member of the Parliament of Norway
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q2666591
relation P921
type Q2342494
type Q191067
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P921 resource:Q2666591 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?f WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?f } }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
farmer Member of Parliament in the United Kingdom member of the Parliament of Norway
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity Chair of the Federal Reserve
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:main_subject resource:Chair_of_the_Federal_Reserve . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?f WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q33999
P921
Q12737077 Q2342494 Q191067
USER
And what about actor?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } . ?h property:P921 resource:Q33999 } } . FILTER ( ?a = ?b ) }
actor
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity actor
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:article ) ( ontology:collectable ) } } . ?h property:main_subject resource:actor } } . FILTER ( ?a = ?b ) }
[]
occupation collectable article
Q131512 Q16707842 Q9045502
SYSTEM
farmer, Member of Parliament in the United Kingdom, member of the Parliament of Norway
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P921
type Q2342494
type Q191067
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } . ?h property:P921 resource:Q33999 } } . FILTER ( ?a = ?b ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
farmer Member of Parliament in the United Kingdom member of the Parliament of Norway
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity actor
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:article ) ( ontology:collectable ) } } . ?h property:main_subject resource:actor } } . FILTER ( ?a = ?b ) }
[]