Simple Question (Direct)
Simple Question
Q1910225
P106
Q12737077
USER
What are the professions of Matthias Peuster ?
(Q1910225,P106,c(Q12737077))
action filter_type
action find
entity Q1910225
relation P106
type Q12737077
['Q1910225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1910225 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Matthias Peuster
action filter_type
action find
entity Matthias Peuster
relation occupation
type occupation
['Matthias Peuster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Matthias_Peuster property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1919436 Q39631 Q1622272
SYSTEM
pediatrician, physician, university teacher
Q1919436 Q39631 Q1622272
(Q1910225,P106,c(Q12737077))
action filter_type
action find
entity Q1910225
relation P106
type Q12737077
The professions of Matthias Peuster are [ANSWERS]
['Q1910225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1910225 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
pediatrician physician university teacher
The professions of Matthias Peuster are pediatrician, physician and university teacher
pediatrician physician university teacher
action filter_type
action find
entity Matthias Peuster
relation occupation
type occupation
['Matthias Peuster', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Matthias_Peuster property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1910225
P21
Q290
USER
Which sex does that person have ?
(Q1919436,P21,c(Q290)) (Q39631,P21,c(Q290)) (Q1622272,P21,c(Q290))
action filter_type
action find
entity Q1910225
relation P21
type Q290
['Q1919436', 'P21', {'concept': 'Q290'}] ['Q39631', 'P21', {'concept': 'Q290'}] ['Q1622272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1910225 property:P21 ?g . ?g rdf:type ontology:Q290 }
Matthias Peuster
action filter_type
action find
entity Matthias Peuster
relation gender
type sex
['pediatrician', 'gender', {'concept': 'sex'}] ['physician', 'gender', {'concept': 'sex'}] ['university teacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Matthias_Peuster property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1919436,P21,c(Q290)) (Q39631,P21,c(Q290)) (Q1622272,P21,c(Q290))
action filter_type
action find
entity Q1910225
relation P21
type Q290
That person has a [ANSWER]
['Q1919436', 'P21', {'concept': 'Q290'}] ['Q39631', 'P21', {'concept': 'Q290'}] ['Q1622272', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1910225 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Matthias Peuster
relation gender
type sex
['pediatrician', 'gender', {'concept': 'sex'}] ['physician', 'gender', {'concept': 'sex'}] ['university teacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Matthias_Peuster property:gender ?g . ?g rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q6694753 Q1910225
P21
Q290
USER
And also Navdeep Singh
AND((Q1910225,P21,c(Q290)), (Q6694753,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1910225
relation P21
action find
entity Q6694753
relation P21
type Q290
{'AND': [['Q1910225', 'P21', {'concept': 'Q290'}], ['Q6694753', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?u WHERE { resource:Q6694753 property:P21 ?u . resource:Q1910225 property:P21 ?u . ?u rdf:type ontology:Q290 }
Navdeep Singh Matthias Peuster
action filter_type
action intersection
action find
entity Matthias Peuster
relation gender
action find
entity Navdeep Singh
relation gender
type sex
{'AND': [['Matthias Peuster', 'gender', {'concept': 'sex'}], ['Navdeep Singh', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?u WHERE { resource:Navdeep_Singh property:gender ?u . resource:Matthias_Peuster property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1910225,P21,c(Q290)), (Q6694753,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1910225
relation P21
action find
entity Q6694753
relation P21
type Q290
[ANSWER]
{'AND': [['Q1910225', 'P21', {'concept': 'Q290'}], ['Q6694753', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?u WHERE { resource:Q6694753 property:P21 ?u . resource:Q1910225 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Matthias Peuster
relation gender
action find
entity Navdeep Singh
relation gender
type sex
{'AND': [['Matthias Peuster', 'gender', {'concept': 'sex'}], ['Navdeep Singh', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?u WHERE { resource:Navdeep_Singh property:gender ?u . resource:Matthias_Peuster property:gender ?u . ?u rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6221666
P21
Q502895
USER
Does John Bernard MacGinley have that sex as the sex ?
(Q6221666,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6221666
relation P21
['Q6221666', 'P21', 'Q6581097']
ASK WHERE { resource:Q6221666 property:P21 resource:Q6581097 }
male John Bernard MacGinley
action is_in
entity male
action find
entity John Bernard MacGinley
relation gender
['John Bernard MacGinley', 'gender', 'male']
ASK WHERE { resource:John_Bernard_MacGinley property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6221666,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6221666
relation P21
[ANSWER]
['Q6221666', 'P21', 'Q6581097']
ASK WHERE { resource:Q6221666 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity John Bernard MacGinley
relation gender
['John Bernard MacGinley', 'gender', 'male']
ASK WHERE { resource:John_Bernard_MacGinley property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1910225
P19
Q56061
USER
Which administrative territory was Matthias Peuster born in ?
(Q1910225,P19,c(Q56061))
action filter_type
action find
entity Q1910225
relation P19
type Q56061
['Q1910225', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1910225 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Matthias Peuster
action filter_type
action find
entity Matthias Peuster
relation place of birth
type administrative territorial entity
['Matthias Peuster', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Matthias_Peuster property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q522526
SYSTEM
Ochsenhausen
Q522526
(Q1910225,P19,c(Q56061))
action filter_type
action find
entity Q1910225
relation P19
type Q56061
Matthias Peuster was born in [ANSWER]
['Q1910225', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1910225 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Ochsenhausen
Matthias Peuster was born in Ochsenhausen
Ochsenhausen
action filter_type
action find
entity Matthias Peuster
relation place of birth
type administrative territorial entity
['Matthias Peuster', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Matthias_Peuster property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q522526
P190
Q15617994
USER
Which administrative territory is the sister city of that administrative territory ?
(Q522526,P190,c(Q15617994))
action filter_type
action find
entity Q522526
relation P190
type Q15617994
['Q522526', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q522526 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Ochsenhausen
action filter_type
action find
entity Ochsenhausen
relation sister city
type designation for an administrative territorial entity
['Ochsenhausen', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ochsenhausen property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q243467
SYSTEM
Subiaco
Q243467
(Q522526,P190,c(Q15617994))
action filter_type
action find
entity Q522526
relation P190
type Q15617994
[ANSWER] is the sister city of that administrative territory
['Q522526', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q522526 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Subiaco
Subiaco is the sister city of that administrative territory
Subiaco
action filter_type
action find
entity Ochsenhausen
relation sister city
type designation for an administrative territorial entity
['Ochsenhausen', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ochsenhausen property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share border with that administrative territory ?
(Q243467,P47,c(Q15617994))
action count
action filter_type
action find
entity Q243467
relation P47
type Q15617994
['Q243467', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q243467 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Subiaco
relation shares border with
type designation for an administrative territorial entity
['Subiaco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Subiaco property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
Q241899 Q241931 Q239180 Q243500 Q241725 Q242133 Q242720 Q241659
(Q243467,P47,c(Q15617994))
action count
action filter_type
action find
entity Q243467
relation P47
type Q15617994
[ANSWER]
['Q243467', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q243467 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Camerata Nuova Canterano Affile Vallepietra Arcinazzo Romano Cervara di Roma Jenne, Lazio Agosta, Lazio
8
action count
action filter_type
action find
entity Subiaco
relation shares border with
type designation for an administrative territorial entity
['Subiaco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Subiaco property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1910225
P937
Q56061
USER
Which are the work locations of Matthias Peuster ?
(Q1910225,P937,c(Q56061))
action filter_type
action find
entity Q1910225
relation P937
type Q56061
['Q1910225', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1910225 property:P937 ?x }
Matthias Peuster
action filter_type
action find
entity Matthias Peuster
relation work location
type administrative territorial entity
['Matthias Peuster', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Matthias_Peuster property:work_location ?x }
[]
administrative territorial entity
Q1715 Q2861 Q2103
SYSTEM
Hanover, Rostock, Bochum
Q2861 Q2103 Q1715 Q3033
(Q1910225,P937,c(Q56061))
action filter_type
action find
entity Q1910225
relation P937
type Q56061
The work locations of Matthias Peuster are in [ANSWERS]
['Q1910225', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1910225 property:P937 ?x }
Rostock Bochum Hanover Göttingen
The work locations of Matthias Peuster are in Hanover, Rostock and Bochum
Hanover Rostock Bochum
action filter_type
action find
entity Matthias Peuster
relation work location
type administrative territorial entity
['Matthias Peuster', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Matthias_Peuster property:work_location ?x }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q1792379
USER
Which occupations are depicted in min number of prints or art genres ?
(c(Q11060274)|c(Q1792379),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 Q1792379
[[{'concept': 'Q11060274'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?p ) { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q1792379 ) } } GROUP BY ?s } } . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q11060274 } UNION { ?m property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?i } . FILTER ( ?f = ?p ) }
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 art genre
[[{'concept': 'print'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?p ) { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:art_genre ) } } GROUP BY ?s } } . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:depicts ?i . ?i rdf:type ontology:occupation . ?m rdf:type ontology:print } UNION { ?m property:depicts ?i . ?i rdf:type ontology:occupation . ?m rdf:type ontology:art_genre } } GROUP BY ?i } . FILTER ( ?f = ?p ) }
[]
occupation print art genre
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 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 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 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(Q1792379),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 Q1792379
[ANSWERS] are depicted in min number of prints or art genres
[[{'concept': 'Q11060274'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?p ) { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q1792379 ) } } GROUP BY ?s } } . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q11060274 } UNION { ?m property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?i } . FILTER ( ?f = ?p ) }
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 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 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 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
Nurse, tailor and librarian are depicted in min number of prints or art genres
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 art genre
[[{'concept': 'print'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?p ) { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:art_genre ) } } GROUP BY ?s } } . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:depicts ?i . ?i rdf:type ontology:occupation . ?m rdf:type ontology:print } UNION { ?m property:depicts ?i . ?i rdf:type ontology:occupation . ?m rdf:type ontology:art_genre } } GROUP BY ?i } . FILTER ( ?f = ?p ) }
[]