Simple Question (Direct)
Simple Question
Q16234716
P641
Q349
USER
Which sport was Samson Koti a part of ?
(Q16234716,P641,c(Q349))
action filter_type
action find
entity Q16234716
relation P641
type Q349
['Q16234716', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16234716 property:P641 ?q . ?q rdf:type ontology:Q349 }
Samson Koti
action filter_type
action find
entity Samson Koti
relation sport
type sport
['Samson Koti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Samson_Koti property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16234716,P641,c(Q349))
action filter_type
action find
entity Q16234716
relation P641
type Q349
Which sport was Samson Koti a part of
['Q16234716', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16234716 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Which sport was Samson Koti a part of
association football
action filter_type
action find
entity Samson Koti
relation sport
type sport
['Samson Koti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Samson_Koti property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q618123
USER
Which geographical object participated in that sport ?
(c(Q618123),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q618123
[{'concept': 'Q618123'}, 'P2416', 'Q2736']
SELECT DISTINCT ?l WHERE { ?l property:P2416 resource:Q2736 . ?l rdf:type ontology:Q618123 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type geographical object
[{'concept': 'geographical object'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?l WHERE { ?l property:sports_discipline_competed_in resource:association_football . ?l rdf:type ontology:geographical_object }
[]
geographical object
Q12307889
SYSTEM
De Studerendes Idræt Odense
Q12307889
(c(Q618123),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q618123
[ANSWER] participated in that sport
[{'concept': 'Q618123'}, 'P2416', 'Q2736']
SELECT DISTINCT ?l WHERE { ?l property:P2416 resource:Q2736 . ?l rdf:type ontology:Q618123 }
De Studerendes Idræt Odense
De Studerendes Idræt Odense participated in that sport
De Studerendes Idræt Odense
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type geographical object
[{'concept': 'geographical object'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?l WHERE { ?l property:sports_discipline_competed_in resource:association_football . ?l rdf:type ontology:geographical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q1076486 Q39546
USER
How many sports represent the main use of around 12 sports venues and tools ?
(c(Q1076486)|c(Q39546),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 12
[[{'concept': 'Q1076486'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q1076486 ) ( ontology:Q39546 ) } . ?c rdf:type ?o } GROUP BY ?f } . FILTER ( ?w = 12 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type tool
value 12
[[{'concept': 'sports venue'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { VALUES ( ?o ) { ( ontology:sports_venue ) ( ontology:tool ) } . ?c rdf:type ?o } GROUP BY ?f } . FILTER ( ?w = 12 ) }
[]
sport sports venue tool
SYSTEM
2
Q183018 Q41466
(c(Q1076486)|c(Q39546),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 12
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { VALUES ( ?o ) { ( ontology:Q1076486 ) ( ontology:Q39546 ) } . ?c rdf:type ?o } GROUP BY ?f } . FILTER ( ?w = 12 ) }
bandy ice hockey
2
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type tool
value 12
[[{'concept': 'sports venue'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { VALUES ( ?o ) { ( ontology:sports_venue ) ( ontology:tool ) } . ?c rdf:type ?o } GROUP BY ?f } . FILTER ( ?w = 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12307889
P17
Q1048835
USER
Which political territory is De Studerendes Idræt Odense a part of ?
(Q12307889,P17,c(Q1048835))
action filter_type
action find
entity Q12307889
relation P17
type Q1048835
['Q12307889', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q12307889 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
De Studerendes Idræt Odense
action filter_type
action find
entity De Studerendes Idræt Odense
relation country
type political territorial entity
['De Studerendes Idræt Odense', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:De_Studerendes_Idræt_Odense property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q12307889,P17,c(Q1048835))
action filter_type
action find
entity Q12307889
relation P17
type Q1048835
[ANSWER] is De Studerendes Idræt Odense a part of
['Q12307889', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q12307889 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Denmark
Denmark is De Studerendes Idræt Odense a part of
Denmark
action filter_type
action find
entity De Studerendes Idræt Odense
relation country
type political territorial entity
['De Studerendes Idræt Odense', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:De_Studerendes_Idræt_Odense property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15989639
Q1048835
USER
And what about German-Jordanian relations?
(Q15989639,P17,c(Q1048835))
action filter_type
action find
entity Q15989639
relation P17
type Q1048835
['Q15989639', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q15989639 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
German-Jordanian relations
action filter_type
action find
entity German-Jordanian relations
relation country
type political territorial entity
['German-Jordanian relations', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:German-Jordanian_relations property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q15989639,P17,c(Q1048835))
action filter_type
action find
entity Q15989639
relation P17
type Q1048835
[ANSWER]
['Q15989639', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q15989639 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity German-Jordanian relations
relation country
type political territorial entity
['German-Jordanian relations', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:German-Jordanian_relations property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q230
P530
Q15617994
USER
Does Georgia hold diplomatic relationship with that political territory ?
(Q183,P530,Q230)
action is_in
entity Q230
action find
entity Q183
relation P530
['Q183', 'P530', 'Q230']
ASK WHERE { resource:Q183 property:P530 resource:Q230 }
Germany Georgia
action is_in
entity Georgia
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Georgia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q230)
action is_in
entity Q230
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q230']
ASK WHERE { resource:Q183 property:P530 resource:Q230 }
Yes
action is_in
entity Georgia
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Georgia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q35 Q155
P530
Q15617994
USER
Does Brazil hold diplomatic relationship with Denmark ?
(Q35,P530,Q155)
action is_in
entity Q155
action find
entity Q35
relation P530
['Q35', 'P530', 'Q155']
ASK WHERE { resource:Q35 property:P530 resource:Q155 }
Denmark Brazil
action is_in
entity Brazil
action find
entity Denmark
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q35,P530,Q155)
action is_in
entity Q155
action find
entity Q35
relation P530
[ANSWER]
['Q35', 'P530', 'Q155']
ASK WHERE { resource:Q35 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Denmark
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P532
Q2235308
USER
What is the registry port of Denmark ?
(c(Q2235308),P532,Q35)
action filter_type
action find_reverse
entity Q35
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q35']
SELECT DISTINCT ?w WHERE { ?w property:P532 resource:Q35 . ?w rdf:type ontology:Q2235308 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Denmark']
SELECT DISTINCT ?w WHERE { ?w property:port_of_registry resource:Denmark . ?w rdf:type ontology:ship_type }
[]
ship type
Q1376616
SYSTEM
SS Norge
Q1376616
(c(Q2235308),P532,Q35)
action filter_type
action find_reverse
entity Q35
relation P532
type Q2235308
The registry port of Denmark is the [ANSWER]
[{'concept': 'Q2235308'}, 'P532', 'Q35']
SELECT DISTINCT ?w WHERE { ?w property:P532 resource:Q35 . ?w rdf:type ontology:Q2235308 }
SS Norge
The registry port of Denmark is the SS Norge
SS Norge
action filter_type
action find_reverse
entity Denmark
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Denmark']
SELECT DISTINCT ?w WHERE { ?w property:port_of_registry resource:Denmark . ?w rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P47
Q1048835
USER
Which political territories do Germany share a border with ?
(c(Q1048835),P47,Q183)
action filter_type
action find_reverse
entity Q183
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . ?u property:P47 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . ?u property:shares_border_with resource:Germany }
[]
political territorial entity
Q35 Q40 Q13116
SYSTEM
Denmark, Austria, Benelux
Q13116 Q40 Q35 Q191091
(c(Q1048835),P47,Q183)
action filter_type
action find_reverse
entity Q183
relation P47
type Q1048835
Germany share a border with [ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . ?u property:P47 resource:Q183 }
Benelux Austria Denmark Karlovy Vary Region
Germany share a border with Denmark, Austria and Benelux
Denmark Austria Benelux
action filter_type
action find_reverse
entity Germany
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . ?u property:shares_border_with resource:Germany }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q40 Q13116
P47
Q15617994
USER
Which administrative territories are adjacent to Denmark, Austria and Benelux ?
(Q35,P47,c(Q15617994)) (Q40,P47,c(Q15617994)) (Q13116,P47,c(Q15617994))
action union
action filter_type
action find
entity Q35
relation P47
type Q15617994
action filter_type
action find
entity Q40
relation P47
type Q15617994
action filter_type
action find
entity Q13116
relation P47
type Q15617994
['Q35', 'P47', {'concept': 'Q15617994'}] ['Q40', 'P47', {'concept': 'Q15617994'}] ['Q13116', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q35 property:P47 ?p . ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q15617994 . resource:Q40 property:P47 ?p } }
Denmark Austria Benelux
action union
action filter_type
action find
entity Denmark
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Austria
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Benelux
relation shares border with
type designation for an administrative territorial entity
['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Benelux', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Denmark property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Austria property:shares_border_with ?p } }
[]
designation for an administrative territorial entity
Q38 Q142 Q145
SYSTEM
Italy, France, United Kingdom
Q20 Q145 Q34 Q213 Q214 Q215 Q347 Q28 Q39 Q38 Q142
(Q35,P47,c(Q15617994)) (Q40,P47,c(Q15617994)) (Q13116,P47,c(Q15617994))
action union
action filter_type
action find
entity Q35
relation P47
type Q15617994
action filter_type
action find
entity Q40
relation P47
type Q15617994
action filter_type
action find
entity Q13116
relation P47
type Q15617994
[ANSWERS] are adjacent to Denmark, Austria and Benelux
['Q35', 'P47', {'concept': 'Q15617994'}] ['Q40', 'P47', {'concept': 'Q15617994'}] ['Q13116', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q35 property:P47 ?p . ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q15617994 . resource:Q40 property:P47 ?p } }
Norway United Kingdom Sweden Czech Republic Slovakia Slovenia Liechtenstein Hungary Switzerland Italy France
Italy, France and United Kingdom are adjacent to Denmark, Austria and Benelux
Italy France United Kingdom
action union
action filter_type
action find
entity Denmark
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Austria
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Benelux
relation shares border with
type designation for an administrative territorial entity
['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Benelux', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Denmark property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Austria property:shares_border_with ?p } }
[]