Simple Question (Direct)
Simple Question
Q1200133
P106
Q12737077
USER
What is the profession of Derek Walsh ?
(Q1200133,P106,c(Q12737077))
action filter_type
action find
entity Q1200133
relation P106
type Q12737077
['Q1200133', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1200133 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Derek Walsh
action filter_type
action find
entity Derek Walsh
relation occupation
type occupation
['Derek Walsh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Derek_Walsh property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1200133,P106,c(Q12737077))
action filter_type
action find
entity Q1200133
relation P106
type Q12737077
The profession of Derek Walsh is an [ANSWER]
['Q1200133', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1200133 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The profession of Derek Walsh is an association football player
association football player
action filter_type
action find
entity Derek Walsh
relation occupation
type occupation
['Derek Walsh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Derek_Walsh property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1200133
P19
Q56061
USER
Where was Derek Walsh born ?
(Q1200133,P19,c(Q56061))
action filter_type
action find
entity Q1200133
relation P19
type Q56061
['Q1200133', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1200133 property:P19 ?j }
Derek Walsh
action filter_type
action find
entity Derek Walsh
relation place of birth
type administrative territorial entity
['Derek Walsh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Derek_Walsh property:place_of_birth ?j }
[]
administrative territorial entity
Q4131
SYSTEM
Hamilton
Q4131
(Q1200133,P19,c(Q56061))
action filter_type
action find
entity Q1200133
relation P19
type Q56061
Derek Walsh was born in [ANSWER]
['Q1200133', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1200133 property:P19 ?j }
Hamilton
Derek Walsh was born in Hamilton
Hamilton
action filter_type
action find
entity Derek Walsh
relation place of birth
type administrative territorial entity
['Derek Walsh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Derek_Walsh property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1200133
P21
Q290
USER
Which sex does that person belong to ?
(Q4131,P21,c(Q290))
action filter_type
action find
entity Q1200133
relation P21
type Q290
['Q4131', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1200133 property:P21 ?z . ?z rdf:type ontology:Q290 }
Derek Walsh
action filter_type
action find
entity Derek Walsh
relation gender
type sex
['Hamilton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Derek_Walsh property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4131,P21,c(Q290))
action filter_type
action find
entity Q1200133
relation P21
type Q290
That person belongs to [ANSWER]
['Q4131', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1200133 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Derek Walsh
relation gender
type sex
['Hamilton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Derek_Walsh property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q557118 Q1200133
P21
Q290
USER
And also François de Beaumont, baron des Adrets
AND((Q1200133,P21,c(Q290)), (Q557118,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1200133
relation P21
action find
entity Q557118
relation P21
type Q290
{'AND': [['Q1200133', 'P21', {'concept': 'Q290'}], ['Q557118', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1200133 property:P21 ?w . resource:Q557118 property:P21 ?w . ?w rdf:type ontology:Q290 }
François de Beaumont, baron des Adrets Derek Walsh
action filter_type
action intersection
action find
entity Derek Walsh
relation gender
action find
entity François de Beaumont, baron des Adrets
relation gender
type sex
{'AND': [['Derek Walsh', 'gender', {'concept': 'sex'}], ['François de Beaumont, baron des Adrets', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { resource:Derek_Walsh property:gender ?w . resource:François_de_Beaumont,_baron_des_Adrets property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1200133,P21,c(Q290)), (Q557118,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1200133
relation P21
action find
entity Q557118
relation P21
type Q290
[ANSWER]
{'AND': [['Q1200133', 'P21', {'concept': 'Q290'}], ['Q557118', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1200133 property:P21 ?w . resource:Q557118 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Derek Walsh
relation gender
action find
entity François de Beaumont, baron des Adrets
relation gender
type sex
{'AND': [['Derek Walsh', 'gender', {'concept': 'sex'}], ['François de Beaumont, baron des Adrets', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { resource:Derek_Walsh property:gender ?w . resource:François_de_Beaumont,_baron_des_Adrets property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q83620 Q34442
USER
How many administrative territories are the terminus locations of approximately 4 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 4
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { { ?t property:P609 ?s . ?t rdf:type ontology:Q83620 . ?s rdf:type ontology:Q56061 } UNION { ?t property:P609 ?s . ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q34442 } } GROUP BY ?s } . FILTER ( ?d = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 4
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { { ?t property:terminus_location ?s . ?t rdf:type ontology:thoroughfare . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?t property:terminus_location ?s . ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:road } } GROUP BY ?s } . FILTER ( ?d = 4 ) }
[]
administrative territorial entity thoroughfare road
SYSTEM
23
Q803 Q599331 Q38511 Q12443 Q10014 Q749 Q755600 Q506586 Q3239732 Q23436 Q81137 Q8686 Q33518 Q755106 Q174224 Q9832 Q44989 Q1310 Q990130 Q1988986 Q34370 Q2076290 Q1017
(c(Q83620)|c(Q34442),P609,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 4
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { { ?t property:P609 ?s . ?t rdf:type ontology:Q83620 . ?s rdf:type ontology:Q56061 } UNION { ?t property:P609 ?s . ?s rdf:type ontology:Q56061 . ?t rdf:type ontology:Q34442 } } GROUP BY ?s } . FILTER ( ?d = 4 ) }
Utrecht Biddinghuizen Turku Marquette Kampen Groningen Milford Newark Sulphur Edinburgh Olomouc Shanghai Dover Rehoboth Beach Wilmington Eindhoven Tulsa Arnhem Hook of Holland Mitchell Rotterdam Wells Aachen
23
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 4
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { { ?t property:terminus_location ?s . ?t rdf:type ontology:thoroughfare . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?t property:terminus_location ?s . ?s rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:road } } GROUP BY ?s } . FILTER ( ?d = 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4131
P17
Q15617994
USER
How many administrative territories do Hamilton belong to ?
(Q4131,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4131
relation P17
type Q15617994
['Q4131', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q4131 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Hamilton
action count
action filter_type
action find
entity Hamilton
relation country
type designation for an administrative territorial entity
['Hamilton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Hamilton property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q4131,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4131
relation P17
type Q15617994
[ANSWER]
['Q4131', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q4131 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Hamilton
relation country
type designation for an administrative territorial entity
['Hamilton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Hamilton property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q321699
Q15617994
USER
And how about Grange-de-Vaivre?
(Q321699,P17,c(Q15617994))
action count
action filter_type
action find
entity Q321699
relation P17
type Q15617994
['Q321699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q321699 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Grange-de-Vaivre
action count
action filter_type
action find
entity Grange-de-Vaivre
relation country
type designation for an administrative territorial entity
['Grange-de-Vaivre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Grange-de-Vaivre property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q321699,P17,c(Q15617994))
action count
action filter_type
action find
entity Q321699
relation P17
type Q15617994
[ANSWER]
['Q321699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q321699 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Grange-de-Vaivre
relation country
type designation for an administrative territorial entity
['Grange-de-Vaivre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Grange-de-Vaivre property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1163330
P180
Q12737077 Q838948 Q17638008
USER
Which occupations are expressed in approximately the same number of works of art and game equipment as Maharaja ?
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q1163330
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P180 resource:Q1163330 . { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q17638008 } } } } . { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?b ) WHERE { { ?p rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q838948 . ?z property:P180 ?p } UNION { ?p rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q17638008 . ?z property:P180 ?p } } GROUP BY ?p } }
Maharaja
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity Maharaja
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:depicts resource:Maharaja . { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:game_equipment } } } } . { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?b ) WHERE { { ?p rdf:type ontology:occupation . ?z rdf:type ontology:work_of_art . ?z property:depicts ?p } UNION { ?p rdf:type ontology:occupation . ?z rdf:type ontology:game_equipment . ?z property:depicts ?p } } GROUP BY ?p } }
[]
occupation work of art game equipment
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
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 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(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q1163330
relation P180
type Q838948
type Q17638008
[ANSWERS] are expressed in approximately the same number of works of art and game equipment as Maharaja
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P180 resource:Q1163330 . { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q17638008 } } } } . { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?b ) WHERE { { ?p rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q838948 . ?z property:P180 ?p } UNION { ?p rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q17638008 . ?z property:P180 ?p } } GROUP BY ?p } }
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 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
Farmer, nurse and tailor are expressed in approximately the same number of works of art and game equipment as Maharaja
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity Maharaja
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:depicts resource:Maharaja . { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:game_equipment } } } } . { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?b ) WHERE { { ?p rdf:type ontology:occupation . ?z rdf:type ontology:work_of_art . ?z property:depicts ?p } UNION { ?p rdf:type ontology:occupation . ?z rdf:type ontology:game_equipment . ?z property:depicts ?p } } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q202648
P180
Q12737077 Q838948 Q17638008
USER
And how about referee?
(c(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q202648
relation P180
type Q838948
type Q17638008
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 . ?g property:P180 ?q } UNION { ?g property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q17638008 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P180 resource:Q202648 . { { ?z rdf:type ontology:Q17638008 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?h = ?r ) }
referee
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity referee
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art . ?g property:depicts ?q } UNION { ?g property:depicts ?q . ?q rdf:type ontology:occupation . ?g rdf:type ontology:game_equipment } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:depicts resource:referee . { { ?z rdf:type ontology:game_equipment } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?h = ?r ) }
[]
occupation work of art game equipment
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
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 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(Q838948)|c(Q17638008),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q202648
relation P180
type Q838948
type Q17638008
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 . ?g property:P180 ?q } UNION { ?g property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q17638008 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P180 resource:Q202648 . { { ?z rdf:type ontology:Q17638008 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?h = ?r ) }
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 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
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity referee
relation depicts
type work of art
type game equipment
[[{'concept': 'work of art'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?h ) WHERE { { ?q rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art . ?g property:depicts ?q } UNION { ?g property:depicts ?q . ?q rdf:type ontology:occupation . ?g rdf:type ontology:game_equipment } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:depicts resource:referee . { { ?z rdf:type ontology:game_equipment } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?h = ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1200133
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Derek Walsh ?
(Q1200133,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1200133
relation P27
type Q15617994
['Q1200133', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q1200133 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Derek Walsh
action count
action filter_type
action find
entity Derek Walsh
relation country of citizenship
type designation for an administrative territorial entity
['Derek Walsh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Derek_Walsh property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q1200133,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1200133
relation P27
type Q15617994
[ANSWER]
['Q1200133', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q1200133 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Derek Walsh
relation country of citizenship
type designation for an administrative territorial entity
['Derek Walsh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Derek_Walsh property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5273574
Q15617994
USER
And how about Dick Young?
(Q5273574,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5273574
relation P27
type Q15617994
['Q5273574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q5273574 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Dick Young
action count
action filter_type
action find
entity Dick Young
relation country of citizenship
type designation for an administrative territorial entity
['Dick Young', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Dick_Young property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5273574,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5273574
relation P27
type Q15617994
[ANSWER]
['Q5273574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q5273574 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Dick Young
relation country of citizenship
type designation for an administrative territorial entity
['Dick Young', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Dick_Young property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]