PREFIX object_diagram: <http://flandersmake.be/cdf/vocabulary/object_diagram#>
PREFIX immutable: <http://flandersmake.be/cdf/vocabulary/immutable#>

SELECT ?elem
WHERE {
	?model1 immutable:hasUUID "pm1" .
	?model2 immutable:hasUUID "pm2" .
	?model1 object_diagram:hasObject ?elem .
	?model2 object_diagram:hasObject ?elem .
} 