Dear Sir or Madam,

let's say I have an ontology, to make things clear and simple it looks like
this one:

a) three classes, every one has two individuals:
Person: Ivan and Ana;
City: London and Paris;
Gender: Male and Female.

b) Ivan from the class "Person" is related to Male from the class "Gender";
London from the class "City" is related to Male from the class "Gender".

How to write the SPARQL query to find/connect Ivan from the class "Person"
to London from the class "City"?

In SQL it would look something the following way (between, it could be
wrong):
SELECT London FROM City WHERE  Ivan=Male AND London=Male;


Sincerely Yours,

Darius Miliauskas

Reply via email to