Title list all the documents that two entities are mentioned in -- not working
Sparql
# something along the lines

SELECT ?common_documents WHERE  #distinct might be needed
{	 
	SELECT ?document
WHERE {
	GRAPH prj:disease_gene_microbe_small {
			?denotation tao:denoted_by ?span ; a __ENTITY1__ .
      	#e.g. __ENTITY2__ : http://disease- 
#              ontology.org/term/DOID:0060192
	}
#?span tao:belongs_to ?document . #NOT WORKING, somehow the project #is not being RDF-ized properly
}
UNION
{
SELECT ?document
WHERE {
	GRAPH prj:disease_gene_microbe_small {
			?denotation tao:denoted_by ?span ; a __ENTITY2__ .
      	#e.g. __ENTITY2__ : http://pubannotation.org/projects/disease_gene_microbe_small/stringdb:9606.ENSP00000300589
	}
#?span tao:belongs_to ?document . #NOT WORKING, somehow the project #is not being RDF-ized properly
}

Reasoning false
Comment
Show mode raw
Annotations to show
Priority 0
Active true
belongs to disease_gene_microbe_small
List