Simple Question (Direct)
Simple Question
Q517871
P21
Q290
USER
What is the sex of Frederick Maurice Watson Harvey ?
(Q517871,P21,c(Q290))
action filter_type
action find
entity Q517871
relation P21
type Q290
['Q517871', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q517871 property:P21 ?u . ?u rdf:type ontology:Q290 }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation gender
type sex
['Frederick Maurice Watson Harvey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frederick_Maurice_Watson_Harvey property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q517871,P21,c(Q290))
action filter_type
action find
entity Q517871
relation P21
type Q290
[ANSWER]
['Q517871', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q517871 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation gender
type sex
['Frederick Maurice Watson Harvey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frederick_Maurice_Watson_Harvey property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q517871
P734
Q82799
USER
Who is associated with that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q517871
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q517871 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Frederick_Maurice_Watson_Harvey property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q19767733
SYSTEM
Harvey
Q19767733
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q517871
relation P734
type Q82799
[ANSWER]
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q517871 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Harvey
Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Frederick_Maurice_Watson_Harvey property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517871
P54
Q12973014
USER
What is Frederick Maurice Watson Harvey a member of ?
(Q517871,P54,c(Q12973014))
action filter_type
action find
entity Q517871
relation P54
type Q12973014
['Q517871', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q517871 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation member of sports team
type sports team
['Frederick Maurice Watson Harvey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Frederick_Maurice_Watson_Harvey property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q599903
SYSTEM
Ireland national rugby union team
Q599903
(Q517871,P54,c(Q12973014))
action filter_type
action find
entity Q517871
relation P54
type Q12973014
[ANSWER]
['Q517871', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q517871 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Ireland national rugby union team
Ireland national rugby union team
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation member of sports team
type sports team
['Frederick Maurice Watson Harvey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Frederick_Maurice_Watson_Harvey property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517871
P20
Q15219391
USER
Where did Frederick Maurice Watson Harvey expire ?
(Q517871,P20,c(Q15219391))
action filter_type
action find
entity Q517871
relation P20
type Q15219391
['Q517871', 'P20', {'concept': 'Q15219391'}]
SELECT DISTINCT ?t WHERE { resource:Q517871 property:P20 ?t . ?t rdf:type ontology:Q15219391 }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation place of death
type town in Alberta
['Frederick Maurice Watson Harvey', 'place of death', {'concept': 'town in Alberta'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_Maurice_Watson_Harvey property:place_of_death ?t . ?t rdf:type ontology:town_in_Alberta }
[]
town in Alberta
Q2128700
SYSTEM
Fort Macleod
Q2128700
(Q517871,P20,c(Q15219391))
action filter_type
action find
entity Q517871
relation P20
type Q15219391
[ANSWER]
['Q517871', 'P20', {'concept': 'Q15219391'}]
SELECT DISTINCT ?t WHERE { resource:Q517871 property:P20 ?t . ?t rdf:type ontology:Q15219391 }
Fort Macleod
Fort Macleod
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation place of death
type town in Alberta
['Frederick Maurice Watson Harvey', 'place of death', {'concept': 'town in Alberta'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_Maurice_Watson_Harvey property:place_of_death ?t . ?t rdf:type ontology:town_in_Alberta }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q517871
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2128700,P27,c(Q15617994))
action filter_type
action find
entity Q517871
relation P27
type Q15617994
['Q2128700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q517871 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation country of citizenship
type designation for an administrative territorial entity
['Fort Macleod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_Maurice_Watson_Harvey property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q2128700,P27,c(Q15617994))
action filter_type
action find
entity Q517871
relation P27
type Q15617994
[ANSWER]
['Q2128700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q517871 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Ireland
Ireland
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation country of citizenship
type designation for an administrative territorial entity
['Fort Macleod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_Maurice_Watson_Harvey property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q517871
P607
Q198
USER
What were the wars that that person took part in
(Q27,P607,c(Q198))
action filter_type
action find
entity Q517871
relation P607
type Q198
['Q27', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q517871 property:P607 ?b }
Frederick Maurice Watson Harvey
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation conflict
type war
['Ireland', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Frederick_Maurice_Watson_Harvey property:conflict ?b }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q27,P607,c(Q198))
action filter_type
action find
entity Q517871
relation P607
type Q198
[ANSWERS]
['Q27', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q517871 property:P607 ?b }
World War II World War I
World War II World War I
action filter_type
action find
entity Frederick Maurice Watson Harvey
relation conflict
type war
['Ireland', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Frederick_Maurice_Watson_Harvey property:conflict ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19767733
P734 P21
Q502895
USER
Which people have Harvey as their family name and are a male ?
AND((c(Q502895),P734,Q19767733), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19767733
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q19767733'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P734 resource:Q19767733 . ?h rdf:type ontology:Q502895 }
male Harvey
action filter_type
action intersection
action find_reverse
entity Harvey
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Harvey'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:family_name resource:Harvey . ?h rdf:type ontology:common_name }
[]
common name
Q4795072 Q6183220 Q16078928 Q19560709 Q6238133 Q2364547 Q4696766 Q3264840 Q6120646 Q4911846
SYSTEM
Some of them are Arnold Harvey, Jerry B. Harvey, Jack Harvey, Thomas Harvey, John Harvey, W. F. Harvey, Aiden J. Harvey, Luc Harvey, Jacques Harvey, Billie Harvey
Q5487146 Q2075501 Q2028504 Q5726530 Q4909339 Q6829027 Q5145189 Q5622319 Q4772678 Q4932716 Q373395 Q5660968 Q5552784 Q5585252 Q5056114 Q3309878 Q2907700 Q1174684 Q6793178 Q5339248 Q1814598 Q3288788 Q6238143 Q2959928 Q6238145 Q5487140 Q4679192 Q5545391 Q499742 Q18645747 Q5981763 Q6417436 Q4932715 Q16203673 Q16090312 Q18527768 Q4795072 Q3018045 Q16194102 Q26912 Q3378789 Q18393613 Q5669537 Q1239182 Q5292353 Q4885811 Q16145241 Q6680688 Q1378128 Q16186266 Q16209465 Q4909340 Q4909341 Q5028080 Q6396456 Q4829974 Q3218058 Q6238135 Q6238131 Q6238133 Q5544092 Q16217327 Q5981759 Q6387760 Q2582579 Q2847943 Q1927715 Q2068960 Q4696766 Q6788770 Q5628643 Q15430242 Q18922119 Q1282769 Q15999296 Q5792270 Q1817565 Q1701878 Q12356782 Q1484103 Q6238138 Q6246928 Q3077698 Q6838211 Q6530877 Q6828436 Q15456755 Q3037940 Q6767951 Q15990024 Q6767952 Q15994489 Q5540289 Q166565 Q6513829 Q3104879 Q6238126 Q4798799 Q6238124 Q590624 Q6238122 Q16078976 Q5219087 Q16866723 Q6238128 Q16006397 Q3164663 Q16148844 Q15998975 Q4722799 Q6820809 Q16204369 Q18390560 Q1438602 Q6379389 Q630484 Q5339547 Q16993732 Q6238140 Q11957298 Q5393230 Q16195572 Q16225416 Q5234791 Q1063662 Q5931063 Q4495776 Q6112982 Q6238119 Q6112984 Q5203862 Q3546003 Q45375 Q3959239 Q6183013 Q6238116 Q5292755 Q2170838 Q6437183 Q17386026 Q2544657 Q18164964 Q6228178 Q5217444 Q5217445 Q5343350 Q3703205 Q556051 Q5106811 Q18577020 Q5230664 Q6175805 Q16017421 Q324376 Q1173582 Q5497693 Q5901813 Q4717140 Q4912685 Q6253870 Q3134025 Q17425013 Q24067156 Q1909518 Q4841544 Q19560709 Q1700390 Q18641455 Q5540965 Q6210231 Q11161222 Q6238113 Q6345322 Q478369 Q4757251 Q15122645 Q6535988 Q4721694 Q5424072 Q18672464 Q19326534 Q6387759 Q3132816 Q5040293 Q4892868 Q16841478 Q3806599 Q16196488 Q3525505 Q343055 Q543124 Q6775636 Q18921863 Q19663979 Q5249912 Q517871 Q5131176 Q3371436 Q6107178 Q5722700 Q6176042 Q10264386 Q4798986 Q3299470 Q17037407 Q4911846 Q5112497 Q5537255 Q18672789 Q2562661 Q5078823 Q6183702 Q18671017 Q6183706 Q16115285 Q6266872 Q6713091 Q6035033 Q2060318 Q2738952 Q3023978 Q6238148 Q16196499 Q16078928 Q16013641 Q17306004 Q4942735 Q19560708 Q11722972 Q16225426 Q5343351 Q5487147 Q374045 Q19560702 Q19560703 Q19560705 Q19560706 Q3157200 Q6195480 Q6195482 Q1251751 Q3783809 Q16097054 Q18169206 Q2924916 Q5540297 Q5568633 Q599476 Q1869196 Q15998389 Q588527 Q18674264 Q6183220 Q1294838 Q2390718 Q4963968 Q4963969 Q5592888 Q16067340 Q551824 Q4864297 Q5205333 Q3538583 Q1703189 Q5592885 Q5487145 Q2982612 Q63461 Q5919861 Q3294240 Q2347009 Q16095645 Q5669543 Q4757253 Q5407349 Q5217443 Q5262023 Q3264840 Q5481233 Q16208883 Q5481237 Q5339549 Q5481235 Q4980144 Q6778364 Q5481239 Q3828142 Q6456351 Q522606 Q6829095 Q6120646 Q3081481 Q4963971 Q2510314 Q5112496 Q18160415 Q6764717 Q4963966 Q16236768 Q1275841 Q14950003 Q1507528 Q4980145 Q15676932 Q6066846 Q1886805 Q2364547 Q5002157
AND((c(Q502895),P734,Q19767733), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19767733
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q19767733'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P734 resource:Q19767733 . ?h rdf:type ontology:Q502895 }
Frank Harvey Peter Harvey Adam Paul Harvey Bernard G. Harvey Bill Harvey Michael C. Harvey Colin Harvey Guy Harvey Anthony Harvey Bob Harvey Adrian Lester Harold Harvey Gerry Harvey Gordon Harvey Cecil Harvey Michel Harvey Bob Harvey David Harvey Maurice Harvey Edmund Arthur Harvey Alex Harvey Marcel Charvey John Harvey Charles Offley Harvey John Harvey Frank Harvey Adam Harvey George U. Harvey Jonathan Harvey Denis Harvey Ian Harvey Kit Hesketh-Harvey Bob Harvey Ben Harvey Van A. Harvey Gideon Harvey Arnold Harvey David Harvey Gary Harvey James Michael Harvey Phil Harvey Ray Harvey Harry Harvey Donald Patrick Harvey Don C. Harvey Ben Harvey John Harvey Lorenzo D. Harvey William Henry Harvey Marvin Harvey Laurence R. Harvey Bill Harvey Bill Harvey Campbell Harvey Kevin Harvey Warren Zev Harvey Larry Harvey John Harvey John Harvey John Harvey George Roy Harvey Brent Harvey Ian Harvey Ken Harvey Wilson Godfrey Harvey André Harvey Michael Harvey Donald Harvey Aiden J. Harvey Matt Harvey H. W. Harvey Paul Harvey Charles Harvey Jonathan Harvey E. Newton Harvey Tim Harvey Lenford Harvey John T. Harvey William Harvey Todd Harvey John Harvey John Martin-Harvey Forrester Harvey Mick Harvey Leslie Harvey Jonathon Harvey James Harvey Doug Harvey Mark Harvey Richard Harvey Mark Harvey George Harvey George Harvey Mick Harvey Lee Harvey Ghislain Harvey John Harvey Arthur George Harvey John Harvey R. James Harvey John Harvey Oliver Harvey Daniel Whittle Harvey Ernest Maes Harvey John Harvey Robert Harvey Jean-Charles Harvey Harvey Eli Harvey Alfred Harvey Merv Harvey Paul Harvey Merv Harvey Ralph Harvey Kevin Harvey Antonio Harvey Edmund Harvey Tom Harvey John Harvey Alex Harvey Ernest Harvey Paul Harvey J. Richard Harvey David Harvey Malcolm Barclay-Harvey Hugh Harvey Marcus Harvey Jack Harvey John Harvey Jack Harvey D. W. Harvey Tye Harvey Alex Harvey Shawn Harvey Jeron Harvey John Harvey Don Harvey Roy Harvey Kris Harvey Brett Harvey Walter J. Harvey Andrew Harvey John D. Harvey Daniel Harvey Daniel Harvey Edward Harvey David Harvey Richard Harvey Chris Harvey Stephen Harvey David Alan Harvey Jeffrey A. Harvey Peter Harvey Leslie Harvey David Archibald Harvey Frederick E. B. Harvey Horace Harvey Alex Harvey Billy Harvey John R. Harvey Herk Harvey Sir James Harvey Richard P. Harvey Matthew Harvey Bagenal Harvey Thomas Harvey John Harvey Les Harvey George Isaac Harvey Joe Harvey Nick Harvey John Harvey Kade Harvey Nick Harvey Andrew Harvey Harry Harvey Lew Harvey Alf Harvey F. W. Harvey Thomas Harvey Gideon Harvey Ken Harvey Henry Harvey Carl Harvey Bernard "BHarv" Harvey William Harvey James Harvey Grant Harvey Robert Harvey David Harvey Anthony Harvey Martin Harvey Tyler Harvey Norm Harvey Dee Harvey Frederick Maurice Watson Harvey Clem Harvey Paul Harvey J. T. Harvey Henry Harvey Jeffrey Harvey David Charles Harvey Arthur Harvey Matt Harvey Hunter Harvey Billie Harvey Christopher Harvey George Brinton McClellan Harvey William Woodis Harvey Francis Harvey Charles Harvey Jerry Harvey Edmund George Harvey Jerry Harvey A. D. Harvey Johnny Harvey M. S. Harvey Inman Harvey Phil Harvey Neil Harvey Derrick Harvey John Harvey Lee Harvey Jack Harvey Raymond Harvey André Harvey Boo Harvey Terence Harvey John Harvey Rob Harvey Edward Harvey Frank Harvey Laurence Harvey Augustus William Harvey Brett Harvey James Harvey John Harvey Jack Harvey Jim Harvey Jim Harvey Doug Harvey Hayward A. Harvey Patrick Harvey Ernest Musgrave Harvey Brian Harvey George Harvey Glenmore Trenear-Harvey Len Harvey Thomas Stoltz Harvey Lawrence Harvey James G. Harvey Nicholas Harvey Jerry B. Harvey Francis J. Harvey Gary Harvey Brian Harvey Brian Harvey Graham Harvey Thomas Harvey Michael Harvey Barry Harvey DJ Harvey Trevor Harvey Jonathan Harvey Graham Harvey Frank Harvey Colin Harvey Eddie Harvey Howard Harvey Mark Stephen Harvey Steve Harvey Keith Harvey Harry Harvey Andrew Harvey Eugene Harvey Daniel Harvey Derek Harvey Luc Harvey Francis Harvey Harvey Francis Harvey Edmund Harvey Francis Harvey Bryan Harvey Marvin Harvey Francis Harvey Lawrence Harvey L. B. Harvey Jordan Harvey Ronald Harvey Jacques Harvey Francis Harvey Brian Harvey Will Harvey Christopher Harvey Richard Harvey Mario Harvey Brian Harvey Mitchell Harvey Gabriel Harvey Jasper Harvey George Harvey Bryan Harvey Alexander Miller Harvey Patrick Harvey Jamie Harvey W. F. Harvey Buster Harvey
Arnold Harvey Jerry B. Harvey Jack Harvey Thomas Harvey John Harvey W. F. Harvey Aiden J. Harvey Luc Harvey Jacques Harvey Billie Harvey
action filter_type
action intersection
action find_reverse
entity Harvey
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Harvey'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:family_name resource:Harvey . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q362 Q208127
P607
Q502895
USER
How many people did World War II and Battle of Tsushima engage in ?
(c(Q502895),P607,Q362) (c(Q502895),P607,Q208127)
action count
action intersection
action filter_type
action find_reverse
entity Q362
relation P607
type Q502895
action filter_type
action find_reverse
entity Q208127
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q362'] [{'concept': 'Q502895'}, 'P607', 'Q208127']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P607 resource:Q362 . ?s rdf:type ontology:Q502895 . ?s property:P607 resource:Q208127 . ?s rdf:type ontology:Q502895 }
World War II Battle of Tsushima
action count
action intersection
action filter_type
action find_reverse
entity World War II
relation conflict
type common name
action filter_type
action find_reverse
entity Battle of Tsushima
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'World War II'] [{'concept': 'common name'}, 'conflict', 'Battle of Tsushima']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:conflict resource:World_War_II . ?s rdf:type ontology:common_name . ?s property:conflict resource:Battle_of_Tsushima . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q285846 Q702295
(c(Q502895),P607,Q362) (c(Q502895),P607,Q208127)
action count
action intersection
action filter_type
action find_reverse
entity Q362
relation P607
type Q502895
action filter_type
action find_reverse
entity Q208127
relation P607
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q362'] [{'concept': 'Q502895'}, 'P607', 'Q208127']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P607 resource:Q362 . ?s rdf:type ontology:Q502895 . ?s property:P607 resource:Q208127 . ?s rdf:type ontology:Q502895 }
Fushimi Hiroyasu Shigetarō Shimada
2
action count
action intersection
action filter_type
action find_reverse
entity World War II
relation conflict
type common name
action filter_type
action find_reverse
entity Battle of Tsushima
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'World War II'] [{'concept': 'common name'}, 'conflict', 'Battle of Tsushima']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:conflict resource:World_War_II . ?s rdf:type ontology:common_name . ?s property:conflict resource:Battle_of_Tsushima . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q1792379 Q386724
USER
Which names are demonstrated in max number of art genres and works ?
(c(Q1792379)|c(Q386724),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P180 ?c . ?c rdf:type ontology:Q82799 . ?i rdf:type ontology:Q1792379 } UNION { ?i property:P180 ?c . ?c rdf:type ontology:Q82799 . ?i rdf:type ontology:Q386724 } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { { ?s property:P180 ?r . ?r rdf:type ontology:Q82799 . ?s rdf:type ontology:Q386724 } UNION { ?s property:P180 ?r . ?r rdf:type ontology:Q82799 . ?s rdf:type ontology:Q1792379 } } GROUP BY ?r } . FILTER ( ?o = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:depicts ?c . ?c rdf:type ontology:name . ?i rdf:type ontology:art_genre } UNION { ?i property:depicts ?c . ?c rdf:type ontology:name . ?i rdf:type ontology:work } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { { ?s property:depicts ?r . ?r rdf:type ontology:name . ?s rdf:type ontology:work } UNION { ?s property:depicts ?r . ?r rdf:type ontology:name . ?s rdf:type ontology:art_genre } } GROUP BY ?r } . FILTER ( ?o = ?t ) }
[]
name art genre work
Q726
SYSTEM
horse
Q726
(c(Q1792379)|c(Q386724),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P180 ?c . ?c rdf:type ontology:Q82799 . ?i rdf:type ontology:Q1792379 } UNION { ?i property:P180 ?c . ?c rdf:type ontology:Q82799 . ?i rdf:type ontology:Q386724 } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { { ?s property:P180 ?r . ?r rdf:type ontology:Q82799 . ?s rdf:type ontology:Q386724 } UNION { ?s property:P180 ?r . ?r rdf:type ontology:Q82799 . ?s rdf:type ontology:Q1792379 } } GROUP BY ?r } . FILTER ( ?o = ?t ) }
horse
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?t ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:depicts ?c . ?c rdf:type ontology:name . ?i rdf:type ontology:art_genre } UNION { ?i property:depicts ?c . ?c rdf:type ontology:name . ?i rdf:type ontology:work } } GROUP BY ?c } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?o ) WHERE { { ?s property:depicts ?r . ?r rdf:type ontology:name . ?s rdf:type ontology:work } UNION { ?s property:depicts ?r . ?r rdf:type ontology:name . ?s rdf:type ontology:art_genre } } GROUP BY ?r } . FILTER ( ?o = ?t ) }
[]