Hi all, I have developed an ontology file (wollf.owl) to describe movies from a cinema. I have also created the RDF file (wolff.rdf). In the ontology, I describe that a Movie has an object property 'hasActor' which refers to resource Actor. I also define another object property 'becomesActorOf' as an inverse of 'hasActor´ property. So, my intention is if I describe a movie to have an actor, then Jena will automatically infer that that actor becomes actor in that movie.
I wrote a program (WolffQuery.java) to perform query test against the RDF file. The RDF file has a movie resource 'Spectre', which has a statement ':Spectre hasActor Monica_Bellucci'. In my query in the program, I want to test if the question "what movie is starred by Monica Bellucci" by using predicate "becomesActorOf" should result in "Spectre". Unfortunately, the query results nothing. However, if I print all statements from resource 'Monica Bellucci', Jena recognizes that 'Monica Bellucci' has property 'becomesActorOf' which refers to 'Spectre'. My questions are: - Why does my query above result nothing, while Jena itself recognizes the corresponding statement? - Does my approach correct? Generally, what I want to do is to perform some OWL reasoning against my RDF file. Thanks!
wolff.owl
Description: application/rdf
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:wolff-g="http://www.wolff.nl/2016/wolff.owl/genre#"
xmlns:wolff-c="http://www.wolff.nl/2016/wolff.owl/company#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:wolff-m="http://www.wolff.nl/2016/wolff.owl/movie#"
xmlns:ontology="http://dbpedia.org/ontology/"
xmlns:wolff-p="http://www.wolff.nl/2016/wolff.owl/person#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:page="http://dbpedia.org/page/"
xmlns:wolff="http://www.wolff.nl/2016/wolff.owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<owl:Ontology rdf:about="http://www.wolff.nl/2016/wolff.owl"/>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Producer">
<rdfs:subClassOf>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Person"/>
</rdfs:subClassOf>
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Person"/>
<owl:Restriction>
<owl:someValuesFrom>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:someValuesFrom>
<owl:onProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesProducerOf"/>
</owl:onProperty>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Company"/>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Horror">
<rdfs:subClassOf>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Distributor">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Fantasy">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Thriller">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Western">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Adventure">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Documentary">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Drama">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#3D">
<rdfs:subClassOf>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Presentation"/>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Animation">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Actor">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Person"/>
<owl:Restriction>
<owl:someValuesFrom>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:someValuesFrom>
<owl:onProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesActorOf"/>
</owl:onProperty>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Director">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Person"/>
<owl:Restriction>
<owl:someValuesFrom>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:someValuesFrom>
<owl:onProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesDirectorOf"/>
</owl:onProperty>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Action">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Studio">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Romance">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Movie">
<owl:disjointUnionOf rdf:parseType="Collection">
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Company"/>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Genre"/>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Person"/>
</owl:disjointUnionOf>
</owl:Class>
<owl:Class rdf:about="http://www.wolff.nl/2016/wolff.owl#Comedy">
<rdfs:subClassOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:Class>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#isProducedBy">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasPresentation">
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Presentation"/>
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#isDistributedBy">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasGenre">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Genre"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#isGenreOf">
<owl:inverseOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#hasGenre"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesDirectorOf">
<owl:inverseOf>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasDirector"/>
</owl:inverseOf>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#Distributes">
<owl:inverseOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#isDistributedBy"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#Produced">
<owl:inverseOf rdf:resource="http://www.wolff.nl/2016/wolff.owl#isProducedBy"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasDirector">
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesProducerOf">
<owl:inverseOf>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasProducer"/>
</owl:inverseOf>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#becomesActorOf">
<owl:inverseOf>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasActor"/>
</owl:inverseOf>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasActor">
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#hasProducer">
<rdfs:range rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
</owl:ObjectProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#name">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Person"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#language">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#companyURL">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#companyName">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Company"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#releaseDate">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#duration">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="http://www.wolff.nl/2016/wolff.owl#title">
<rdfs:domain rdf:resource="http://www.wolff.nl/2016/wolff.owl#Movie"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/joy">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Robert_De_Niro">
<owl:sameAs>http://dbpedia.org/resource/Robert_De_Niro</owl:sameAs>
<wolff:name>Robert De Niro</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Bradley_Cooper">
<owl:sameAs>http://dbpedia.org/resource/Bradley_Cooper</owl:sameAs>
<wolff:name>Bradley Cooper</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Warner_Bros._Pictures_International_Holland">
<wolff:companyName>Warner Bros. Pictures International Holland</wolff:companyName>
<wolff:companyURL>http://www.warnerbros.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Isabella_Rossellini">
<owl:sameAs>http://dbpedia.org/resource/Isabella_Rossellini</owl:sameAs>
<wolff:name>Isabella Rossellini</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jennifer_Lawrence">
<owl:sameAs>http://dbpedia.org/resource/Jennifer_Lawrence</owl:sameAs>
<wolff:name>Jennifer Lawrence</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>Joy</wolff:title>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>124</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-7T00:00:00</wolff:releaseDate>
<owl:sameAs>http://nl.dbpedia.org/resource/Joy_(film)</owl:sameAs>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#David_O._Russell">
<owl:sameAs>http://dbpedia.org/resource/David_O._Russell</owl:sameAs>
<wolff:name>David O. Russell</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:language>English</wolff:language>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Drama"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-longest-ride">
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>128</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-4-9T00:00:00</wolff:releaseDate>
<owl:sameAs>http://dbpedia.org/resource/The_Longest_Ride_(film)</owl:sameAs>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#George_Tillman_Jr.">
<owl:sameAs>http://dbpedia.org/resource/_Jr.</owl:sameAs>
<wolff:name>George Tillman Jr.</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:title>The Longest Ride</wolff:title>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Brittany_Robertson">
<owl:sameAs>http://dbpedia.org/resource/Britt_Robertson</owl:sameAs>
<wolff:name>Brittany Robertson</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Alan_Alda">
<owl:sameAs>http://dbpedia.org/resource/Alan_Alda</owl:sameAs>
<wolff:name>Alan Alda</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>English</wolff:language>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Scott_Eastwood">
<owl:sameAs>http://dbpedia.org/resource/Scott_Eastwood</owl:sameAs>
<wolff:name>Scott Eastwood</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#20th_Century_Fox_Film_Netherlands_BV">
<wolff:companyName>20th Century Fox Film Netherlands BV</wolff:companyName>
<wolff:companyURL>http://www.foxfilm.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Drama"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/star-wars-the-force-awakens-3d">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#John_Boyega">
<owl:sameAs>http://dbpedia.org/resource/John_Boyega</owl:sameAs>
<wolff:name>John Boyega</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Adventure"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Action"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Daisy_Ridley">
<owl:sameAs>http://dbpedia.org/resource/Daisy_Ridley</owl:sameAs>
<wolff:name>Daisy Ridley</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-16T00:00:00</wolff:releaseDate>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Mark_Hamill">
<owl:sameAs>http://dbpedia.org/resource/Mark_Hamill</owl:sameAs>
<wolff:name>Mark Hamill</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>135</wolff:duration>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Walt_Disney_Studio_Motion_Pictures_(Nederland)_BV">
<wolff:companyName>Walt Disney Studio Motion Pictures (Nederland) BV</wolff:companyName>
<wolff:companyURL>http://www.disney.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Harrison_Ford">
<owl:sameAs>http://dbpedia.org/resource/Harrison_Ford</owl:sameAs>
<wolff:name>Harrison Ford</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>Star Wars: The Force Awakens 3D</wolff:title>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Carrie_Fisher">
<owl:sameAs>http://dbpedia.org/resource/Carrie_Fisher</owl:sameAs>
<wolff:name>Carrie Fisher</wolff:name>
</wolff:Person>
</wolff:hasActor>
<owl:sameAs>http://dbpedia.org/resource/Star_Wars:_The_Force_Awakens</owl:sameAs>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Fantasy"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Oscar_Isaac">
<owl:sameAs>http://dbpedia.org/resource/Oscar_Isaac</owl:sameAs>
<wolff:name>Oscar Isaac</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>English</wolff:language>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jeffrey_(J.J.)_Abrams">
<owl:sameAs>http://dbpedia.org/resource/J._J._Abrams</owl:sameAs>
<wolff:name>Jeffrey (J.J.) Abrams</wolff:name>
</rdf:Description>
</wolff:hasDirector>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/black">
<wolff:title>Nieuw bij Wolff</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/mega-mindy-vs-rox">
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-9T00:00:00</wolff:releaseDate>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Independent_Films_Nederland_BV">
<wolff:companyName>Independent Films Nederland BV</wolff:companyName>
<wolff:companyURL>http://www.independentfilms.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Free_Souffriau">
<owl:sameAs>http://dbpedia.org/resource/Free_Souffriau</owl:sameAs>
<wolff:name>Free Souffriau</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>Mega Mindy vs. ROX</wolff:title>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>85</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jim_Bakkum">
<owl:sameAs>http://dbpedia.org/resource/Jim_Bakkum</owl:sameAs>
<wolff:name>Jim Bakkum</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>Dutch</wolff:language>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Matthias_Temmermans">
<owl:sameAs>http://nl.dbpedia.org/resource/Matthias_Temmermans</owl:sameAs>
<wolff:name>Matthias Temmermans</wolff:name>
</rdf:Description>
</wolff:hasDirector>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/snoopy-en-charlie-brown-de-peanuts-film-3d-nl">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Matheu_Hinzen">
<wolff:name>Matheu Hinzen</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-9T00:00:00</wolff:releaseDate>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Steve_Martino">
<owl:sameAs>http://dbpedia.org/resource/Steve_Martino</owl:sameAs>
<wolff:name>Steve Martino</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Warner_Bros._Pictures_International_Holland"/>
<wolff:language>Dutch</wolff:language>
<wolff:title>Snoopy en Charlie Brown: De Peanuts Film 3D (NL)</wolff:title>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Willem_de_Groot">
<wolff:name>Willem de Groot</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>88</wolff:duration>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-good-dinosaur-3d-nl">
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
<wolff:language>Dutch</wolff:language>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Walt_Disney_Studio_Motion_Pictures_(Nederland)_BV"/>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>100</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-11-25T00:00:00</wolff:releaseDate>
<owl:sameAs>http://dbpedia.org/resource/The_Good_Dinosaur</owl:sameAs>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Peter_Sohn">
<owl:sameAs>http://dbpedia.org/resource/Peter_Sohn</owl:sameAs>
<wolff:name>Peter Sohn</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:title>The Good Dinosaur 3D (NL)</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/dummie-de-mummie-en-de-sfinx-van-shakaba">
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Dutch_Filmworks_BV">
<wolff:companyName>Dutch Filmworks BV</wolff:companyName>
<wolff:companyURL>http://www.dfw.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Julian_Ras">
<wolff:name>Julian Ras</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Marcel_Hensema">
<owl:sameAs>http://dbpedia.org/resource/Marcel_Hensema</owl:sameAs>
<wolff:name>Marcel Hensema</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jennifer_Hoffman">
<owl:sameAs>http://nl.dbpedia.org/resource/Jennifer_Hoffman</owl:sameAs>
<wolff:name>Jennifer Hoffman</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-9T00:00:00</wolff:releaseDate>
<wolff:title>Dummie de Mummie en de Sfinx van Shakaba</wolff:title>
<wolff:language>Dutch</wolff:language>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>80</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Roeland_Fernhout">
<owl:sameAs>http://nl.dbpedia.org/resource/Roeland_Fernhout</owl:sameAs>
<wolff:name>Roeland Fernhout</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Pim_van_Hoeve">
<owl:sameAs>http://nl.dbpedia.org/resource/Pim_van_Hoeve</owl:sameAs>
<wolff:name>Pim van Hoeve</wolff:name>
</rdf:Description>
</wolff:hasDirector>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/kocan-kadar-konus-dirilis">
<wolff:language>Turkish</wolff:language>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>108</wolff:duration>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-7T00:00:00</wolff:releaseDate>
<wolff:title>Kocan Kadar Konuş: Diriliş</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/snoopy-en-charlie-brown-de-peanuts-film-nl">
<wolff:language>Dutch</wolff:language>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-9T00:00:00</wolff:releaseDate>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Warner_Bros._Pictures_International_Holland"/>
<wolff:title>Snoopy en Charlie Brown: De Peanuts Film (NL)</wolff:title>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Willem_de_Groot"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Matheu_Hinzen"/>
<wolff:hasDirector rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Steve_Martino"/>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>88</wolff:duration>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/bon-bini-holland">
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jelle_de_Jonge">
<wolff:name>Jelle de Jonge</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:language>Dutch</wolff:language>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>88</wolff:duration>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-10T00:00:00</wolff:releaseDate>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jandino_Asporaat">
<owl:sameAs>http://nl.dbpedia.org/resource/Jandino_Asporaat</owl:sameAs>
<wolff:name>Jandino Asporaat</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>Bon Bini Holland</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-good-dinosaur-nl">
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>100</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-11-25T00:00:00</wolff:releaseDate>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Gerard_Ekdom">
<owl:sameAs>http://dbpedia.org/resource/Gerard_Ekdom</owl:sameAs>
<wolff:name>Gerard Ekdom</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasDirector rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Peter_Sohn"/>
<wolff:title>The Good Dinosaur (NL)</wolff:title>
<owl:sameAs>http://dbpedia.org/resource/The_Good_Dinosaur</owl:sameAs>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Ramon_Andriessen">
<wolff:name>Ramon Andriessen</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Walt_Disney_Studio_Motion_Pictures_(Nederland)_BV"/>
<wolff:language>Dutch</wolff:language>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Svenno_van_der_Kleij">
<wolff:name>Svenno van der Kleij</wolff:name>
</wolff:Person>
</wolff:hasActor>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-danish-girl">
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>120</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Amber_Heard">
<owl:sameAs>http://dbpedia.org/resource/Amber_Heard</owl:sameAs>
<wolff:name>Amber Heard</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Universal_Pictures_International_Netherlands_BV">
<wolff:companyName>Universal Pictures International Netherlands BV</wolff:companyName>
<wolff:companyURL>http://www.universalpictures.nl</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Drama"/>
<wolff:language>English</wolff:language>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Ben_Whishaw">
<owl:sameAs>http://dbpedia.org/resource/Ben_Whishaw</owl:sameAs>
<wolff:name>Ben Whishaw</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Eddie_Redmayne">
<owl:sameAs>http://dbpedia.org/resource/Eddie_Redmayne</owl:sameAs>
<wolff:name>Eddie Redmayne</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-14T00:00:00</wolff:releaseDate>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Alicia_Vikander">
<owl:sameAs>http://dbpedia.org/resource/Alicia_Vikander</owl:sameAs>
<wolff:name>Alicia Vikander</wolff:name>
</wolff:Person>
</wolff:hasActor>
<owl:sameAs>http://nl.dbpedia.org/resource/The_Danish_Girl</owl:sameAs>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Tom_Hooper">
<owl:sameAs>http://dbpedia.org/resource/Tom_Hooper</owl:sameAs>
<wolff:name>Tom Hooper</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:title>The Danish Girl</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/buurman-en-buurman-al-40-jaar-beste-vrienden">
<wolff:language>Dutch</wolff:language>
<wolff:title>Buurman & Buurman al 40 jaar beste vrienden!</wolff:title>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Lemming_Film_Distributie">
<wolff:companyName>Lemming Film Distributie</wolff:companyName>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Siem_van_Leeuwen">
<owl:sameAs>http://nl.dbpedia.org/resource/Siem_van_Leeuwen</owl:sameAs>
<wolff:name>Siem van Leeuwen</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>56</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-31T00:00:00</wolff:releaseDate>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Kees_Prins">
<owl:sameAs>http://nl.dbpedia.org/resource/Kees_Prins</owl:sameAs>
<wolff:name>Kees Prins</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Marek_Bene">
<wolff:name>Marek Bene</wolff:name>
</rdf:Description>
</wolff:hasDirector>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-hunger-games-mockingjay-part-2">
<wolff:language>English</wolff:language>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Francis_Lawrence">
<owl:sameAs>http://dbpedia.org/resource/Francis_Lawrence</owl:sameAs>
<wolff:name>Francis Lawrence</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Elizabeth_Banks">
<owl:sameAs>http://dbpedia.org/resource/Elizabeth_Banks</owl:sameAs>
<wolff:name>Elizabeth Banks</wolff:name>
</wolff:Person>
</wolff:hasActor>
<owl:sameAs>http://dbpedia.org/resource/The_Hunger_Games:_Mockingjay_%E2%80%93_Part_2</owl:sameAs>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Independent_Films_Nederland_BV"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Adventure"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Jennifer_Lawrence"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Josh_Hutcherson">
<owl:sameAs>http://dbpedia.org/resource/Josh_Hutcherson</owl:sameAs>
<wolff:name>Josh Hutcherson</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-11-18T00:00:00</wolff:releaseDate>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Action"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Woody_Harrelson">
<owl:sameAs>http://dbpedia.org/resource/Woody_Harrelson</owl:sameAs>
<wolff:name>Woody Harrelson</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>The Hunger Games: Mockingjay - Part 2</wolff:title>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>136</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Liam_Hemsworth">
<owl:sameAs>http://dbpedia.org/resource/Liam_Hemsworth</owl:sameAs>
<wolff:name>Liam Hemsworth</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Drama"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/mannenharten-2">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Hadewych_Minis">
<owl:sameAs>http://nl.dbpedia.org/resource/Hadewych_Minis</owl:sameAs>
<wolff:name>Hadewych Minis</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Katja_Herbers">
<owl:sameAs>http://dbpedia.org/resource/Katja_Herbers</owl:sameAs>
<wolff:name>Katja Herbers</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Romance"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>90</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jeroen_Spitzenberger">
<owl:sameAs>http://nl.dbpedia.org/resource/Jeroen_Spitzenberger</owl:sameAs>
<wolff:name>Jeroen Spitzenberger</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Daan_Schuurmans">
<owl:sameAs>http://dbpedia.org/resource/Daan_Schuurmans</owl:sameAs>
<wolff:name>Daan Schuurmans</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-17T00:00:00</wolff:releaseDate>
<wolff:title>Mannenharten 2</wolff:title>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Mark_Cloe,_de">
<wolff:name>Mark Cloe, de</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Barry_Atsma">
<owl:sameAs>http://dbpedia.org/resource/Barry_Atsma</owl:sameAs>
<wolff:name>Barry Atsma</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Dutch_Filmworks_BV"/>
<wolff:language>Dutch</wolff:language>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/woezel-en-pip-op-zoek-naar-de-sloddervos">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Willeke_Alberti">
<owl:sameAs>http://dbpedia.org/resource/Willeke_Alberti</owl:sameAs>
<wolff:name>Willeke Alberti</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Edwin_Rutten">
<owl:sameAs>http://nl.dbpedia.org/resource/Edwin_Rutten</owl:sameAs>
<wolff:name>Edwin Rutten</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Manaycha_Draaibas">
<wolff:name>Manaycha Draaibas</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Rijk_Aardse">
<wolff:name>Rijk Aardse</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>Dutch</wolff:language>
<wolff:title>Woezel & Pip Op zoek naar de Sloddervos!</wolff:title>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Family"/>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Dutch_Filmworks_BV"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Johnny_de_Mol">
<owl:sameAs>http://dbpedia.org/resource/Johnny_de_Mol</owl:sameAs>
<wolff:name>Johnny de Mol</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Patrick_Raats">
<wolff:name>Patrick Raats</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-20T00:00:00</wolff:releaseDate>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>70</wolff:duration>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/spectre">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Ralph_Fiennes">
<owl:sameAs>http://dbpedia.org/resource/Ralph_Fiennes</owl:sameAs>
<wolff:name>Ralph Fiennes</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Daniel_Craig">
<owl:sameAs>http://dbpedia.org/resource/Daniel_Craig</owl:sameAs>
<wolff:name>Daniel Craig</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Monica_Bellucci">
<owl:sameAs>http://dbpedia.org/resource/Monica_Bellucci</owl:sameAs>
<wolff:name>Monica Bellucci</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Ben_Whishaw"/>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Sam_Mendes">
<owl:sameAs>http://dbpedia.org/resource/Sam_Mendes</owl:sameAs>
<wolff:name>Sam Mendes</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-10-29T00:00:00</wolff:releaseDate>
<owl:sameAs>http://dbpedia.org/resource/Spectre_(2015_film)</owl:sameAs>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Universal_Pictures_International_Netherlands_BV"/>
<wolff:title>SPECTRE</wolff:title>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Action"/>
<wolff:language>English</wolff:language>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>148</wolff:duration>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-hunger-games-mockingjay-part-2-3d">
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Josh_Hutcherson"/>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Scott_Hicks">
<owl:sameAs>http://dbpedia.org/resource/Scott_Hicks</owl:sameAs>
<wolff:name>Scott Hicks</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-11-18T00:00:00</wolff:releaseDate>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>136</wolff:duration>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:title>The Hunger Games: Mockingjay - Part 2 3D</wolff:title>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Donald_Sutherland">
<owl:sameAs>http://dbpedia.org/resource/Donald_Sutherland</owl:sameAs>
<wolff:name>Donald Sutherland</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Independent_Films_Nederland_BV"/>
<owl:sameAs>http://dbpedia.org/resource/The_Hunger_Games:_Mockingjay_%E2%80%93_Part_2</owl:sameAs>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Jennifer_Lawrence"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Liam_Hemsworth"/>
<wolff:language>English</wolff:language>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/star-wars-the-force-awakens">
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Fantasy"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Oscar_Isaac"/>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Walt_Disney_Studio_Motion_Pictures_(Nederland)_BV"/>
<wolff:title>Star Wars: The Force Awakens</wolff:title>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#John_Boyega"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-16T00:00:00</wolff:releaseDate>
<wolff:language>English</wolff:language>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Mark_Hamill"/>
<wolff:hasDirector rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Jeffrey_(J.J.)_Abrams"/>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>135</wolff:duration>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Action"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Adventure"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Carrie_Fisher"/>
<owl:sameAs>http://dbpedia.org/resource/Star_Wars:_The_Force_Awakens</owl:sameAs>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Daisy_Ridley"/>
<wolff:hasActor rdf:resource="http://www.wolff.nl/2016/wolff.owl/person#Harrison_Ford"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/er-ist-wieder-da">
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#David_Wnendt">
<owl:sameAs>http://de.dbpedia.org/resource/David_Wnendt</owl:sameAs>
<wolff:name>David Wnendt</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Dutch_Filmworks_BV"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:title>Er Ist Wieder Da</wolff:title>
<wolff:language>German</wolff:language>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Oliver_Masucci">
<owl:sameAs>http://de.dbpedia.org/resource/Oliver_Masucci</owl:sameAs>
<wolff:name>Oliver Masucci</wolff:name>
</wolff:Person>
</wolff:hasActor>
<owl:sameAs>http://de.dbpedia.org/resource/Er_ist_wieder_da_(Film)</owl:sameAs>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>110</wolff:duration>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-11-26T00:00:00</wolff:releaseDate>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/fashion-chicks">
<wolff:title>Fashion Chicks</wolff:title>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-12-2T00:00:00</wolff:releaseDate>
<wolff:language>Dutch</wolff:language>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>93</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Victoria_Koblenko">
<owl:sameAs>http://dbpedia.org/resource/Victoria_Koblenko</owl:sameAs>
<wolff:name>Victoria Koblenko</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jonathan_Elbers">
<wolff:name>Jonathan Elbers</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Liza_Sips">
<owl:sameAs>http://nl.dbpedia.org/resource/Liza_Sips</owl:sameAs>
<wolff:name>Liza Sips</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#Just_Film_Distribution">
<wolff:companyName>Just Film Distribution</wolff:companyName>
<wolff:companyURL>http://www.justonline.nl/</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/the-hateful-eight">
<wolff:language>English</wolff:language>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Bruce_Dern">
<owl:sameAs>http://dbpedia.org/resource/Bruce_Dern</owl:sameAs>
<wolff:name>Bruce Dern</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Samuel_L._Jackson">
<owl:sameAs>http://dbpedia.org/resource/Samuel_L._Jackson</owl:sameAs>
<wolff:name>Samuel L. Jackson</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Tim_Roth">
<owl:sameAs>http://dbpedia.org/resource/Tim_Roth</owl:sameAs>
<wolff:name>Tim Roth</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:isDistributedBy>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/company#eOne">
<wolff:companyName>eOne</wolff:companyName>
<wolff:companyURL>http://benelux.eonefilms.com/home</wolff:companyURL>
</rdf:Description>
</wolff:isDistributedBy>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Western"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-7T00:00:00</wolff:releaseDate>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>167</wolff:duration>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Quentin_Tarantino">
<owl:sameAs>http://dbpedia.org/resource/Quentin_Tarantino</owl:sameAs>
<wolff:name>Quentin Tarantino</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<owl:sameAs>http://dbpedia.org/resource/The_Hateful_Eight</owl:sameAs>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Michael_Madsen">
<owl:sameAs>http://dbpedia.org/resource/Michael_Madsen</owl:sameAs>
<wolff:name>Michael Madsen</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Jennifer_Jason_Leigh">
<owl:sameAs>http://dbpedia.org/resource/Jennifer_Jason_Leigh</owl:sameAs>
<wolff:name>Jennifer Jason Leigh</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Kurt_Russell">
<owl:sameAs>http://dbpedia.org/resource/Kurt_Russell</owl:sameAs>
<wolff:name>Kurt Russell</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:title>The Hateful Eight</wolff:title>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/race-naar-de-maan-3d-nl">
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Universal_Pictures_International_Netherlands_BV"/>
<wolff:title>Race naar de maan 3D (NL)</wolff:title>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-13T00:00:00</wolff:releaseDate>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Enrique_Gato">
<owl:sameAs>http://dbpedia.org/resource/Enrique_Gato</owl:sameAs>
<wolff:name>Enrique Gato</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>94</wolff:duration>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Tim_Knol">
<owl:sameAs>http://dbpedia.org/resource/Tim_Knol</owl:sameAs>
<wolff:name>Tim Knol</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>Dutch</wolff:language>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Tara_Hetharia">
<wolff:name>Tara Hetharia</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Sander_Slingerland">
<wolff:name>Sander Slingerland</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Animation"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/daddys-home">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Linda_Cardellini">
<owl:sameAs>http://dbpedia.org/resource/Linda_Cardellini</owl:sameAs>
<wolff:name>Linda Cardellini</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Will_Ferrell">
<owl:sameAs>http://dbpedia.org/resource/Will_Ferrell</owl:sameAs>
<wolff:name>Will Ferrell</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:language>English</wolff:language>
<wolff:title>Daddy's Home</wolff:title>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>96</wolff:duration>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Sean_Anders">
<owl:sameAs>http://dbpedia.org/resource/Sean_Anders</owl:sameAs>
<wolff:name>Sean Anders</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Mark_Wahlberg">
<owl:sameAs>http://dbpedia.org/resource/Mark_Wahlberg</owl:sameAs>
<wolff:name>Mark Wahlberg</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-14T00:00:00</wolff:releaseDate>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Comedy"/>
<owl:sameAs>http://dbpedia.org/resource/Daddy's_Home_(film)</owl:sameAs>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Universal_Pictures_International_Netherlands_BV"/>
</wolff:Movie>
<wolff:Movie rdf:about="http://www.wolff.nl/2016/wolff.owl/movie#/films/point-break-3d">
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Édgar_Ramírez">
<owl:sameAs>http://nl.dbpedia.org/resource/Édgar_Ramírez</owl:sameAs>
<wolff:name>Édgar Ramírez</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Luke_Bracey">
<owl:sameAs>http://dbpedia.org/resource/Luke_Bracey</owl:sameAs>
<wolff:name>Luke Bracey</wolff:name>
</wolff:Person>
</wolff:hasActor>
<wolff:hasGenre rdf:resource="http://www.wolff.nl/2016/wolff.owl/genre#Action"/>
<owl:sameAs>http://dbpedia.org/resource/Point_Break_(2015_film)</owl:sameAs>
<wolff:hasPresentation rdf:resource="http://www.wolff.nl/2016/wolff.owl#3D"/>
<wolff:releaseDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2016-1-7T00:00:00</wolff:releaseDate>
<wolff:isDistributedBy rdf:resource="http://www.wolff.nl/2016/wolff.owl/company#Dutch_Filmworks_BV"/>
<wolff:title>Point Break 3D</wolff:title>
<wolff:duration rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>113</wolff:duration>
<wolff:hasDirector>
<rdf:Description rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Ericson_Core">
<owl:sameAs>http://nl.dbpedia.org/resource/Ericson_Core</owl:sameAs>
<wolff:name>Ericson Core</wolff:name>
</rdf:Description>
</wolff:hasDirector>
<wolff:language>English</wolff:language>
<wolff:hasActor>
<wolff:Person rdf:about="http://www.wolff.nl/2016/wolff.owl/person#Teresa_Palmer">
<owl:sameAs>http://dbpedia.org/resource/Teresa_Palmer</owl:sameAs>
<wolff:name>Teresa Palmer</wolff:name>
</wolff:Person>
</wolff:hasActor>
</wolff:Movie>
</rdf:RDF>
import org.apache.jena.ontology.OntModel;
import org.apache.jena.ontology.OntModelSpec;
import org.apache.jena.query.Query;
import org.apache.jena.query.QueryExecution;
import org.apache.jena.query.QueryExecutionFactory;
import org.apache.jena.query.QueryFactory;
import org.apache.jena.query.ResultSet;
import org.apache.jena.query.ResultSetFormatter;
import org.apache.jena.rdf.model.InfModel;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.RDFNode;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.rdf.model.Statement;
import org.apache.jena.rdf.model.StmtIterator;
import org.apache.jena.reasoner.Reasoner;
import org.apache.jena.reasoner.ReasonerRegistry;
import org.apache.jena.util.FileManager;
import org.apache.jena.util.PrintUtil;
public class WolffQuery {
private static final String ONTOLOGY = "wolff.owl";
private static final String RDF_DATA = "wolff.rdf";
public static void main(String[] args) {
OntModel ont = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM_RULE_INF);
ont.read(ONTOLOGY, "RDF/XML");
Reasoner reasoner = ReasonerRegistry.getOWLReasoner();
reasoner = reasoner.bindSchema(ont);
Model data = FileManager.get().loadModel(RDF_DATA);
InfModel infModel = ModelFactory.createInfModel(reasoner, data);
// Query: which movie is starred by Monica Bellucci?
// in RDF file, movie 'Spectre' has property 'hasActor' which one of it refers to Monica Bellucci.
// In wolff.owl, the inverse of 'hasActor' is defined by 'becomesActorOf'.
// Thus, the query below should result in Spectre (due to the inference).
// But somehow, it shows nothing.
// (Continued in the next comment)
String queryString = "PREFIX cat: <http://dbpedia.org/resource/Category:> " +
"PREFIX skos: <http://www.w3.org/2004/02/skos/core#> " +
"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> " +
"PREFIX owl: <http://www.w3.org/2002/07/owl#> " +
"PREFIX foaf: <http://xmlns.com/foaf/0.1/> " +
"PREFIX dbo: <http://dbpedia.org/ontology/> " +
"PREFIX : <http://dbpedia.org/resource/>" +
"PREFIX dbpedia2: <http://dbpedia.org/property/>" +
"PREFIX wolff: <http://www.wolff.nl/2016/wolff.owl#>" +
"PREFIX wolff-p: <http://www.wolff.nl/2016/wolff.owl/person#>" +
"SELECT ?movie WHERE {"+
"wolff-p:Monica_Bellucci wolff:becomesActorOf ?movie ." +
"}";
Query query = QueryFactory.create(queryString);
QueryExecution qe = QueryExecutionFactory.create(query, data);
ResultSet results = qe.execSelect();
System.out.println("Run query: ");
ResultSetFormatter.out(System.out, results, query);
// Surprisingly, the following lines result all inferences from resource 'Monica Bellucci', and
// one of those is the inference that she becomesActorOf Spectre.
// But this inference is not displayed in the previous SPARQL query.
Resource belucci = infModel.getResource("http://www.wolff.nl/2016/wolff.owl/person#Monica_Bellucci");
System.out.println("Print all statements of Monica_Bellucci: ");
for(StmtIterator i = infModel.listStatements(belucci, (Property)null, (RDFNode)null); i.hasNext(); ) {
Statement stmt = i.nextStatement();
System.out.println(" - " + PrintUtil.print(stmt));
}
}
}
