Simple Question (Direct)
Simple Question
Q3082670
P21
Q290
USER
What is the sex of Frank Jay Gould ?
(Q3082670,P21,c(Q290))
action filter_type
action find
entity Q3082670
relation P21
type Q290
['Q3082670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3082670 property:P21 ?u . ?u rdf:type ontology:Q290 }
Frank Jay Gould
action filter_type
action find
entity Frank Jay Gould
relation gender
type sex
['Frank Jay Gould', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frank_Jay_Gould property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3082670,P21,c(Q290))
action filter_type
action find
entity Q3082670
relation P21
type Q290
The sex of Frank Jay Gould is the [ANSWER]
['Q3082670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3082670 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Frank Jay Gould is the male
male
action filter_type
action find
entity Frank Jay Gould
relation gender
type sex
['Frank Jay Gould', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frank_Jay_Gould property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082670
P9
Q502895
USER
Who are the siblings of Frank Jay Gould ?
(Q3082670,P9,c(Q502895))
action filter_type
action find
entity Q3082670
relation P9
type Q502895
['Q3082670', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3082670 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Frank Jay Gould
action filter_type
action find
entity Frank Jay Gould
relation sister
type common name
['Frank Jay Gould', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Frank_Jay_Gould property:sister ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1563645 Q2850506
SYSTEM
Helen Miller Shepard, Anna Gould
Q1563645 Q2850506
(Q3082670,P9,c(Q502895))
action filter_type
action find
entity Q3082670
relation P9
type Q502895
The siblings of Frank Jay Gould are the [ANSWERS]
['Q3082670', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3082670 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Helen Miller Shepard Anna Gould
The siblings of Frank Jay Gould are the Helen Miller Shepard and Anna Gould
Helen Miller Shepard Anna Gould
action filter_type
action find
entity Frank Jay Gould
relation sister
type common name
['Frank Jay Gould', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Frank_Jay_Gould property:sister ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16077979
Q502895
USER
And how about Zhao Fang?
(Q16077979,P9,c(Q502895))
action filter_type
action find
entity Q16077979
relation P9
type Q502895
['Q16077979', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q16077979 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Zhao Fang
action filter_type
action find
entity Zhao Fang
relation sister
type common name
['Zhao Fang', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Zhao_Fang property:sister ?k . ?k rdf:type ontology:common_name }
[]
common name
Q15913576 Q11119775 Q15927686
SYSTEM
Luqin, Chu, Fukang
Q15913576 Q11119775 Q15927686 Q15933110 Q15938920 Q16603393 Q11070388 Q15950282 Q10922610 Q16603655 Q10923139 Q11173023 Q15915544
(Q16077979,P9,c(Q502895))
action filter_type
action find
entity Q16077979
relation P9
type Q502895
[ANSWERS]
['Q16077979', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q16077979 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Luqin Chu Fukang Zhen Gun Baoshou Xu Yu Tang Deng Shang Luguo Chen
Luqin Chu Fukang
action filter_type
action find
entity Zhao Fang
relation sister
type common name
['Zhao Fang', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Zhao_Fang property:sister ?k . ?k rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P9
Q502895
USER
How many people have that person as thier sibling ?
(Q15913576,P9,c(Q502895))
['Q15913576', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15913576 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
['Luqin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Luqin property:sister ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q15913576
SYSTEM
Did you mean Luqin ?
(Q15913576,P9,c(Q502895)) (Q11119775,P9,c(Q502895)) (Q15927686,P9,c(Q502895))
[ANSWER]
['Q15913576', 'P9', {'concept': 'Q502895'}] ['Q11119775', 'P9', {'concept': 'Q502895'}] ['Q15927686', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15913576 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Luqin ?
Luqin
['Luqin', 'sister', {'concept': 'common name'}] ['Chu', 'sister', {'concept': 'common name'}] ['Fukang', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Luqin property:sister ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q15913576,P9,c(Q502895))
['Q15913576', 'P9', {'concept': 'Q502895'}]
['Luqin', 'sister', {'concept': 'common name'}]
[]
SYSTEM
12
Q11119775 Q15927686 Q15933110 Q16603393 Q15938920 Q11070388 Q15950282 Q10922610 Q16603655 Q10923139 Q11173023 Q15915544
(Q15913576,P9,c(Q502895))
[ANSWER]
['Q15913576', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15913576 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
Chu Fukang Zhen Baoshou Gun Xu Yu Tang Deng Shang Luguo Chen
12
['Luqin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Luqin property:sister ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6246963
P248
Q1752346 Q1914636 Q502895
USER
How many people have been stated in lesser number of assemblies and activities than John Martin ?
(c(Q502895),P248,c(Q1752346)|c(Q1914636))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q6246963
relation P248
type Q1752346
type Q1914636
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { { ?j property:P248 ?k . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1752346 } UNION { ?j property:P248 ?k . ?k rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q6246963 property:P248 ?e . { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1752346 ) ( ontology:Q1914636 ) } } } } . FILTER ( ?o < ?y ) }
John Martin
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity John Martin
relation stated in
type assembly
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { { ?j property:stated_in ?k . ?j rdf:type ontology:common_name . ?k rdf:type ontology:assembly } UNION { ?j property:stated_in ?k . ?k rdf:type ontology:activity . ?j rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:John_Martin property:stated_in ?e . { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:assembly ) ( ontology:activity ) } } } } . FILTER ( ?o < ?y ) }
[]
assembly activity common name
SYSTEM
351
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1752346)|c(Q1914636))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q6246963
relation P248
type Q1752346
type Q1914636
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { { ?j property:P248 ?k . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1752346 } UNION { ?j property:P248 ?k . ?k rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q6246963 property:P248 ?e . { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1752346 ) ( ontology:Q1914636 ) } } } } . FILTER ( ?o < ?y ) }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hall William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
351
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity John Martin
relation stated in
type assembly
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?o ) WHERE { { ?j property:stated_in ?k . ?j rdf:type ontology:common_name . ?k rdf:type ontology:assembly } UNION { ?j property:stated_in ?k . ?k rdf:type ontology:activity . ?j rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:John_Martin property:stated_in ?e . { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:assembly ) ( ontology:activity ) } } } } . FILTER ( ?o < ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5239876
P248
Q1752346 Q1914636 Q502895
USER
And how about David Smith?
(c(Q502895),P248,c(Q1752346)|c(Q1914636))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q5239876
relation P248
type Q1752346
type Q1914636
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { { ?y property:P248 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1752346 } UNION { ?y property:P248 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1914636 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q5239876 property:P248 ?s . { { ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q1914636 } } } } . FILTER ( ?g < ?q ) }
David Smith
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type assembly
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { { ?y property:stated_in ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:assembly } UNION { ?y property:stated_in ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:activity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:David_Smith property:stated_in ?s . { { ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:activity } } } } . FILTER ( ?g < ?q ) }
[]
assembly activity common name
SYSTEM
351
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1752346)|c(Q1914636))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q5239876
relation P248
type Q1752346
type Q1914636
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { { ?y property:P248 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1752346 } UNION { ?y property:P248 ?x . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1914636 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q5239876 property:P248 ?s . { { ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q1914636 } } } } . FILTER ( ?g < ?q ) }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hall William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
351
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type assembly
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { { ?y property:stated_in ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:assembly } UNION { ?y property:stated_in ?x . ?y rdf:type ontology:common_name . ?x rdf:type ontology:activity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:David_Smith property:stated_in ?s . { { ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:activity } } } } . FILTER ( ?g < ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 3643 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3643
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?d = 3643 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1303 ?r . ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3643
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?d = 3643 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:instrument ?r . ?v rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3643
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?d = 3643 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1303 ?r . ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3643
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { FILTER ( ?d = 3643 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:instrument ?r . ?v rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2850506
P25
Q502895
USER
Which people have Anna Gould as mother ?
(c(Q502895),P25,Q2850506)
action filter_type
action find_reverse
entity Q2850506
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q2850506']
SELECT DISTINCT ?d WHERE { ?d property:P25 resource:Q2850506 . ?d rdf:type ontology:Q502895 }
Anna Gould
action filter_type
action find_reverse
entity Anna Gould
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anna Gould']
SELECT DISTINCT ?d WHERE { ?d property:mother resource:Anna_Gould . ?d rdf:type ontology:common_name }
[]
common name
Q3103675 Q2910115
SYSTEM
Georges de Castellane, Boniface de Castellane
Q3103675 Q2910115
(c(Q502895),P25,Q2850506)
action filter_type
action find_reverse
entity Q2850506
relation P25
type Q502895
[ANSWERS] have Anna Gould as mother
[{'concept': 'Q502895'}, 'P25', 'Q2850506']
SELECT DISTINCT ?d WHERE { ?d property:P25 resource:Q2850506 . ?d rdf:type ontology:Q502895 }
Georges de Castellane Boniface de Castellane
Georges de Castellane and Boniface de Castellane have Anna Gould as mother
Georges de Castellane Boniface de Castellane
action filter_type
action find_reverse
entity Anna Gould
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anna Gould']
SELECT DISTINCT ?d WHERE { ?d property:mother resource:Anna_Gould . ?d rdf:type ontology:common_name }
[]