Simple Question (Direct)
Simple Question
Q1370493
P264
Q334453
USER
Who sponsored the recoding of Lloyd Cole ?
(Q1370493,P264,c(Q334453))
action filter_type
action find
entity Q1370493
relation P264
type Q334453
['Q1370493', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q334453 . resource:Q1370493 property:P264 ?g }
Lloyd Cole
action filter_type
action find
entity Lloyd Cole
relation record label
type division
['Lloyd Cole', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:division . resource:Lloyd_Cole property:record_label ?g }
[]
division
Q155152
SYSTEM
Polydor Records
Q155152
(Q1370493,P264,c(Q334453))
action filter_type
action find
entity Q1370493
relation P264
type Q334453
The [ANSWER] sponsored the recoding of Lloyd Cole
['Q1370493', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q334453 . resource:Q1370493 property:P264 ?g }
Polydor Records
The Polydor Records sponsored the recoding of Lloyd Cole
Polydor Records
action filter_type
action find
entity Lloyd Cole
relation record label
type division
['Lloyd Cole', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:division . resource:Lloyd_Cole property:record_label ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155152
P159
Q56061
USER
Which administrative territory is the head office of that division ?
(Q155152,P159,c(Q56061))
action filter_type
action find
entity Q155152
relation P159
type Q56061
['Q155152', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q155152 property:P159 ?p . ?p rdf:type ontology:Q56061 }
Polydor Records
action filter_type
action find
entity Polydor Records
relation headquarters location
type administrative territorial entity
['Polydor Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Polydor_Records property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q155152,P159,c(Q56061))
action filter_type
action find
entity Q155152
relation P159
type Q56061
[ANSWER] is the head office of that division
['Q155152', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q155152 property:P159 ?p . ?p rdf:type ontology:Q56061 }
London
London is the head office of that division
London
action filter_type
action find
entity Polydor Records
relation headquarters location
type administrative territorial entity
['Polydor Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Polydor_Records property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types are the registry port of around 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?u ) WHERE { ?p property:P532 ?z . ?p rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?p } . FILTER ( ?u = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?u ) WHERE { ?p property:port_of_registry ?z . ?p rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?u = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?u ) WHERE { ?p property:P532 ?z . ?p rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?p } . FILTER ( ?u = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?u ) WHERE { ?p property:port_of_registry ?z . ?p rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?u = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155152
P17
Q1048835
USER
Which political territory is Polydor Records situated in ?
(Q155152,P17,c(Q1048835))
action filter_type
action find
entity Q155152
relation P17
type Q1048835
['Q155152', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q155152 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Polydor Records
action filter_type
action find
entity Polydor Records
relation country
type political territorial entity
['Polydor Records', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Polydor_Records property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q155152,P17,c(Q1048835))
action filter_type
action find
entity Q155152
relation P17
type Q1048835
Which political territory is Polydor Records situated in
['Q155152', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q155152 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Germany
Which political territory is Polydor Records situated in
Germany
action filter_type
action find
entity Polydor Records
relation country
type political territorial entity
['Polydor Records', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Polydor_Records property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1370493
P106
Q12737077
USER
What do Lloyd Cole do for a living ?
(Q1370493,P106,c(Q12737077))
action filter_type
action find
entity Q1370493
relation P106
type Q12737077
['Q1370493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1370493 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Lloyd Cole
action filter_type
action find
entity Lloyd Cole
relation occupation
type occupation
['Lloyd Cole', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Lloyd_Cole property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q488205 Q177220
SYSTEM
singer-songwriter, singer
Q488205 Q177220
(Q1370493,P106,c(Q12737077))
action filter_type
action find
entity Q1370493
relation P106
type Q12737077
[ANSWERS] Lloyd Cole do for a living
['Q1370493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1370493 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
singer-songwriter singer
Singer-songwriter and singer Lloyd Cole do for a living
singer-songwriter singer
action filter_type
action find
entity Lloyd Cole
relation occupation
type occupation
['Lloyd Cole', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Lloyd_Cole property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1696736
Q12737077
USER
And also tell me about Johann van Aken?
(Q1696736,P106,c(Q12737077))
action filter_type
action find
entity Q1696736
relation P106
type Q12737077
['Q1696736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1696736 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Johann van Aken
action filter_type
action find
entity Johann van Aken
relation occupation
type occupation
['Johann van Aken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Johann_van_Aken property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1696736,P106,c(Q12737077))
action filter_type
action find
entity Q1696736
relation P106
type Q12737077
[ANSWER]
['Q1696736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1696736 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Johann van Aken
relation occupation
type occupation
['Johann van Aken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Johann_van_Aken property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P921
Q223393
USER
Which literary genre has that occupation as its main topic ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] has that occupation as its main topic
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q82955 . ?m rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen has that occupation as its main topic
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:politician . ?m rdf:type ontology:literary_genre }
[]