A novel query language for data extraction from social networks