Simple Question (Direct)
Simple Question
Q267328
P21
Q290
USER
What is the sex of Antonio Zugarelli ?
(Q267328,P21,c(Q290))
action filter_type
action find
entity Q267328
relation P21
type Q290
['Q267328', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q267328 property:P21 ?k . ?k rdf:type ontology:Q290 }
Antonio Zugarelli
action filter_type
action find
entity Antonio Zugarelli
relation gender
type sex
['Antonio Zugarelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Zugarelli property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q267328,P21,c(Q290))
action filter_type
action find
entity Q267328
relation P21
type Q290
The sex of Antonio Zugarelli is the [ANSWER]
['Q267328', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q267328 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Antonio Zugarelli is the male
male
action filter_type
action find
entity Antonio Zugarelli
relation gender
type sex
['Antonio Zugarelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Zugarelli property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267328
P551
Q56061
USER
Where did Antonio Zugarelli live ?
(Q267328,P551,c(Q56061))
action filter_type
action find
entity Q267328
relation P551
type Q56061
['Q267328', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q267328 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Antonio Zugarelli
action filter_type
action find
entity Antonio Zugarelli
relation residence
type administrative territorial entity
['Antonio Zugarelli', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Antonio_Zugarelli property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q267328,P551,c(Q56061))
action filter_type
action find
entity Q267328
relation P551
type Q56061
Antonio Zugarelli lived in [ANSWER]
['Q267328', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q267328 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Rome
Antonio Zugarelli lived in Rome
Rome
action filter_type
action find
entity Antonio Zugarelli
relation residence
type administrative territorial entity
['Antonio Zugarelli', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Antonio_Zugarelli property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q267328
P641
Q349
USER
Which sport was that person a part of ?
(Q220,P641,c(Q349))
action filter_type
action find
entity Q267328
relation P641
type Q349
['Q220', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q267328 property:P641 ?x . ?x rdf:type ontology:Q349 }
Antonio Zugarelli
action filter_type
action find
entity Antonio Zugarelli
relation sport
type sport
['Rome', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Antonio_Zugarelli property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q220,P641,c(Q349))
action filter_type
action find
entity Q267328
relation P641
type Q349
The [ANSWER] was that person a part of
['Q220', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q267328 property:P641 ?x . ?x rdf:type ontology:Q349 }
tennis
The tennis was that person a part of
tennis
action filter_type
action find
entity Antonio Zugarelli
relation sport
type sport
['Rome', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Antonio_Zugarelli property:sport ?x . ?x rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q2342494
USER
How many sports are the area of approximately the same number of organizations or collectables as that sport ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q847
relation P101
type Q43229
type Q2342494
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } . ?z rdf:type ?f } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P101 resource:Q847 . { { ?s rdf:type ontology:Q43229 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?o = ?m ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity tennis
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:collectable ) } . ?z rdf:type ?f } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:field_of_work resource:tennis . { { ?s rdf:type ontology:organization } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?o = ?m ) }
[]
sport organization collectable
SYSTEM
39
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q43229)|c(Q2342494),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q847
relation P101
type Q43229
type Q2342494
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q2342494 ) } . ?z rdf:type ?f } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P101 resource:Q847 . { { ?s rdf:type ontology:Q43229 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?o = ?m ) }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
39
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity tennis
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:collectable ) } . ?z rdf:type ?f } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:field_of_work resource:tennis . { { ?s rdf:type ontology:organization } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?o = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267328
P106
Q12737077
USER
Which occupation is the profession of Antonio Zugarelli ?
(Q267328,P106,c(Q12737077))
action filter_type
action find
entity Q267328
relation P106
type Q12737077
['Q267328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q267328 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Antonio Zugarelli
action filter_type
action find
entity Antonio Zugarelli
relation occupation
type occupation
['Antonio Zugarelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Zugarelli property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q267328,P106,c(Q12737077))
action filter_type
action find
entity Q267328
relation P106
type Q12737077
The [ANSWER] is the profession of Antonio Zugarelli
['Q267328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q267328 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
tennis player
The tennis player is the profession of Antonio Zugarelli
tennis player
action filter_type
action find
entity Antonio Zugarelli
relation occupation
type occupation
['Antonio Zugarelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Zugarelli property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4895798
Q12737077
USER
And also tell me about Bertram Mackennal?
(Q4895798,P106,c(Q12737077))
action filter_type
action find
entity Q4895798
relation P106
type Q12737077
['Q4895798', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4895798 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Bertram Mackennal
action filter_type
action find
entity Bertram Mackennal
relation occupation
type occupation
['Bertram Mackennal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Bertram_Mackennal property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q2000124 Q483501
SYSTEM
postage stamp designer, artist
Q2000124 Q483501
(Q4895798,P106,c(Q12737077))
action filter_type
action find
entity Q4895798
relation P106
type Q12737077
[ANSWERS]
['Q4895798', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4895798 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
postage stamp designer artist
postage stamp designer artist
action filter_type
action find
entity Bertram Mackennal
relation occupation
type occupation
['Bertram Mackennal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Bertram_Mackennal property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2642869
P106
Q502895
USER
Do Alexander Prechtel have a job as those occupations ?
(Q2642869,P106,Q2000124) (Q2642869,P106,Q483501)
action is_in
entity prev_answer
action find
entity Q2642869
relation P106
['Q2642869', 'P106', 'Q2000124'] ['Q2642869', 'P106', 'Q483501']
ASK WHERE { resource:Q2642869 property:P106 ?m . VALUES ( ?m ) { ( resource:Q2000124 ) ( resource:Q483501 ) } }
Alexander Prechtel
action is_in
entity prev_answer
action find
entity Alexander Prechtel
relation occupation
['Alexander Prechtel', 'occupation', 'postage stamp designer'] ['Alexander Prechtel', 'occupation', 'artist']
ASK WHERE { resource:Alexander_Prechtel property:occupation ?m . VALUES ( ?m ) { ( resource:postage_stamp_designer ) ( resource:artist ) } }
[]
common name
SYSTEM
NO
(Q2642869,P106,Q2000124) (Q2642869,P106,Q483501)
action is_in
entity prev_answer
action find
entity Q2642869
relation P106
[ANSWER]
['Q2642869', 'P106', 'Q2000124'] ['Q2642869', 'P106', 'Q483501']
ASK WHERE { resource:Q2642869 property:P106 ?m . VALUES ( ?m ) { ( resource:Q2000124 ) ( resource:Q483501 ) } }
No
action is_in
entity prev_answer
action find
entity Alexander Prechtel
relation occupation
['Alexander Prechtel', 'occupation', 'postage stamp designer'] ['Alexander Prechtel', 'occupation', 'artist']
ASK WHERE { resource:Alexander_Prechtel property:occupation ?m . VALUES ( ?m ) { ( resource:postage_stamp_designer ) ( resource:artist ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q386724
USER
Which occupations are expressed in min number of prints and works ?
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?a rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?l } . FILTER ( ?p = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } . ?a rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?l } . FILTER ( ?p = ?s ) }
[]
occupation print work
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
The [ANSWERS] are expressed in min number of prints and works
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?a rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?l } . FILTER ( ?p = ?s ) }
fiddler acrobat milkmaid worker singer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian monarch pastor courtier judge abbot matador goldsmith waterseller pretender surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador woodcutter lacemaker Snake charming carpenter officer fisherman poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
The nurse, tailor and librarian are expressed in min number of prints and works
nurse tailor librarian
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?s ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } . ?a rdf:type ?b } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?l } . FILTER ( ?p = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P276
Q41176 Q178706
USER
How many buildings or institutions are located at Rome ?
(c(Q41176),P276,Q220) (c(Q178706),P276,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P276
type Q41176
action filter_type
action find_reverse
entity Q220
relation P276
type Q178706
[{'concept': 'Q41176'}, 'P276', 'Q220'] [{'concept': 'Q178706'}, 'P276', 'Q220']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:Q41176 ) ( ontology:Q178706 ) } . ?r rdf:type ?v }
Rome
action count
action union
action filter_type
action find_reverse
entity Rome
relation location
type building
action filter_type
action find_reverse
entity Rome
relation location
type institution
[{'concept': 'building'}, 'location', 'Rome'] [{'concept': 'institution'}, 'location', 'Rome']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:building ) ( ontology:institution ) } . ?r rdf:type ?v }
[]
building institution
SYSTEM
3
Q864639 Q3658359 Q3616668
(c(Q41176),P276,Q220) (c(Q178706),P276,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P276
type Q41176
action filter_type
action find_reverse
entity Q220
relation P276
type Q178706
[ANSWER]
[{'concept': 'Q41176'}, 'P276', 'Q220'] [{'concept': 'Q178706'}, 'P276', 'Q220']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:Q41176 ) ( ontology:Q178706 ) } . ?r rdf:type ?v }
Bioparco Regina Coeli Anfiteatro Correa
3
action count
action union
action filter_type
action find_reverse
entity Rome
relation location
type building
action filter_type
action find_reverse
entity Rome
relation location
type institution
[{'concept': 'building'}, 'location', 'Rome'] [{'concept': 'institution'}, 'location', 'Rome']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:building ) ( ontology:institution ) } . ?r rdf:type ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
action filter_type
action find_reverse
entity Q220
relation P159
type Q43229
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q220 . ?l rdf:type ontology:Q43229 }
Rome
action filter_type
action find_reverse
entity Rome
relation headquarters location
type organization
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Rome . ?l rdf:type ontology:organization }
[]
organization
Q565594 Q1048204 Q692179
SYSTEM
Eni, Cassa Depositi e Prestiti, Interflora
Q3961946 Q3606450 Q650467 Q25936420 Q4762904 Q20165130 Q692179 Q3687413 Q936325 Q5310682 Q7096542 Q3874677 Q7855895 Q2521786 Q3880025 Q1034670 Q377915 Q82151 Q3529972 Q15867660 Q2205784 Q3982903 Q936934 Q3943538 Q3959544 Q3278449 Q3736515 Q2201225 Q3965078 Q3725218 Q3617445 Q5514677 Q15960739 Q3909457 Q2205770 Q3124713 Q23728771 Q3630866 Q1674879 Q3909455 Q23756497 Q16966569 Q1522668 Q3929528 Q842053 Q756243 Q3745440 Q3633836 Q1970963 Q3640368 Q646807 Q17068490 Q17509296 Q247132 Q3943803 Q2944193 Q3749167 Q12050678 Q752515 Q865859 Q3965055 Q1120617 Q936025 Q3931386 Q3126763 Q144617 Q1631020 Q565594 Q3803787 Q1027472 Q19655865 Q3943389 Q3961931 Q3963401 Q3734950 Q3604601 Q926575 Q2271469 Q24206414 Q919970 Q16951986 Q19616 Q3725220 Q3804023 Q2882033 Q3803598 Q2899643 Q1070820 Q495026 Q19803080 Q3726207 Q662824 Q3626661 Q3860647 Q27485968 Q3622787 Q3661906 Q3633762 Q3611851 Q651222 Q7962573 Q910379 Q4011019 Q3651034 Q3604622 Q3717456 Q1048204 Q3155844 Q3745883 Q3740038 Q295611
action filter_type
action find_reverse
entity Q220
relation P159
type Q43229
[ANSWERS] have their head office location at that administrative territory
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q220 . ?l rdf:type ontology:Q43229 }
Sintonia Agenzia Giornalistica Italia Wind Telecomunicazioni Capitolium Angelo Litrico Venere.com Interflora Consip Terna - Rete Elettrica Nazionale Dubbing Brothers International Italia Openpicus Neomobile Turner Broadcasting System Italy De Agostini Nòverca Capitalia Agip Food and Agriculture Organization of the United Nations Tivù Sat Unframe (documentary photography project) SELEX Sistemi Integrati Telepass Legacoop SD Cinematografica Shin Vision Maire Tecnimont F2i Fondi Italiani per le Infrastrutture Banca Nazionale del Lavoro Sorgente Group Enel Green Power Azienda Nazionale Idrogenazione Combustibili GTECH Gea world Poste Vita Group SELEX ES H2onews insistema Autostrada Asti-Cuneo Istituto per la Ricostruzione Industriale PosteMobile Group Italia Eating Italy Food Tours Giannini Automobili Rai Way Eulama Atlantia Filmauro Banco di Roma Sodalitium Pianum Peroni Anonima Petroli Italiana L.G.R Enjoy Oratory of Saint Philip Neri SOGIN Cementir Fox International Channels Italy SIR Bulgari Peroni Brewery Sorelle Fontana TIM Treno Alta Velocità Rectaflex Generali Italia Telecom Italia Terravision Eni Istituto per il Credito Sportivo Caltagirone Editore Infinity TV Servizi Assicurativi del Commercio Estero Sinterel SIOI Eurostazioni Acotel Group Fendi Astaldi André Laug Lottomatica COSMED RAI Enel Produzione It Unicredit Banca di Roma Istituto Centrale delle Banche Popolari Italiane Federazione Cricket Italiana Telecom Italia Media Poste italiane Società Romana Tramways Omnibus Ente Italiano per le Audizioni Radiofoniche Telespazio ANPI Mondo TV EP Produzione Arlecchino Cassa per il Mezzogiorno Banca del Fucino Alitalia Airport Enel Walks of Italy Leonardo-Finmeccanica Vianini Lavori Caltagirone Acqua Lete ERG Mobile Cassa Depositi e Prestiti Italferr Fiorentini Fata Assicurazioni ANAS
Eni, Cassa Depositi e Prestiti and Interflora have their head office location at that administrative territory
Eni Cassa Depositi e Prestiti Interflora
action filter_type
action find_reverse
entity Rome
relation headquarters location
type organization
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Rome . ?l rdf:type ontology:organization }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P272
Q43229 Q201658
USER
Which organizations were the producer of greater number of film genres than that organization ?
(c(Q201658),P272,c(Q43229))
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { ?z property:Q11396960 ?y . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q43229 }
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { ?z property:production_company ?y . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:organization }
[]
organization film genre
Comparative|More/Less|Single entity type|Clarification
Q692179
SYSTEM
Did you mean Interflora ?
(c(Q201658),P272,c(Q43229))
[ANSWER]
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { ?z property:Q11396960 ?y . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q43229 }
Did you mean Interflora ?
Interflora
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { ?z property:production_company ?y . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
No, I meant Eni. Could you tell me the answer for that?
(c(Q201658),P272,c(Q43229))
Q565594
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
[]
Q9531 Q248 Q515869
SYSTEM
BBC, Intel, Lions Gate Entertainment
Q1414304 Q6428422 Q3066286 Q785697 Q179922 Q515869 Q5324239 Q622668 Q4739359 Q5311479 Q2819232 Q83389 Q883799 Q248 Q542767 Q3521465 Q5448912 Q650331 Q4824388 Q5448895 Q1188938 Q689021 Q1152369 Q2701539 Q1783801 Q828545 Q501070 Q9531 Q4646764 Q1188361 Q1740372 Q533547 Q2756503 Q5433479
(c(Q201658),P272,c(Q43229))
[ANSWERS] were the producer of greater number of film genres than that organization
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { ?z property:Q11396960 ?y . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q43229 }
Film Booking Offices of America Kommunenes Filmcentral Famous Studios Shogakukan Goldwyn Pictures Lions Gate Entertainment ESPN Films Village Roadshow Pictures Amalgamated Pictures Duck Studios AKOM Turkish Radio and Television Corporation Blender Foundation Intel Christian Dior S.A. The Kennedy/Marshall Company Film Australia Metro Pictures Australian Life Biograph Company FilmNation Entertainment Silver Pictures Selig Polyscope Company Section Eight Productions DePatie-Freleng Enterprises Sony Pictures Imageworks SeaWorld Parks & Entertainment Channel 4 BBC @radical.media Warner Home Video Keystone Studios Pacific Data Images Gaumont-British Picture Corporation Famous Players Film Company
BBC, Intel and Lions Gate Entertainment were the producer of greater number of film genres than that organization
BBC Intel Lions Gate Entertainment
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { ?z property:production_company ?y . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P287
Q43229 Q81103 Q14660
USER
Which organizations created the design for max number of cannons and flags ?
(c(Q81103)|c(Q14660),P287,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q14660
[[{'concept': 'Q81103'}, {'concept': 'Q14660'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { { ?j property:P287 ?m . ?m rdf:type ontology:Q43229 . ?j rdf:type ontology:Q81103 } UNION { ?j property:P287 ?m . ?m rdf:type ontology:Q43229 . ?j rdf:type ontology:Q14660 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?d WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q81103 ) ( ontology:Q14660 ) } } GROUP BY ?d } . FILTER ( ?q = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type flag
[[{'concept': 'cannon'}, {'concept': 'flag'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { { ?j property:designer ?m . ?m rdf:type ontology:organization . ?j rdf:type ontology:cannon } UNION { ?j property:designer ?m . ?m rdf:type ontology:organization . ?j rdf:type ontology:flag } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?d WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:cannon ) ( ontology:flag ) } } GROUP BY ?d } . FILTER ( ?q = ?v ) }
[]
organization cannon flag
Q159656
SYSTEM
Krupp
Q159656
(c(Q81103)|c(Q14660),P287,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q81103
action find_reverse_tuple_counts
relation P287
type Q43229
type Q14660
[ANSWER] created the design for max number of cannons and flags
[[{'concept': 'Q81103'}, {'concept': 'Q14660'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { { ?j property:P287 ?m . ?m rdf:type ontology:Q43229 . ?j rdf:type ontology:Q81103 } UNION { ?j property:P287 ?m . ?m rdf:type ontology:Q43229 . ?j rdf:type ontology:Q14660 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?d WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q81103 ) ( ontology:Q14660 ) } } GROUP BY ?d } . FILTER ( ?q = ?v ) }
Krupp
Krupp created the design for max number of cannons and flags
Krupp
action argmax
action union
action find_reverse_tuple_counts
relation designer
type organization
type cannon
action find_reverse_tuple_counts
relation designer
type organization
type flag
[[{'concept': 'cannon'}, {'concept': 'flag'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?m WHERE { { ?j property:designer ?m . ?m rdf:type ontology:organization . ?j rdf:type ontology:cannon } UNION { ?j property:designer ?m . ?m rdf:type ontology:organization . ?j rdf:type ontology:flag } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) ?d WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:cannon ) ( ontology:flag ) } } GROUP BY ?d } . FILTER ( ?q = ?v ) }
[]