Simple Question (Direct)
Simple Question
Q5545446
P102
Q7210356
USER
Which party does George Van Peursem belong to ?
(Q5545446,P102,c(Q7210356))
action filter_type
action find
entity Q5545446
relation P102
type Q7210356
['Q5545446', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5545446 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
George Van Peursem
action filter_type
action find
entity George Van Peursem
relation member of political party
type political organization
['George Van Peursem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:George_Van_Peursem property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5545446,P102,c(Q7210356))
action filter_type
action find
entity Q5545446
relation P102
type Q7210356
George Van Peursem belongs to [ANSWER]
['Q5545446', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5545446 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Republican Party
George Van Peursem belongs to Republican Party
Republican Party
action filter_type
action find
entity George Van Peursem
relation member of political party
type political organization
['George Van Peursem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:George_Van_Peursem property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5545446
P39
Q12737077
USER
Which occupation was a position for which George Van Peursem was appointed ?
(Q5545446,P39,c(Q12737077))
action filter_type
action find
entity Q5545446
relation P39
type Q12737077
['Q5545446', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5545446 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
George Van Peursem
action filter_type
action find
entity George Van Peursem
relation position held
type occupation
['George Van Peursem', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:George_Van_Peursem property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q18654736
SYSTEM
member of the Michigan House of Representatives
Q18654736
(Q5545446,P39,c(Q12737077))
action filter_type
action find
entity Q5545446
relation P39
type Q12737077
A [ANSWER] was a position for which George Van Peursem was appointed
['Q5545446', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5545446 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the Michigan House of Representatives
A member of the Michigan House of Representatives was a position for which George Van Peursem was appointed
member of the Michigan House of Representatives
action filter_type
action find
entity George Van Peursem
relation position held
type occupation
['George Van Peursem', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:George_Van_Peursem property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18654736
P17
Q15617994
USER
Which administrative territory does that occupation belong to ?
(Q18654736,P17,c(Q15617994))
action filter_type
action find
entity Q18654736
relation P17
type Q15617994
['Q18654736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q18654736 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
member of the Michigan House of Representatives
action filter_type
action find
entity member of the Michigan House of Representatives
relation country
type designation for an administrative territorial entity
['member of the Michigan House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:member_of_the_Michigan_House_of_Representatives property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18654736,P17,c(Q15617994))
action filter_type
action find
entity Q18654736
relation P17
type Q15617994
That occupation belongs to the [ANSWER]
['Q18654736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q18654736 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
That occupation belongs to the United States of America
United States of America
action filter_type
action find
entity member of the Michigan House of Representatives
relation country
type designation for an administrative territorial entity
['member of the Michigan House of Representatives', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:member_of_the_Michigan_House_of_Representatives property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5545446
P1412
Q34770
USER
Which language does George Van Peursem speak in ?
(Q5545446,P1412,c(Q34770))
action filter_type
action find
entity Q5545446
relation P1412
type Q34770
['Q5545446', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q5545446 property:P1412 ?y }
George Van Peursem
action filter_type
action find
entity George Van Peursem
relation languages spoken, written or signed
type language
['George Van Peursem', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:George_Van_Peursem property:languages_spoken,_written_or_signed ?y }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5545446,P1412,c(Q34770))
action filter_type
action find
entity Q5545446
relation P1412
type Q34770
George Van Peursem speaks [ANSWER]
['Q5545446', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q5545446 property:P1412 ?y }
English
George Van Peursem speaks English
English
action filter_type
action find
entity George Van Peursem
relation languages spoken, written or signed
type language
['George Van Peursem', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:George_Van_Peursem property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5545446
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1860,P20,c(Q56061))
action filter_type
action find
entity Q5545446
relation P20
type Q56061
['Q1860', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q5545446 property:P20 ?c . ?c rdf:type ontology:Q56061 }
George Van Peursem
action filter_type
action find
entity George Van Peursem
relation place of death
type administrative territorial entity
['English', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:George_Van_Peursem property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3295695
SYSTEM
Grand Ledge
Q3295695
(Q1860,P20,c(Q56061))
action filter_type
action find
entity Q5545446
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q1860', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q5545446 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Grand Ledge
Grand Ledge is the place of death of that person
Grand Ledge
action filter_type
action find
entity George Van Peursem
relation place of death
type administrative territorial entity
['English', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:George_Van_Peursem property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q244
P706
Q355304 Q1048835 Q15617994
USER
How many administrative territories are located in greater number of watercourses and political territories than Barbados ?
(c(Q15617994),P706,c(Q355304)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q244
relation P706
type Q355304
type Q1048835
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q244 property:P706 ?s . { { ?s rdf:type ontology:Q355304 } UNION { ?s rdf:type ontology:Q1048835 } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?h ) WHERE { { ?t property:P706 ?j . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 } UNION { ?t property:P706 ?j . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?t } }
Barbados
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Barbados
relation located on terrain feature
type watercourse
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Barbados property:located_on_terrain_feature ?s . { { ?s rdf:type ontology:watercourse } UNION { ?s rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?h ) WHERE { { ?t property:located_on_terrain_feature ?j . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse } UNION { ?t property:located_on_terrain_feature ?j . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?t } }
[]
watercourse political territorial entity designation for an administrative territorial entity
SYSTEM
6
Q2712111 Q5000224 Q104192 Q565749 Q518171 Q7561974
(c(Q15617994),P706,c(Q355304)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q244
relation P706
type Q355304
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q244 property:P706 ?s . { { ?s rdf:type ontology:Q355304 } UNION { ?s rdf:type ontology:Q1048835 } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?h ) WHERE { { ?t property:P706 ?j . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 } UNION { ?t property:P706 ?j . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?t } }
Zagori Burnt River, Ontario Kleinmachnow Erden Ellhofen Sonning Eye
6
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Barbados
relation located on terrain feature
type watercourse
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Barbados property:located_on_terrain_feature ?s . { { ?s rdf:type ontology:watercourse } UNION { ?s rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?h ) WHERE { { ?t property:located_on_terrain_feature ?j . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse } UNION { ?t property:located_on_terrain_feature ?j . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q486839
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were discussed in approximately the same number of collectables or works of art as member of parliament ?
(c(Q2342494)|c(Q838948),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 Q838948
action count
action filter_multi_types
action find_reverse
entity Q486839
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?n rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P921 resource:Q486839 . { { ?m rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?a = ?v ) }
member of parliament
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 work of art
action count
action filter_multi_types
action find_reverse
entity member of parliament
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?n rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:main_subject resource:member_of_parliament . { { ?m rdf:type ontology:collectable } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?a = ?v ) }
[]
occupation collectable work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q838948),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 Q838948
action count
action filter_multi_types
action find_reverse
entity Q486839
relation P921
type Q2342494
type Q838948
[ANSWERS] were discussed in approximately the same number of collectables or works of art as member of parliament
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?n rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P921 resource:Q486839 . { { ?m rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q838948 } } } } . FILTER ( ?a = ?v ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect 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 association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were discussed in approximately the same number of collectables or works of art as member of parliament
Fletcher Christian farmer librarian
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 work of art
action count
action filter_multi_types
action find_reverse
entity member of parliament
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?n rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:main_subject resource:member_of_parliament . { { ?m rdf:type ontology:collectable } UNION { ?m rdf:type ontology:work_of_art } } } } . FILTER ( ?a = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q654291
P921
Q12737077 Q2342494 Q838948
USER
And how about Deputy to the Dáil?
(c(Q2342494)|c(Q838948),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 Q838948
action count
action filter_multi_types
action find_reverse
entity Q654291
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P921 resource:Q654291 . { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?u rdf:type ?s } } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?k WHERE { { ?r property:P921 ?k . ?r rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q12737077 } UNION { ?r property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } } GROUP BY ?k } }
Deputy to the Dáil
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 work of art
action count
action filter_multi_types
action find_reverse
entity Deputy to the Dáil
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:main_subject resource:Deputy_to_the_Dáil . { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?u rdf:type ?s } } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?k WHERE { { ?r property:main_subject ?k . ?r rdf:type ontology:collectable . ?k rdf:type ontology:occupation } UNION { ?r property:main_subject ?k . ?k rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]
occupation collectable work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q838948),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 Q838948
action count
action filter_multi_types
action find_reverse
entity Q654291
relation P921
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P921 resource:Q654291 . { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?u rdf:type ?s } } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?k WHERE { { ?r property:P921 ?k . ?r rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q12737077 } UNION { ?r property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q838948 } } GROUP BY ?k } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect 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 association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian farmer librarian
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 work of art
action count
action filter_multi_types
action find_reverse
entity Deputy to the Dáil
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:main_subject resource:Deputy_to_the_Dáil . { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?u rdf:type ?s } } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?k WHERE { { ?r property:main_subject ?k . ?r rdf:type ontology:collectable . ?k rdf:type ontology:occupation } UNION { ?r property:main_subject ?k . ?k rdf:type ontology:occupation . ?r rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]