Simple Question (Direct)
Simple Question
Q5928016
P106
Q12737077
USER
Which occupations are the professions of Javier Moreno ?
(Q5928016,P106,c(Q12737077))
action filter_type
action find
entity Q5928016
relation P106
type Q12737077
['Q5928016', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5928016 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Javier Moreno
action filter_type
action find
entity Javier Moreno
relation occupation
type occupation
['Javier Moreno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Javier_Moreno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q4263842 Q49757 Q36180
SYSTEM
literary critic, poet, writer
Q4263842 Q49757 Q36180
(Q5928016,P106,c(Q12737077))
action filter_type
action find
entity Q5928016
relation P106
type Q12737077
The professions of Javier Moreno are [ANSWERS]
['Q5928016', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5928016 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
literary critic poet writer
The professions of Javier Moreno are literary critic, poet and writer
literary critic poet writer
action filter_type
action find
entity Javier Moreno
relation occupation
type occupation
['Javier Moreno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Javier_Moreno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5928016
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q4263842,P27,c(Q15617994)) (Q49757,P27,c(Q15617994)) (Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q5928016
relation P27
type Q15617994
['Q4263842', 'P27', {'concept': 'Q15617994'}] ['Q49757', 'P27', {'concept': 'Q15617994'}] ['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q5928016 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Javier Moreno
action filter_type
action find
entity Javier Moreno
relation country of citizenship
type designation for an administrative territorial entity
['literary critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['poet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Javier_Moreno property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q4263842,P27,c(Q15617994)) (Q49757,P27,c(Q15617994)) (Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q5928016
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q4263842', 'P27', {'concept': 'Q15617994'}] ['Q49757', 'P27', {'concept': 'Q15617994'}] ['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q5928016 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Spain
The Spain is that person an inhabitant of
Spain
action filter_type
action find
entity Javier Moreno
relation country of citizenship
type designation for an administrative territorial entity
['literary critic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['poet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Javier_Moreno property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36180 Q42240
P106
Q502895
USER
How many people have writer and research as his/her means of employment ?
(c(Q502895),P106,Q36180) (c(Q502895),P106,Q42240)
action count
action intersection
action filter_type
action find_reverse
entity Q36180
relation P106
type Q502895
action filter_type
action find_reverse
entity Q42240
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q36180'] [{'concept': 'Q502895'}, 'P106', 'Q42240']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P106 resource:Q42240 . ?i rdf:type ontology:Q502895 . ?i property:P106 resource:Q36180 . ?i rdf:type ontology:Q502895 }
writer research
action count
action intersection
action filter_type
action find_reverse
entity writer
relation occupation
type common name
action filter_type
action find_reverse
entity research
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'writer'] [{'concept': 'common name'}, 'occupation', 'research']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:occupation resource:research . ?i rdf:type ontology:common_name . ?i property:occupation resource:writer . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q20657126 Q6126813
(c(Q502895),P106,Q36180) (c(Q502895),P106,Q42240)
action count
action intersection
action filter_type
action find_reverse
entity Q36180
relation P106
type Q502895
action filter_type
action find_reverse
entity Q42240
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q36180'] [{'concept': 'Q502895'}, 'P106', 'Q42240']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P106 resource:Q42240 . ?i rdf:type ontology:Q502895 . ?i property:P106 resource:Q36180 . ?i rdf:type ontology:Q502895 }
Rob Knight Jalil Ziapour
2
action count
action intersection
action filter_type
action find_reverse
entity writer
relation occupation
type common name
action filter_type
action find_reverse
entity research
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'writer'] [{'concept': 'common name'}, 'occupation', 'research']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:occupation resource:research . ?i rdf:type ontology:common_name . ?i property:occupation resource:writer . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q811
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories or political territories than Nicaragua ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q811
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?p rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q811 property:P530 ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?h > ?w ) }
Nicaragua
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Nicaragua
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Nicaragua property:diplomatic_relation ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?h > ?w ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
90
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q28 Q843 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1033 Q1030 Q298 Q115 Q114 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q811
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?p rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q811 property:P530 ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?h > ?w ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Hungary Pakistan Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Namibia Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
90
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Nicaragua
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Nicaragua property:diplomatic_relation ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?h > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1032
P530
Q15617994 Q1048835 Q15617994
USER
And also tell me about Niger?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q1032
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?u WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 } } . resource:Q1032 property:P530 ?w } } . FILTER ( ?n > ?v ) }
Niger
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Niger
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?u WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity } } . resource:Niger property:diplomatic_relation ?w } } . FILTER ( ?n > ?v ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
117
Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q1009 Q34020 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q1032
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?u WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 } } . resource:Q1032 property:P530 ?w } } . FILTER ( ?n > ?v ) }
Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Estonia Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Cameroon Niue East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
117
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Niger
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?u WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity } } . resource:Niger property:diplomatic_relation ?w } } . FILTER ( ?n > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19627913
P921
Q12737077 Q732577 Q191067
USER
Which occupations were approximately the same number of publications or articles mainly about as Member of the Western Australian Legislative Council ?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q19627913
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q732577 } UNION { ?k property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P921 resource:Q19627913 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?o = ?d ) }
Member of the Western Australian Legislative Council
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity Member of the Western Australian Legislative Council
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:main_subject ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:publication } UNION { ?k property:main_subject ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:article } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:main_subject resource:Member_of_the_Western_Australian_Legislative_Council . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?o = ?d ) }
[]
occupation publication article
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(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q19627913
relation P921
type Q732577
type Q191067
[ANSWERS] were approximately the same number of publications or articles mainly about as Member of the Western Australian Legislative Council
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q732577 } UNION { ?k property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P921 resource:Q19627913 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?o = ?d ) }
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 approximately the same number of publications or articles mainly about as Member of the Western Australian Legislative Council
farmer architect Member of Parliament in the United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity Member of the Western Australian Legislative Council
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:main_subject ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:publication } UNION { ?k property:main_subject ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:article } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:main_subject resource:Member_of_the_Western_Australian_Legislative_Council . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?o = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q152002
P921
Q12737077 Q732577 Q191067
USER
And how about pastor?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P921 resource:Q152002 . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { { ?n property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } UNION { ?a rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q732577 . ?n property:P921 ?a } } GROUP BY ?a } }
pastor
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:main_subject resource:pastor . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { { ?n property:main_subject ?a . ?a rdf:type ontology:occupation . ?n rdf:type ontology:article } UNION { ?a rdf:type ontology:occupation . ?n rdf:type ontology:publication . ?n property:main_subject ?a } } GROUP BY ?a } }
[]
occupation publication article
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q732577
type Q191067
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P921 resource:Q152002 . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { { ?n property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } UNION { ?a rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q732577 . ?n property:P921 ?a } } GROUP BY ?a } }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian librarian Wikipedian in Residence
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:main_subject resource:pastor . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:publication ) ( ontology:article ) } } } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { { ?n property:main_subject ?a . ?a rdf:type ontology:occupation . ?n rdf:type ontology:article } UNION { ?a rdf:type ontology:occupation . ?n rdf:type ontology:publication . ?n property:main_subject ?a } } GROUP BY ?a } }
[]