Simple Question (Direct)
Simple Question
Q3771423
P19
Q15617994
USER
Which administrative territory was Giuseppe Scategni born at ?
(Q3771423,P19,c(Q15617994))
action filter_type
action find
entity Q3771423
relation P19
type Q15617994
['Q3771423', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3771423 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Giuseppe Scategni
action filter_type
action find
entity Giuseppe Scategni
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Scategni', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Scategni property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52211
SYSTEM
Taviano
Q52211
(Q3771423,P19,c(Q15617994))
action filter_type
action find
entity Q3771423
relation P19
type Q15617994
Giuseppe Scategni was born in [ANSWER]
['Q3771423', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3771423 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Taviano
Giuseppe Scategni was born in Taviano
Taviano
action filter_type
action find
entity Giuseppe Scategni
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Scategni', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Scategni property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3771423
P106
Q12737077
USER
What are the professions of that person ?
(Q52211,P106,c(Q12737077))
action filter_type
action find
entity Q3771423
relation P106
type Q12737077
['Q52211', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3771423 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Giuseppe Scategni
action filter_type
action find
entity Giuseppe Scategni
relation occupation
type occupation
['Taviano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Giuseppe_Scategni property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q52211,P106,c(Q12737077))
action filter_type
action find
entity Q3771423
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q52211', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3771423 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Giuseppe Scategni
relation occupation
type occupation
['Taviano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Giuseppe_Scategni property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q66758
P106
Q502895
USER
Do Heinz Josef Algermissen have a job as those occupations ?
(Q66758,P106,Q628099) (Q66758,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q66758
relation P106
['Q66758', 'P106', 'Q628099'] ['Q66758', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?f ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q66758 property:P106 ?f }
Heinz Josef Algermissen
action is_in
entity prev_answer
action find
entity Heinz Josef Algermissen
relation occupation
['Heinz Josef Algermissen', 'occupation', 'association football manager'] ['Heinz Josef Algermissen', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?f ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Heinz_Josef_Algermissen property:occupation ?f }
[]
common name
SYSTEM
NO
(Q66758,P106,Q628099) (Q66758,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q66758
relation P106
[ANSWER]
['Q66758', 'P106', 'Q628099'] ['Q66758', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?f ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q66758 property:P106 ?f }
No
action is_in
entity prev_answer
action find
entity Heinz Josef Algermissen
relation occupation
['Heinz Josef Algermissen', 'occupation', 'association football manager'] ['Heinz Josef Algermissen', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?f ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Heinz_Josef_Algermissen property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a portion of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?j WHERE { resource:Q937857 property:P361 ?j . ?j rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?j WHERE { resource:association_football_player property:part_of ?j . ?j rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a portion of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?j WHERE { resource:Q937857 property:P361 ?j . ?j rdf:type ontology:Q847017 }
association football club
Association football player a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?j WHERE { resource:association_football_player property:part_of ?j . ?j rdf:type ontology:sports_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Which sport has association football player as thier associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q937857 property:P425 ?z }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as thier associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q937857 property:P425 ?z }
association football
Player association football has association football player as thier associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q502895
USER
Who competed in that sport ?
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a property:P2416 resource:Q2736 . ?a rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?a WHERE { ?a property:sports_discipline_competed_in resource:association_football . ?a rdf:type ontology:common_name }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS] competed in that sport
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?a WHERE { ?a property:P2416 resource:Q2736 . ?a rdf:type ontology:Q502895 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla competed in that sport
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?a WHERE { ?a property:sports_discipline_competed_in resource:association_football . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q22998602 Q3939068 Q1975921
P641
Q349
USER
Which sports were those people a part of ?
(Q22998602,P641,c(Q349)) (Q3939068,P641,c(Q349)) (Q1975921,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q22998602', 'P641', {'concept': 'Q349'}] ['Q3939068', 'P641', {'concept': 'Q349'}] ['Q1975921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?e property:P641 ?a . ?a rdf:type ontology:Q349 . VALUES ( ?e ) { ( resource:Q23902692 ) ( resource:Q3939068 ) ( resource:Q22687929 ) } }
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find
entity prev_answer
relation sport
type sport
['Maximilian Mittelstädt', 'sport', {'concept': 'sport'}] ['Roberto Policano', 'sport', {'concept': 'sport'}] ['Agustín Gómez Pagóla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?e property:sport ?a . ?a rdf:type ontology:sport . VALUES ( ?e ) { ( resource:Florian_Kohls ) ( resource:Roberto_Policano ) ( resource:Pedro_Confesor ) } }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q22998602,P641,c(Q349)) (Q3939068,P641,c(Q349)) (Q1975921,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
[ANSWER], [ANSWER] and [ANSWER] were those people a part of
['Q22998602', 'P641', {'concept': 'Q349'}] ['Q3939068', 'P641', {'concept': 'Q349'}] ['Q1975921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?e property:P641 ?a . ?a rdf:type ontology:Q349 . VALUES ( ?e ) { ( resource:Q23902692 ) ( resource:Q3939068 ) ( resource:Q22687929 ) } }
association football association football association football
Association football, association football and association football were those people a part of
association football association football association football
action filter_type
action find
entity prev_answer
relation sport
type sport
['Maximilian Mittelstädt', 'sport', {'concept': 'sport'}] ['Roberto Policano', 'sport', {'concept': 'sport'}] ['Agustín Gómez Pagóla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?e property:sport ?a . ?a rdf:type ontology:sport . VALUES ( ?e ) { ( resource:Florian_Kohls ) ( resource:Roberto_Policano ) ( resource:Pedro_Confesor ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q2736 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:association_football property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q2736 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
England
England is the origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:association_football property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P136
Q166142
USER
Which applications have that sport as genre ?
(c(Q166142),P136,Q21)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[{'concept': 'Q166142'}, 'P136', 'Q21']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q166142 . ?y property:P136 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'England']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:application . ?y property:genre resource:association_football }
[]
application
Q725280 Q1313999 Q1415817
SYSTEM
FIFA 07, FIFA Football 2004, Sensible Soccer
Q3285805 Q592758 Q1436475 Q3283738 Q2823774 Q1313999 Q486963 Q3338065 Q612273 Q1851017 Q1469022 Q1415817 Q2037455 Q8035917 Q5282474 Q725280 Q580220 Q3548017 Q8068428 Q2529207 Q543188
(c(Q166142),P136,Q21)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[ANSWERS] have that sport as genre
[{'concept': 'Q166142'}, 'P136', 'Q21']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q166142 . ?y property:P136 resource:Q2736 }
FIFA Soccer Manager FIFA Street 2 Football Superstars Real Football 2008 Actua Soccer FIFA Football 2004 FIFA Online 2 Neo Geo Cup '98: The Road to the Victory FIFA Street International Superstar Soccer International Soccer Sensible Soccer This Is Football World League Soccer 98 Disney Sports Soccer FIFA 07 FIFA Online Ultimate Soccer Zeebo F.C. Foot Camp International Superstar Soccer Deluxe Microprose Soccer
FIFA 07, FIFA Football 2004 and Sensible Soccer have that sport as genre
FIFA 07 FIFA Football 2004 Sensible Soccer
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'England']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:application . ?y property:genre resource:association_football }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q17638008
USER
Which occupations are demonstrated in min number of prints and game equipment ?
(c(Q11060274)|c(Q17638008),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 Q17638008
[[{'concept': 'Q11060274'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q17638008 ) } . ?n rdf:type ?f } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } UNION { ?b property:P180 ?p . ?b rdf:type ontology:Q17638008 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?j = ?w ) }
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 game equipment
[[{'concept': 'print'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:print ) ( ontology:game_equipment ) } . ?n rdf:type ?f } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:depicts ?p . ?p rdf:type ontology:occupation . ?b rdf:type ontology:print } UNION { ?b property:depicts ?p . ?b rdf:type ontology:game_equipment . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?j = ?w ) }
[]
occupation print game equipment
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 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 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 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 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q17638008),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 Q17638008
The [ANSWERS] are demonstrated in min number of prints and game equipment
[[{'concept': 'Q11060274'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q17638008 ) } . ?n rdf:type ?f } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } UNION { ?b property:P180 ?p . ?b rdf:type ontology:Q17638008 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?j = ?w ) }
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 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 domestic worker tailor cardinal housekeeper theologian monarch pastor equestrian 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 priest 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 demonstrated in min number of prints and game equipment
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 game equipment
[[{'concept': 'print'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:print ) ( ontology:game_equipment ) } . ?n rdf:type ?f } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:depicts ?p . ?p rdf:type ontology:occupation . ?b rdf:type ontology:print } UNION { ?b property:depicts ?p . ?b rdf:type ontology:game_equipment . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?j = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have atleast 3 holidays and people as their patron saint ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 3
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { FILTER ( ?n >= 3 ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?n ) WHERE { { ?s property:P417 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1445650 } UNION { ?s property:P417 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q502895 } } GROUP BY ?s } }
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { FILTER ( ?n >= 3 ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?n ) WHERE { { ?s property:patron_saint ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:holiday } UNION { ?s property:patron_saint ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:common_name } } GROUP BY ?s } }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
1
Q36
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { FILTER ( ?n >= 3 ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?n ) WHERE { { ?s property:P417 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1445650 } UNION { ?s property:P417 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q502895 } } GROUP BY ?s } }
Poland
1
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { FILTER ( ?n >= 3 ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?n ) WHERE { { ?s property:patron_saint ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:holiday } UNION { ?s property:patron_saint ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:common_name } } GROUP BY ?s } }
[]