Simple Question (Direct)
Simple Question
Q107637
P937
Q486972
USER
What is the location where Gunnar Uldall worked ?
(Q107637,P937,c(Q486972))
action filter_type
action find
entity Q107637
relation P937
type Q486972
['Q107637', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q107637 property:P937 ?v . ?v rdf:type ontology:Q486972 }
Gunnar Uldall
action filter_type
action find
entity Gunnar Uldall
relation work location
type human settlement
['Gunnar Uldall', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Gunnar_Uldall property:work_location ?v . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q107637,P937,c(Q486972))
action filter_type
action find
entity Q107637
relation P937
type Q486972
The location Gunnar Uldall worked is in [ANSWER]
['Q107637', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q107637 property:P937 ?v . ?v rdf:type ontology:Q486972 }
Hamburg
The location Gunnar Uldall worked is in Hamburg
Hamburg
action filter_type
action find
entity Gunnar Uldall
relation work location
type human settlement
['Gunnar Uldall', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Gunnar_Uldall property:work_location ?v . ?v rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P504
Q2235308
USER
Which ship types have that human settlement as their home port ?
(c(Q2235308),P504,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q1055']
SELECT DISTINCT ?l WHERE { ?l property:P504 resource:Q1055 . ?l rdf:type ontology:Q2235308 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Hamburg']
SELECT DISTINCT ?l WHERE { ?l property:home_port resource:Hamburg . ?l rdf:type ontology:ship_type }
[]
ship type
Q644078 Q516189 Q469715
SYSTEM
Preußen, German night fighter direction vessel Togo, MV Colombo Express
Q445373 Q644078 Q3557382 Q516189 Q469715
(c(Q2235308),P504,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P504
type Q2235308
[ANSWERS] have that human settlement as their home port
[{'concept': 'Q2235308'}, 'P504', 'Q1055']
SELECT DISTINCT ?l WHERE { ?l property:P504 resource:Q1055 . ?l rdf:type ontology:Q2235308 }
MSC Flaminia Preußen Victor Jara German night fighter direction vessel Togo MV Colombo Express
Preußen, German night fighter direction vessel Togo and MV Colombo Express have that human settlement as their home port
Preußen German night fighter direction vessel Togo MV Colombo Express
action filter_type
action find_reverse
entity Hamburg
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Hamburg']
SELECT DISTINCT ?l WHERE { ?l property:home_port resource:Hamburg . ?l rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q644078 Q516189 Q469715
P504
Q486972
USER
What are the name of the home port of Preußen, German night fighter direction vessel Togo and MV Colombo Express ?
(Q644078,P504,c(Q486972)) (Q516189,P504,c(Q486972)) (Q469715,P504,c(Q486972))
action union
action filter_type
action find
entity Q644078
relation P504
type Q486972
action filter_type
action find
entity Q516189
relation P504
type Q486972
action filter_type
action find
entity Q469715
relation P504
type Q486972
['Q644078', 'P504', {'concept': 'Q486972'}] ['Q516189', 'P504', {'concept': 'Q486972'}] ['Q469715', 'P504', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { { resource:Q644078 property:P504 ?d . ?d rdf:type ontology:Q486972 } UNION { resource:Q516189 property:P504 ?d . ?d rdf:type ontology:Q486972 } }
Preußen German night fighter direction vessel Togo MV Colombo Express
action union
action filter_type
action find
entity Preußen
relation home port
type human settlement
action filter_type
action find
entity German night fighter direction vessel Togo
relation home port
type human settlement
action filter_type
action find
entity MV Colombo Express
relation home port
type human settlement
['Preußen', 'home port', {'concept': 'human settlement'}] ['German night fighter direction vessel Togo', 'home port', {'concept': 'human settlement'}] ['MV Colombo Express', 'home port', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { { resource:Preußen property:home_port ?d . ?d rdf:type ontology:human_settlement } UNION { resource:German_night_fighter_direction_vessel_Togo property:home_port ?d . ?d rdf:type ontology:human_settlement } }
[]
human settlement
Q1055 Q1055 Q1055
SYSTEM
Hamburg
Q1055 Q1055 Q1055
(Q644078,P504,c(Q486972)) (Q516189,P504,c(Q486972)) (Q469715,P504,c(Q486972))
action union
action filter_type
action find
entity Q644078
relation P504
type Q486972
action filter_type
action find
entity Q516189
relation P504
type Q486972
action filter_type
action find
entity Q469715
relation P504
type Q486972
The name of the home port of Preußen , German night fighter direction vessel Togo and MV Colombo Express are in [ANSWER], [ANSWER] and [ANSWER]
['Q644078', 'P504', {'concept': 'Q486972'}] ['Q516189', 'P504', {'concept': 'Q486972'}] ['Q469715', 'P504', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { { resource:Q644078 property:P504 ?d . ?d rdf:type ontology:Q486972 } UNION { resource:Q516189 property:P504 ?d . ?d rdf:type ontology:Q486972 } }
Hamburg Hamburg Hamburg
The name of the home port of Preußen , German night fighter direction vessel Togo and MV Colombo Express are in Hamburg, Hamburg and Hamburg
Hamburg Hamburg Hamburg
action union
action filter_type
action find
entity Preußen
relation home port
type human settlement
action filter_type
action find
entity German night fighter direction vessel Togo
relation home port
type human settlement
action filter_type
action find
entity MV Colombo Express
relation home port
type human settlement
['Preußen', 'home port', {'concept': 'human settlement'}] ['German night fighter direction vessel Togo', 'home port', {'concept': 'human settlement'}] ['MV Colombo Express', 'home port', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { { resource:Preußen property:home_port ?d . ?d rdf:type ontology:human_settlement } UNION { resource:German_night_fighter_direction_vessel_Togo property:home_port ?d . ?d rdf:type ontology:human_settlement } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P163
Q14660
USER
What is the name of flag associated with Hamburg ?
(Q1055,P163,c(Q14660))
action filter_type
action find
entity Q1055
relation P163
type Q14660
['Q1055', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q14660 . resource:Q1055 property:P163 ?y }
Hamburg
action filter_type
action find
entity Hamburg
relation flag
type flag
['Hamburg', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag . resource:Hamburg property:flag ?y }
[]
flag
Q645967
SYSTEM
flag of Hamburg
Q645967
(Q1055,P163,c(Q14660))
action filter_type
action find
entity Q1055
relation P163
type Q14660
The name of flag associated with Hamburg is the [ANSWER]
['Q1055', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q14660 . resource:Q1055 property:P163 ?y }
flag of Hamburg
The name of flag associated with Hamburg is the flag of Hamburg
flag of Hamburg
action filter_type
action find
entity Hamburg
relation flag
type flag
['Hamburg', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag . resource:Hamburg property:flag ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1979
Q14660
USER
And what about Prince Edward Island?
(Q1979,P163,c(Q14660))
action filter_type
action find
entity Q1979
relation P163
type Q14660
['Q1979', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { resource:Q1979 property:P163 ?p . ?p rdf:type ontology:Q14660 }
Prince Edward Island
action filter_type
action find
entity Prince Edward Island
relation flag
type flag
['Prince Edward Island', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { resource:Prince_Edward_Island property:flag ?p . ?p rdf:type ontology:flag }
[]
flag
Q266618
SYSTEM
Flag of Prince Edward Island
Q266618
(Q1979,P163,c(Q14660))
action filter_type
action find
entity Q1979
relation P163
type Q14660
[ANSWER]
['Q1979', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { resource:Q1979 property:P163 ?p . ?p rdf:type ontology:Q14660 }
Flag of Prince Edward Island
Flag of Prince Edward Island
action filter_type
action find
entity Prince Edward Island
relation flag
type flag
['Prince Edward Island', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { resource:Prince_Edward_Island property:flag ?p . ?p rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1979
P37
Q34770
USER
What is the official language of that administrative territory ?
(Q266618,P37,c(Q34770))
action filter_type
action find
entity Q1979
relation P37
type Q34770
['Q266618', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q1979 property:P37 ?s . ?s rdf:type ontology:Q34770 }
Prince Edward Island
action filter_type
action find
entity Prince Edward Island
relation official language
type language
['Flag of Prince Edward Island', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Prince_Edward_Island property:official_language ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q266618,P37,c(Q34770))
action filter_type
action find
entity Q1979
relation P37
type Q34770
The official language of that administrative territory is [ANSWER]
['Q266618', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q1979 property:P37 ?s . ?s rdf:type ontology:Q34770 }
English
The official language of that administrative territory is English
English
action filter_type
action find
entity Prince Edward Island
relation official language
type language
['Flag of Prince Edward Island', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Prince_Edward_Island property:official_language ?s . ?s rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q5322482
P361
Q5962346
USER
How many classification schemes are English or EABR a part of ?
(Q1860,P361,c(Q5962346)) (Q5322482,P361,c(Q5962346))
action count
action union
action filter_type
action find
entity Q1860
relation P361
type Q5962346
action filter_type
action find
entity Q5322482
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}] ['Q5322482', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?w property:P361 ?x . VALUES ( ?w ) { ( resource:Q1860 ) ( resource:Q5322482 ) } }
English EABR
action count
action union
action filter_type
action find
entity English
relation part of
type classification scheme
action filter_type
action find
entity EABR
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}] ['EABR', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?w property:part_of ?x . VALUES ( ?w ) { ( resource:English ) ( resource:EABR ) } }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346)) (Q5322482,P361,c(Q5962346))
action count
action union
action filter_type
action find
entity Q1860
relation P361
type Q5962346
action filter_type
action find
entity Q5322482
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}] ['Q5322482', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?w property:P361 ?x . VALUES ( ?w ) { ( resource:Q1860 ) ( resource:Q5322482 ) } }
Anglic languages Anglo-Frisian languages
2
action count
action union
action filter_type
action find
entity English
relation part of
type classification scheme
action filter_type
action find
entity EABR
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}] ['EABR', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?w property:part_of ?x . VALUES ( ?w ) { ( resource:English ) ( resource:EABR ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P2439
Q2342494
USER
Which collectables have that one as the language related to it ?
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q2342494
SELECT DISTINCT ?o WHERE { ?o property:P2439 resource:Q1860 . ?o rdf:type ontology:Q2342494 }
English
action filter_type
action find_reverse
entity English
relation language
type collectable
SELECT DISTINCT ?o WHERE { ?o property:language resource:English . ?o rdf:type ontology:collectable }
[]
collectable
Q26722700 Q17092835
SYSTEM
To Our Friends, Jar Jar Binks Must Die
Q26722700 Q17092835
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q2342494
[ANSWERS]
SELECT DISTINCT ?o WHERE { ?o property:P2439 resource:Q1860 . ?o rdf:type ontology:Q2342494 }
To Our Friends Jar Jar Binks Must Die
Be To Our Friends and Jar Binks must Die have that one as the language related to it
To Our Friends Jar Jar Binks Must Die
action filter_type
action find_reverse
entity English
relation language
type collectable
SELECT DISTINCT ?o WHERE { ?o property:language resource:English . ?o rdf:type ontology:collectable }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories are the countries of origin of that collectable ?
(Q26722700,P495,c(Q15617994))
['Q26722700', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26722700 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['To Our Friends', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:To_Our_Friends property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q17092835
SYSTEM
Did you mean Jar Jar Binks Must Die ?
(Q26722700,P495,c(Q15617994)) (Q17092835,P495,c(Q15617994))
[ANSWER]
['Q26722700', 'P495', {'concept': 'Q15617994'}] ['Q17092835', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26722700 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Jar Jar Binks Must Die ?
Jar Jar Binks Must Die
['To Our Friends', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Jar Jar Binks Must Die', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:To_Our_Friends property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant To Our Friends. Could you tell me the answer for that?
(Q26722700,P495,c(Q15617994))
Q26722700
['Q26722700', 'P495', {'concept': 'Q15617994'}]
['To Our Friends', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q142
(Q26722700,P495,c(Q15617994))
[ANSWER]
['Q26722700', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26722700 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
France
1
['To Our Friends', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:To_Our_Friends property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]