Simple Question (Direct)
Simple Question
Q5223741
P19
Q56061
USER
Which administrative territory is the place of birth of Darko Karadžić ?
(Q5223741,P19,c(Q56061))
action filter_type
action find
entity Q5223741
relation P19
type Q56061
['Q5223741', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5223741 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Darko Karadžić
action filter_type
action find
entity Darko Karadžić
relation place of birth
type administrative territorial entity
['Darko Karadžić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Darko_Karadžić property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200733
SYSTEM
Nikšić
Q200733
(Q5223741,P19,c(Q56061))
action filter_type
action find
entity Q5223741
relation P19
type Q56061
[ANSWER] is the place of birth of Darko Karadžić
['Q5223741', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5223741 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Nikšić
Nikšić is the place of birth of Darko Karadžić
Nikšić
action filter_type
action find
entity Darko Karadžić
relation place of birth
type administrative territorial entity
['Darko Karadžić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Darko_Karadžić property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5223741
P106
Q12737077
USER
What is the profession of Darko Karadžić ?
(Q5223741,P106,c(Q12737077))
action filter_type
action find
entity Q5223741
relation P106
type Q12737077
['Q5223741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5223741 property:P106 ?z }
Darko Karadžić
action filter_type
action find
entity Darko Karadžić
relation occupation
type occupation
['Darko Karadžić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Darko_Karadžić property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5223741,P106,c(Q12737077))
action filter_type
action find
entity Q5223741
relation P106
type Q12737077
The profession of Darko Karadžić is an [ANSWER]
['Q5223741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5223741 property:P106 ?z }
association football player
The profession of Darko Karadžić is an association football player
association football player
action filter_type
action find
entity Darko Karadžić
relation occupation
type occupation
['Darko Karadžić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Darko_Karadžić property:occupation ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5223741
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q5223741
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5223741 property:P641 ?o . ?o rdf:type ontology:Q349 }
Darko Karadžić
action filter_type
action find
entity Darko Karadžić
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Darko_Karadžić property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q5223741
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5223741 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Darko Karadžić
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Darko_Karadžić property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5223741
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5223741
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5223741 property:P21 ?s . ?s rdf:type ontology:Q290 }
Darko Karadžić
action filter_type
action find
entity Darko Karadžić
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Darko_Karadžić property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5223741
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5223741 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Darko Karadžić
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Darko_Karadžić property:gender ?s . ?s rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14209773
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have adopted less number of holidays and people as patron saint than San Lorenzo de' Picenardi ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q14209773
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?z WHERE { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?z } . FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } . resource:Q14209773 property:P417 ?w } } }
San Lorenzo de' Picenardi
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Lorenzo de' Picenardi
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?z WHERE { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?z } . FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:holiday ) ( ontology:common_name ) } } . resource:San_Lorenzo_de'_Picenardi property:patron_saint ?w } } }
[]
holiday common name administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q14209773
relation P417
type Q1445650
type Q502895
[ANSWERS] have adopted less number of holidays and people as patron saint than San Lorenzo de' Picenardi
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?z WHERE { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?z } . FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } . resource:Q14209773 property:P417 ?w } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia, Úbeda and Curitiba have adopted less number of holidays and people as patron saint than San Lorenzo de' Picenardi
Brescia Úbeda Curitiba
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Lorenzo de' Picenardi
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?z WHERE { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?z } . FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:holiday ) ( ontology:common_name ) } } . resource:San_Lorenzo_de'_Picenardi property:patron_saint ?w } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q470461
P417
Q1445650 Q502895 Q56061
USER
And how about Amfilochia?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q470461
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?r WHERE { { ?r property:P417 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P417 ?c . ?r rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q470461 property:P417 ?a . { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?a rdf:type ?l } } } . FILTER ( ?g < ?t ) }
Amfilochia
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Amfilochia
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?r WHERE { { ?r property:patron_saint ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:patron_saint ?c . ?r rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Amfilochia property:patron_saint ?a . { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?a rdf:type ?l } } } . FILTER ( ?g < ?t ) }
[]
holiday common name administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q470461
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?r WHERE { { ?r property:P417 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P417 ?c . ?r rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1445650 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q470461 property:P417 ?a . { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?a rdf:type ?l } } } . FILTER ( ?g < ?t ) }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia Úbeda Curitiba
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Amfilochia
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?r WHERE { { ?r property:patron_saint ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:patron_saint ?c . ?r rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:holiday } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Amfilochia property:patron_saint ?a . { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?a rdf:type ?l } } } . FILTER ( ?g < ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P609
Q56061 Q12280 Q83620
USER
Which administrative territories are the destination of max number of bridges and thoroughfares ?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?s WHERE { VALUES ( ?o ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?w rdf:type ?o } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?r rdf:type ?v } GROUP BY ?k } . FILTER ( ?n = ?q ) }
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?s WHERE { VALUES ( ?o ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?w rdf:type ?o } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?v ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?r rdf:type ?v } GROUP BY ?k } . FILTER ( ?n = ?q ) }
[]
administrative territorial entity bridge thoroughfare
Q740149
SYSTEM
Södermalm
Q740149
(c(Q12280)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[ANSWER] is the destination of max number of bridges and thoroughfares
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?s WHERE { VALUES ( ?o ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?w rdf:type ?o } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?r rdf:type ?v } GROUP BY ?k } . FILTER ( ?n = ?q ) }
Södermalm
Södermalm is the destination of max number of bridges and thoroughfares
Södermalm
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?s WHERE { VALUES ( ?o ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?w rdf:type ?o } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?k WHERE { VALUES ( ?v ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?r rdf:type ?v } GROUP BY ?k } . FILTER ( ?n = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1734
P641
Q349 Q18608583 Q500834
USER
How many sports did lesser number of recurring sporting events or tournaments participate in than volleyball ?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P641
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?p WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P641 resource:Q1734 . { { ?t rdf:type ontology:Q18608583 } UNION { ?t rdf:type ontology:Q500834 } } } } . FILTER ( ?l < ?s ) }
volleyball
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity volleyball
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?p WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:sport resource:volleyball . { { ?t rdf:type ontology:recurring_sporting_event } UNION { ?t rdf:type ontology:tournament } } } } . FILTER ( ?l < ?s ) }
[]
sport recurring sporting event tournament
SYSTEM
172
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q18608583)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P641
type Q18608583
type Q500834
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?p WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P641 resource:Q1734 . { { ?t rdf:type ontology:Q18608583 } UNION { ?t rdf:type ontology:Q500834 } } } } . FILTER ( ?l < ?s ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
172
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity volleyball
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?p WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:sport resource:volleyball . { { ?t rdf:type ontology:recurring_sporting_event } UNION { ?t rdf:type ontology:tournament } } } } . FILTER ( ?l < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2701632
P641
Q349 Q18608583 Q500834
USER
And what about muggle quidditch?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q2701632
relation P641
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?j rdf:type ontology:Q349 . ?e rdf:type ontology:Q18608583 . ?e property:P641 ?j } UNION { ?e property:P641 ?j . ?j rdf:type ontology:Q349 . ?e rdf:type ontology:Q500834 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { VALUES ( ?a ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?d rdf:type ?a } . ?d property:P641 resource:Q2701632 } } . FILTER ( ?m < ?n ) }
muggle quidditch
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity muggle quidditch
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?j rdf:type ontology:sport . ?e rdf:type ontology:recurring_sporting_event . ?e property:sport ?j } UNION { ?e property:sport ?j . ?j rdf:type ontology:sport . ?e rdf:type ontology:tournament } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { VALUES ( ?a ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?d rdf:type ?a } . ?d property:sport resource:muggle_quidditch } } . FILTER ( ?m < ?n ) }
[]
sport recurring sporting event tournament
SYSTEM
162
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q2440459 Q429006
(c(Q18608583)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q2701632
relation P641
type Q18608583
type Q500834
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?j rdf:type ontology:Q349 . ?e rdf:type ontology:Q18608583 . ?e property:P641 ?j } UNION { ?e property:P641 ?j . ?j rdf:type ontology:Q349 . ?e rdf:type ontology:Q500834 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { VALUES ( ?a ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?d rdf:type ?a } . ?d property:P641 resource:Q2701632 } } . FILTER ( ?m < ?n ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone wheelchair fencing Duathlon
162
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity muggle quidditch
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?j rdf:type ontology:sport . ?e rdf:type ontology:recurring_sporting_event . ?e property:sport ?j } UNION { ?e property:sport ?j . ?j rdf:type ontology:sport . ?e rdf:type ontology:tournament } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { VALUES ( ?a ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?d rdf:type ?a } . ?d property:sport resource:muggle_quidditch } } . FILTER ( ?m < ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200733
P127
Q1076486
USER
Which sports venue is under posessision of Nikšić ?
(c(Q1076486),P127,Q200733)
action filter_type
action find_reverse
entity Q200733
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q200733']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q200733 . ?g rdf:type ontology:Q1076486 }
Nikšić
action filter_type
action find_reverse
entity Nikšić
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Nikšić']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Nikšić . ?g rdf:type ontology:sports_venue }
[]
sports venue
Q3120014
SYSTEM
Gradski stadion
Q3120014
(c(Q1076486),P127,Q200733)
action filter_type
action find_reverse
entity Q200733
relation P127
type Q1076486
[ANSWER] is under posessision of Nikšić
[{'concept': 'Q1076486'}, 'P127', 'Q200733']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q200733 . ?g rdf:type ontology:Q1076486 }
Gradski stadion
Gradski stadion is under posessision of Nikšić
Gradski stadion
action filter_type
action find_reverse
entity Nikšić
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Nikšić']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Nikšić . ?g rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6221
P47
Q56061
USER
Which administrative territories have a shared border with Brescia ?
(Q6221,P47,c(Q56061))
action filter_type
action find
entity Q6221
relation P47
type Q56061
['Q6221', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q6221 property:P47 ?m . ?m rdf:type ontology:Q56061 }
Brescia
action filter_type
action find
entity Brescia
relation shares border with
type administrative territorial entity
['Brescia', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Brescia property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q111630 Q103582
SYSTEM
Roncadelle, Botticino
Q111630 Q103582
(Q6221,P47,c(Q56061))
action filter_type
action find
entity Q6221
relation P47
type Q56061
[ANSWERS] have a shared border with Brescia
['Q6221', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q6221 property:P47 ?m . ?m rdf:type ontology:Q56061 }
Roncadelle Botticino
Roncadelle and Botticino have a shared border with Brescia
Roncadelle Botticino
action filter_type
action find
entity Brescia
relation shares border with
type administrative territorial entity
['Brescia', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Brescia property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]