Simple Question (Direct)
Simple Question
Q3246898
P1412
Q34770
USER
Which language can Hugh Cortazzi read ?
(Q3246898,P1412,c(Q34770))
action filter_type
action find
entity Q3246898
relation P1412
type Q34770
['Q3246898', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3246898 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Hugh Cortazzi
action filter_type
action find
entity Hugh Cortazzi
relation languages spoken, written or signed
type language
['Hugh Cortazzi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Hugh_Cortazzi property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3246898,P1412,c(Q34770))
action filter_type
action find
entity Q3246898
relation P1412
type Q34770
Hugh Cortazzi can read in [ANSWER]
['Q3246898', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3246898 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
Hugh Cortazzi can read in English
English
action filter_type
action find
entity Hugh Cortazzi
relation languages spoken, written or signed
type language
['Hugh Cortazzi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Hugh_Cortazzi property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3246898
P69
Q159334
USER
Which secondary school was Hugh Cortazzi educated at ?
(Q3246898,P69,c(Q159334))
action filter_type
action find
entity Q3246898
relation P69
type Q159334
['Q3246898', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q159334 . resource:Q3246898 property:P69 ?b }
Hugh Cortazzi
action filter_type
action find
entity Hugh Cortazzi
relation educated at
type secondary school
['Hugh Cortazzi', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:secondary_school . resource:Hugh_Cortazzi property:educated_at ?b }
[]
secondary school
Q7445152
SYSTEM
Sedbergh School
Q7445152
(Q3246898,P69,c(Q159334))
action filter_type
action find
entity Q3246898
relation P69
type Q159334
Hugh Cortazzi was educated at [ANSWER]
['Q3246898', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q159334 . resource:Q3246898 property:P69 ?b }
Sedbergh School
Hugh Cortazzi was educated at Sedbergh School
Sedbergh School
action filter_type
action find
entity Hugh Cortazzi
relation educated at
type secondary school
['Hugh Cortazzi', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:secondary_school . resource:Hugh_Cortazzi property:educated_at ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7445152
P17
Q1048835
USER
Which political territory is that secondary school located in ?
(Q7445152,P17,c(Q1048835))
action filter_type
action find
entity Q7445152
relation P17
type Q1048835
['Q7445152', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q7445152 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Sedbergh School
action filter_type
action find
entity Sedbergh School
relation country
type political territorial entity
['Sedbergh School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Sedbergh_School property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q7445152,P17,c(Q1048835))
action filter_type
action find
entity Q7445152
relation P17
type Q1048835
That secondary school is located in [ANSWER]
['Q7445152', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q7445152 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Canada
That secondary school is located in Canada
Canada
action filter_type
action find
entity Sedbergh School
relation country
type political territorial entity
['Sedbergh School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Sedbergh_School property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21913260 Q7445152
P17
Q1048835
USER
Or Creek Rocks?
OR((Q7445152,P17,c(Q1048835)), (Q21913260,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q7445152
relation P17
action find
entity Q21913260
relation P17
type Q1048835
{'OR': [['Q7445152', 'P17', {'concept': 'Q1048835'}], ['Q21913260', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q7445152 ) ( resource:Q21913260 ) } . ?u property:P17 ?a } . ?a rdf:type ontology:Q1048835 }
Creek Rocks Sedbergh School
action filter_type
action union
action find
entity Sedbergh School
relation country
action find
entity Creek Rocks
relation country
type political territorial entity
{'OR': [['Sedbergh School', 'country', {'concept': 'political territorial entity'}], ['Creek Rocks', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Sedbergh_School ) ( resource:Creek_Rocks ) } . ?u property:country ?a } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408
SYSTEM
Canada, Australia
Q16 Q408
OR((Q7445152,P17,c(Q1048835)), (Q21913260,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q7445152
relation P17
action find
entity Q21913260
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q7445152', 'P17', {'concept': 'Q1048835'}], ['Q21913260', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q7445152 ) ( resource:Q21913260 ) } . ?u property:P17 ?a } . ?a rdf:type ontology:Q1048835 }
Canada Australia
Canada Australia
action filter_type
action union
action find
entity Sedbergh School
relation country
action find
entity Creek Rocks
relation country
type political territorial entity
{'OR': [['Sedbergh School', 'country', {'concept': 'political territorial entity'}], ['Creek Rocks', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Sedbergh_School ) ( resource:Creek_Rocks ) } . ?u property:country ?a } . ?a rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766
P530
Q1048835 Q1048835
USER
Which political territories have tactful political relations with greater number of political territories than Jamaica ?
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:P530 ?v . ?i rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?s > ?e ) }
Jamaica
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:diplomatic_relation ?v . ?i rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?s > ?e ) }
[]
political territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS] have tactful political relations with greater number of political territories than Jamaica
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:P530 ?v . ?i rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?s > ?e ) }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have tactful political relations with greater number of political territories than Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?s ) WHERE { ?i property:diplomatic_relation ?v . ?i rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?s > ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q408 Q35
P17
Q1076486
USER
Which sports venues are located in Germany, Australia and Denmark ?
(c(Q1076486),P17,Q183) (c(Q1076486),P17,Q408) (c(Q1076486),P17,Q35)
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q408
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q35
relation P17
type Q1076486
[{'concept': 'Q1076486'}, 'P17', 'Q183'] [{'concept': 'Q1076486'}, 'P17', 'Q408'] [{'concept': 'Q1076486'}, 'P17', 'Q35']
SELECT DISTINCT ?o WHERE { { ?o property:P17 resource:Q183 . ?o rdf:type ontology:Q1076486 } UNION { ?o rdf:type ontology:Q1076486 . ?o property:P17 resource:Q408 } }
Germany Australia Denmark
action union
action filter_type
action find_reverse
entity Germany
relation country
type sports venue
action filter_type
action find_reverse
entity Australia
relation country
type sports venue
action filter_type
action find_reverse
entity Denmark
relation country
type sports venue
[{'concept': 'sports venue'}, 'country', 'Germany'] [{'concept': 'sports venue'}, 'country', 'Australia'] [{'concept': 'sports venue'}, 'country', 'Denmark']
SELECT DISTINCT ?o WHERE { { ?o property:country resource:Germany . ?o rdf:type ontology:sports_venue } UNION { ?o rdf:type ontology:sports_venue . ?o property:country resource:Australia } }
[]
sports venue
Q643328 Q295886 Q152349
SYSTEM
Lang Park, Stadium Australia, Mercedes-Benz Arena
Q150961 Q1823359 Q150933 Q16966721 Q1424534 Q473806 Q536202 Q2231472 Q152349 Q131610 Q1628542 Q1805320 Q155351 Q2551531 Q152633 Q1589623 Q16850786 Q913716 Q157273 Q151374 Q1546947 Q872352 Q1528634 Q7431277 Q506685 Q7700302 Q1536371 Q2137263 Q1009493 Q2137249 Q3398930 Q885030 Q2137254 Q7700322 Q314983 Q2326618 Q15264044 Q454085 Q321798 Q919493 Q127429 Q467151 Q7994559 Q1381223 Q7926918 Q4877312 Q14934804 Q5046027 Q6757794 Q6648558 Q18359239 Q988298 Q7271013 Q295886 Q16253020 Q6998686 Q14935428 Q5070014 Q2357884 Q14934896 Q585927 Q1032882 Q7440469 Q984117 Q4959444 Q5068914 Q2618400 Q3067562 Q1711881 Q2035401 Q2881431 Q1354174 Q1053447 Q5647591 Q7373585 Q5282967 Q1245311 Q5225974 Q5050939 Q1188325 Q6403708 Q1394700 Q7170896 Q8030374 Q5411235 Q1013176 Q3012162 Q1629394 Q6477257 Q22909384 Q5874714 Q1017078 Q5134496 Q7772725 Q7169828 Q7169829 Q4856788 Q2071157 Q16632731 Q7420641 Q7596488 Q7170861 Q607620 Q4788893 Q7808515 Q643328 Q5359559 Q4780351 Q2996598 Q768500 Q15199628 Q1479371 Q7593232 Q966081 Q7660159 Q4972226 Q5017709 Q4884452 Q7374370 Q4454808 Q856393 Q3979055 Q3336120 Q5458630 Q5187606 Q5028227 Q6430893 Q5297076 Q7569843 Q7017412 Q7164615 Q7950813 Q2268802 Q2462392 Q885662 Q7230769 Q1851216 Q2373761 Q330136 Q17986652 Q5158833 Q4968564 Q5263329 Q2228393 Q17985405 Q7830278 Q6460941 Q29726 Q6422421 Q4975186 Q5985192 Q14935929 Q5383896 Q7651640 Q9251389 Q4347737 Q21745611 Q16002749 Q281180 Q1635061 Q4994467 Q11711589 Q5017115 Q16864629 Q20161271 Q1986303 Q5533766
(c(Q1076486),P17,Q183) (c(Q1076486),P17,Q408) (c(Q1076486),P17,Q35)
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q408
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q35
relation P17
type Q1076486
[ANSWERS] are located in Germany, Australia and Denmark
[{'concept': 'Q1076486'}, 'P17', 'Q183'] [{'concept': 'Q1076486'}, 'P17', 'Q408'] [{'concept': 'Q1076486'}, 'P17', 'Q35']
SELECT DISTINCT ?o WHERE { { ?o property:P17 resource:Q183 . ?o rdf:type ontology:Q1076486 } UNION { ?o rdf:type ontology:Q1076486 . ?o property:P17 resource:Q408 } }
Veltins Arena Stadium Lichtenberg Imtech Arena Waldstadion am Erbsenberg Ischelandstadion Deutsches Stadion Porsche-Arena Scharrena Stuttgart Mercedes-Benz Arena Olympic Stadium of Munich Ski resort Hesselbach Langlaufzentrum Silberhütte Esprit Arena Hamburg-Allermöhe water sports center AWD-Arena Hauptstadion Stadion im Brötzinger Tal Eisstadion im Sahnpark Commerzbank-Arena Olympiastadion Berlin Wullen Stadium Oberschleißheim Regatta Course Snow Dome, Bispingen Schießanlage Hochbrück Königssee bobsleigh, luge, and skeleton track Tennis Club Weissenhof Golfanlage Schloss Nippenburg Berlin-Grünau Regatta Course Buniamshof Wedau Am Rothenbaum GETEC Arena Beetzsee Regatta Course Tennis Stadium Wedaustadion Stadtbad Neukölln Olympia-Kunsteisstadion Deutsches Stadion Sportpark Oberwerth Eilenriedestadion Allianz Arena Gerry Weber Stadion White City Stadium Melbourne Rectangular Stadium Victoria Park Beatty Park Gabbie Stadium Carrara Indoor Stadium Marconi Stadium Litis Stadium Boyne Island Tannum Sands Golf Course Charlotte Pass Queensland State Hockey Centre Stadium Australia Hope Island Resort Tennis Centre Netball SA Stadium Gold Coast Convention and Exhibition Centre Champion Lakes Regatta Centre Lake Karrinyup Country Club Melita Stadium Subiaco Oval Canberra Stadium Seagulls Stadium Mount Buller Breakers Stadium Challenge Stadium Parramatta Stadium Huntingdale Golf Club Robina Stadium Perth Arena Ballymore Stadium Penrith Whitewater Stadium Sydney Football Stadium Hands Oval Royal Adelaide Golf Club Distinctive Homes Hockey Stadium Melbourne Multi Purpose Venue Darwin Football Stadium Casula Powerhouse Newcastle International Sports Centre Kiama Showground Falls Creek Perth Stadium Wollongong Showground Eureka Stadium Thredbo Willows Sports Complex Perisher Ski Resort Lake Oval Dandenong Stadium Hobart International Tennis Centre Crown Perth Clive Berghofer Stadium The Vintage Golf Course Perry Lakes Basketball Stadium Perry Lakes Stadium Bankstown Oval Perisher Valley Townsville RSL Stadium Santos Stadium Stadium Mackay Perth Hockey Stadium Royal Melbourne Golf Club Arena Joondalup Tintinara Tennis Club Lang Park Sydney Showground Stadium Apollo Stadium Norwood Oval Wentworth Park Blacktown Baseball Stadium Smiggin Holes St George Stadium Central Coast Stadium Sydney Stadium Broadmeadow Basketball Stadium Cairns Convention Centre Belmore Sports Ground Royal King's Park Tennis Club Ainslie Tennis Club Sydney Cricket Ground Sydney International Regatta Centre Narrabundah Ballpark Flemington Racecourse Cromer Park Campbelltown Stadium Kooyong Stadium Doomben Racecourse Southern Cross Stadium, Tuggeranong Newcastle Entertainment Centre Penrith Stadium WIN Entertainment Centre Selwyn Snowfields The Gabba Blue Cow Mountain Port Macquarie Regional Stadium Sydney Super Dome Sydney Sports Ground Melbourne Cricket Ground Cook Park Concord Oval Brisbane Entertainment Centre Derwent Entertainment Centre Melbourne Park Adelaide City Park Townsville Entertainment and Convention Centre LaTrobe City Stadium Sydney Entertainment Centre Knights Stadium Brookvale Oval Ice Arena Western Australian Athletics Stadium Epping Stadium Svanholm Park Aalborghallen Østerbro Stadium Arena Næstved Amager Bakke Hjørring Stadium Nuuk Stadium Valby Idrætspark Ikast Stadion Idrætsparken Thyhallerne Vojens Speedway Center Gladsaxe Stadium Gentofte Stadion
Lang Park, Stadium Australia and Mercedes-Benz Arena are located in Germany, Australia and Denmark
Lang Park Stadium Australia Mercedes-Benz Arena
action union
action filter_type
action find_reverse
entity Germany
relation country
type sports venue
action filter_type
action find_reverse
entity Australia
relation country
type sports venue
action filter_type
action find_reverse
entity Denmark
relation country
type sports venue
[{'concept': 'sports venue'}, 'country', 'Germany'] [{'concept': 'sports venue'}, 'country', 'Australia'] [{'concept': 'sports venue'}, 'country', 'Denmark']
SELECT DISTINCT ?o WHERE { { ?o property:country resource:Germany . ?o rdf:type ontology:sports_venue } UNION { ?o rdf:type ontology:sports_venue . ?o property:country resource:Australia } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q643328 Q295886 Q152349
P641
Q349
USER
Which sports were Lang Park, Stadium Australia and Mercedes-Benz Arena a part of ?
(Q643328,P641,c(Q349)) (Q295886,P641,c(Q349)) (Q152349,P641,c(Q349))
action union
action filter_type
action find
entity Q643328
relation P641
type Q349
action filter_type
action find
entity Q295886
relation P641
type Q349
action filter_type
action find
entity Q152349
relation P641
type Q349
['Q643328', 'P641', {'concept': 'Q349'}] ['Q295886', 'P641', {'concept': 'Q349'}] ['Q152349', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { resource:Q643328 property:P641 ?g . ?g rdf:type ontology:Q349 } UNION { ?g rdf:type ontology:Q349 . resource:Q295886 property:P641 ?g } }
Lang Park Stadium Australia Mercedes-Benz Arena
action union
action filter_type
action find
entity Lang Park
relation sport
type sport
action filter_type
action find
entity Stadium Australia
relation sport
type sport
action filter_type
action find
entity Mercedes-Benz Arena
relation sport
type sport
['Lang Park', 'sport', {'concept': 'sport'}] ['Stadium Australia', 'sport', {'concept': 'sport'}] ['Mercedes-Benz Arena', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { resource:Lang_Park property:sport ?g . ?g rdf:type ontology:sport } UNION { ?g rdf:type ontology:sport . resource:Stadium_Australia property:sport ?g } }
[]
sport
Q10962 Q2736 Q5375
SYSTEM
rugby league, association football, cricket
Q10962 Q2736 Q5375 Q2736
(Q643328,P641,c(Q349)) (Q295886,P641,c(Q349)) (Q152349,P641,c(Q349))
action union
action filter_type
action find
entity Q643328
relation P641
type Q349
action filter_type
action find
entity Q295886
relation P641
type Q349
action filter_type
action find
entity Q152349
relation P641
type Q349
[ANSWERS] were Lang Park, Stadium Australia and Mercedes-Benz Arena a part of
['Q643328', 'P641', {'concept': 'Q349'}] ['Q295886', 'P641', {'concept': 'Q349'}] ['Q152349', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { resource:Q643328 property:P641 ?g . ?g rdf:type ontology:Q349 } UNION { ?g rdf:type ontology:Q349 . resource:Q295886 property:P641 ?g } }
rugby league association football cricket association football
Rugby league, association football and cricket were Lang Park, Stadium Australia and Mercedes-Benz Arena a part of
rugby league association football cricket
action union
action filter_type
action find
entity Lang Park
relation sport
type sport
action filter_type
action find
entity Stadium Australia
relation sport
type sport
action filter_type
action find
entity Mercedes-Benz Arena
relation sport
type sport
['Lang Park', 'sport', {'concept': 'sport'}] ['Stadium Australia', 'sport', {'concept': 'sport'}] ['Mercedes-Benz Arena', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { resource:Lang_Park property:sport ?g . ?g rdf:type ontology:sport } UNION { ?g rdf:type ontology:sport . resource:Stadium_Australia property:sport ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10962
P101
Q502895
USER
Who works in the domain of rugby league ?
(c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q10962 . ?l rdf:type ontology:Q502895 }
rugby league
action filter_type
action find_reverse
entity rugby league
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:rugby_league . ?l rdf:type ontology:common_name }
[]
common name
Q6141195 Q6701930
SYSTEM
James Peters, Luke Duffy
Q6141195 Q6701930
(c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P101
type Q502895
[ANSWERS] work in the domain of rugby league
[{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q10962 . ?l rdf:type ontology:Q502895 }
James Peters Luke Duffy
James Peters and Luke Duffy work in the domain of rugby league
James Peters Luke Duffy
action filter_type
action find_reverse
entity rugby league
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:rugby_league . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6701930
P21
Q290
USER
Which sex does that person possess ?
(Q6701930,P21,c(Q290))
action filter_type
action find
entity Q6701930
relation P21
type Q290
['Q6701930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6701930 property:P21 ?l }
Luke Duffy
action filter_type
action find
entity Luke Duffy
relation gender
type sex
['Luke Duffy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Luke_Duffy property:gender ?l }
[]
sex
Clarification for simple ques.
Q6141195
SYSTEM
Did you mean James Peters ?
Q6141195 Q6701930
(Q6141195,P21,c(Q290)) (Q6701930,P21,c(Q290))
[ANSWER]
['Q6141195', 'P21', {'concept': 'Q290'}] ['Q6701930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6701930 property:P21 ?l }
James Peters Luke Duffy
Did you mean James Peters ?
James Peters
['James Peters', 'gender', {'concept': 'sex'}] ['Luke Duffy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Luke_Duffy property:gender ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Luke Duffy. Could you tell me the answer for that?
(Q6701930,P21,c(Q290))
Q6701930
['Q6701930', 'P21', {'concept': 'Q290'}]
['Luke Duffy', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q6701930,P21,c(Q290))
action filter_type
action find
entity Q6701930
relation P21
type Q290
That person possesses a [ANSWER]
['Q6701930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q6701930 property:P21 ?l }
male
That person possesses a male
male
action filter_type
action find
entity Luke Duffy
relation gender
type sex
['Luke Duffy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Luke_Duffy property:gender ?l }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q7150010 Q6141195
P54
Q874405
USER
Which social groups have James Peters but not Paul Crarey as their member ?
AND((Q6141195,P54,c(Q874405)), NOT((Q7150010,P54,c(Q874405))))
action filter_type
action difference
action find
entity Q6141195
relation P54
action find
entity Q7150010
relation P54
type Q874405
{'AND': [['Q6141195', 'P54', {'concept': 'Q874405'}], {'NOT': [['Q7150010', 'P54', {'concept': 'Q874405'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q6141195 property:P54 ?i . MINUS { resource:Q7150010 property:P54 ?i } . ?i rdf:type ontology:Q874405 }
Paul Crarey James Peters
action filter_type
action difference
action find
entity James Peters
relation member of sports team
action find
entity Paul Crarey
relation member of sports team
type social group
{'AND': [['James Peters', 'member of sports team', {'concept': 'social group'}], {'NOT': [['Paul Crarey', 'member of sports team', {'concept': 'social group'}]]}]}
SELECT DISTINCT ?i WHERE { resource:James_Peters property:member_of_sports_team ?i . MINUS { resource:Paul_Crarey property:member_of_sports_team ?i } . ?i rdf:type ontology:social_group }
[]
social group
Q1134319
SYSTEM
St Helens RLFC
Q1134319
AND((Q6141195,P54,c(Q874405)), NOT((Q7150010,P54,c(Q874405))))
action filter_type
action difference
action find
entity Q6141195
relation P54
action find
entity Q7150010
relation P54
type Q874405
And [ANSWER] have James Peters but not Paul Crarey as their member
{'AND': [['Q6141195', 'P54', {'concept': 'Q874405'}], {'NOT': [['Q7150010', 'P54', {'concept': 'Q874405'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q6141195 property:P54 ?i . MINUS { resource:Q7150010 property:P54 ?i } . ?i rdf:type ontology:Q874405 }
St Helens RLFC
And St Helens RLFC have James Peters but not Paul Crarey as their member
St Helens RLFC
action filter_type
action difference
action find
entity James Peters
relation member of sports team
action find
entity Paul Crarey
relation member of sports team
type social group
{'AND': [['James Peters', 'member of sports team', {'concept': 'social group'}], {'NOT': [['Paul Crarey', 'member of sports team', {'concept': 'social group'}]]}]}
SELECT DISTINCT ?i WHERE { resource:James_Peters property:member_of_sports_team ?i . MINUS { resource:Paul_Crarey property:member_of_sports_team ?i } . ?i rdf:type ontology:social_group }
[]