usr256
usr256

Reputation: 53

Is there a way to find all the relations that exists between two entities?

I need to populate an ontology in the domain of Music Artists. To get an understanding of the domain which I should populate, I need to find out,

1) All the possible objects related to the particular artist. (Song, Album, Movie etc.) 2) All the possible relations between this celebrity and the object. (Singer Object).

Is there any way to do this manually or through Google API?(I tried this manually by giving this on the google search bar. But it is a hard task to do it manually. Though if there is a way to speed this up, it would be sufficient at the moment.)

Upvotes: 0

Views: 130

Answers (2)

usr256
usr256

Reputation: 53

Found a method to retrieve entities related to a particular object through google knowledge graph API.

Google Knowledge Graph API

Upvotes: 0

Henriette Harmse
Henriette Harmse

Reputation: 4762

What you need is a way to query the web which will combine results from various websites and web pages and present a combined and coherent result to you based on your query. Currently this cannot be done for the web in general. However, the semantic web is an area of research that is trying to achieve exactly that.

Using semantic web technology it is possible to do such queries for parts of the web. DBpedia is a prominent semantic web project that aims to enable arbitrary queries across Wikipedia. DBPedia provides a live end-point that you can query using SPARQL. Referring to DBpedia will give you a brief overview of how this all fits together.

Accessing the live end-point you can run the following SPARQL-query that will give a list of musicians. Clicking on the links in the result page will provide you with more information on each musician.

SELECT ?subject
WHERE {
   ?subject a dbo:MusicalArtist .
}

Good luck!

Upvotes: 1

Related Questions