Skip to content
oscii edited this page Dec 14, 2014 · 1 revision

owl:sameAs for RM persons

SELECT DISTINCT ?rm_person WHERE {
   ?rm_person a ecrm:E21_Person ;
      owl:sameAs ?dbp_person .
   ?dbp_person a dbpedia:Person
}

dbpedia:influenced links from RM to DBPedia

SELECT DISTINCT ?rmA ?dbpA ?influenced WHERE {
   ?rmA a ecrm:E21_Person ;
      owl:sameAs ?dbpA .
   ?dbpA dbpedia:influenced ?influenced .
   ?influenced a dbpedia:Person
}

dbpedia:influenced links from RM to RM

SELECT DISTINCT ?rmA ?dbpA ?rm_influenced WHERE {
   ?rmA a ecrm:E21_Person ;
      owl:sameAs ?dbpA .
   ?dbpA dbpedia:influenced ?influenced .
   ?influenced a dbpedia:Person .
   ?rm_influenced owl:sameAs ?influenced .
   ?rm_influenced a ecrm:E21_Person
}

dbpedia:influencedBy links from RM to DBPedia

SELECT DISTINCT ?rmA ?dbpA ?influencedBy WHERE {
   ?rmA a ecrm:E21_Person ;
      owl:sameAs ?dbpA .
   ?dbpA dbpedia:influencedBy ?influencedBy .
   ?influencedBy a dbpedia:Person
}

dbpedia:influenced links from RM to RM

SELECT DISTINCT ?rmA ?dbpA ?rm_influencedBy WHERE {
   ?rmA a ecrm:E21_Person ;
      owl:sameAs ?dbpA .
   ?dbpA dbpedia:influencedBy ?influenced .
   ?influenced a dbpedia:Person .
   ?rm_influencedBy owl:sameAs ?influenced .
   ?rm_influencedBy a ecrm:E21_Person
}
Clone this wiki locally