Question: What is the relationship between Peter Gabriel (the one whose publication date is 1980-05-30) and Mercury Records?
Choices:
used by
geographic distribution
contains administrative territorial entity
record label
significant person
famous people
notable people with this condition
registered with
programming language
head of state
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Gabriel" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1980-05-30"^^xsd:date . ?e_2 <pred:name> "Mercury Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peter Gabriel
function: FilterDate
dependencies: 0
inputs: publication date
1980-05-30
=
function: Find
inputs: Mercury Records
function: QueryRelation
dependencies: 1
2