SELECT DISTINCT ?x0 WHERE { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c0_x2 { ?c0_x2 a <http://erlangen-crm.org/170309/E55_Type> } . GRAPH ?g_c0_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P2_has_type> ?c0_x2 . } UNION { ?c0_x2 <http://erlangen-crm.org/170309/P2i_is_type_of> ?x0 . } } . } . GRAPH ?g_c0_x4 { ?c0_x4 a <http://erlangen-crm.org/170309/E75_Conceptual_Object_Appellation> } . GRAPH ?g_c0_x4_1 { { { ?c0_x2 <http://erlangen-crm.org/170309/P149_is_identified_by> ?c0_x4 . } UNION { ?c0_x4 <http://erlangen-crm.org/170309/P149i_identifies> ?c0_x2 . } } . } . GRAPH ?g_c0_out { ?c0_x4 <http://erlangen-crm.org/170309/P3_has_note> ?primtemp4 . FILTER ( STR(?primtemp4) = "Audioguide" ) . } . GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . OPTIONAL { GRAPH ?g_c1_x2 { ?c1_x2 a <http://id.gnm.de/ont/objektkatalog/Tourzugehoerigkeit> } . GRAPH ?g_c1_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c1_x2 . } UNION { ?c1_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c1_out { ?c1_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c1_out . } . } . FILTER(!bound(?c1_out)) . OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c2_x2 { ?c2_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c2_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c2_x2 . } UNION { ?c2_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c2_out { ?c2_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c2_out . } . } GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c3_x2 { ?c3_x2 a <http://erlangen-crm.org/170309/E84_Information_Carrier> } . GRAPH ?g_c3_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P46_is_composed_of> ?c3_x2 . } UNION { ?c3_x2 <http://erlangen-crm.org/170309/P46i_forms_part_of> ?x0 . } } . } . VALUES ?c3_x2 { <http://objektkatalog.gnm.de/objekt/Des823> } OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c4_x2 { ?c4_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c4_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c4_x2 . } UNION { ?c4_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c4_out { ?c4_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c4_out . } . } OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c5_x2 { ?c5_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c5_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c5_x2 . } UNION { ?c5_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c5_out { ?c5_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c5_out . } . } } ORDER BY DESC(STR(?c2_out)) DESC(STR(?c4_out)) DESC(STR(?c5_out)) LIMIT 101 OFFSET 0
SELECT DISTINCT ?x0 WHERE { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c0_x2 { ?c0_x2 a <http://erlangen-crm.org/170309/E55_Type> } . GRAPH ?g_c0_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P2_has_type> ?c0_x2 . } UNION { ?c0_x2 <http://erlangen-crm.org/170309/P2i_is_type_of> ?x0 . } } . } . GRAPH ?g_c0_x4 { ?c0_x4 a <http://erlangen-crm.org/170309/E75_Conceptual_Object_Appellation> } . GRAPH ?g_c0_x4_1 { { { ?c0_x2 <http://erlangen-crm.org/170309/P149_is_identified_by> ?c0_x4 . } UNION { ?c0_x4 <http://erlangen-crm.org/170309/P149i_identifies> ?c0_x2 . } } . } . GRAPH ?g_c0_out { ?c0_x4 <http://erlangen-crm.org/170309/P3_has_note> ?primtemp4 . FILTER ( STR(?primtemp4) = "Audioguide" ) . } . GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . OPTIONAL { GRAPH ?g_c1_x2 { ?c1_x2 a <http://id.gnm.de/ont/objektkatalog/Tourzugehoerigkeit> } . GRAPH ?g_c1_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c1_x2 . } UNION { ?c1_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c1_out { ?c1_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c1_out . } . } . FILTER(!bound(?c1_out)) . OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c2_x2 { ?c2_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c2_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c2_x2 . } UNION { ?c2_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c2_out { ?c2_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c2_out . } . } GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c3_x2 { ?c3_x2 a <http://erlangen-crm.org/170309/E84_Information_Carrier> } . GRAPH ?g_c3_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P46_is_composed_of> ?c3_x2 . } UNION { ?c3_x2 <http://erlangen-crm.org/170309/P46i_forms_part_of> ?x0 . } } . } . VALUES ?c3_x2 { <http://objektkatalog.gnm.de/objekt/Des823> } OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c4_x2 { ?c4_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c4_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c4_x2 . } UNION { ?c4_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c4_out { ?c4_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c4_out . } . } OPTIONAL { GRAPH ?g_x0 { ?x0 a <http://id.gnm.de/ont/objektkatalog/Aggregation> } . GRAPH ?g_c5_x2 { ?c5_x2 a <http://id.gnm.de/ont/objektkatalog/Audioguide_Nummer> } . GRAPH ?g_c5_x2_1 { { { ?x0 <http://erlangen-crm.org/170309/P1_is_identified_by> ?c5_x2 . } UNION { ?c5_x2 <http://erlangen-crm.org/170309/P1i_identifies> ?x0 . } } . } . GRAPH ?g_c5_out { ?c5_x2 <http://erlangen-crm.org/170309/P3_has_note> ?c5_out . } . } } ORDER BY DESC(STR(?c2_out)) DESC(STR(?c4_out)) DESC(STR(?c5_out)) DESC(STR(?c2_out)) DESC(STR(?c4_out)) DESC(STR(?c5_out))