Question: What imperative programming language is influenced by Java (whose subreddit is java) and is owned by Oracle Corporation (this statement's involved part is trademark)?
Choices:
rape
Harry Potter and the Half-Blood Prince
programming
object-oriented programming
JavaScript
2008 Tour de France
journalism
procedural programming
Batman
Dark Horse Comics
Answer: JavaScript
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "imperative programming" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Java" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "java" .  ?e <owned_by> ?e_2 . ?e_2 <pred:name> "Oracle Corporation" . [ <pred:fact_h> ?e ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_2 ] <applies_to_part> ?qpv . ?qpv <pred:value> "trademark" .  }
Program:
function: Find
inputs: Java
function: FilterStr
dependencies: 0
inputs: subreddit
java
function: Relate
dependencies: 1
inputs: influenced by
backward
function: FilterConcept
dependencies: 2
inputs: imperative programming
function: Find
inputs: Oracle Corporation
function: Relate
dependencies: 4
inputs: owned by
backward
function: QFilterStr
dependencies: 5
inputs: applies to part
trademark
function: FilterConcept
dependencies: 6
inputs: imperative programming
function: And
dependencies: 3
7
function: What
dependencies: 8