JISC Developer Happiness Days DevCSI website

Dev8D: Big list of People

graph->allOfType( "foaf:Person" )->sort( "foaf:familyName","foaf:givenName" ) as $person ) { $features = array(); foreach( $person->all( "prog:has_affiliation" ) as $affiliation ) { if( $affiliation->has( "prog:affiliation_to" ) ) { $aff=""; if( $affiliation->hasLabel() ) { $aff = $affiliation->label()." at "; } $org = $affiliation->get( "prog:affiliation_to" ); if( $org->has( "foaf:homepage" ) ) { $aff .= ""; if( $person->hasLabel() ) { print $person->label(); } else { print $person->toString(); } if( $person->has( "-prog:speaker" ) ) { print " - view sessions"; #TODO person linker } print ""; print "
"; if( $person->has( "foaf:weblog" ) ) { $features[]= "blog"; } #if( $person->has( "foaf:mbox" ) ) { $features[]= "email"; } if( $person->has( "foaf:homepage" ) ) { $features[]= "homepage"; } foreach( $person->all( "foaf:account" ) as $account ) { if( $account->getString( "foaf:accountServiceHomepage" ) == "http://www.twitter.com/" ) { $features[]= "@".$account->getString( "foaf:accountName" ).""; } } # TODO: person resolver if( sizeof( $features ) ) { print ": ".join( ", ", $features )."."; } print "
"; } ?>

Sponsors

list_sponsors( "http://data.dev8d.org/2011/programme/dev8d_programme.rdf#event" ); ?>