Simple Question (Direct)
Simple Question
Q464393
P136
Q151885
USER
Which concept is the genre for Hank Cochran ?
(Q464393,P136,c(Q151885))
action filter_type
action find
entity Q464393
relation P136
type Q151885
['Q464393', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q464393 property:P136 ?f . ?f rdf:type ontology:Q151885 }
Hank Cochran
action filter_type
action find
entity Hank Cochran
relation genre
type concept
['Hank Cochran', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Hank_Cochran property:genre ?f . ?f rdf:type ontology:concept }
[]
concept
Q83440
SYSTEM
country music
Q83440
(Q464393,P136,c(Q151885))
action filter_type
action find
entity Q464393
relation P136
type Q151885
[ANSWER] is the genre for Hank Cochran
['Q464393', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q464393 property:P136 ?f . ?f rdf:type ontology:Q151885 }
country music
Country music is the genre for Hank Cochran
country music
action filter_type
action find
entity Hank Cochran
relation genre
type concept
['Hank Cochran', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Hank_Cochran property:genre ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464393
P1196
Q1931388
USER
What situation did Hank Cochran die in ?
(Q464393,P1196,c(Q1931388))
action filter_type
action find
entity Q464393
relation P1196
type Q1931388
['Q464393', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q464393 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
Hank Cochran
action filter_type
action find
entity Hank Cochran
relation manner of death
type cause of death
['Hank Cochran', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Hank_Cochran property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q464393,P1196,c(Q1931388))
action filter_type
action find
entity Q464393
relation P1196
type Q1931388
Hank Cochran died of [ANSWER]
['Q464393', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q464393 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
natural causes
Hank Cochran died of natural causes
natural causes
action filter_type
action find
entity Hank Cochran
relation manner of death
type cause of death
['Hank Cochran', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Hank_Cochran property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q464393
P509
Q2057971
USER
What caused the death of Hank Cochran ?
(Q464393,P509,c(Q2057971))
action filter_type
action find
entity Q464393
relation P509
type Q2057971
['Q464393', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q464393 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
Hank Cochran
action filter_type
action find
entity Hank Cochran
relation cause of death
type health problem
['Hank Cochran', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Hank_Cochran property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
health problem
Q212961
SYSTEM
pancreatic cancer
Q212961
(Q464393,P509,c(Q2057971))
action filter_type
action find
entity Q464393
relation P509
type Q2057971
The [ANSWER] caused the death of Hank Cochran
['Q464393', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q464393 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
pancreatic cancer
The pancreatic cancer caused the death of Hank Cochran
pancreatic cancer
action filter_type
action find
entity Hank Cochran
relation cause of death
type health problem
['Hank Cochran', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Hank_Cochran property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q464393
P264
Q334453
USER
Which divisions sponsored the recording of that person ?
(Q212961,P264,c(Q334453))
action filter_type
action find
entity Q464393
relation P264
type Q334453
['Q212961', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q464393 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Hank Cochran
action filter_type
action find
entity Hank Cochran
relation record label
type division
['pancreatic cancer', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Hank_Cochran property:record_label ?w . ?w rdf:type ontology:division }
[]
division
Q1392321 Q5048667 Q5350487
SYSTEM
Liberty Records, Cash Records, Ekko Records
Q1392321 Q5048667 Q5350487
(Q212961,P264,c(Q334453))
action filter_type
action find
entity Q464393
relation P264
type Q334453
[ANSWERS] sponsored the recording of that person
['Q212961', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?w WHERE { resource:Q464393 property:P264 ?w . ?w rdf:type ontology:Q334453 }
Liberty Records Cash Records Ekko Records
Liberty Records, Cash Records and Ekko Records sponsored the recording of that person
Liberty Records Cash Records Ekko Records
action filter_type
action find
entity Hank Cochran
relation record label
type division
['pancreatic cancer', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?w WHERE { resource:Hank_Cochran property:record_label ?w . ?w rdf:type ontology:division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11653461 Q464393
P735
Q82799
USER
What are the name Hank Cochran or Kozue Nagata are known by ?
OR((Q464393,P735,c(Q82799)), (Q11653461,P735,c(Q82799)))
action filter_type
action union
action find
entity Q464393
relation P735
action find
entity Q11653461
relation P735
type Q82799
{'OR': [['Q464393', 'P735', {'concept': 'Q82799'}], ['Q11653461', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . { ?m property:P735 ?t . VALUES ( ?m ) { ( resource:Q464393 ) ( resource:Q11653461 ) } } }
Kozue Nagata Hank Cochran
action filter_type
action union
action find
entity Hank Cochran
relation given name
action find
entity Kozue Nagata
relation given name
type name
{'OR': [['Hank Cochran', 'given name', {'concept': 'name'}], ['Kozue Nagata', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . { ?m property:given_name ?t . VALUES ( ?m ) { ( resource:Hank_Cochran ) ( resource:Kozue_Nagata ) } } }
[]
name
Q19819765 Q6435386
SYSTEM
Hank, Kozue
Q19819765 Q6435386
OR((Q464393,P735,c(Q82799)), (Q11653461,P735,c(Q82799)))
action filter_type
action union
action find
entity Q464393
relation P735
action find
entity Q11653461
relation P735
type Q82799
By the name Hank Cochran or Kozue Nagata are known are the [ANSWERS]
{'OR': [['Q464393', 'P735', {'concept': 'Q82799'}], ['Q11653461', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . { ?m property:P735 ?t . VALUES ( ?m ) { ( resource:Q464393 ) ( resource:Q11653461 ) } } }
Hank Kozue
By the name Hank Cochran or Kozue Nagata are known are the Hank and Kozue
Hank Kozue
action filter_type
action union
action find
entity Hank Cochran
relation given name
action find
entity Kozue Nagata
relation given name
type name
{'OR': [['Hank Cochran', 'given name', {'concept': 'name'}], ['Kozue Nagata', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . { ?m property:given_name ?t . VALUES ( ?m ) { ( resource:Hank_Cochran ) ( resource:Kozue_Nagata ) } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q515 Q13220204 Q334453
USER
Which divisions have headquarters located at approximately 1 cities and administrative country subdivisions ?
(c(Q334453),P159,c(Q515)|c(Q13220204))
action approx
action union
action find_tuple_counts
relation P159
type Q334453
type Q515
action find_tuple_counts
relation P159
type Q334453
type Q13220204
value 1
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q515'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
action approx
action union
action find_tuple_counts
relation headquarters location
type division
type city
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
value 1
[{'concept': 'division'}, 'headquarters location', [{'concept': 'city'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
city second-level administrative country subdivision division
Q2067985 Q484449 Q1718083
SYSTEM
Pelham Power Productions, Cube Entertainment, K-tel
Q845506 Q13424955 Q116184 Q16842305 Q6003306 Q5593921 Q1548644 Q1094430 Q10856910 Q3206859 Q4958352 Q1081874 Q12045341 Q489428 Q4992261 Q1744506 Q496608 Q6094434 Q16161254 Q2347683 Q1099094 Q12599305 Q50596 Q700115 Q16950144 Q3179416 Q16465976 Q5715080 Q1718083 Q896202 Q355175 Q484449 Q10851326 Q815803 Q322738 Q491998 Q21554828 Q571385 Q11986060 Q1425832 Q1322935 Q323976 Q255363 Q1758109 Q2626519 Q2421252 Q2067985 Q1742077 Q7226103 Q605512 Q12040326 Q483971
(c(Q334453),P159,c(Q515)|c(Q13220204))
action approx
action union
action find_tuple_counts
relation P159
type Q334453
type Q515
action find_tuple_counts
relation P159
type Q334453
type Q13220204
value 1
[ANSWERS] have headquarters located at approximately 1 cities and administrative country subdivisions
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q515'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
Electrecord Fantagio Displeased Records Hayat Production Imani Entertainment Gramofon Season of Mist Jugoton X Production Star Empire Entertainment Brave Entertainment Slip-n-Slide Records Piper Records DSP Media Microphone Records Mo' Wax J. Tune Entertainment Quemasucabeza Big Hit Entertainment Indies Records Aquarius Records Brand New Music S.M. Culture and Contents Label Woolim Lifeforce Records Slow Roast Records MediaPro Music NH Media Azione Artigianale K-tel Bozz Music Adeline Records Cube Entertainment KMP Holdings Bellaphon Records Cocoon Recordings TS Entertainment Plan A Entertainment Mille Plateaux FT Records G7 Welcoming Committee Records Genuin Raster-Noton Starship Entertainment Saddle Creek Records Diskoton Thinner Pelham Power Productions King Records PolyEast Records Maybach Music Group Naga Productions CJ E&M Music and Live
Pelham Power Productions, Cube Entertainment and K-tel have headquarters located at approximately 1 cities and administrative country subdivisions
Pelham Power Productions Cube Entertainment K-tel
action approx
action union
action find_tuple_counts
relation headquarters location
type division
type city
action find_tuple_counts
relation headquarters location
type division
type second-level administrative country subdivision
value 1
[{'concept': 'division'}, 'headquarters location', [{'concept': 'city'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q484449
P127
Q43229
USER
Who owns that division ?
(Q484449,P127,c(Q43229))
action filter_type
action find
entity Q484449
relation P127
type Q43229
['Q484449', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q484449 property:P127 ?h . ?h rdf:type ontology:Q43229 }
Cube Entertainment
action filter_type
action find
entity Cube Entertainment
relation owned by
type organization
['Cube Entertainment', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Cube_Entertainment property:owned_by ?h . ?h rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q484449
SYSTEM
Did you mean Cube Entertainment ?
Q2067985 Q484449 Q1718083
(Q2067985,P127,c(Q43229)) (Q484449,P127,c(Q43229)) (Q1718083,P127,c(Q43229))
[ANSWER]
['Q2067985', 'P127', {'concept': 'Q43229'}] ['Q484449', 'P127', {'concept': 'Q43229'}] ['Q1718083', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q484449 property:P127 ?h . ?h rdf:type ontology:Q43229 }
Pelham Power Productions Cube Entertainment K-tel
Did you mean Cube Entertainment ?
Cube Entertainment
['Pelham Power Productions', 'owned by', {'concept': 'organization'}] ['Cube Entertainment', 'owned by', {'concept': 'organization'}] ['K-tel', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Cube_Entertainment property:owned_by ?h . ?h rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q484449,P127,c(Q43229))
['Q484449', 'P127', {'concept': 'Q43229'}]
['Cube Entertainment', 'owned by', {'concept': 'organization'}]
[]
Q7509507
SYSTEM
SidusHQ
Q7509507
(Q484449,P127,c(Q43229))
action filter_type
action find
entity Q484449
relation P127
type Q43229
[ANSWER] owns that division
['Q484449', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q484449 property:P127 ?h . ?h rdf:type ontology:Q43229 }
SidusHQ
SidusHQ owns that division
SidusHQ
action filter_type
action find
entity Cube Entertainment
relation owned by
type organization
['Cube Entertainment', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Cube_Entertainment property:owned_by ?h . ?h rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1248624 Q1718083
P19 P159
Q515
USER
Which cities are the headquarters of K-tel located or are the birthplace of Theodor Stiebel ?
OR((Q1718083,P159,c(Q515)), (Q1248624,P19,c(Q515)))
action filter_type
action union
action find
entity Q1718083
relation P159
action find
entity Q1248624
relation P19
type Q515
{'OR': [['Q1718083', 'P159', {'concept': 'Q515'}], ['Q1248624', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1248624 property:P19 ?r } UNION { resource:Q1718083 property:P159 ?r } } . ?r rdf:type ontology:Q515 }
Theodor Stiebel K-tel
action filter_type
action union
action find
entity K-tel
relation headquarters location
action find
entity Theodor Stiebel
relation place of birth
type city
{'OR': [['K-tel', 'headquarters location', {'concept': 'city'}], ['Theodor Stiebel', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Theodor_Stiebel property:place_of_birth ?r } UNION { resource:K-tel property:headquarters_location ?r } } . ?r rdf:type ontology:city }
[]
city
Q2135 Q2773
SYSTEM
Winnipeg, Braunschweig
Q2135 Q2773
OR((Q1718083,P159,c(Q515)), (Q1248624,P19,c(Q515)))
action filter_type
action union
action find
entity Q1718083
relation P159
action find
entity Q1248624
relation P19
type Q515
[ANSWERS] are the headquarters of K-tel located or are the birthplace of Theodor Stiebel
{'OR': [['Q1718083', 'P159', {'concept': 'Q515'}], ['Q1248624', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1248624 property:P19 ?r } UNION { resource:Q1718083 property:P159 ?r } } . ?r rdf:type ontology:Q515 }
Winnipeg Braunschweig
Winnipeg and Braunschweig are the headquarters of K-tel located or are the birthplace of Theodor Stiebel
Winnipeg Braunschweig
action filter_type
action union
action find
entity K-tel
relation headquarters location
action find
entity Theodor Stiebel
relation place of birth
type city
{'OR': [['K-tel', 'headquarters location', {'concept': 'city'}], ['Theodor Stiebel', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Theodor_Stiebel property:place_of_birth ?r } UNION { resource:K-tel property:headquarters_location ?r } } . ?r rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q484449
P264 P21
Q502895
USER
Which people have Cube Entertainment as their recording sponsor and are a male ?
AND((c(Q502895),P264,Q484449), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q484449
relation P264
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q484449'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P21 resource:Q6581097 . ?n property:P264 resource:Q484449 }
male Cube Entertainment
action filter_type
action intersection
action find_reverse
entity Cube Entertainment
relation record label
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Cube Entertainment'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:gender resource:male . ?n property:record_label resource:Cube_Entertainment }
[]
common name
Q10919869 Q491364 Q233717 Q16235836 Q13553537 Q486634 Q22844 Q16171180 Q487010 Q16183546
SYSTEM
Some of them are Lee Gi-kwang, Yoon Doo-joon, Yang Yo-seob, Shin Peniel, Jung Il-hoon, Jang Hyun-seung, Huh Gak, Yook Sungjae, Son Dong-woon, Lee Chang-sub
Q487010 Q491364 Q486634 Q16233553 Q493526 Q22844 Q13553537 Q233717 Q11266766 Q16183546 Q16171180 Q16235836 Q10919869
AND((c(Q502895),P264,Q484449), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q484449
relation P264
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Cube Entertainment as their recording sponsor and are a male
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q484449'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P21 resource:Q6581097 . ?n property:P264 resource:Q484449 }
Son Dong-woon Yoon Doo-joon Jang Hyun-seung Seo Eunkwang Yong Jun-hyung Huh Gak Jung Il-hoon Yang Yo-seob Lee Minhyuk Lee Chang-sub Yook Sungjae Shin Peniel Lee Gi-kwang
Lee Gi-kwang, Yoon Doo-joon, Yang Yo-seob, Shin Peniel, Jung Il-hoon, Jang Hyun-seung, Huh Gak, Yook Sungjae, Son Dong-woon and Lee Chang-sub have Cube Entertainment as their recording sponsor and are a male
Lee Gi-kwang Yoon Doo-joon Yang Yo-seob Shin Peniel Jung Il-hoon Jang Hyun-seung Huh Gak Yook Sungjae Son Dong-woon Lee Chang-sub
action filter_type
action intersection
action find_reverse
entity Cube Entertainment
relation record label
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Cube Entertainment'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:gender resource:male . ?n property:record_label resource:Cube_Entertainment }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2500638
P425
Q2465832 Q2996394 Q151885
USER
Which concepts do less number of branches of science and biological processes belong to than creator ?
(c(Q151885),P425,c(Q2465832)|c(Q2996394))
action less
action union
action find_tuple_counts
relation P425
type Q151885
type Q2465832
action find_tuple_counts
relation P425
type Q151885
type Q2996394
action count
action filter_multi_types
action find
entity Q2500638
relation P425
type Q2465832
type Q2996394
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q2465832'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { { ?y property:P425 ?n . ?n rdf:type ontology:Q2465832 . ?y rdf:type ontology:Q151885 } UNION { ?n rdf:type ontology:Q2996394 . ?y rdf:type ontology:Q151885 . ?y property:P425 ?n } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { { ?q rdf:type ontology:Q2465832 } UNION { ?q rdf:type ontology:Q2996394 } } . resource:Q2500638 property:P425 ?q } } . FILTER ( ?l < ?t ) }
creator
action less
action union
action find_tuple_counts
relation field of this occupation
type concept
type branch of science
action find_tuple_counts
relation field of this occupation
type concept
type biological process
action count
action filter_multi_types
action find
entity creator
relation field of this occupation
type branch of science
type biological process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'branch of science'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { { ?y property:field_of_this_occupation ?n . ?n rdf:type ontology:branch_of_science . ?y rdf:type ontology:concept } UNION { ?n rdf:type ontology:biological_process . ?y rdf:type ontology:concept . ?y property:field_of_this_occupation ?n } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { { ?q rdf:type ontology:branch_of_science } UNION { ?q rdf:type ontology:biological_process } } . resource:creator property:field_of_this_occupation ?q } } . FILTER ( ?l < ?t ) }
[]
branch of science biological process concept
Q1934684 Q4964182 Q23038345
SYSTEM
housewife, philosopher, Wikipedian
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q21694268 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q20726620 Q4353426 Q20971451 Q181043 Q9394993 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q13382576 Q16003550 Q2159907 Q1476215 Q24259627 Q20708269 Q17010072 Q12773225 Q24293741 Q18510179 Q18515558 Q12961474 Q5027838 Q19890746 Q18510172 Q18617002 Q22336956 Q779458 Q23770547 Q21263917 Q12004621 Q21084228 Q21694753 Q12797895 Q14616728 Q304787 Q18667447 Q1125062 Q13464374 Q3595924 Q18702210 Q2066131 Q16830344 Q27431227 Q18810049 Q16323111 Q15954665 Q1414937 Q4854747 Q2873500 Q4330518 Q11513337 Q26270618 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q27532776 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q21578283 Q5307556 Q21121588 Q855091 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q16004471 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q19801627 Q15986555 Q1714828 Q22082717 Q26219487 Q15709642 Q3242115 Q3738757 Q1934684 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q15095148 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q18664049 Q15883433
(c(Q151885),P425,c(Q2465832)|c(Q2996394))
action less
action union
action find_tuple_counts
relation P425
type Q151885
type Q2465832
action find_tuple_counts
relation P425
type Q151885
type Q2996394
action count
action filter_multi_types
action find
entity Q2500638
relation P425
type Q2465832
type Q2996394
[ANSWERS] less number of branches of science and biological processes belong to than creator
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q2465832'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { { ?y property:P425 ?n . ?n rdf:type ontology:Q2465832 . ?y rdf:type ontology:Q151885 } UNION { ?n rdf:type ontology:Q2996394 . ?y rdf:type ontology:Q151885 . ?y property:P425 ?n } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { { ?q rdf:type ontology:Q2465832 } UNION { ?q rdf:type ontology:Q2996394 } } . resource:Q2500638 property:P425 ?q } } . FILTER ( ?l < ?t ) }
social critic homeopath LGBT rights activist gang rapist internaut melomaniac ticket controller amateur photographer vigilante artivist hooligan patron of the arts antiimperialist podcaster playwright matchmaker torturer freight conductor art collector trade unionist con artist bible translator Amateur radio operator knife thrower money mule radiesthesist dissident ice skater sertanista ironmaster mutineer exorcist Go player Gaelic football player rower pacifist criminal human rights activist motorcycle trials rider scrabble player militant slave anarcho-syndicalist abolitionist futsal player anarchist campaign manager Internet activist women's rights activist dollmaker humanitarian ascetic Serologist medical student fortune-teller money counterfeiter semiologist occultist runner dowsing pesäpallo player rebel tug of war competitor Qāriʾ bandy player sportsperson feminist figure of scandal cosplayer peace activist antisemit combatant bandurist adventurer research subject athletics competitor rowing person baseball player weightlifter dutarist Shahidka squash player rowing umpire pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory rowing official drill instructor rowing coach guitarist Esperantist Otologist smuggler environmentalist mule Shill player war criminal Skinner thief socialist guerrilla winter sports practitioner animal rights advocate polar explorer bank robber kayaker crocheter leader bibliophile bodybuilder wheelchair tennis player impostor ski mountaineer chess organiser hunter eugenicist cross country runner snowboarder revolutionary counterfeiter housewife slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist gamer motorcycle racer weaver ocean rower beggar Water-seller delinquent amateur acupuncturist philosopher Wikipedian benefactor graffiti artist confidence trickster motocross rider speed skater murderer activist arms trafficker Pickup artist mufassir swimmer ski-orienteer mass murderer
Housewife, philosopher and Wikipedian less number of branches of science and biological processes belong to than creator
housewife philosopher Wikipedian
action less
action union
action find_tuple_counts
relation field of this occupation
type concept
type branch of science
action find_tuple_counts
relation field of this occupation
type concept
type biological process
action count
action filter_multi_types
action find
entity creator
relation field of this occupation
type branch of science
type biological process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'branch of science'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { { ?y property:field_of_this_occupation ?n . ?n rdf:type ontology:branch_of_science . ?y rdf:type ontology:concept } UNION { ?n rdf:type ontology:biological_process . ?y rdf:type ontology:concept . ?y property:field_of_this_occupation ?n } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { { ?q rdf:type ontology:branch_of_science } UNION { ?q rdf:type ontology:biological_process } } . resource:creator property:field_of_this_occupation ?q } } . FILTER ( ?l < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15020911
P425
Q2465832 Q2996394 Q151885
USER
And what about amateur astronomer?
(c(Q151885),P425,c(Q2465832)|c(Q2996394))
action less
action union
action find_tuple_counts
relation P425
type Q151885
type Q2465832
action find_tuple_counts
relation P425
type Q151885
type Q2996394
action count
action filter_multi_types
action find
entity Q15020911
relation P425
type Q2465832
type Q2996394
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q2465832'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?k WHERE { VALUES ( ?b ) { ( ontology:Q2465832 ) ( ontology:Q2996394 ) } . ?f rdf:type ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q15020911 property:P425 ?y . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2465832 ) ( ontology:Q2996394 ) } } } } . FILTER ( ?e < ?d ) }
amateur astronomer
action less
action union
action find_tuple_counts
relation field of this occupation
type concept
type branch of science
action find_tuple_counts
relation field of this occupation
type concept
type biological process
action count
action filter_multi_types
action find
entity amateur astronomer
relation field of this occupation
type branch of science
type biological process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'branch of science'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?k WHERE { VALUES ( ?b ) { ( ontology:branch_of_science ) ( ontology:biological_process ) } . ?f rdf:type ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:amateur_astronomer property:field_of_this_occupation ?y . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:branch_of_science ) ( ontology:biological_process ) } } } } . FILTER ( ?e < ?d ) }
[]
branch of science biological process concept
Q1934684 Q4964182 Q23038345
SYSTEM
housewife, philosopher, Wikipedian
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q21694268 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q20726620 Q4353426 Q20971451 Q181043 Q9394993 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q13382576 Q16003550 Q2159907 Q1476215 Q24259627 Q20708269 Q17010072 Q12773225 Q24293741 Q18510179 Q18515558 Q12961474 Q5027838 Q19890746 Q18510172 Q18617002 Q22336956 Q779458 Q23770547 Q21263917 Q12004621 Q21084228 Q21694753 Q12797895 Q14616728 Q304787 Q18667447 Q1125062 Q13464374 Q3595924 Q18702210 Q2066131 Q16830344 Q27431227 Q18810049 Q16323111 Q15954665 Q1414937 Q4854747 Q2873500 Q4330518 Q11513337 Q26270618 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q27532776 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q21578283 Q5307556 Q21121588 Q855091 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q16004471 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q19801627 Q15986555 Q1714828 Q22082717 Q26219487 Q15709642 Q3242115 Q3738757 Q1934684 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q15095148 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q18664049 Q15883433
(c(Q151885),P425,c(Q2465832)|c(Q2996394))
action less
action union
action find_tuple_counts
relation P425
type Q151885
type Q2465832
action find_tuple_counts
relation P425
type Q151885
type Q2996394
action count
action filter_multi_types
action find
entity Q15020911
relation P425
type Q2465832
type Q2996394
[ANSWERS]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q2465832'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?k WHERE { VALUES ( ?b ) { ( ontology:Q2465832 ) ( ontology:Q2996394 ) } . ?f rdf:type ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q15020911 property:P425 ?y . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2465832 ) ( ontology:Q2996394 ) } } } } . FILTER ( ?e < ?d ) }
social critic homeopath LGBT rights activist gang rapist internaut melomaniac ticket controller amateur photographer vigilante artivist hooligan patron of the arts antiimperialist podcaster playwright matchmaker torturer freight conductor art collector trade unionist con artist bible translator Amateur radio operator knife thrower money mule radiesthesist dissident ice skater sertanista ironmaster mutineer exorcist Go player Gaelic football player rower pacifist criminal human rights activist motorcycle trials rider scrabble player militant slave anarcho-syndicalist abolitionist futsal player anarchist campaign manager Internet activist women's rights activist dollmaker humanitarian ascetic Serologist medical student fortune-teller money counterfeiter semiologist occultist runner dowsing pesäpallo player rebel tug of war competitor Qāriʾ bandy player sportsperson feminist figure of scandal cosplayer peace activist antisemit combatant bandurist adventurer research subject athletics competitor rowing person baseball player weightlifter dutarist Shahidka squash player rowing umpire pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory rowing official drill instructor rowing coach guitarist Esperantist Otologist smuggler environmentalist mule Shill player war criminal Skinner thief socialist guerrilla winter sports practitioner animal rights advocate polar explorer bank robber kayaker crocheter leader bibliophile bodybuilder wheelchair tennis player impostor ski mountaineer chess organiser hunter eugenicist cross country runner snowboarder revolutionary counterfeiter housewife slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist gamer motorcycle racer weaver ocean rower beggar Water-seller delinquent amateur acupuncturist philosopher Wikipedian benefactor graffiti artist confidence trickster motocross rider speed skater murderer activist arms trafficker Pickup artist mufassir swimmer ski-orienteer mass murderer
housewife philosopher Wikipedian
action less
action union
action find_tuple_counts
relation field of this occupation
type concept
type branch of science
action find_tuple_counts
relation field of this occupation
type concept
type biological process
action count
action filter_multi_types
action find
entity amateur astronomer
relation field of this occupation
type branch of science
type biological process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'branch of science'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?k WHERE { VALUES ( ?b ) { ( ontology:branch_of_science ) ( ontology:biological_process ) } . ?f rdf:type ?b } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:amateur_astronomer property:field_of_this_occupation ?y . { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:branch_of_science ) ( ontology:biological_process ) } } } } . FILTER ( ?e < ?d ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P106
Q502895
USER
How many people have the profession as that concept ?
(c(Q502895),P106,Q23038345)
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q528892 resource:Q23038345 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:occupation resource:Wikipedian . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4964182
SYSTEM
Did you mean philosopher ?
(c(Q502895),P106,Q1934684) (c(Q502895),P106,Q4964182) (c(Q502895),P106,Q23038345)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q1934684'] [{'concept': 'Q502895'}, 'P106', 'Q4964182'] [{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q528892 resource:Q23038345 . ?z rdf:type ontology:Q502895 }
Did you mean philosopher ?
philosopher
[{'concept': 'common name'}, 'occupation', 'housewife'] [{'concept': 'common name'}, 'occupation', 'philosopher'] [{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:occupation resource:Wikipedian . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Wikipedian. Could you tell me the answer for that?
(c(Q502895),P106,Q23038345)
Q23038345
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
[]
SYSTEM
20
Q13520818 Q302817 Q19879675 Q1299566 Q20980928 Q27096244 Q16225640 Q266722 Q15631829 Q20742516 Q3331076 Q24803768 Q21436536 Q15080578 Q181 Q15813153 Q23978506 Q673718 Q26773031 Q15080841
(c(Q502895),P106,Q23038345)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q528892 resource:Q23038345 . ?z rdf:type ontology:Q502895 }
Magnus Manske Aaron Swartz Evan Amos Renate Franz Finn Årup Nielsen Jesús Tramullas James Heilman Florence Devouard Pietro Fornitano Roveri Adrienne Charmet Justin Knapp Jérémy Jähnick Thomas Wozniak Marcus Cyron Jimmy Wales Ihor Kostenko Thomas Springer Rémi Mathis Luca Martinelli John Broughton
20
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:occupation resource:Wikipedian . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q1441305 Q12136 Q2057971
USER
Which health problems are indicated by the existence of atleast 5 medical signs or diseases ?
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
action atleast
action union
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action find_tuple_counts
relation P780
type Q2057971
type Q12136
value 5
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?i WHERE { VALUES ( ?k ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?a rdf:type ?k } GROUP BY ?i } . FILTER ( ?m >= 5 ) }
action atleast
action union
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action find_tuple_counts
relation symptoms
type health problem
type disease
value 5
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?i WHERE { VALUES ( ?k ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?a rdf:type ?k } GROUP BY ?i } . FILTER ( ?m >= 5 ) }
[]
medical sign disease health problem
Q131755 Q221668 Q47912
SYSTEM
bipolar disorder, acute cystitis, lung cancer
Q131755 Q30953 Q47912 Q221668 Q180664
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
action atleast
action union
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action find_tuple_counts
relation P780
type Q2057971
type Q12136
value 5
[ANSWERS] are indicated by the existence of atleast 5 medical signs or diseases
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?i WHERE { VALUES ( ?k ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?a rdf:type ?k } GROUP BY ?i } . FILTER ( ?m >= 5 ) }
bipolar disorder dengue fever lung cancer acute cystitis acute lymphocytic leukemia
Bipolar disorder, acute cystitis and lung cancer are indicated by the existence of atleast 5 medical signs or diseases
bipolar disorder acute cystitis lung cancer
action atleast
action union
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action find_tuple_counts
relation symptoms
type health problem
type disease
value 5
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?i WHERE { VALUES ( ?k ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?a rdf:type ?k } GROUP BY ?i } . FILTER ( ?m >= 5 ) }
[]