Skip to main content
. 2023 Feb 11;15(2):505. doi: 10.3390/v15020505
Listing 4. Query to extract the list of all Pango reconbinant lineages with their parents.
PREFIX ns:<https://github.com/jbakkas/SARSMutOnto/blob/main/SARSMutOnto.owl#>
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
SELECT ?l ?c
FROM <https://raw.githubusercontent.com/jbakkas/SARSMutOnto/main/SARSMutOnto.owl>
 
WHERE{
  ?l rdf:subClassOf  ns:recombinant.
  ?l rdf:subClassOf  ?c.
  Filter (?c!=ns:recombinant)
}