Simple Question (Direct)
Simple Question
Q1938760
P509
Q2057971
USER
Which health problems were the cause of death of Alexander, Prince of Orange ?
(Q1938760,P509,c(Q2057971))
action filter_type
action find
entity Q1938760
relation P509
type Q2057971
['Q1938760', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q1938760 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
Alexander, Prince of Orange
action filter_type
action find
entity Alexander, Prince of Orange
relation cause of death
type health problem
['Alexander, Prince of Orange', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Alexander,_Prince_of_Orange property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Q160649 Q83319
SYSTEM
typhus, typhoid fever
Q160649 Q83319
(Q1938760,P509,c(Q2057971))
action filter_type
action find
entity Q1938760
relation P509
type Q2057971
And [ANSWERS] were the cause of death of Alexander, Prince of Orange
['Q1938760', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q1938760 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
typhus typhoid fever
And typhus and typhoid fever were the cause of death of Alexander, Prince of Orange
typhus typhoid fever
action filter_type
action find
entity Alexander, Prince of Orange
relation cause of death
type health problem
['Alexander, Prince of Orange', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Alexander,_Prince_of_Orange property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q160649 Q83319
P1050
Q502895
USER
Who suffer from those health problems ?
(c(Q502895),P1050,Q160649) (c(Q502895),P1050,Q83319)
action filter_type
action find_reverse
entity prev_answer
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q160649'] [{'concept': 'Q502895'}, 'P1050', 'Q83319']
SELECT DISTINCT ?b WHERE { ?b property:P1050 ?n . VALUES ( ?n ) { ( resource:Q160649 ) ( resource:Q83319 ) } . ?b rdf:type ontology:Q502895 }
typhus typhoid fever
action filter_type
action find_reverse
entity prev_answer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'typhus'] [{'concept': 'common name'}, 'medical condition', 'typhoid fever']
SELECT DISTINCT ?b WHERE { ?b property:medical_condition ?n . VALUES ( ?n ) { ( resource:typhus ) ( resource:typhoid_fever ) } . ?b rdf:type ontology:common_name }
[]
common name
Q7833 Q7088070 Q2823024
SYSTEM
Boris Vian, Olivia Langdon Clemens, Achille-Ernest Mermet
Q2561089 Q2823024 Q7833 Q7088070
(c(Q502895),P1050,Q160649) (c(Q502895),P1050,Q83319)
action filter_type
action find_reverse
entity prev_answer
relation P1050
type Q502895
[ANSWERS] suffer from those health problems
[{'concept': 'Q502895'}, 'P1050', 'Q160649'] [{'concept': 'Q502895'}, 'P1050', 'Q83319']
SELECT DISTINCT ?b WHERE { ?b property:P1050 ?n . VALUES ( ?n ) { ( resource:Q160649 ) ( resource:Q83319 ) } . ?b rdf:type ontology:Q502895 }
Zwarte Riek Achille-Ernest Mermet Boris Vian Olivia Langdon Clemens
Boris Vian, Olivia Langdon Clemens and Achille-Ernest Mermet suffer from those health problems
Boris Vian Olivia Langdon Clemens Achille-Ernest Mermet
action filter_type
action find_reverse
entity prev_answer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'typhus'] [{'concept': 'common name'}, 'medical condition', 'typhoid fever']
SELECT DISTINCT ?b WHERE { ?b property:medical_condition ?n . VALUES ( ?n ) { ( resource:typhus ) ( resource:typhoid_fever ) } . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7833 Q7088070 Q2823024
P27
Q15617994
USER
Which administrative territories are the native countriesof those people ?
(Q7833,P27,c(Q15617994)) (Q7088070,P27,c(Q15617994)) (Q2823024,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q7833', 'P27', {'concept': 'Q15617994'}] ['Q7088070', 'P27', {'concept': 'Q15617994'}] ['Q2823024', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?l property:P27 ?y . ?y rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q2561089 ) ( resource:Q2823024 ) ( resource:Q7833 ) } }
Boris Vian Olivia Langdon Clemens Achille-Ernest Mermet
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Boris Vian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Olivia Langdon Clemens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Achille-Ernest Mermet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?l property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Zwarte_Riek ) ( resource:Achille-Ernest_Mermet ) ( resource:Boris_Vian ) } }
[]
designation for an administrative territorial entity
Q142 Q30 Q142
SYSTEM
France for 1st, 3rd, United States of America for 2nd
Q142 Q30 Q142
(Q7833,P27,c(Q15617994)) (Q7088070,P27,c(Q15617994)) (Q2823024,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q7833', 'P27', {'concept': 'Q15617994'}] ['Q7088070', 'P27', {'concept': 'Q15617994'}] ['Q2823024', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?l property:P27 ?y . ?y rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q2561089 ) ( resource:Q2823024 ) ( resource:Q7833 ) } }
France United States of America France
France, United States of America and France are the native countriesof those people
France United States of America France
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Boris Vian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Olivia Langdon Clemens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Achille-Ernest Mermet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?l property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Zwarte_Riek ) ( resource:Achille-Ernest_Mermet ) ( resource:Boris_Vian ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7833
P138
Q17444909
USER
Which astronomical object type comes from Boris Vian ?
(c(Q17444909),P138,Q142) (c(Q17444909),P138,Q30) (c(Q17444909),P138,Q142)
action filter_type
action find_reverse
entity Q7833
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q142'] [{'concept': 'Q17444909'}, 'P138', 'Q30'] [{'concept': 'Q17444909'}, 'P138', 'Q142']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q7833 . ?c rdf:type ontology:Q17444909 }
Boris Vian
action filter_type
action find_reverse
entity Boris Vian
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'France'] [{'concept': 'astronomical object type'}, 'named after', 'United States of America'] [{'concept': 'astronomical object type'}, 'named after', 'France']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Boris_Vian . ?c rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2621621
SYSTEM
15382 Vian
Q2621621
(c(Q17444909),P138,Q142) (c(Q17444909),P138,Q30) (c(Q17444909),P138,Q142)
action filter_type
action find_reverse
entity Q7833
relation P138
type Q17444909
[ANSWER] comes from Boris Vian
[{'concept': 'Q17444909'}, 'P138', 'Q142'] [{'concept': 'Q17444909'}, 'P138', 'Q30'] [{'concept': 'Q17444909'}, 'P138', 'Q142']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q7833 . ?c rdf:type ontology:Q17444909 }
15382 Vian
15382 Vian comes from Boris Vian
15382 Vian
action filter_type
action find_reverse
entity Boris Vian
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'France'] [{'concept': 'astronomical object type'}, 'named after', 'United States of America'] [{'concept': 'astronomical object type'}, 'named after', 'France']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Boris_Vian . ?c rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2621621
P61
Q502895
USER
Which person was the first person to come up with that astronomical object type ?
(Q2621621,P61,c(Q502895))
action filter_type
action find
entity Q2621621
relation P61
type Q502895
['Q2621621', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2621621 property:P61 ?e . ?e rdf:type ontology:Q502895 }
15382 Vian
action filter_type
action find
entity 15382 Vian
relation discoverer or inventor
type common name
['15382 Vian', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:15382_Vian property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q258263
SYSTEM
Lenka Kotková
Q258263
(Q2621621,P61,c(Q502895))
action filter_type
action find
entity Q2621621
relation P61
type Q502895
[ANSWER] was the first person to come up with that astronomical object type
['Q2621621', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2621621 property:P61 ?e . ?e rdf:type ontology:Q502895 }
Lenka Kotková
Lenka Kotková was the first person to come up with that astronomical object type
Lenka Kotková
action filter_type
action find
entity 15382 Vian
relation discoverer or inventor
type common name
['15382 Vian', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:15382_Vian property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q258263
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q258263,P106,c(Q12737077))
action filter_type
action find
entity Q258263
relation P106
type Q12737077
['Q258263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q258263 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Lenka Kotková
action filter_type
action find
entity Lenka Kotková
relation occupation
type occupation
['Lenka Kotková', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lenka_Kotková property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q11063
SYSTEM
astronomer
Q11063
(Q258263,P106,c(Q12737077))
action filter_type
action find
entity Q258263
relation P106
type Q12737077
As [ANSWER] has that person as his/her 's career
['Q258263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q258263 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
astronomer
As astronomer has that person as his/her 's career
astronomer
action filter_type
action find
entity Lenka Kotková
relation occupation
type occupation
['Lenka Kotková', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lenka_Kotková property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3430033
P180
Q12737077 Q3516658 Q838948
USER
How many occupations are depicted in around the same number of heraldic symbols or works of art as abbé ?
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3430033
relation P180
type Q3516658
type Q838948
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?f WHERE { { ?b rdf:type ontology:Q3516658 . ?f rdf:type ontology:Q12737077 . ?b property:P180 ?f } UNION { ?b property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P180 resource:Q3430033 . { { ?p rdf:type ontology:Q3516658 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?n = ?w ) }
abbé
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity abbé
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?f WHERE { { ?b rdf:type ontology:heraldic_symbol . ?f rdf:type ontology:occupation . ?b property:depicts ?f } UNION { ?b property:depicts ?f . ?f rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:depicts resource:abbé . { { ?p rdf:type ontology:heraldic_symbol } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?n = ?w ) }
[]
occupation heraldic symbol work of art
SYSTEM
208
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 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3430033
relation P180
type Q3516658
type Q838948
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?f WHERE { { ?b rdf:type ontology:Q3516658 . ?f rdf:type ontology:Q12737077 . ?b property:P180 ?f } UNION { ?b property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P180 resource:Q3430033 . { { ?p rdf:type ontology:Q3516658 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?n = ?w ) }
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 model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector 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 dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
208
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity abbé
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?f WHERE { { ?b rdf:type ontology:heraldic_symbol . ?f rdf:type ontology:occupation . ?b property:depicts ?f } UNION { ?b property:depicts ?f . ?f rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:depicts resource:abbé . { { ?p rdf:type ontology:heraldic_symbol } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?n = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q152002
P180
Q12737077 Q3516658 Q838948
USER
And also tell me about pastor?
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P180
type Q3516658
type Q838948
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } . ?e rdf:type ?r } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q3516658 } } . ?a property:P180 resource:Q152002 } } . FILTER ( ?k = ?i ) }
pastor
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity pastor
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?m WHERE { VALUES ( ?r ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } . ?e rdf:type ?r } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:heraldic_symbol } } . ?a property:depicts resource:pastor } } . FILTER ( ?k = ?i ) }
[]
occupation heraldic symbol work of art
SYSTEM
208
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 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P180
type Q3516658
type Q838948
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } . ?e rdf:type ?r } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q3516658 } } . ?a property:P180 resource:Q152002 } } . FILTER ( ?k = ?i ) }
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 model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector 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 dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
208
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity pastor
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?m WHERE { VALUES ( ?r ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } . ?e rdf:type ?r } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:heraldic_symbol } } . ?a property:depicts resource:pastor } } . FILTER ( ?k = ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q3313478
P47
Q56061
USER
How many administrative territories share the border with France or Nezahualcóyotl Municipality ?
(Q142,P47,c(Q56061)) (Q3313478,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q56061
action filter_type
action find
entity Q3313478
relation P47
type Q56061
['Q142', 'P47', {'concept': 'Q56061'}] ['Q3313478', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?v property:P47 ?m . VALUES ( ?v ) { ( resource:Q142 ) ( resource:Q3313478 ) } }
France Nezahualcóyotl Municipality
action count
action union
action filter_type
action find
entity France
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Nezahualcóyotl Municipality
relation shares border with
type administrative territorial entity
['France', 'shares border with', {'concept': 'administrative territorial entity'}] ['Nezahualcóyotl Municipality', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?v property:shares_border_with ?m . VALUES ( ?v ) { ( resource:France ) ( resource:Nezahualcóyotl_Municipality ) } }
[]
administrative territorial entity
SYSTEM
2
Q1489 Q195769
(Q142,P47,c(Q56061)) (Q3313478,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q56061
action filter_type
action find
entity Q3313478
relation P47
type Q56061
[ANSWER]
['Q142', 'P47', {'concept': 'Q56061'}] ['Q3313478', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?v property:P47 ?m . VALUES ( ?v ) { ( resource:Q142 ) ( resource:Q3313478 ) } }
Mexico City Chimalhuacán
2
action count
action union
action filter_type
action find
entity France
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Nezahualcóyotl Municipality
relation shares border with
type administrative territorial entity
['France', 'shares border with', {'concept': 'administrative territorial entity'}] ['Nezahualcóyotl Municipality', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?v property:shares_border_with ?m . VALUES ( ?v ) { ( resource:France ) ( resource:Nezahualcóyotl_Municipality ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7833
P793
Q1190554
USER
What is a significant event associated with Boris Vian ?
(Q7833,P793,c(Q1190554))
action filter_type
action find
entity Q7833
relation P793
type Q1190554
['Q7833', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q7833 property:P793 ?t . ?t rdf:type ontology:Q1190554 }
Boris Vian
action filter_type
action find
entity Boris Vian
relation significant event
type event
['Boris Vian', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Boris_Vian property:significant_event ?t . ?t rdf:type ontology:event }
[]
event
Q93190
SYSTEM
divorce
Q93190
(Q7833,P793,c(Q1190554))
action filter_type
action find
entity Q7833
relation P793
type Q1190554
A significant event associated with Boris Vian is the [ANSWER]
['Q7833', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q7833 property:P793 ?t . ?t rdf:type ontology:Q1190554 }
divorce
A significant event associated with Boris Vian is the divorce
divorce
action filter_type
action find
entity Boris Vian
relation significant event
type event
['Boris Vian', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Boris_Vian property:significant_event ?t . ?t rdf:type ontology:event }
[]