Simple Question (Direct)
Simple Question
Q2268891
P106
Q12737077
USER
What does Ģirts Karlsons do for a living ?
(Q2268891,P106,c(Q12737077))
action filter_type
action find
entity Q2268891
relation P106
type Q12737077
['Q2268891', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2268891 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Ģirts Karlsons
action filter_type
action find
entity Ģirts Karlsons
relation occupation
type occupation
['Ģirts Karlsons', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ģirts_Karlsons property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2268891,P106,c(Q12737077))
action filter_type
action find
entity Q2268891
relation P106
type Q12737077
Ģirts Karlsons does an [ANSWER] for a living
['Q2268891', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2268891 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
Ģirts Karlsons does an association football player for a living
association football player
action filter_type
action find
entity Ģirts Karlsons
relation occupation
type occupation
['Ģirts Karlsons', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ģirts_Karlsons property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2268891
P19
Q515
USER
Which city was that person born in ?
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q2268891
relation P19
type Q515
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q515 . resource:Q2268891 property:P19 ?r }
Ģirts Karlsons
action filter_type
action find
entity Ģirts Karlsons
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:city . resource:Ģirts_Karlsons property:place_of_birth ?r }
[]
city
Q167668
SYSTEM
Liepāja
Q167668
(Q937857,P19,c(Q515))
action filter_type
action find
entity Q2268891
relation P19
type Q515
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q515 . resource:Q2268891 property:P19 ?r }
Liepāja
That person was born in Liepāja
Liepāja
action filter_type
action find
entity Ģirts Karlsons
relation place of birth
type city
['association football player', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:city . resource:Ģirts_Karlsons property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q167668
P504
Q2235308
USER
Which ship type has that city as its base harbour ?
(c(Q2235308),P504,Q167668)
action filter_type
action find_reverse
entity Q167668
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q167668']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2235308 . ?t property:P504 resource:Q167668 }
Liepāja
action filter_type
action find_reverse
entity Liepāja
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Liepāja']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:ship_type . ?t property:home_port resource:Liepāja }
[]
ship type
Q2986103
SYSTEM
Soviet submarine S-363
Q2986103
(c(Q2235308),P504,Q167668)
action filter_type
action find_reverse
entity Q167668
relation P504
type Q2235308
[ANSWER] has that city as its base harbour
[{'concept': 'Q2235308'}, 'P504', 'Q167668']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2235308 . ?t property:P504 resource:Q167668 }
Soviet submarine S-363
Soviet submarine S-363 has that city as its base harbour
Soviet submarine S-363
action filter_type
action find_reverse
entity Liepāja
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Liepāja']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:ship_type . ?t property:home_port resource:Liepāja }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q167668
P740
Q2088357
USER
Which musical ensemble was formed at that city ?
(c(Q2088357),P740,Q2986103)
action filter_type
action find_reverse
entity Q167668
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q2986103']
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q167668 . ?t rdf:type ontology:Q2088357 }
Liepāja
action filter_type
action find_reverse
entity Liepāja
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Soviet submarine S-363']
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Liepāja . ?t rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q262504
SYSTEM
Coming Soon
Q262504
(c(Q2088357),P740,Q2986103)
action filter_type
action find_reverse
entity Q167668
relation P740
type Q2088357
[ANSWER] was formed at that city
[{'concept': 'Q2088357'}, 'P740', 'Q2986103']
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q167668 . ?t rdf:type ontology:Q2088357 }
Coming Soon
Coming Soon was formed at that city
Coming Soon
action filter_type
action find_reverse
entity Liepāja
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Soviet submarine S-363']
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Liepāja . ?t rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q167668
P6
Q502895
USER
Which person is the head of government of that city ?
(Q262504,P6,c(Q502895))
action filter_type
action find
entity Q167668
relation P6
type Q502895
['Q262504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q167668 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Liepāja
action filter_type
action find
entity Liepāja
relation head of government
type common name
['Coming Soon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Liepāja property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q613690
SYSTEM
Uldis Sesks
Q613690
(Q262504,P6,c(Q502895))
action filter_type
action find
entity Q167668
relation P6
type Q502895
[ANSWER] is the head of government of that city
['Q262504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q167668 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Uldis Sesks
Uldis Sesks is the head of government of that city
Uldis Sesks
action filter_type
action find
entity Liepāja
relation head of government
type common name
['Coming Soon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Liepāja property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q613690
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q613690,P102,c(Q7210356))
action filter_type
action find
entity Q613690
relation P102
type Q7210356
['Q613690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q613690 property:P102 ?x }
Uldis Sesks
action filter_type
action find
entity Uldis Sesks
relation member of political party
type political organization
['Uldis Sesks', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Uldis_Sesks property:member_of_political_party ?x }
[]
political organization
Q11813060
SYSTEM
Liepāja Party
Q11813060
(Q613690,P102,c(Q7210356))
action filter_type
action find
entity Q613690
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q613690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q613690 property:P102 ?x }
Liepāja Party
Liepāja Party is that person a member of
Liepāja Party
action filter_type
action find
entity Uldis Sesks
relation member of political party
type political organization
['Uldis Sesks', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Uldis_Sesks property:member_of_political_party ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q613690
P27
Q15617994
USER
How many administrative territories are the native countriesof Uldis Sesks ?
(Q613690,P27,c(Q15617994))
action count
action filter_type
action find
entity Q613690
relation P27
type Q15617994
['Q613690', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q613690 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Uldis Sesks
action count
action filter_type
action find
entity Uldis Sesks
relation country of citizenship
type designation for an administrative territorial entity
['Uldis Sesks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Uldis_Sesks property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q211
(Q613690,P27,c(Q15617994))
action count
action filter_type
action find
entity Q613690
relation P27
type Q15617994
[ANSWER]
['Q613690', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q613690 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Latvia
1
action count
action filter_type
action find
entity Uldis Sesks
relation country of citizenship
type designation for an administrative territorial entity
['Uldis Sesks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Uldis_Sesks property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7518913
Q15617994
USER
And what about Simon Hansen?
(Q7518913,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7518913
relation P27
type Q15617994
['Q7518913', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q7518913 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Simon Hansen
action count
action filter_type
action find
entity Simon Hansen
relation country of citizenship
type designation for an administrative territorial entity
['Simon Hansen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Simon_Hansen property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7518913,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7518913
relation P27
type Q15617994
[ANSWER]
['Q7518913', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q7518913 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Simon Hansen
relation country of citizenship
type designation for an administrative territorial entity
['Simon Hansen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Simon_Hansen property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1937439 Q167668
P27 P17
Q15617994
USER
Which administrative territories are Liepāja located in or are the native countriesof Anton Verdijk ?
OR((Q167668,P17,c(Q15617994)), (Q1937439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q167668
relation P17
action find
entity Q1937439
relation P27
type Q15617994
{'OR': [['Q167668', 'P17', {'concept': 'Q15617994'}], ['Q1937439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q167668 property:P17 ?m } UNION { resource:Q1937439 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Anton Verdijk Liepāja
action filter_type
action union
action find
entity Liepāja
relation country
action find
entity Anton Verdijk
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Liepāja', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Anton Verdijk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Liepāja property:country ?m } UNION { resource:Anton_Verdijk property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q29999
SYSTEM
Latvia, Kingdom of the Netherlands
Q211 Q29999
OR((Q167668,P17,c(Q15617994)), (Q1937439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q167668
relation P17
action find
entity Q1937439
relation P27
type Q15617994
Liepāja are located in [ANSWERS] or are the native countriesof Anton Verdijk
{'OR': [['Q167668', 'P17', {'concept': 'Q15617994'}], ['Q1937439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q167668 property:P17 ?m } UNION { resource:Q1937439 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Latvia Kingdom of the Netherlands
Liepāja are located in Latvia and Kingdom of the Netherlands or are the native countriesof Anton Verdijk
Latvia Kingdom of the Netherlands
action filter_type
action union
action find
entity Liepāja
relation country
action find
entity Anton Verdijk
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Liepāja', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Anton Verdijk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Liepāja property:country ?m } UNION { resource:Anton_Verdijk property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q343215 Q2986103
P20 P504
Q515
USER
Which cities are the name of the home port of Soviet submarine S-363 or did the expiration of Mimei Ogawa occur ?
OR((Q2986103,P504,c(Q515)), (Q343215,P20,c(Q515)))
action filter_type
action union
action find
entity Q2986103
relation P504
action find
entity Q343215
relation P20
type Q515
{'OR': [['Q2986103', 'P504', {'concept': 'Q515'}], ['Q343215', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2986103 property:P504 ?r } UNION { resource:Q343215 property:P20 ?r } } . ?r rdf:type ontology:Q515 }
Mimei Ogawa Soviet submarine S-363
action filter_type
action union
action find
entity Soviet submarine S-363
relation home port
action find
entity Mimei Ogawa
relation place of death
type city
{'OR': [['Soviet submarine S-363', 'home port', {'concept': 'city'}], ['Mimei Ogawa', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Soviet_submarine_S-363 property:home_port ?r } UNION { resource:Mimei_Ogawa property:place_of_death ?r } } . ?r rdf:type ontology:city }
[]
city
Q167668 Q7473516
SYSTEM
Liepāja, Tokyo
Q167668 Q7473516
OR((Q2986103,P504,c(Q515)), (Q343215,P20,c(Q515)))
action filter_type
action union
action find
entity Q2986103
relation P504
action find
entity Q343215
relation P20
type Q515
[ANSWERS] are the name of the home port of Soviet submarine S-363 or did the expiration of Mimei Ogawa occur
{'OR': [['Q2986103', 'P504', {'concept': 'Q515'}], ['Q343215', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2986103 property:P504 ?r } UNION { resource:Q343215 property:P20 ?r } } . ?r rdf:type ontology:Q515 }
Liepāja Tokyo
Liepāja and Tokyo are the name of the home port of Soviet submarine S-363 or did the expiration of Mimei Ogawa occur
Liepāja Tokyo
action filter_type
action union
action find
entity Soviet submarine S-363
relation home port
action find
entity Mimei Ogawa
relation place of death
type city
{'OR': [['Soviet submarine S-363', 'home port', {'concept': 'city'}], ['Mimei Ogawa', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Soviet_submarine_S-363 property:home_port ?r } UNION { resource:Mimei_Ogawa property:place_of_death ?r } } . ?r rdf:type ontology:city }
[]