Diaganosis from OMIM database and scientific articles from Pubmed database (Federated Query)

Endpoints: 
Query: 
select distinct ?diagnosis ?Pubmed ?Title ?label ?author_article ?fore_name ?last_name where{ { SERVICE <$endpoint-1$>{ ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://bio2rdf.org/omim_vocabulary:Phenotype> . ?s<http://bio2rdf.org/omim_vocabulary:preferred-title> ?Title . ?Title <bif:contains> "'??Title'" . OPTIONAL{ ?s<http://bio2rdf.org/omim_vocabulary:diagnosis> ?diagnosis . } OPTIONAL{ ?s<http://bio2rdf.org/omim_vocabulary:article> ?Pubmed . } } } OPTIONAL { SERVICE <$endpoint-2$>{ ?Pubmed<http://www.w3.org/2000/01/rdf-schema#label>?label . ?Pubmed<http://bio2rdf.org/pubmed_vocabulary:author>?author_article . ?author_article<http://bio2rdf.org/pubmed_vocabulary:fore_name> ?fore_name . ?author_article<http://bio2rdf.org/pubmed_vocabulary:last_name> ?last_name . } } } Limit ??number
Statement: 
Introduce a term $Title$ (e.g., cancer)
Introduce a limit number $number$ (e.g.,10)
Tags: