Simple Question (Direct)
Simple Question
Q594936
P106
Q12737077
USER
Which occupations have William Bayliss as his/her 's career ?
(Q594936,P106,c(Q12737077))
action filter_type
action find
entity Q594936
relation P106
type Q12737077
['Q594936', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q594936 property:P106 ?x }
William Bayliss
action filter_type
action find
entity William Bayliss
relation occupation
type occupation
['William Bayliss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:William_Bayliss property:occupation ?x }
[]
occupation
Q1622272 Q14946079
SYSTEM
university teacher, physiologist
Q1622272 Q14946079
(Q594936,P106,c(Q12737077))
action filter_type
action find
entity Q594936
relation P106
type Q12737077
The [ANSWERS] have William Bayliss as his/her 's career
['Q594936', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q594936 property:P106 ?x }
university teacher physiologist
The university teacher and physiologist have William Bayliss as his/her 's career
university teacher physiologist
action filter_type
action find
entity William Bayliss
relation occupation
type occupation
['William Bayliss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:William_Bayliss property:occupation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q594936
P166
Q24016972
USER
What was won by that person ?
(Q1622272,P166,c(Q24016972)) (Q14946079,P166,c(Q24016972))
action filter_type
action find
entity Q594936
relation P166
type Q24016972
['Q1622272', 'P166', {'concept': 'Q24016972'}] ['Q14946079', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q24016972 . resource:Q594936 property:P166 ?w }
William Bayliss
action filter_type
action find
entity William Bayliss
relation award received
type type of distinction
['university teacher', 'award received', {'concept': 'type of distinction'}] ['physiologist', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_distinction . resource:William_Bayliss property:award_received ?w }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q1622272,P166,c(Q24016972)) (Q14946079,P166,c(Q24016972))
action filter_type
action find
entity Q594936
relation P166
type Q24016972
In [ANSWER] was won by that person
['Q1622272', 'P166', {'concept': 'Q24016972'}] ['Q14946079', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q24016972 . resource:Q594936 property:P166 ?w }
Fellow of the Royal Society
In Fellow of the Royal Society was won by that person
Fellow of the Royal Society
action filter_type
action find
entity William Bayliss
relation award received
type type of distinction
['university teacher', 'award received', {'concept': 'type of distinction'}] ['physiologist', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_distinction . resource:William_Bayliss property:award_received ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1027
Q874405 Q163740 Q24016972
USER
Which types of distinction are awarded by approximately the same number of social groups or nonprofit organizations as that type of distinction ?
(c(Q24016972),P1027,c(Q874405)|c(Q163740))
action approx
action union
action find_tuple_counts
relation P1027
type Q24016972
type Q874405
action find_tuple_counts
relation P1027
type Q24016972
type Q163740
action count
action filter_multi_types
action find
entity Q15631401
relation P1027
type Q874405
type Q163740
[{'concept': 'Q24016972'}, 'P1027', [{'concept': 'Q874405'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?f ) WHERE { { ?s rdf:type ontology:Q24016972 . ?z rdf:type ontology:Q874405 . ?s property:P1027 ?z } UNION { ?s property:P1027 ?z . ?s rdf:type ontology:Q24016972 . ?z rdf:type ontology:Q163740 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q15631401 property:P1027 ?p . { { ?p rdf:type ontology:Q874405 } UNION { ?p rdf:type ontology:Q163740 } } } } . FILTER ( ?f = ?y ) }
action approx
action union
action find_tuple_counts
relation conferred by
type type of distinction
type social group
action find_tuple_counts
relation conferred by
type type of distinction
type nonprofit organization
action count
action filter_multi_types
action find
entity Fellow of the Royal Society
relation conferred by
type social group
type nonprofit organization
[{'concept': 'type of distinction'}, 'conferred by', [{'concept': 'social group'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?f ) WHERE { { ?s rdf:type ontology:type_of_distinction . ?z rdf:type ontology:social_group . ?s property:conferred_by ?z } UNION { ?s property:conferred_by ?z . ?s rdf:type ontology:type_of_distinction . ?z rdf:type ontology:nonprofit_organization } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Fellow_of_the_Royal_Society property:conferred_by ?p . { { ?p rdf:type ontology:social_group } UNION { ?p rdf:type ontology:nonprofit_organization } } } } . FILTER ( ?f = ?y ) }
[]
social group nonprofit organization type of distinction
SYSTEM
4
Q26111565 Q23807736 Q20006267 Q24081923
(c(Q24016972),P1027,c(Q874405)|c(Q163740))
action approx
action union
action find_tuple_counts
relation P1027
type Q24016972
type Q874405
action find_tuple_counts
relation P1027
type Q24016972
type Q163740
action count
action filter_multi_types
action find
entity Q15631401
relation P1027
type Q874405
type Q163740
[ANSWER]
[{'concept': 'Q24016972'}, 'P1027', [{'concept': 'Q874405'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?f ) WHERE { { ?s rdf:type ontology:Q24016972 . ?z rdf:type ontology:Q874405 . ?s property:P1027 ?z } UNION { ?s property:P1027 ?z . ?s rdf:type ontology:Q24016972 . ?z rdf:type ontology:Q163740 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q15631401 property:P1027 ?p . { { ?p rdf:type ontology:Q874405 } UNION { ?p rdf:type ontology:Q163740 } } } } . FILTER ( ?f = ?y ) }
Fellow of the Royal Astronomical Society ISCB distinguished fellow Fellow of the Royal Geographical Society Fellow of the Academy of Medical Sciences
4
action approx
action union
action find_tuple_counts
relation conferred by
type type of distinction
type social group
action find_tuple_counts
relation conferred by
type type of distinction
type nonprofit organization
action count
action filter_multi_types
action find
entity Fellow of the Royal Society
relation conferred by
type social group
type nonprofit organization
[{'concept': 'type of distinction'}, 'conferred by', [{'concept': 'social group'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?f ) WHERE { { ?s rdf:type ontology:type_of_distinction . ?z rdf:type ontology:social_group . ?s property:conferred_by ?z } UNION { ?s property:conferred_by ?z . ?s rdf:type ontology:type_of_distinction . ?z rdf:type ontology:nonprofit_organization } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Fellow_of_the_Royal_Society property:conferred_by ?p . { { ?p rdf:type ontology:social_group } UNION { ?p rdf:type ontology:nonprofit_organization } } } } . FILTER ( ?f = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594936
P69
Q1244442
USER
Which school building was William Bayliss educated at ?
(Q594936,P69,c(Q1244442))
action filter_type
action find
entity Q594936
relation P69
type Q1244442
['Q594936', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q594936 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
William Bayliss
action filter_type
action find
entity William Bayliss
relation educated at
type school building
['William Bayliss', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:William_Bayliss property:educated_at ?l . ?l rdf:type ontology:school_building }
[]
school building
Q2537765
SYSTEM
Wadham College
Q2537765
(Q594936,P69,c(Q1244442))
action filter_type
action find
entity Q594936
relation P69
type Q1244442
The [ANSWER] was William Bayliss educated at
['Q594936', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q594936 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
Wadham College
The Wadham College was William Bayliss educated at
Wadham College
action filter_type
action find
entity William Bayliss
relation educated at
type school building
['William Bayliss', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:William_Bayliss property:educated_at ?l . ?l rdf:type ontology:school_building }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2537765 Q6094474 Q145
P17
Q15617994
USER
Is that school building located in Ithaca City School District and United Kingdom ?
(Q2537765,P17,Q6094474) (Q2537765,P17,Q145)
action is_in
entity Q2537765
action intersection
action find_reverse
entity Q6094474
relation P17
action find_reverse
entity Q145
relation P17
['Q2537765', 'P17', 'Q6094474'] ['Q2537765', 'P17', 'Q145']
ASK WHERE { resource:Q2537765 property:P17 resource:Q6094474 . resource:Q2537765 property:P17 resource:Q145 }
Wadham College Ithaca City School District United Kingdom
action is_in
entity Wadham College
action intersection
action find_reverse
entity Ithaca City School District
relation country
action find_reverse
entity United Kingdom
relation country
['Wadham College', 'country', 'Ithaca City School District'] ['Wadham College', 'country', 'United Kingdom']
ASK WHERE { resource:Wadham_College property:country resource:Ithaca_City_School_District . resource:Wadham_College property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2537765,P17,Q6094474) (Q2537765,P17,Q145)
action is_in
entity Q2537765
action intersection
action find_reverse
entity Q6094474
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q2537765', 'P17', 'Q6094474'] ['Q2537765', 'P17', 'Q145']
ASK WHERE { resource:Q2537765 property:P17 resource:Q6094474 . resource:Q2537765 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Wadham College
action intersection
action find_reverse
entity Ithaca City School District
relation country
action find_reverse
entity United Kingdom
relation country
['Wadham College', 'country', 'Ithaca City School District'] ['Wadham College', 'country', 'United Kingdom']
ASK WHERE { resource:Wadham_College property:country resource:Ithaca_City_School_District . resource:Wadham_College property:country resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24565479 Q14946079
P425 P101
Q336
USER
Which sciences have physiologist as the associated fields of occupation or do Vidar Hansen belong to ?
OR((Q14946079,P425,c(Q336)), (Q24565479,P101,c(Q336)))
action filter_type
action union
action find
entity Q14946079
relation P425
action find
entity Q24565479
relation P101
type Q336
{'OR': [['Q14946079', 'P425', {'concept': 'Q336'}], ['Q24565479', 'P101', {'concept': 'Q336'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q14946079 property:P425 ?r } UNION { resource:Q24565479 property:P101 ?r } } . ?r rdf:type ontology:Q336 }
Vidar Hansen physiologist
action filter_type
action union
action find
entity physiologist
relation field of this occupation
action find
entity Vidar Hansen
relation field of work
type science
{'OR': [['physiologist', 'field of this occupation', {'concept': 'science'}], ['Vidar Hansen', 'field of work', {'concept': 'science'}]]}
SELECT DISTINCT ?r WHERE { { { resource:physiologist property:field_of_this_occupation ?r } UNION { resource:Vidar_Hansen property:field_of_work ?r } } . ?r rdf:type ontology:science }
[]
science
Q228736 Q521
SYSTEM
materials science, physiology
Q228736 Q521
OR((Q14946079,P425,c(Q336)), (Q24565479,P101,c(Q336)))
action filter_type
action union
action find
entity Q14946079
relation P425
action find
entity Q24565479
relation P101
type Q336
The [ANSWERS] have physiologist as the associated fields of occupation or do Vidar Hansen belong to
{'OR': [['Q14946079', 'P425', {'concept': 'Q336'}], ['Q24565479', 'P101', {'concept': 'Q336'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q14946079 property:P425 ?r } UNION { resource:Q24565479 property:P101 ?r } } . ?r rdf:type ontology:Q336 }
materials science physiology
The materials science and physiology have physiologist as the associated fields of occupation or do Vidar Hansen belong to
materials science physiology
action filter_type
action union
action find
entity physiologist
relation field of this occupation
action find
entity Vidar Hansen
relation field of work
type science
{'OR': [['physiologist', 'field of this occupation', {'concept': 'science'}], ['Vidar Hansen', 'field of work', {'concept': 'science'}]]}
SELECT DISTINCT ?r WHERE { { { resource:physiologist property:field_of_this_occupation ?r } UNION { resource:Vidar_Hansen property:field_of_work ?r } } . ?r rdf:type ontology:science }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q152002
P921
Q12737077 Q191067 Q732577
USER
Which occupations were discussed in lesser number of articles and publications than pastor ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
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 Q152002
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q732577 } UNION { ?s property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P921 resource:Q152002 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } } } . FILTER ( ?p < ?f ) }
pastor
action less
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 pastor
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:main_subject ?q . ?q rdf:type ontology:occupation . ?s rdf:type ontology:publication } UNION { ?s property:main_subject ?q . ?q rdf:type ontology:occupation . ?s rdf:type ontology:article } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:main_subject resource:pastor . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:article ) ( ontology:publication ) } } } } . FILTER ( ?p < ?f ) }
[]
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 less
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 Q152002
relation P921
type Q191067
type Q732577
[ANSWERS] were discussed in lesser number of articles and publications than pastor
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q732577 } UNION { ?s property:P921 ?q . ?q rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P921 resource:Q152002 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } } } . FILTER ( ?p < ?f ) }
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 lesser number of articles and publications than pastor
farmer architect Member of Parliament in the United Kingdom
action less
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 pastor
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:main_subject ?q . ?q rdf:type ontology:occupation . ?s rdf:type ontology:publication } UNION { ?s property:main_subject ?q . ?q rdf:type ontology:occupation . ?s rdf:type ontology:article } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:main_subject resource:pastor . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:article ) ( ontology:publication ) } } } } . FILTER ( ?p < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q510373
P921
Q12737077 Q191067 Q732577
USER
And what about Lord High Steward?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
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 Q510373
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?x WHERE { { ?h property:P921 ?x . ?h rdf:type ontology:Q191067 . ?x rdf:type ontology:Q12737077 } UNION { ?x rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q732577 . ?h property:P921 ?x } } GROUP BY ?x } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P921 resource:Q510373 . { VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?d rdf:type ?c } } } }
Lord High Steward
action less
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 Lord High Steward
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?x WHERE { { ?h property:main_subject ?x . ?h rdf:type ontology:article . ?x rdf:type ontology:occupation } UNION { ?x rdf:type ontology:occupation . ?h rdf:type ontology:publication . ?h property:main_subject ?x } } GROUP BY ?x } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:main_subject resource:Lord_High_Steward . { VALUES ( ?c ) { ( ontology:article ) ( ontology:publication ) } . ?d rdf:type ?c } } } }
[]
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 less
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 Q510373
relation P921
type Q191067
type Q732577
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?x WHERE { { ?h property:P921 ?x . ?h rdf:type ontology:Q191067 . ?x rdf:type ontology:Q12737077 } UNION { ?x rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q732577 . ?h property:P921 ?x } } GROUP BY ?x } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P921 resource:Q510373 . { VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?d rdf:type ?c } } } }
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 Member of Parliament in the United Kingdom
action less
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 Lord High Steward
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?x WHERE { { ?h property:main_subject ?x . ?h rdf:type ontology:article . ?x rdf:type ontology:occupation } UNION { ?x rdf:type ontology:occupation . ?h rdf:type ontology:publication . ?h property:main_subject ?x } } GROUP BY ?x } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:main_subject resource:Lord_High_Steward . { VALUES ( ?c ) { ( ontology:article ) ( ontology:publication ) } . ?d rdf:type ?c } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2205750 Q24565479
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Vidar Hansen or Vaughn Meatoga ?
OR((Q24565479,P27,c(Q15617994)), (Q2205750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q24565479
relation P27
action find
entity Q2205750
relation P27
type Q15617994
{'OR': [['Q24565479', 'P27', {'concept': 'Q15617994'}], ['Q2205750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q24565479 property:P27 ?s } UNION { resource:Q2205750 property:P27 ?s } } }
Vaughn Meatoga Vidar Hansen
action filter_type
action union
action find
entity Vidar Hansen
relation country of citizenship
action find
entity Vaughn Meatoga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vidar Hansen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vaughn Meatoga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Vidar_Hansen property:country_of_citizenship ?s } UNION { resource:Vaughn_Meatoga property:country_of_citizenship ?s } } }
[]
designation for an administrative territorial entity
Q20 Q916
SYSTEM
Norway, Angola
Q20 Q916
OR((Q24565479,P27,c(Q15617994)), (Q2205750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q24565479
relation P27
action find
entity Q2205750
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Vidar Hansen or Vaughn Meatoga
{'OR': [['Q24565479', 'P27', {'concept': 'Q15617994'}], ['Q2205750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q24565479 property:P27 ?s } UNION { resource:Q2205750 property:P27 ?s } } }
Norway Angola
Norway and Angola are the countries of citizenship of Vidar Hansen or Vaughn Meatoga
Norway Angola
action filter_type
action union
action find
entity Vidar Hansen
relation country of citizenship
action find
entity Vaughn Meatoga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vidar Hansen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vaughn Meatoga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Vidar_Hansen property:country_of_citizenship ?s } UNION { resource:Vaughn_Meatoga property:country_of_citizenship ?s } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q20
SYSTEM
Did you mean Norway ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Norway ?
Norway
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]