Simple Question (Direct)
Simple Question
Q18201932
P21
Q290
USER
Which sex does Zoltán Kádár have ?
(Q18201932,P21,c(Q290))
action filter_type
action find
entity Q18201932
relation P21
type Q290
['Q18201932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q18201932 property:P21 ?p . ?p rdf:type ontology:Q290 }
Zoltán Kádár
action filter_type
action find
entity Zoltán Kádár
relation gender
type sex
['Zoltán Kádár', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Zoltán_Kádár property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18201932,P21,c(Q290))
action filter_type
action find
entity Q18201932
relation P21
type Q290
Zoltán Kádár has a [ANSWER]
['Q18201932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q18201932 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Zoltán Kádár has a male
male
action filter_type
action find
entity Zoltán Kádár
relation gender
type sex
['Zoltán Kádár', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Zoltán_Kádár property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18201932
P106
Q12737077
USER
What are the professions of Zoltán Kádár ?
(Q18201932,P106,c(Q12737077))
action filter_type
action find
entity Q18201932
relation P106
type Q12737077
['Q18201932', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18201932 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Zoltán Kádár
action filter_type
action find
entity Zoltán Kádár
relation occupation
type occupation
['Zoltán Kádár', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Zoltán_Kádár property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q18201932,P106,c(Q12737077))
action filter_type
action find
entity Q18201932
relation P106
type Q12737077
The professions of Zoltán Kádár are the [ANSWERS]
['Q18201932', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q18201932 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football manager association football player
The professions of Zoltán Kádár are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Zoltán Kádár
relation occupation
type occupation
['Zoltán Kádár', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Zoltán_Kádár property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18201932
P641
Q349
USER
Which sport was that person a part of ?
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q18201932
relation P641
type Q349
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q18201932 property:P641 ?y }
Zoltán Kádár
action filter_type
action find
entity Zoltán Kádár
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Zoltán_Kádár property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q18201932
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q18201932 property:P641 ?y }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Zoltán Kádár
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Zoltán_Kádár property:sport ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18201932
P27
Q15617994
USER
Which administrative territory is Zoltán Kádár a civilian of ?
(Q18201932,P27,c(Q15617994))
action filter_type
action find
entity Q18201932
relation P27
type Q15617994
['Q18201932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18201932 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Zoltán Kádár
action filter_type
action find
entity Zoltán Kádár
relation country of citizenship
type designation for an administrative territorial entity
['Zoltán Kádár', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zoltán_Kádár property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q18201932,P27,c(Q15617994))
action filter_type
action find
entity Q18201932
relation P27
type Q15617994
[ANSWER] is Zoltán Kádár a civilian of
['Q18201932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18201932 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Romania
Romania is Zoltán Kádár a civilian of
Romania
action filter_type
action find
entity Zoltán Kádár
relation country of citizenship
type designation for an administrative territorial entity
['Zoltán Kádár', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zoltán_Kádár property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14950762
Q15617994
USER
And how about Ambrose Schindler?
(Q14950762,P27,c(Q15617994))
action filter_type
action find
entity Q14950762
relation P27
type Q15617994
['Q14950762', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q14950762 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Ambrose Schindler
action filter_type
action find
entity Ambrose Schindler
relation country of citizenship
type designation for an administrative territorial entity
['Ambrose Schindler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ambrose_Schindler property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q14950762,P27,c(Q15617994))
action filter_type
action find
entity Q14950762
relation P27
type Q15617994
[ANSWER]
['Q14950762', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q14950762 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Ambrose Schindler
relation country of citizenship
type designation for an administrative territorial entity
['Ambrose Schindler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ambrose_Schindler property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1346
Q15061650 Q198
USER
How many golf tournaments and wars were that administrative territory decalred as a victor of ?
(c(Q15061650),P1346,Q30) (c(Q198),P1346,Q30) (c(Q15061650),P1346,Q30) (c(Q198),P1346,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
action filter_type
action find_reverse
entity Q30
relation P1346
type Q198
[{'concept': 'Q15061650'}, 'P1346', 'Q30'] [{'concept': 'Q198'}, 'P1346', 'Q30'] [{'concept': 'Q15061650'}, 'P1346', 'Q30'] [{'concept': 'Q198'}, 'P1346', 'Q30']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:Q198 ) ( ontology:Q15061650 ) } . ?g rdf:type ?n }
action count
action union
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
action filter_type
action find_reverse
entity United States of America
relation winner
type war
[{'concept': 'golf tournament'}, 'winner', 'United States of America'] [{'concept': 'war'}, 'winner', 'United States of America'] [{'concept': 'golf tournament'}, 'winner', 'United States of America'] [{'concept': 'war'}, 'winner', 'United States of America']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:war ) ( ontology:golf_tournament ) } . ?g rdf:type ?n }
[]
golf tournament war
SYSTEM
26 golf tournaments and 1 wars
Q3453900 Q3453902 Q8683 Q3453909 Q3453908 Q3453896 Q3453913 Q4571206 Q4572000 Q919786 Q4569702 Q3943126 Q3453898 Q4570452 Q3943120 Q3453893 Q14710308 Q3943123 Q3453897 Q3943124 Q3943127 Q4568450 Q3943125 Q3453899 Q3943117 Q3943130 Q600731
(c(Q15061650),P1346,Q30) (c(Q198),P1346,Q30) (c(Q15061650),P1346,Q30) (c(Q198),P1346,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
action filter_type
action find_reverse
entity Q30
relation P1346
type Q198
[ANSWER]
[{'concept': 'Q15061650'}, 'P1346', 'Q30'] [{'concept': 'Q198'}, 'P1346', 'Q30'] [{'concept': 'Q15061650'}, 'P1346', 'Q30'] [{'concept': 'Q198'}, 'P1346', 'Q30']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:Q198 ) ( ontology:Q15061650 ) } . ?g rdf:type ?n }
1981 Ryder Cup 1983 Ryder Cup Cold War 1993 Ryder Cup 1991 Ryder Cup 1971 Ryder Cup 1999 Ryder Cup 1963 Ryder Cup 1965 Ryder Cup 2008 Ryder Cup 1959 Ryder Cup 1949 Ryder Cup 1975 Ryder Cup 1961 Ryder Cup 1931 Ryder Cup 1969 Ryder Cup 1967 Ryder Cup 1935 Ryder Cup 1973 Ryder Cup 1937 Ryder Cup 1951 Ryder Cup 1955 Ryder Cup 1947 Ryder Cup 1979 Ryder Cup 1927 Ryder Cup 1953 Ryder Cup 1977 Ryder Cup
26 golf tournaments and 1 wars
action count
action union
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
action filter_type
action find_reverse
entity United States of America
relation winner
type war
[{'concept': 'golf tournament'}, 'winner', 'United States of America'] [{'concept': 'war'}, 'winner', 'United States of America'] [{'concept': 'golf tournament'}, 'winner', 'United States of America'] [{'concept': 'war'}, 'winner', 'United States of America']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:war ) ( ontology:golf_tournament ) } . ?g rdf:type ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q2342494
USER
Which occupations are expressed in atleast 2 medias and collectables ?
(c(Q340169)|c(Q2342494),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
value 2
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q340169 . ?r property:P180 ?v } UNION { ?v rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 . ?r property:P180 ?v } } GROUP BY ?v } . FILTER ( ?w >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
value 2
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:occupation . ?r rdf:type ontology:media . ?r property:depicts ?v } UNION { ?v rdf:type ontology:occupation . ?r rdf:type ontology:collectable . ?r property:depicts ?v } } GROUP BY ?v } . FILTER ( ?w >= 2 ) }
[]
occupation media collectable
Q4991371 Q20489032 Q639669
SYSTEM
soldier, salt pan worker, musician
Q4991371 Q20489032 Q639669
(c(Q340169)|c(Q2342494),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
value 2
[ANSWERS] are expressed in atleast 2 medias and collectables
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q340169 . ?r property:P180 ?v } UNION { ?v rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 . ?r property:P180 ?v } } GROUP BY ?v } . FILTER ( ?w >= 2 ) }
soldier salt pan worker musician
Soldier, salt pan worker and musician are expressed in atleast 2 medias and collectables
soldier salt pan worker musician
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
value 2
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:occupation . ?r rdf:type ontology:media . ?r property:depicts ?v } UNION { ?v rdf:type ontology:occupation . ?r rdf:type ontology:collectable . ?r property:depicts ?v } } GROUP BY ?v } . FILTER ( ?w >= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q17638008
USER
How many occupations are expressed in atmost 1 works or game equipment ?
(c(Q386724)|c(Q17638008),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { { ?m property:P180 ?z . ?m rdf:type ontology:Q386724 . ?z rdf:type ontology:Q12737077 } UNION { ?m property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q17638008 } } GROUP BY ?z } . FILTER ( ?s <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 1
[[{'concept': 'work'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { { ?m property:depicts ?z . ?m rdf:type ontology:work . ?z rdf:type ontology:occupation } UNION { ?m property:depicts ?z . ?z rdf:type ontology:occupation . ?m rdf:type ontology:game_equipment } } GROUP BY ?z } . FILTER ( ?s <= 1 ) }
[]
occupation work game equipment
SYSTEM
226
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 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 Q483501 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 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 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q386724)|c(Q17638008),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 1
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { { ?m property:P180 ?z . ?m rdf:type ontology:Q386724 . ?z rdf:type ontology:Q12737077 } UNION { ?m property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q17638008 } } GROUP BY ?z } . FILTER ( ?s <= 1 ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer 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 artist 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 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 courtesan 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 courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer 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 peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician 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 priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
226
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 1
[[{'concept': 'work'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { { ?m property:depicts ?z . ?m rdf:type ontology:work . ?z rdf:type ontology:occupation } UNION { ?m property:depicts ?z . ?z rdf:type ontology:occupation . ?m rdf:type ontology:game_equipment } } GROUP BY ?z } . FILTER ( ?s <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P20
Q502895
USER
Which people have Romania as the location of death ?
(c(Q502895),P20,Q218)
action filter_type
action find_reverse
entity Q218
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q218']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q218 . ?y rdf:type ontology:Q502895 }
Romania
action filter_type
action find_reverse
entity Romania
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Romania']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Romania . ?y rdf:type ontology:common_name }
[]
common name
Q5558308 Q1334288 Q739600
SYSTEM
Giannos Kranidiotis, Ion Lăpușneanu, Mircea Sasu
Q6662469 Q15214116 Q3699330 Q8082592 Q5558308 Q1447514 Q3092268 Q1064057 Q4153980 Q3339931 Q1512008 Q1499879 Q12734365 Q4415130 Q2710090 Q8082593 Q739600 Q3899484 Q5163743 Q347701 Q1986253 Q4820865 Q2500217 Q743075 Q563093 Q1689327 Q1240323 Q1334288 Q1556344 Q973990 Q5515809
(c(Q502895),P20,Q218)
action filter_type
action find_reverse
entity Q218
relation P20
type Q502895
[ANSWERS] have Romania as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q218']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q218 . ?y rdf:type ontology:Q502895 }
Lloyd Herbert Hughes Geo Costiniu Horia Creangă Ştefan Stănculescu Giannos Kranidiotis Horst Henschel Nicodème de Tismana Rudolf Steiner Maharram Dadashev Nicolae Mişu Gerhard Kurzbach Spiru Chintilă Liviu Ionesi Ilie Oană Ilie Subășeanu Ștefan Gușă Mircea Sasu Per Olof Ekström Constantin Lucaci Adalbert Steiner Nicolae Moldoveanu August von Spiess Urban Schlönbach Otto Schell Imre Erőss Rudolf Risch Donald S. Harrington Ion Lăpușneanu Gustav Sack Traian Iordache Gabriel Raksi
Giannos Kranidiotis, Ion Lăpușneanu and Mircea Sasu have Romania as the location of death
Giannos Kranidiotis Ion Lăpușneanu Mircea Sasu
action filter_type
action find_reverse
entity Romania
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Romania']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Romania . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5558308 Q1334288 Q739600
P106
Q12737077
USER
Which occupations are the professions of Giannos Kranidiotis, Ion Lăpușneanu and Mircea Sasu ?
(Q5558308,P106,c(Q12737077)) (Q1334288,P106,c(Q12737077)) (Q739600,P106,c(Q12737077))
action union
action filter_type
action find
entity Q5558308
relation P106
type Q12737077
action filter_type
action find
entity Q1334288
relation P106
type Q12737077
action filter_type
action find
entity Q739600
relation P106
type Q12737077
['Q5558308', 'P106', {'concept': 'Q12737077'}] ['Q1334288', 'P106', {'concept': 'Q12737077'}] ['Q739600', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { resource:Q5558308 property:P106 ?o . ?o rdf:type ontology:Q12737077 } UNION { resource:Q1334288 property:P106 ?o . ?o rdf:type ontology:Q12737077 } }
Giannos Kranidiotis Ion Lăpușneanu Mircea Sasu
action union
action filter_type
action find
entity Giannos Kranidiotis
relation occupation
type occupation
action filter_type
action find
entity Ion Lăpușneanu
relation occupation
type occupation
action filter_type
action find
entity Mircea Sasu
relation occupation
type occupation
['Giannos Kranidiotis', 'occupation', {'concept': 'occupation'}] ['Ion Lăpușneanu', 'occupation', {'concept': 'occupation'}] ['Mircea Sasu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { resource:Giannos_Kranidiotis property:occupation ?o . ?o rdf:type ontology:occupation } UNION { resource:Ion_Lăpușneanu property:occupation ?o . ?o rdf:type ontology:occupation } }
[]
occupation
Q628099 Q937857 Q937857
SYSTEM
association football manager for 1st, association football player for 2nd, 3rd
Q193391 Q82955 Q628099 Q937857 Q937857
(Q5558308,P106,c(Q12737077)) (Q1334288,P106,c(Q12737077)) (Q739600,P106,c(Q12737077))
action union
action filter_type
action find
entity Q5558308
relation P106
type Q12737077
action filter_type
action find
entity Q1334288
relation P106
type Q12737077
action filter_type
action find
entity Q739600
relation P106
type Q12737077
[ANSWERS]
['Q5558308', 'P106', {'concept': 'Q12737077'}] ['Q1334288', 'P106', {'concept': 'Q12737077'}] ['Q739600', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { resource:Q5558308 property:P106 ?o . ?o rdf:type ontology:Q12737077 } UNION { resource:Q1334288 property:P106 ?o . ?o rdf:type ontology:Q12737077 } }
diplomat politician association football manager association football player association football player
The association football manager, association football player and association football player are the professions of Giannos Kranidiotis, Ion Lăpușneanu and Mircea Sasu
association football manager association football player association football player
action union
action filter_type
action find
entity Giannos Kranidiotis
relation occupation
type occupation
action filter_type
action find
entity Ion Lăpușneanu
relation occupation
type occupation
action filter_type
action find
entity Mircea Sasu
relation occupation
type occupation
['Giannos Kranidiotis', 'occupation', {'concept': 'occupation'}] ['Ion Lăpușneanu', 'occupation', {'concept': 'occupation'}] ['Mircea Sasu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { resource:Giannos_Kranidiotis property:occupation ?o . ?o rdf:type ontology:occupation } UNION { resource:Ion_Lăpușneanu property:occupation ?o . ?o rdf:type ontology:occupation } }
[]