Simple Question (Direct)
Simple Question
Q3846076
P641
Q349
USER
What was the sport that Marco Di Paolo was a part of ?
(Q3846076,P641,c(Q349))
action filter_type
action find
entity Q3846076
relation P641
type Q349
['Q3846076', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q3846076 property:P641 ?i }
Marco Di Paolo
action filter_type
action find
entity Marco Di Paolo
relation sport
type sport
['Marco Di Paolo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Marco_Di_Paolo property:sport ?i }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3846076,P641,c(Q349))
action filter_type
action find
entity Q3846076
relation P641
type Q349
The sport that Marco Di Paolo was a part of was the [ANSWER]
['Q3846076', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q3846076 property:P641 ?i }
association football
The sport that Marco Di Paolo was a part of was the association football
association football
action filter_type
action find
entity Marco Di Paolo
relation sport
type sport
['Marco Di Paolo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Marco_Di_Paolo property:sport ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3846076
P19
Q56061
USER
Where was that person born ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q3846076
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q3846076 property:P19 ?h }
Marco Di Paolo
action filter_type
action find
entity Marco Di Paolo
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Marco_Di_Paolo property:place_of_birth ?h }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q3846076
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q3846076 property:P19 ?h }
Venice
That person was born in Venice
Venice
action filter_type
action find
entity Marco Di Paolo
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Marco_Di_Paolo property:place_of_birth ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q641 Q17109497
P915
Q838948
USER
Was Mrs. Gibbons' Boys filmed at that administrative territory ?
(Q17109497,P915,Q641)
action is_in
entity Q17109497
action find
entity Q641
relation P915
['Q17109497', 'P915', 'Q641']
ASK WHERE { resource:Q641 property:P915 resource:Q17109497 }
Venice Mrs. Gibbons' Boys
action is_in
entity Mrs. Gibbons' Boys
action find
entity Venice
relation filming location
["Mrs. Gibbons' Boys", 'filming location', 'Venice']
ASK WHERE { resource:Venice property:filming_location resource:Mrs._Gibbons'_Boys }
[]
work of art
SYSTEM
NO
(Q17109497,P915,Q641)
action is_in
entity Q17109497
action find
entity Q641
relation P915
[ANSWER]
['Q17109497', 'P915', 'Q641']
ASK WHERE { resource:Q641 property:P915 resource:Q17109497 }
No
action is_in
entity Mrs. Gibbons' Boys
action find
entity Venice
relation filming location
["Mrs. Gibbons' Boys", 'filming location', 'Venice']
ASK WHERE { resource:Venice property:filming_location resource:Mrs._Gibbons'_Boys }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q108429
P366
Q349 Q1076486 Q2235308
USER
How many sports are the main uses of more number of sports venues or ship types than archery ?
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q108429
relation P366
type Q1076486
type Q2235308
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?b WHERE { { ?s property:P366 ?b . ?b rdf:type ontology:Q349 . ?s rdf:type ontology:Q2235308 } UNION { ?s property:P366 ?b . ?b rdf:type ontology:Q349 . ?s rdf:type ontology:Q1076486 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P366 resource:Q108429 . { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?r > ?i ) }
archery
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity archery
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?b WHERE { { ?s property:use ?b . ?b rdf:type ontology:sport . ?s rdf:type ontology:ship_type } UNION { ?s property:use ?b . ?b rdf:type ontology:sport . ?s rdf:type ontology:sports_venue } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:use resource:archery . { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:sports_venue ) ( ontology:ship_type ) } } } } . FILTER ( ?r > ?i ) }
[]
sport sports venue ship type
SYSTEM
5
Q183018 Q2736 Q61065 Q41466 Q1194269
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q108429
relation P366
type Q1076486
type Q2235308
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?b WHERE { { ?s property:P366 ?b . ?b rdf:type ontology:Q349 . ?s rdf:type ontology:Q2235308 } UNION { ?s property:P366 ?b . ?b rdf:type ontology:Q349 . ?s rdf:type ontology:Q1076486 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P366 resource:Q108429 . { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?r > ?i ) }
bandy association football water sport ice hockey harness racing
5
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity archery
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?b WHERE { { ?s property:use ?b . ?b rdf:type ontology:sport . ?s rdf:type ontology:ship_type } UNION { ?s property:use ?b . ?b rdf:type ontology:sport . ?s rdf:type ontology:sports_venue } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:use resource:archery . { ?m rdf:type ?h . VALUES ( ?h ) { ( ontology:sports_venue ) ( ontology:ship_type ) } } } } . FILTER ( ?r > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q206763
P366
Q349 Q1076486 Q2235308
USER
And how about floorball?
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q1076486
type Q2235308
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } . ?v rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P366 resource:Q206763 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?s > ?a ) }
floorball
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:ship_type ) } . ?v rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:use resource:floorball . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?s > ?a ) }
[]
sport sports venue ship type
SYSTEM
5
Q183018 Q2736 Q61065 Q41466 Q1194269
(c(Q1076486)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q1076486
type Q2235308
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } . ?v rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P366 resource:Q206763 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?s > ?a ) }
bandy association football water sport ice hockey harness racing
5
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:ship_type ) } . ?v rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:use resource:floorball . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?s > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P1376
Q15089
USER
What has Venice as its capital ?
(Q641,P1376,c(Q15089))
action filter_type
action find
entity Q641
relation P1376
type Q15089
['Q641', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?v WHERE { resource:Q641 property:P1376 ?v . ?v rdf:type ontology:Q15089 }
Venice
action filter_type
action find
entity Venice
relation capital of
type province of Italy
['Venice', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?v WHERE { resource:Venice property:capital_of ?v . ?v rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16310
SYSTEM
Province of Venice
Q16310
(Q641,P1376,c(Q15089))
action filter_type
action find
entity Q641
relation P1376
type Q15089
[ANSWER] has Venice as its capital
['Q641', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?v WHERE { resource:Q641 property:P1376 ?v . ?v rdf:type ontology:Q15089 }
Province of Venice
Province of Venice has Venice as its capital
Province of Venice
action filter_type
action find
entity Venice
relation capital of
type province of Italy
['Venice', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?v WHERE { resource:Venice property:capital_of ?v . ?v rdf:type ontology:province_of_Italy }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q641
Q643589
USER
And which department?
(Q641,P1376,c(Q643589))
action filter_type
action find
entity Q641
relation P1376
type Q643589
['Q641', 'P1376', {'concept': 'Q643589'}]
SELECT DISTINCT ?y WHERE { resource:Q641 property:P1376 ?y . ?y rdf:type ontology:Q643589 }
Venice
action filter_type
action find
entity Venice
relation capital of
type department
['Venice', 'capital of', {'concept': 'department'}]
SELECT DISTINCT ?y WHERE { resource:Venice property:capital_of ?y . ?y rdf:type ontology:department }
[]
department
Q2825088
SYSTEM
Adriatique
Q2825088
(Q641,P1376,c(Q643589))
action filter_type
action find
entity Q641
relation P1376
type Q643589
[ANSWER]
['Q641', 'P1376', {'concept': 'Q643589'}]
SELECT DISTINCT ?y WHERE { resource:Q641 property:P1376 ?y . ?y rdf:type ontology:Q643589 }
Adriatique
Adriatique
action filter_type
action find
entity Venice
relation capital of
type department
['Venice', 'capital of', {'concept': 'department'}]
SELECT DISTINCT ?y WHERE { resource:Venice property:capital_of ?y . ?y rdf:type ontology:department }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2825088
P138
Q15324
USER
Which body of water is the etymology of that department ?
(Q2825088,P138,c(Q15324))
action filter_type
action find
entity Q2825088
relation P138
type Q15324
['Q2825088', 'P138', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q2825088 property:P138 ?k . ?k rdf:type ontology:Q15324 }
Adriatique
action filter_type
action find
entity Adriatique
relation named after
type body of water
['Adriatique', 'named after', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Adriatique property:named_after ?k . ?k rdf:type ontology:body_of_water }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q2825088,P138,c(Q15324))
action filter_type
action find
entity Q2825088
relation P138
type Q15324
[ANSWER] is the etymology of that department
['Q2825088', 'P138', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q2825088 property:P138 ?k . ?k rdf:type ontology:Q15324 }
Adriatic Sea
Adriatic Sea is the etymology of that department
Adriatic Sea
action filter_type
action find
entity Adriatique
relation named after
type body of water
['Adriatique', 'named after', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Adriatique property:named_after ?k . ?k rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52297
P47
Q15617994
USER
Which administrative territories do Irsina share a border with ?
(c(Q15617994),P47,Q52297)
action filter_type
action find
entity Q52297
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q52297']
SELECT DISTINCT ?f WHERE { resource:Q52297 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Irsina
action filter_type
action find
entity Irsina
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Irsina']
SELECT DISTINCT ?f WHERE { resource:Irsina property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52336 Q51829 Q52574
SYSTEM
Tricarico, Gravina in Puglia, Genzano di Lucania
Q52625 Q51829 Q52574 Q52336 Q52292 Q52684
(c(Q15617994),P47,Q52297)
action filter_type
action find
entity Q52297
relation P47
type Q15617994
Irsina share a border with [ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q52297']
SELECT DISTINCT ?f WHERE { resource:Q52297 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Oppido Lucano Gravina in Puglia Genzano di Lucania Tricarico Grassano Tolve
Irsina share a border with Tricarico, Gravina in Puglia and Genzano di Lucania
Tricarico Gravina in Puglia Genzano di Lucania
action filter_type
action find
entity Irsina
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Irsina']
SELECT DISTINCT ?f WHERE { resource:Irsina property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16310
P466
Q41176
USER
What is the building occupied by Province of Venice ?
(c(Q41176),P466,Q16310)
action filter_type
action find_reverse
entity Q16310
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q16310']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q16310 . ?g rdf:type ontology:Q41176 }
Province of Venice
action filter_type
action find_reverse
entity Province of Venice
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Province of Venice']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Province_of_Venice . ?g rdf:type ontology:building }
[]
building
Q2932205
SYSTEM
Palazzo Corner
Q2932205
(c(Q41176),P466,Q16310)
action filter_type
action find_reverse
entity Q16310
relation P466
type Q41176
The building occupied by Province of is [ANSWER]
[{'concept': 'Q41176'}, 'P466', 'Q16310']
SELECT DISTINCT ?g WHERE { ?g property:P466 resource:Q16310 . ?g rdf:type ontology:Q41176 }
Palazzo Corner
The building occupied by Province of is Palazzo Corner
Palazzo Corner
action filter_type
action find_reverse
entity Province of Venice
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Province of Venice']
SELECT DISTINCT ?g WHERE { ?g property:occupant resource:Province_of_Venice . ?g rdf:type ontology:building }
[]