Simple Question (Direct)
Simple Question
Q1389301
P54
Q12973014
USER
Which sports teams are Sami Ryhänen a member of ?
(Q1389301,P54,c(Q12973014))
action filter_type
action find
entity Q1389301
relation P54
type Q12973014
['Q1389301', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q1389301 property:P54 ?v }
Sami Ryhänen
action filter_type
action find
entity Sami Ryhänen
relation member of sports team
type sports team
['Sami Ryhänen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Sami_Ryhänen property:member_of_sports_team ?v }
[]
sports team
Q1653574 Q290501
SYSTEM
IF Björklöven, Étoile Noire de Strasbourg
Q1653574 Q290501
(Q1389301,P54,c(Q12973014))
action filter_type
action find
entity Q1389301
relation P54
type Q12973014
[ANSWERS] are Sami Ryhänen a member of
['Q1389301', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12973014 . resource:Q1389301 property:P54 ?v }
IF Björklöven Étoile Noire de Strasbourg
IF Björklöven and Étoile Noire de Strasbourg are Sami Ryhänen a member of
IF Björklöven Étoile Noire de Strasbourg
action filter_type
action find
entity Sami Ryhänen
relation member of sports team
type sports team
['Sami Ryhänen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sports_team . resource:Sami_Ryhänen property:member_of_sports_team ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1653574 Q290501
P466
Q811979
USER
Which architectural structures were inhabited by those sports teams ?
(c(Q811979),P466,Q1653574) (c(Q811979),P466,Q290501)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q1653574'] [{'concept': 'Q811979'}, 'P466', 'Q290501']
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Q1653574 ) ( resource:Q290501 ) } . ?h rdf:type ontology:Q811979 . ?h property:P466 ?x }
IF Björklöven Étoile Noire de Strasbourg
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'IF Björklöven'] [{'concept': 'architectural structure'}, 'occupant', 'Étoile Noire de Strasbourg']
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:IF_Björklöven ) ( resource:Étoile_Noire_de_Strasbourg ) } . ?h rdf:type ontology:architectural_structure . ?h property:occupant ?x }
[]
architectural structure
Q3303308 Q3368771
SYSTEM
Umeå Arena, Patinoire Iceberg
Q3303308 Q3368771
(c(Q811979),P466,Q1653574) (c(Q811979),P466,Q290501)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
[ANSWERS] were inhabited by those sports teams
[{'concept': 'Q811979'}, 'P466', 'Q1653574'] [{'concept': 'Q811979'}, 'P466', 'Q290501']
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:Q1653574 ) ( resource:Q290501 ) } . ?h rdf:type ontology:Q811979 . ?h property:P466 ?x }
Umeå Arena Patinoire Iceberg
Umeå Arena and Patinoire Iceberg were inhabited by those sports teams
Umeå Arena Patinoire Iceberg
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'IF Björklöven'] [{'concept': 'architectural structure'}, 'occupant', 'Étoile Noire de Strasbourg']
SELECT DISTINCT ?h WHERE { VALUES ( ?x ) { ( resource:IF_Björklöven ) ( resource:Étoile_Noire_de_Strasbourg ) } . ?h rdf:type ontology:architectural_structure . ?h property:occupant ?x }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1653574
P495
Q15617994
USER
What is the country of origin of that sports team ?
(Q1653574,P495,c(Q15617994))
action filter_type
action find
entity Q1653574
relation P495
type Q15617994
['Q1653574', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1653574 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
IF Björklöven
action filter_type
action find
entity IF Björklöven
relation country of origin
type designation for an administrative territorial entity
['IF Björklöven', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:IF_Björklöven property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1653574
SYSTEM
Did you mean IF Björklöven ?
Q3303308 Q3368771
(Q3303308,P495,c(Q15617994)) (Q3368771,P495,c(Q15617994))
[ANSWER]
['Q3303308', 'P495', {'concept': 'Q15617994'}] ['Q3368771', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1653574 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Umeå Arena Patinoire Iceberg
Did you mean IF Björklöven ?
IF Björklöven
['Umeå Arena', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Patinoire Iceberg', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:IF_Björklöven property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1653574,P495,c(Q15617994))
['Q1653574', 'P495', {'concept': 'Q15617994'}]
['IF Björklöven', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q34
SYSTEM
Sweden
Q34
(Q1653574,P495,c(Q15617994))
action filter_type
action find
entity Q1653574
relation P495
type Q15617994
The country of origin of that sports team is in [ANSWER]
['Q1653574', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1653574 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Sweden
The country of origin of that sports team is in Sweden
Sweden
action filter_type
action find
entity IF Björklöven
relation country of origin
type designation for an administrative territorial entity
['IF Björklöven', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:IF_Björklöven property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P1313
Q12737077
USER
Which occupation is fulfilled by that administrative territory ?
(Q34,P1313,c(Q12737077))
action filter_type
action find
entity Q34
relation P1313
type Q12737077
['Q34', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q34 property:P1313 ?o . ?o rdf:type ontology:Q12737077 }
Sweden
action filter_type
action find
entity Sweden
relation office held by head of government
type occupation
['Sweden', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Sweden property:office_held_by_head_of_government ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q687075
SYSTEM
Prime Minister of Sweden
Q687075
(Q34,P1313,c(Q12737077))
action filter_type
action find
entity Q34
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that administrative territory
['Q34', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q34 property:P1313 ?o . ?o rdf:type ontology:Q12737077 }
Prime Minister of Sweden
The Prime Minister of Sweden is fulfilled by that administrative territory
Prime Minister of Sweden
action filter_type
action find
entity Sweden
relation office held by head of government
type occupation
['Sweden', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Sweden property:office_held_by_head_of_government ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P30
Q2221906
USER
Where is Sweden located ?
(Q34,P30,c(Q2221906))
action filter_type
action find
entity Q34
relation P30
type Q2221906
['Q34', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2221906 . resource:Q34 property:P30 ?t }
Sweden
action filter_type
action find
entity Sweden
relation continent
type geographic location
['Sweden', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:geographic_location . resource:Sweden property:continent ?t }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q34,P30,c(Q2221906))
action filter_type
action find
entity Q34
relation P30
type Q2221906
Sweden is located in [ANSWER]
['Q34', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2221906 . resource:Q34 property:P30 ?t }
Europe
Sweden is located in Europe
Europe
action filter_type
action find
entity Sweden
relation continent
type geographic location
['Sweden', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:geographic_location . resource:Sweden property:continent ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P36
Q56061
USER
What is the capital of that administrative territory ?
(Q46,P36,c(Q56061))
action filter_type
action find
entity Q34
relation P36
type Q56061
['Q46', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q34 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Sweden
action filter_type
action find
entity Sweden
relation capital
type administrative territorial entity
['Europe', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sweden property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q46,P36,c(Q56061))
action filter_type
action find
entity Q34
relation P36
type Q56061
The capital of that administrative territory is [ANSWER]
['Q46', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q34 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Stockholm
The capital of that administrative territory is Stockholm
Stockholm
action filter_type
action find
entity Sweden
relation capital
type administrative territorial entity
['Europe', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sweden property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1754 Q6763311
P190
Q56061
USER
Is Mariira sister town of that one ?
(Q6763311,P190,Q1754)
action is_in
entity Q6763311
action find
entity Q1754
relation P190
['Q6763311', 'P190', 'Q1754']
ASK WHERE { resource:Q1754 property:P190 resource:Q6763311 }
Stockholm Mariira
action is_in
entity Mariira
action find
entity Stockholm
relation sister city
['Mariira', 'sister city', 'Stockholm']
ASK WHERE { resource:Stockholm property:sister_city resource:Mariira }
[]
administrative territorial entity
SYSTEM
NO
(Q6763311,P190,Q1754)
action is_in
entity Q6763311
action find
entity Q1754
relation P190
[ANSWER]
['Q6763311', 'P190', 'Q1754']
ASK WHERE { resource:Q1754 property:P190 resource:Q6763311 }
No
action is_in
entity Mariira
action find
entity Stockholm
relation sister city
['Mariira', 'sister city', 'Stockholm']
ASK WHERE { resource:Stockholm property:sister_city resource:Mariira }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have exactly 1 administrative territory as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?d ) WHERE { ?z property:P532 ?i . ?z rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?d = 1 ) }
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?d ) WHERE { ?z property:port_of_registry ?i . ?z rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWERS] have exactly 1 administrative territory as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?d ) WHERE { ?z property:P532 ?i . ?z rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?d = 1 ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have exactly 1 administrative territory as their base harbour
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?d ) WHERE { ?z property:port_of_registry ?i . ?z rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q983141
P504
Q56061
USER
What serves the home port of MY Sam Simon ?
(Q983141,P504,c(Q56061))
action filter_type
action find
entity Q983141
relation P504
type Q56061
['Q983141', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q983141 property:P504 ?g . ?g rdf:type ontology:Q56061 }
MY Sam Simon
action filter_type
action find
entity MY Sam Simon
relation home port
type administrative territorial entity
['MY Sam Simon', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:MY_Sam_Simon property:home_port ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370
SYSTEM
Rotterdam
Q34370
(Q983141,P504,c(Q56061))
action filter_type
action find
entity Q983141
relation P504
type Q56061
[ANSWER] serves the home port of MY Sam Simon
['Q983141', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q983141 property:P504 ?g . ?g rdf:type ontology:Q56061 }
Rotterdam
Rotterdam serves the home port of MY Sam Simon
Rotterdam
action filter_type
action find
entity MY Sam Simon
relation home port
type administrative territorial entity
['MY Sam Simon', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:MY_Sam_Simon property:home_port ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]