Simple Question (Direct)
Simple Question
Q6530602
P21
Q290
USER
Which sex does Leslie Ann Jones have ?
(Q6530602,P21,c(Q290))
action filter_type
action find
entity Q6530602
relation P21
type Q290
['Q6530602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q6530602 property:P21 ?z . ?z rdf:type ontology:Q290 }
Leslie Ann Jones
action filter_type
action find
entity Leslie Ann Jones
relation gender
type sex
['Leslie Ann Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Ann_Jones property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6530602,P21,c(Q290))
action filter_type
action find
entity Q6530602
relation P21
type Q290
Leslie Ann Jones has a [ANSWER]
['Q6530602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q6530602 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
Leslie Ann Jones has a female
female
action filter_type
action find
entity Leslie Ann Jones
relation gender
type sex
['Leslie Ann Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Ann_Jones property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6530602
P734
Q82799
USER
Which name is associated with that person ?
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q6530602
relation P734
type Q82799
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q6530602 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Leslie Ann Jones
action filter_type
action find
entity Leslie Ann Jones
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Leslie_Ann_Jones property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q6530602
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q6530602 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Jones
Jones is associated with that person
Jones
action filter_type
action find
entity Leslie Ann Jones
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Leslie_Ann_Jones property:family_name ?x . ?x rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q17488654 Q6530602
P734
Q82799
USER
Or George Smith?
OR((Q6530602,P734,c(Q82799)), (Q17488654,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6530602
relation P734
action find
entity Q17488654
relation P734
type Q82799
{'OR': [['Q6530602', 'P734', {'concept': 'Q82799'}], ['Q17488654', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q17488654 property:P734 ?j } UNION { resource:Q6530602 property:P734 ?j } } . ?j rdf:type ontology:Q82799 }
George Smith Leslie Ann Jones
action filter_type
action union
action find
entity Leslie Ann Jones
relation family name
action find
entity George Smith
relation family name
type name
{'OR': [['Leslie Ann Jones', 'family name', {'concept': 'name'}], ['George Smith', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:George_Smith property:family_name ?j } UNION { resource:Leslie_Ann_Jones property:family_name ?j } } . ?j rdf:type ontology:name }
[]
name
Q1158446 Q59853
SYSTEM
Smith, Jones
Q1158446 Q59853
OR((Q6530602,P734,c(Q82799)), (Q17488654,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6530602
relation P734
action find
entity Q17488654
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q6530602', 'P734', {'concept': 'Q82799'}], ['Q17488654', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q17488654 property:P734 ?j } UNION { resource:Q6530602 property:P734 ?j } } . ?j rdf:type ontology:Q82799 }
Smith Jones
Smith Jones
action filter_type
action union
action find
entity Leslie Ann Jones
relation family name
action find
entity George Smith
relation family name
type name
{'OR': [['Leslie Ann Jones', 'family name', {'concept': 'name'}], ['George Smith', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:George_Smith property:family_name ?j } UNION { resource:Leslie_Ann_Jones property:family_name ?j } } . ?j rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18537614 Q17488654
P27
Q15617994
USER
Which administrative territories are George Smith or Dan Avram a civilian of ?
OR((Q17488654,P27,c(Q15617994)), (Q18537614,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17488654
relation P27
action find
entity Q18537614
relation P27
type Q15617994
{'OR': [['Q17488654', 'P27', {'concept': 'Q15617994'}], ['Q18537614', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?u property:P27 ?v . VALUES ( ?u ) { ( resource:Q17488654 ) ( resource:Q18537614 ) } } . ?v rdf:type ontology:Q15617994 }
Dan Avram George Smith
action filter_type
action union
action find
entity George Smith
relation country of citizenship
action find
entity Dan Avram
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dan Avram', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?u property:country_of_citizenship ?v . VALUES ( ?u ) { ( resource:George_Smith ) ( resource:Dan_Avram ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q145
SYSTEM
Romania, United Kingdom
Q218 Q145
OR((Q17488654,P27,c(Q15617994)), (Q18537614,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17488654
relation P27
action find
entity Q18537614
relation P27
type Q15617994
[ANSWERS] are George Smith or Dan Avram a civilian of
{'OR': [['Q17488654', 'P27', {'concept': 'Q15617994'}], ['Q18537614', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?u property:P27 ?v . VALUES ( ?u ) { ( resource:Q17488654 ) ( resource:Q18537614 ) } } . ?v rdf:type ontology:Q15617994 }
Romania United Kingdom
Romania and United Kingdom are George Smith or Dan Avram a civilian of
Romania United Kingdom
action filter_type
action union
action find
entity George Smith
relation country of citizenship
action find
entity Dan Avram
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dan Avram', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?u property:country_of_citizenship ?v . VALUES ( ?u ) { ( resource:George_Smith ) ( resource:Dan_Avram ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q469171 Q6530602
P39 P106
Q12737077
USER
Which occupations are the professions of Leslie Ann Jones or were the positions held by Federico Borromeo ?
OR((Q6530602,P106,c(Q12737077)), (Q469171,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q6530602
relation P106
action find
entity Q469171
relation P39
type Q12737077
{'OR': [['Q6530602', 'P106', {'concept': 'Q12737077'}], ['Q469171', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6530602 property:P106 ?y } UNION { resource:Q469171 property:P39 ?y } } . ?y rdf:type ontology:Q12737077 }
Federico Borromeo Leslie Ann Jones
action filter_type
action union
action find
entity Leslie Ann Jones
relation occupation
action find
entity Federico Borromeo
relation position held
type occupation
{'OR': [['Leslie Ann Jones', 'occupation', {'concept': 'occupation'}], ['Federico Borromeo', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Leslie_Ann_Jones property:occupation ?y } UNION { resource:Federico_Borromeo property:position_held ?y } } . ?y rdf:type ontology:occupation }
[]
occupation
Q183945 Q49476 Q45722 Q81096 Q128124 Q36834
SYSTEM
record producer, archbishop, cardinal, engineer, audio engineer, composer
Q183945 Q49476 Q45722 Q81096 Q128124 Q36834
OR((Q6530602,P106,c(Q12737077)), (Q469171,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q6530602
relation P106
action find
entity Q469171
relation P39
type Q12737077
The professions of Leslie are audio [ANSWERS]
{'OR': [['Q6530602', 'P106', {'concept': 'Q12737077'}], ['Q469171', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6530602 property:P106 ?y } UNION { resource:Q469171 property:P39 ?y } } . ?y rdf:type ontology:Q12737077 }
record producer archbishop cardinal engineer audio engineer composer
The professions of Leslie are audio record producer, archbishop, cardinal, engineer, audio engineer and composer
record producer archbishop cardinal engineer audio engineer composer
action filter_type
action union
action find
entity Leslie Ann Jones
relation occupation
action find
entity Federico Borromeo
relation position held
type occupation
{'OR': [['Leslie Ann Jones', 'occupation', {'concept': 'occupation'}], ['Federico Borromeo', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Leslie_Ann_Jones property:occupation ?y } UNION { resource:Federico_Borromeo property:position_held ?y } } . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
What is the name of flag associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q145 property:P163 ?y . ?y rdf:type ontology:Q14660 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:United_Kingdom property:flag ?y . ?y rdf:type ontology:flag }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The name of flag associated with United Kingdom is the [ANSWER]
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q145 property:P163 ?y . ?y rdf:type ontology:Q14660 }
flag of the United Kingdom
The name of flag associated with United Kingdom is the flag of the United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:United_Kingdom property:flag ?y . ?y rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83278
P180
Q14660
USER
Which flags demonstrate that one ?
(c(Q14660),P180,Q83278)
action filter_type
action find_reverse
entity Q83278
relation P180
type Q14660
[{'concept': 'Q14660'}, 'P180', 'Q83278']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q83278 . ?n rdf:type ontology:Q14660 }
flag of the United Kingdom
action filter_type
action find_reverse
entity flag of the United Kingdom
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', 'flag of the United Kingdom']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:flag_of_the_United_Kingdom . ?n rdf:type ontology:flag }
[]
flag
Q1165949 Q637134 Q512175
SYSTEM
Flag of Ontario, flag of British Columbia, Flag of Manitoba
Q1165949 Q637134 Q512175
(c(Q14660),P180,Q83278)
action filter_type
action find_reverse
entity Q83278
relation P180
type Q14660
[ANSWERS] demonstrate that one
[{'concept': 'Q14660'}, 'P180', 'Q83278']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q83278 . ?n rdf:type ontology:Q14660 }
Flag of Ontario flag of British Columbia Flag of Manitoba
Flag of Ontario, flag of British Columbia and Flag of Manitoba demonstrate that one
Flag of Ontario flag of British Columbia Flag of Manitoba
action filter_type
action find_reverse
entity flag of the United Kingdom
relation depicts
type flag
[{'concept': 'flag'}, 'depicts', 'flag of the United Kingdom']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:flag_of_the_United_Kingdom . ?n rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q14660 Q14660
USER
How many flags had around 2 flags as a source of inspiration ?
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:P941 ?v . ?i rdf:type ontology:Q14660 . ?v rdf:type ontology:Q14660 } GROUP BY ?i } }
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:inspired_by ?v . ?i rdf:type ontology:flag . ?v rdf:type ontology:flag } GROUP BY ?i } }
[]
flag flag
SYSTEM
1
Q12188
(c(Q14660),P941,c(Q14660))
action count
action approx
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:P941 ?v . ?i rdf:type ontology:Q14660 . ?v rdf:type ontology:Q14660 } GROUP BY ?i } }
flag of Brittany
1
action count
action approx
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:inspired_by ?v . ?i rdf:type ontology:flag . ?v rdf:type ontology:flag } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q12188
P941
Q14660 Q14660
USER
Which flags were lesser number of flags a source of inspiration for than flag of Brittany ?
(c(Q14660),P941,c(Q14660))
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?c ) WHERE { ?r property:P941 ?h . ?r rdf:type ontology:Q14660 . ?h rdf:type ontology:Q14660 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?y } } . FILTER ( ?c < ?e ) }
flag of Brittany
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?c ) WHERE { ?r property:inspired_by ?h . ?r rdf:type ontology:flag . ?h rdf:type ontology:flag } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?y } } . FILTER ( ?c < ?e ) }
[]
flag flag
Q429900 Q604735
SYSTEM
Flag of Saba, Flag of Sint Maarten
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[ANSWERS] were lesser number of flags a source of inspiration for than flag of Brittany
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?c ) WHERE { ?r property:P941 ?h . ?r rdf:type ontology:Q14660 . ?h rdf:type ontology:Q14660 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?y } } . FILTER ( ?c < ?e ) }
Flag of Saba Flag of Sint Maarten
Flag of Saba and Flag of Sint Maarten were lesser number of flags a source of inspiration for than flag of Brittany
Flag of Saba Flag of Sint Maarten
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?c ) WHERE { ?r property:inspired_by ?h . ?r rdf:type ontology:flag . ?h rdf:type ontology:flag } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?y } } . FILTER ( ?c < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q483501
P921
Q12737077 Q191067 Q732577
USER
Which occupations were discussed in around the same number of articles or publications as artist ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q483501
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?l WHERE { VALUES ( ?p ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?n rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P921 resource:Q483501 . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?a = ?r ) }
artist
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity artist
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?l WHERE { VALUES ( ?p ) { ( ontology:article ) ( ontology:publication ) } . ?n rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:main_subject resource:artist . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?a = ?r ) }
[]
occupation article publication
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q483501
relation P921
type Q191067
type Q732577
[ANSWERS] were discussed in around the same number of articles or publications as artist
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?l WHERE { VALUES ( ?p ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?n rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P921 resource:Q483501 . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?a = ?r ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist 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 ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Farmer, architect and Member of Parliament in the United Kingdom were discussed in around the same number of articles or publications as artist
farmer architect Member of Parliament in the United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity artist
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?l WHERE { VALUES ( ?p ) { ( ontology:article ) ( ontology:publication ) } . ?n rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:main_subject resource:artist . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?a = ?r ) }
[]