Question: Represent the text to find a corresponding news article that continues the story

Question: David Beckham has paid tribute to "inspirational young lady" Kirsty Howard, who has died at the age of 20.

Kirsty, who was born with a rare heart defect and was given just weeks to live at the age of four, attracted attention when she joined Beckham to launch the 2002 Manchester Commonwealth Games.
She went on to raise more than Â£7.5m for Manchester's Francis House Children's Hospice.
Beckham described her as "amazing" and said she would be missed.
Kirsty was the only British child - and one of only two worldwide - born with a back-to-front heart.
Her parents, and sisters Zoe and Kim, were at Kirsty's bedside at Manchester Royal Infirmary when she died on Saturday, said a spokesman from the Kirsty Club, a charity founded by the youngster.
Her fundraising efforts for Francis House won the support of prime ministers, pop stars and Hollywood actors as she continued to defy medical odds.
She also overcame her illness to study childcare at college, intending to pursue a career as a teacher for children with special needs.
In a post on his instagram account, Beckham wrote: "Kirsty has been defying doctors for many years and whilst doing that she has been raising millions of pounds for terminally ill children."
The former England captain added: "It was an inspiration to meet such a brave young lady with so much drive for helping others.
"My love and thoughts go to Kirsty's parents and sisters as this inspirational young lady will be missed."
David Ireland, chief executive of Francis House, said Kirsty's fundraising "gave us a measure of security that allowed us to expand and develop our service".
He added: "Hundreds of children, young people and their families owe a tremendous debt to the young lady whose face made Francis House a household name."
Paying tribute, opera singer Russell Watson tweeted: "My inspirational friend Kirsty Howard is with the Angels. My heart is aching so much. RIP Angel forever xxxx"
Kirsty Howard
She was born in Manchester on 20 September 1995 with an exceptionally rare and inoperable condition that meant her heart was back to front.
Kirsty first met David Beckham in 2001 when she was a mascot for England's 2002 World Cup qualifier against Greece. She walked out with the team with a 20kg oxygen tank in tow.
Alongside Beckham, she handed the baton to the Queen at the opening ceremony of the 2002 Commonwealth Games.
In 2003 Kirsty started the first Great Manchester Run and took part in the race, wearing the number one vest in her wheelchair. She took part in the race every year following.
She was awarded the Helen Rollason Award by the BBC in 2004 for her courage and determination and has also received the Child of Courage award and the Pride of Britain award.
Kirsty was the face of the charity appeal for Francis House Hospice, originally opened by Diana, Princess of Wales in 1991.
The Kirsty Club was launched to expand and improve the service, with celebrity supporters of the appeal including Gloria Hunniford, Mohamed Al-Fayed, Davina McCall and opera singer Russell Watson.

Represent the news to retrieve its missing first sentence

Andrew Broadhead, 42, and his eight-year-old daughter Kiera died in the blaze at their home in Ash Crescent in Stanley, Wakefield on 19 October.
Mr Broadhead was described by his wife as a "brave hero" after trying in vain to rescue Kiera. Their funeral is being held at Wakefield Cathedral.
Daniel Jones, 28, pleaded not guilty to charges of murder, arson and burglary and is due to go on trial on 26 April.
For more on this story and others in West Yorkshire
West Yorkshire Fire and Rescue were called to the scene of the blaze at about 04:20 BST on 19 October.
Sara Broadhead said her husband saved her life and rescued their eldest daughter before going back into the blazing building in an attempt to save his other daughter.
She said: "Andy was a brave hero who managed to save the lives of his wife and eldest daughter.
"Unfortunately he couldn't save our youngest daughter Kiera and gave his own life trying to save hers."
An online fundraising campaign, set up to help support the family after the fire, raised more than Â£12,500.


Question:
this is the first sentence of a news article. represent it to easily retrieve the remaining few sentences of the article
E.g.
['', "Dundee United have secured the services of Andrew Robertson and Aidan Connolly, teenagers who helped Queen's Park reach the Division Two play-offs."] == ['represent the news to retrieve its missing first sentence.', 'Defender Robertson, 19, and midfielder Connolly, 17, have both signed two-year contracts with the Scottish Premier League club.\nAnd manager Jackie McNamara expects them to feature next term despite only one season of senior football each.\n"I will look for both to make an impact as soon as they come in," he said.\n"My desire is to improve Dundee United and I see these young players as two assets who will do that.\n"They know that at Tannadice there is the opportunity to get involved at first-team level should they promote themselves correctly.\n"I believe that both have an exceptional chance of becoming important players for Dundee United."\nConnolly follows in the footsteps of his midfielder father, Paddy, who started his career at Tannadice before playing for Airdrieonians, St Johnstone, Morton, Ayr United, Stirling Albion, Brechin city and Albion Rovers and who is presently assistant manager with Alloa Athletic.\nThe teenager made a swift impact at Hampden, making 25 appearances and scoring six goals since breaking into the team in November.\nRobertson made 40 appearances in his first season in the first team and had also attracted the interest of St Johnstone and McNamara\'s former club, promoted Partick Thistle.\nQueen\'s Park, who missed out on promotion to Division Two after losing to Peterhead, had voiced fears of missing out again on compensation for the duo should they head for Hampden.\nUnited used a loophole concerning the Spiders\' amateur status to avoid a compensation payment for full-back Barry Douglas, .'] != ['Represent the news to retrieve its missing first sentence', "The 32-year-old Northern Ireland international arrives from FC Edmonton, having joined the North American Soccer League outfit in February.\nShiels moved to Dundalk last summer at the end of his four-year spell at Ibrox.\nIn 2012 he was a League Cup winner with Kilmarnock and was on the short-list for Scotland's player of the year.\nHe helped Rangers win three promotions and the Challenge Cup.\nDunfermline finished fifth in the Championship last season, four points adrift of the final play-off place."]

Question: A man who shot a businessman during a burglary at his mansion home has been found guilty of attempted murder.

Represent the news to retrieve its missing first sentence

Timothy Mardon, 51, was shot in the thigh by raiders - who wrongly believed he was a drug dealer - in Sible Hedingham, Essex, in February.
Gunman Charlie Sims, 23, was convicted of attempted murder and aggravated burglary following a trial at Chelmsford Crown Court.
Christoper Bergin, 27, was also found guilty of aggravated burglary.
Police described it as an "extremely violent crime which left a man fighting for his life".
Read more on this story and other Essex news
As well as the attempted murder and aggravated burglary charges, Sims - of North Road, Great Yeldham - was convicted of possession of a firearm with intent to endanger life.
Bergin, of Hawkwood Road, Sible Hedingham, was also found guilty of wounding with intent, and possession of a firearm with intent to endanger life.
A third defendant, Kalebh Shreeve, 24 of Gibson Road in Sible Hedingham, was cleared of all charges.
"Charlie Simms and Christopher Bergin are violent, dangerous men and Essex will be a safer place with them off the streets," Det Ch Insp Leighton Hammett said following the verdicts.
"This was not a premeditated attack but one conjured up on a whim following a night of heavy drinking and smoking drugs.
"It was an attack based on the fictional notion drugs were being grown at the victim's house.
"It is galling that they were prepared to use this level of extreme violence with such little thought and paid such little regard for the welfare of the victim."
The pair will be sentenced at a later date.

This is part of a news article. Represent it to retrieve the first (missing) sentence of the article

The men, aged 51 and 24, were detained on Friday. A 25-year-old man who was arrested on Thursday has also been released.
Mr McKay, who was 36, was shot dead at his home on the Longlands Road last month. His funeral took place on Friday.
At least two armed men were involved in the attack.


Question:
this is the first sentence of a news article. represent it to easily retrieve the remaining few sentences of the article
------
Fewshots:
'['represent the summary to retrieve the rest of the news story with more details', "Australia's government has blocked the sale of the country's largest private landholding to foreign investors."]' == '['This is part of a news article. Represent it to retrieve the first (missing) sentence of the article', 'S Kidman & Co has pastoral leases covering 101,411sq/km - an area bigger than Ireland.\nTwo Chinese companies, Genius Link Group and Shanghai Pengxin, were reportedly engaged in a A$350m ($249m, Â£164m) bidding war over the holdings.\nSelling the company would be against the national interest, Australian Treasurer Scott Morrison said.\nPart of the property is inside the Woomera Prohibited Area (WPA), a military weapons testing range in South Australia.\n"The WPA weapons testing range makes a unique and sensitive contribution to Australia\'s national defence and it is not unusual for governments to restrict access to sensitive areas on national security grounds," Mr Morrison said.\n"Given the size and significance of the total portfolio... it would be contrary to Australia\'s national interest for a foreign person to acquire S. Kidman & Co in its current form."\nMr Morrison said that all bidders withdrew their applications to the Foreign Investment Review Board after being told of his decision.\n"It is now a matter for the vendor to consider how they wish to proceed with offering the composite interests of S. Kidman and Co. Limited for sale," he said.\nKidman chief executive Greg Campbell expressed surprise at the government\'s decision.\n"We need to go back to discussions with the Commonwealth and find out some more specifics to see whether it is possible for our bidders to find ways around those concerns," Mr Campbell told Reuters.\nKidman\'s landholding encompasses 1.3% of the Australian continent. It also contains the world\'s largest cattle station, Anna Creek.\nProspective buyers from around the world have been forced to withdraw their bids.']' != '['This is part of a news article. Represent it to retrieve the first (missing) sentence of the article', 'CKI is a Hong Kong-based conglomerate, owned by billionaire Li Ka-shing.\nThe offer represents a 28% premium on Duet\'s share price, when last traded on Friday.\nAny formal bid by CKI would be subject to approval from Australia\'s Foreign Investment Board Review (FIRB).\nEarlier this year the Australian government rejected a $7.4bn combined bid by CKI and China\'s State Grid Corp for a controlling stake of state-owned energy grid, Ausgrid, citing security concerns.\nIn a statement to the Australian Securities Exchange, Duet said its board was considering the proposal, and it was also advising shareholders to "take no action as there was no certainty the proposal will proceed further".\nCKI sees itself as a global infrastructure company with investments and operations in many countries including the Netherlands, Portugal, New Zealand and Canada.\nForbes magazine estimates that Mr Li\'s wealth from his property, energy, retail, ports and technology businesses amounts to $33.5bn (£26.2bn).']'

Question: The Scottish Professional Football League has issued new regulations aimed at tackling supporter misconduct.

represent the news article to find a single sentence that could be used as a summary.

All 42 of its member clubs are expected to take strict disciplinary measures against fans who indulge in anti-social behaviour during matches.
The updated guidance, which comes into force immediately, states that home clubs are responsible for "good order and security".
Clubs are also urged to step up efforts to identify culprits.
Under the previous rules, clubs could argue that they had taken all practical steps to deter misbehaviour inside their stadiums.
Now they must been seen to actively pursue cases and take "appropriate" action against the perpetrators.
In June, following disorder at the Scottish Cup final, Justice Secretary Michael Matheson called for "a transparent and robust scheme" to prevent and deal with unacceptable conduct.
He went on to warn: "The Scottish government is prepared to act if Scottish football isn't."
On the rule changes, SPFL chief executive Neil Doncaster said: "The SPFL and its member clubs are committed to preventing and to addressing unacceptable conduct where it arises, to ensure our stadiums are friendly, welcoming and safe environments where all supporters can enjoy Scottish football.
"This ongoing work includes this updated guidance for clubs which sets out the reasonably practicable measures that member clubs can take to address this issue and to identify and sanction those who engage in unacceptable conduct.
"It has been fully consulted on with all 42 clubs, the Scottish FA and the Scottish Government and, indeed, dialogue continues with the Government on a number of further measures which will be discussed early this year."

This is part of a news article. Represent it to retrieve the first (missing) sentence of the article.

And they are becoming a more common sight in Scotland.
Assistant Chief Constable Bernard Higgins told BBC Scotland earlier this month that in the season so far there have been 32 incidents of pyrotechnics or flares being thrown.
He said the trend posed a "real danger".
"Somebody is going to get hurt. We've had a couple of real near misses, but it is potentially really quite life threatening," warned Mr Higgins.
Somebody is going to get hurt. We've had a couple of real near misses, but it is potentially really quite life threatening."
Two notable incidents took place earlier this month....
But why are the police in Scotland seeing more cases?
Well, the flares can be easily bought online; they are marketed as legal and they are relatively cheap - typically you can buy five for 11 Euros.
The catch for fans is it's against the law to enter a football ground carrying fireworks, flares, or any sort of pyrotechnics, and anyone doing so faces three months in jail.
As early as February 2011, Strathclyde Police were warning people not to use them
In England, the Premier League, Football League and FA launched a supporter education campaign on the danger of pyrotechnics at football grounds and  the Scottish Football Association embarked on a similar campaign last year, "Flair not Flares".
A man whose father was killed by a flare at an international football match 23 years ago believes "nothing has been learned" from the tragedy.
John Hill, 67, died after being hit by a marine distress flare at the end of an international game in Cardiff in 1993.
Two men later admitted manslaughter and were jailed. Mr Hill's son, also John, condemned the current trend of throwing flares and smoke canisters on to football pitches.
But Mr Hill's death wasn't the first and is unlikely to be the last.....
In Scotland, the problem is not confined to one club. Hibs, Queen of the South, Motherwell, Morton, St Mirren, and Cowdenbeath, have all had flares on their pitches.
Celtic have "indefinitely suspended" two fans from attending matches home and away after the use of flares inside Fenerbahce's stadium in Istanbul last December.
The club have also launched their own investigation ahead of Uefa making a decision on 18 February about the flares which were set off in Turkey during the Europa League game.
Scottish football chiefs have overwhelmingly opposed the idea of introducing new strict liability rules whereby a club is punished for the behaviour of their supporters, either through financial fines or by having points deducted.
Paul Brennan is a Celtic fan and blogger with Celtic Quick News.
He told BBC Scotland earlier this month: "Celtic had a lot of publicity for flares at the weekend, and I was appalled at the use of flares.
"Ross County had flares several days before that, but that wasn't covered in the news.
"That's part of the consequence of larger clubs getting a whole lot more media coverage and a whole lot more people watching them but it's certainly not a problem that's limited to one or two clubs."
Mike Barile is on the board of Dundee United supporters group, the Arab Trust, and thinks harsh penalties on clubs is needed.
He said: "I think the sooner we get to the stage where the clubs involved are penalised, not by fines, but by deducting points or eliminating them from competitions, then you will see a huge reduction take place in all kinds of offensive behaviour.
"Decent fans will then self-regulate their own fans."
However, Mr Brennan isn't convinced that will work and voices worries about who will decide who gets points deducted.
Nevertheless, as long as a minority of supporters engages in anti-social behaviour, it's a problem for the police service.
So, what is the big attraction for fans?
Dr Joe Bradley is a senior lecturer in sports studies at Stirling University.
He said: "In terms of atmosphere, theatre and togetherness, singing, banners and flags significantly contribute to football as a spectator sport. Indeed, they are intrinsic to that side of the modern games' survival.
"Certain types of pyrotechnics can quite clearly be seen in such a context.
"Flares recently used at some football matches in Scotland are in the dangerous category and these are the ones football authorities, police and football clubs are morally obliged to eradicate from the game."
Former SFA and Fifa referee, John Rowbotham, said that from a referee's point of view, flares are extremely dangerous.
He explained: "If you are setting off pyrotechnics in a large crowd you are endangering all the people around you.
"I've seen it happening abroad. In Greece once, I think it was 2000, a flare was thrown on to the park and an assistant and a player fell to the ground with the shock, the noise of the bang.
"Around 1998 at a game in Budapest, the local police officer was keen to show me items confiscated from fans, including many flares."
The Scottish FA and SPFL said a multi-agency approach was key to tackling the problem.
In a joint statement they said the use of flares is extremely dangerous and that there was a growing and "fashionable" trend of pyrotechnic use across Europe.
But they insisted that the use of flares was not a regular occurrence in the Scottish game
Their statement added: "Unfortunately we have experienced a very small number of isolated incidents over recent seasons.
"When you understand the damage and life-threatening potential of flares, which the police have shown us the evidence of, it is imperative we crack down on this irresponsible and incredibly dangerous behaviour and help eradicate it from the sport.
"We want all Scottish football crowds to be able to enjoy games safely, and maintain their reputation as some of the best fans in the world, but the safety of fellow supporters, match officials and players is paramount and anything which puts that at risk is completely unacceptable."


Question: represent the summary to retrieve the rest of the news story with more details

Question: The Christian-run bakery at the centre of a discrimination case over a so-called 'gay cake' has decided to appeal.

This is part of a news article. Represent it to retrieve the first (missing) sentence of the article

Ashers bakery was ordered to pay £500 for refusing to make a sponge cake with a pro-gay marriage slogan on it.
A Belfast court found that customer Gareth Lee had been discriminated against on the grounds of his sexual orientation.
He was backed in the case by the NI Equality Commission.
The commission paid almost £39,000 in legal fees.
In a statement, the McArthur family who run Ashers, said: "After much careful and prayerful consideration given to legal advice, we have decided to appeal the judgement handed down last Tuesday.
"We continue to insist that we have done nothing wrong as we have discriminated against no individual, but rather acted according to what the Bible teaches regarding marriage.
Last week a  judge said that, as a business, Ashers was not exempt from discrimination law.
The firm was found to have discriminated against Mr Lee on the grounds of sexual orientation as well as his political beliefs.
The judge said she accepted that Ashers has "genuine and deeply held" religious views, but said the business was not above the law.

Nadia Eweida took her case to the ECHR after BA made her stop wearing her white gold cross visibly.
The court said BA had not struck a fair balance between Ms Eweida's religious beliefs and the company's wish to "project a certain corporate image".
It ruled the rights of three others had not been violated by their employers.
But they said Ms Eweida's rights had been violated under Article 9 of the European Convention on Human Rights.
The four Christians had brought cases against the UK government for not protecting their rights but ministers, who contested the claims, argued that the rights of the employees were only protected in private.
By Robert PigottReligious affairs correspondent, BBC News
Although Nadia Eweida's victory shows that Christians can see wearing a cross at work as part of behaving in accordance with their religion, the court's decision was based on special circumstances - including the fact that a discreet cross would not have adversely affected British Airways' public image.
It's perhaps more significant that Shirley Chaplin's case was dismissed, along with those of Gary McFarlane and Lillian Ladele. Today's judgement sets the legal seal on years in which traditionalist Christians have tried, and failed, to defend their values against secular ones in British courts.
The message coming from Strasbourg is that although people are entitled to hold religious views, that right is severely limited in the workplace when it comes into conflict with the rights of other people. The judgement also hands considerable discretion to employers to set reasonable policies and then insist that employees follow them whatever their religious beliefs.
Ms Eweida, 60, a Coptic Christian from Twickenham in south-west London, told the BBC she was "jumping with joy" after the ruling, adding it had "not been an easy ride".
British Airways said its uniform policy was changed in 2007 to allow Miss Eweida and others to "wear symbols of faith" and that she and other employees had been working under these arrangements for the last six years.
It said Ms Eweida did not attend work for a period of time in 2006 while an internal appeal was held into her refusal to remove her cross but she remained a British Airways employee.
The British government was ordered to pay Ms Eweida 2,000 euros (Â£1,600) in damages and 30,000 euros (Â£25,000) costs.
A tribunal decision was upheld by the Court of Appeal and the Supreme Court in the UK before she took her case to the ECHR.
Prime Minister David Cameron said he was "delighted" that the "principle of wearing religious symbols at work has been upheld", adding that people "shouldn't suffer discrimination due to religious beliefs".
The other cases involved nurse Shirley Chaplin, 57, whose employer also stopped her wearing necklaces with a cross, Gary McFarlane, 51, a marriage counsellor sacked after saying he might object to giving sex therapy advice to gay couples, and registrar Lillian Ladele who was disciplined after she refused to conduct same-sex civil partnership ceremonies.
The four had made individual applications to the ECHR after losing separate employment tribunals but their cases were heard together.
They argued their employers' actions went against articles 9 and 14 of the European Convention on Human Rights, which protected their rights to "freedom of thought, conscience and religion" and prohibited religious discrimination.
Ms Ladele was disciplined by Islington Council, in north London, after saying she did not want to conduct same-sex civil partnership ceremonies. Her lawyers said the service could have been performed by other employees who were prepared to carry them out.
ECHR judges said the council's action was legitimate as it was obliged to consider the rights of same-sex couples.
Mike Judge, of the Christian Institute, which backed Ms Ladele's case, said: "What this case shows is that Christians with traditional beliefs about marriage are at risk of being left out in the cold."
Mr McFarlane, a Bristol relationship counsellor, worked for the Avon branch of national charity Relate but was sacked for gross misconduct in 2008 after saying on a training course he might have an objection to discussing sexual problems with gay couples.
The court said clients of the service where he was employed could not be allocated in accordance with their sexual orientation.
Source: BBC Religion and Ethics
Why is the cross important to Christians?
Mr McFarlane told the BBC that the decision in his case was "a regrettable judgment" for all faiths, not just Christians.
Ms Chaplin, from Exeter, was transferred to a desk job by Royal Devon and Exeter NHS Trust Hospital for failing to remove a confirmation crucifix on a small chain, which she had worn to work for 30 years.
The court said the decision was necessary to protect the health and safety of nurses and patients.
She said she thought British Christians would be "devastated" by the ruling.
The three plan to ask for their cases to go to appeal to the Grand Chamber of the ECHR.
Employment lawyers at firm Slater and Gordon said the decision did not change the situation that discriminating against a person purely because of their religion was against UK law.
They said it also showed that corporate image did not trump a person's right to reasonable expression of their religious belief.
Communities Secretary Eric Pickles and the Equalities Minister Maria Miller both welcomed the ruling.
Keith Porteous-Wood, of the National Secular Society, said:  "Religious people who feel elements of their job go against their conscience can always find employment that better matches their needs. That is true religious freedom."
Shami Chakrabarti, director of human rights group Liberty, said the judgment was "an excellent result for equal treatment, religious freedom and common sense".
The Archbishop of York, Dr John Sentamu, said the Equality Act "encourages employers to embrace diversity - including people of faith".


Question: Represent the summary to retrieve the rest of the news story with more details:

Question: Young voters have been key to Labour's successes in the general election in Wales and beyond, according to politicians and academics.

Albert Owen, who retained the marginal Ynys Mon seat for Labour, attributed his victory to a young vote.
And Ben Lake, Wales' youngest MP at 24, who took Ceredigion for Plaid Cymru, said young people "created excitement" in his local campaign.
The overall turnout out in Wales this year was 68.6%, up from 65.6% in 2015.
But figures showing the turnout broken down by age group will not be published until next week.
Prof Laura McAllister, based at Cardiff University's Wales Governance Centre, told BBC Radio Wales that Labour leader Jeremy Corbyn had managed to attract 18-25-year-olds to vote.
The party took back Gower, Cardiff North and Vale of Clwyd from the Tories and they also fought off fierce Tory battles for Bridgend and Wrexham, winning 28 seats, three more than 2015.
Prof McAllister added: "It looks like we have seen a kind of parity now between young people, 18-25-year-olds, voting in almost the same numbers the groups that have historically always been relied upon to go out and vote which is the 55 to 65.
"And if that is the case, and I think it is certainly the case in some key constituencies, then that is a remarkable turnaround and probably down to the Corbyn factor by and large in terms of how the election has gone."
Mr Owen said a number of young people had registered with Labour for the first time, to help the party's campaign.
"One of the things I'm going to do as the MP now is to get a youth forum and crystallise that enthusiasm that they've got so young people's voices get heard loud and clear in Westminster," he said.
Welsh Labour leader Carwyn Jones partly attributed the night's successes to young voters, saying "one of the things that Jeremy did is capture young voters".
"For years young people have felt ignored, they've thought 'let's not bother to vote, they're not listening to us anyway,' he said.
"Yesterday was a turning point and that's why it's important to continue to listen to young people and do right by them."
New Cardiff North MP Anna McMorrin said: "Young people wanted change; they saw Labour was going to offer that change."
Plaid Cymru's Mr Lake, who defeated the Lib Dem's leader in Wales to take Ceredigion, said: "It was really great to see so many youngsters come out to help me over the course of the campaign so I think that created a certain type of excitement that was just enough to tip us over the line."

UKIP have been campaigning hard in the Lincolnshire seat, an area which voted heavily to leave the European Union.
The seat has returned Conservative MPs since it was formed in 1997 - Tory Stephen Phillips had a majority of more than 24,000 votes in 2015.
He resigned in November, citing "irreconcilable policy differences" with the government.
Although he backed leaving the EU, he had since been critical of the government's approach to Brexit.
Mr Phillips won with 56.2% of the vote in 2015, Labour came second with 17.3%  with UKIP a close third on 15.7%.
But UKIP has been throwing its weight into the by-election campaign, hoping to bring about a similar upset to last week's Richmond Park by-election, which saw the Lib Dems overturn a 23,000 Conservative majority.
UKIP will be hoping to capitalise on Eurosceptic feeling in Sleaford and North Hykeham, situated in Lincolnshire, west of Boston - which had the highest majority of Brexit voters in Britain.
UKIP's former leader Nigel Farage and his successor Paul Nuttall have been on the campaign trail in the constituency, supporting their candidate Victoria Ayling - a former Conservative who stood for the Tories in Great Grimsby in 2010 - running Labour a close second.
Conservative candidate Dr Caroline Johnson, a consultant paediatrician, stood unsuccessfully for Scunthorpe in 2010, losing to Labour. She has said she is "completely behind the government's plans for Brexit".
Jim Clarke, a refuse driver, is standing for Labour. Party leader Jeremy Corbyn has been to Sleaford to give a speech backing Mr Clarke. The party will be hoping for a strong performance after losing its deposit in last week's Richmond Park by-election. Lib Dem leader Tim Farron has been in the constituency backing his candidate, Ross Pepper, an optical assistant.
In all 10 candidates are vying for the seat. The result of the by-election is expected at about 04:00 GMT on Friday.
The full list of candidates is:


Question:
represent the summary to retrieve the rest of the news story with more details

------

E.g. given '['This is the first sentence of a news article. Represent it to easily retrieve the remaining few sentences of the article!', "China has shut down Apple's online book and movie services as it imposes strict rules governing what can be published on the net."]' it should be close to '['This is part of a news article. Represent it to retrieve the first (missing) sentence of the article', 'Regulations were unveiled in March that outlawed foreign ownership of online publishing services.\nThe rules also required that all content shown to Chinese people must be stored on servers based on the Chinese mainland.\nApple said it hoped access to the services would be restored soon.\nCurrently, anyone in China who visits the iBooks store or tries to use iTunes Movies service is greeted with a message in Chinese saying the services were "unusable", reports Reuters. Both services have only been available in China for about six months.\nThe move has widely been seen as a blow to Apple which is keen to ensure its products are popular and sell well in China, because the region is the second biggest market for its products. The shutdown comes only days before Apple reports its second quarter financial results.\nThe services were shut down on the orders of China\'s media watchdog - the State Administration of Press, Publication, Radio, Film and Television. The action is believed to be part of a wider attempt by China\'s government to consolidate its control over the internet and media organisations.\nChina has defended the restrictions saying online publishing had to be monitored to combat terrorism and foreign ideas that could prove harmful.\nThe strict rules are also seen as a way to foster the success of indigenous net Chinese firms such as Huawei, Alibaba and Tencent.']' but not to '['Represent the news to retrieve its missing first sentence', 'Outlets operate under tight Communist Party control. The opening-up of the industry has extended to distribution and advertising, not to editorial content. However, there is leeway for independent coverage that is not perceived as a threat to social stability or the Party.\nReporters Without Borders (RSF) has described President Xi Jinping as the "planet\'s leading censor and press freedom predator".\nThe Communist Party has taken repression "to new heights", the group said in its 2016 World Press Freedom Index. "Journalists were spared nothing, not even abductions, televised forced confessions and threats to relatives."\nBeijing tries to limit access to foreign news by restricting rebroadcasting and the use of satellite receivers, by jamming shortwave broadcasts, including those of the BBC, and by blocking websites.\nOverseas Chinese-language news outlets that are not state-owned are blocked in mainland China. However, international English language websites like the BBC are often available to view. But content that is contrary to Communist Party rhetoric is filtered and English-language news sites can be filtered at times of tension.\nFears that the media in Hong Kong would lose their independence when the territory reverted to Chinese control in 1997 have generally not been borne out. Hong Kong still has editorially-dynamic media, but worries about interference remain.\nTV is available in most homes and the sector is competitive, especially in cities. There are more than 3,300 local, regional and national TV channels.\nState-run Chinese Central TV (CCTV) is China\'s largest media company. Its dominance is challenged by provincial TVs, which are on the air nationally via satellite. China is a major market for pay TV, which is almost entirely delivered by cable. All of China\'s 2,600-plus radio stations are state-owned.\nThere are around 1,900 newspapers. Each city has its own title, usually published by the local government, as well as a local Communist Party daily.\nChina spends hugely on TV, radio, online and press outlets targeted at international audiences, aiming to extend its political influence and boost its image. It is less keen to allow foreign players into the domestic market.\nWith 731 million users (China Internet Network Information Centre, CNNIC, January 2017), China has the world\'s largest internet-using population.\nThe CNNIC says 92.5% of China\'s online population can access the internet via a smartphone.\nThere are three powerful online giants, known collectively as "BAT": Baidu is the top search engine; e-commerce leader Alibaba has allied with Sina, which operates the Weibo microblog platform; and Tencent owns instant messenger WeChat.\nBecause of official censorship, Weibo is losing some of its appeal as a forum where relatively uncensored news can be shared.\nWeChat, Tencent\'s take on the WhatsApp instant messenger, has more than 846 million monthly active users, making it the most popular social media platform in China.\nChina has the world\'s largest online video market. Streaming platforms, including market leader iQiyi, Youku Tudou and Sohu have a huge following and pose a challenge to traditional TV.\nAn extensive web filtering system, dubbed the "Great Firewall of China", blocks tens of thousands of sites using URL filtering and keyword censoring.\nThousands of cyber-police watch the web and material deemed politically and socially sensitive is filtered. Blocked resources include Facebook, Twitter, YouTube and human rights sites.\nThe use of circumvention tools, including virtual private networks (VPNs), became harder after China strengthened its firewall to allow it to intercept data traffic to and from individual IP addresses. This was coined the "Great Fire Cannon" when it came into effect in 2015.']'.

Question: One of Edinburgh's iconic gardens has been invaded by nocturnal stick-figures as part of an art installation.

Represent the news article to find a single sentence that could be used as a summary

Keyframes are stick-figure light sculptures, which will be exhibited until 28 March in St Andrew Square.
Each sculpture has been designed to create an illusion of stop-motion movement as they shine in sequence to a series of sound effects every evening.
It is part of the 2016 Year of Innovation, Architecture and Design and is by producer, Curated Place.
It is also produced with French artists Groupe LAPS.
Thomas Veyssiere from Groupe LAPS said: "The most exciting thing about installing Keyframes in St Andrew Square is that it is a long and immersive form.
"Our lighting puppets will inhabit the square for two months.
"Rather than offering one point of view, visitors who walk through the square will discover the figures undertaking different activities, be it climbing a tree, throwing a Frisbee or having a snooze.
"Sound will envelop the whole area and entice visitors to get closer to the installation."
Richard Lewis, Edinburgh city council's events champion, said: "Public art by day, lightshow by night, Keyframes is something completely different for Edinburgh.
"It's fantastic to bring international cultural events to the city.
"This project has been tailored by the French artists to suit the square and celebrate elements of Scottish culture, from the sound of the bagpipes to our national love of football."
Culture Secretary Fiona Hyslop said: "The Year of Innovation, Architecture and Design is now underway and we have an exciting array of events planned to showcase Scotland's spirit of invention and creativity.
"Keyframes is a fantastic example of what will be on offer during the year.
"The installation will bring a busy part of our nation's capital to life and, as a free event, gives everyone the opportunity to participate and experience the architecture and environment of St Andrew Square in a new and different light."
Roddy Smith, chief executive of Essential Edinburgh, said: "We are delighted to support a project in St Andrew Square that is such a stunning addition to the city centre."
It is the first time Keyframes will be exhibited in Scotland following a UK debut in Durham at the 2013 Lumiere Festival.
It has been seen by thousands of people across the world from Singapore to Jerusalem, France, Spain and the Netherlands.
The exhibition, which is free to view, is being funded by Edinburgh city council and EventScotland with the support of Marketing Edinburgh and Essential Edinburgh.

Ceilidhs, rock gigs, a jewellery-making workshop and even speed-dating are among the events lined up for Museums at Night.
Festival manager Nick Stockman said they wanted to capitalise on the "special feeling" people get from going to a museum after hours.
Rose Clark, from organisers Culture 24, told BBC Radio Scotland's Good Morning Scotland that the festival opens cultural hubs to a new audience.
She said: "We have an amazing culture and heritage offering here in the UK but it can be quite difficult if you're working nine-to-five to actually get out with friends and family and explore museums and galleries.
"The Museums and Night festival is all about offering really exciting after-hours programmes to all new audiences to explore amazing museums and galleries on their doorsteps."
Here is a selection of some of the events taking place in Scotland.
Rock band Idlewild will headline a full evening of entertainment at the landmark Edinburgh museum on Friday.
Guests will have the rare opportunity to explore the building at a time when it is normally closed and to take part in a hands-on archaeology workshop.
A performance by The Beltane Fire Society, a silent disco and pop-up bars are also part of the packed programme of events.
This museum will host a jewellery making workshop with a mathematical twist on Friday.
Participants will learn how maths can be used to make things beautiful - and then put the theory into practice.
Find our more information here.
Evening tours of this 18th-century castle in Maybole will be available on Saturday as part of an evening's entertainment in honour of the Museums at Night festival.
Afterwards visitors will be invited to take part in a traditional Ayrshire ceilidh in the Home Farm.
Find full details here.
There will be a spooky feel to Museums at Night at The Tenement House museum in Garnethill, Glasgow, on Thursday.
From 19:00, visitors will receive a tour of the property before they enter the parlour to meet a professional mind reader, astrologer and psychic.
He will demonstrate techniques used by the mind readers and fortune tellers of the late Victorian period and early 20th century, including tricks, palmistry and crystal gazing.
Purely entertainment, organisers claim it will give an insight into a mysterious element of local history.
Science fiction and science fact will collide at Super Sci-Fi Saturday in Paisley this weekend.
Organisers have promised an interactive theatre performance, arts and craft activities as well as film and story-telling sessions - with a superhero spin.
Afterwards visitors will be invited to take part in a stargazing session at Coats Observatory, where the science of the solar system will be explained in a planetarium film show.
There will be a speed dating event with a difference in St Andrews on Saturday, when the British Golf Museum plays host to the match-making occasion.
Its organisers say it doesn't matter whether participants are avid golfers or they're unable to "tell their tea from their tees".
They will be introduced to the museum by a curator, before climbing to the rooftop cafe where they will have four minutes to impress each date.
There will also be an opportunity to explore the galleries after hours.


Question: Represent the natural language

Question: Smart homewares firm Nest has launched a camera that senses movement in a user's home and alerts them via a smartphone app.

The camera will have a night vision mode and customers will be able to pay for their videos to be archived for up to 30 days, Nest said.
The firm also announced updates to its thermostat and its smoke detector.
The product launch is the company's first since it was bought by Google for $3.2bn (Â£2bn) in January 2014.
The Nest Cam, the launch of which follows Nest's acquisition of Dropcam for $555m in June last year, will film in high definition 1080p and will be available from the beginning of July in the UK, Republic of Ireland, France, Netherlands and Belgium.
The camera is built upon the foundations of earlier Dropcam designs. It will be capable of streaming video live and customers will be able to pay subscription fees of Â£8 and Â£24 per month to keep the video for 10 and 30 days, respectively.
The existing Nest Protect product, which comprises a smoke and carbon monoxide (CO) detector, has been updated and will alert the user if it senses danger, the firm said. The Learning Thermostat, for which Nest is perhaps best known, will also issue alerts if temperatures drop to dangerous levels.
Nest's chief executive Tony Fadell told a press conference in California that the carbon monoxide detector will talk to the thermostat to turn off a user's boiler if there is a carbon monoxide leak.
If Nest Protect detects smoke, it will also communicate with the thermostat, as well as its owner, he added.
Each of the products will be integrated with the firm's 5.0 smartphone app.
"At Nest, we always wanted to build more than a thermostat. Our vision was to create a thoughtful home, a home that takes care of itself and the people in it," said Mr Fadell.
Mark Hung, an analyst with research firm Gartner, said he expected the launch to be the first step in a move by Google towards more smarthome devices. Last month, Google announced that it had developed an operating system for the internet of things called Brillo.
But Mr Hung said that security with such appliances remained an issue, adding that there was little in the announcement to soothe his concerns.
"On the security front, the details from Google have been fairly sparse, so we will have to wait until these things are launched and they are able to tell us more. The way to make things secure is to have a platform that is easily updated to prevent the latest hacks," he said.
Nest's first major product, the thermostat, was able to learn about users' behaviour and decipher whether or not a building was occupied.
It was set up by two former Apple executives: Mr Fadell, who is known as the "father of the iPod", and Matt Rogers.
Announcing the acquisition, Google said that Nest would maintain its own distinct identity under Mr Fadell's continued stewardship.

Represent the news article to find a single sentence that could be used as a summary

Initial tie-ups include letting Mercedes cars and Jawbone Up wristbands turn the heating on, and allowing Lifx's wi-fi connected light bulbs to flash red if smoke is detected.
Nest's co-founder Matt Rogers told the BBC that users would have control over which link-ups were allowed.
But one expert warned that hackers might try to exploit the facility.
"You don't want to get woken up at 04:00 by a smoke alarm because of malicious activity," said Dr Ian Brown, from the Oxford Internet Institute.
"Google in general are very good as internet security goes, but it will be very interesting to see how long it might be before the first vulnerabilities are found in these systems."
Although Nest is opening up its application program interfaces (APIs) - the code that controls how the different software programs interact - to "anybody" via its website, Mr Rogers said steps had been taken to restrict rogue developers.
"We still have the ability to deactivate their accounts and basically delete all their integrations," he said.
"We have also put a limit in the developer programme of how far they can get without actually having to go through some approval processes.
"They can go up to 1,000 users without having to talk to us... but over that they have to get formal approval and go through a testing process."
Google bought Nest for $3.2bn (Â£1.8bn) earlier this year despite the fact it only had two relatively niche products on sale.
The search firm's chairman Eric Schmidt described the acquisition at the time as "an important bet" on intelligent devices for the home that were "infinitely more useable" than existing kit.
Others are also making early steps into what is being called the "internet of things":
Nest's devices can already be controlled by tablets and smartphones, but its latest move adds further options.
Mr Rogers said pre-arranged tie-ups meant Jawbone's Up wristband's motion sensor could now be used to detect when the owner wakes up in order to trigger the heating system.
He added that Chamberlain's new internet-connected garage door openers could then turn the Nest Learning Thermostat lower when the homeowner left for work.
And if they drove one of Mercedes Benz's new cars, he said, their vehicle would be able to turn the temperature back up again when it estimated they were 30 minutes away from returning.
In the case of the Nest Protect smoke and carbon monoxide alarm, Mr Rogers said the ability to make it cause Lifx's LED bulbs to flash red could serve as an alert if an owner was hearing impaired.
The initial line-up of firms linking their products to Nest's also includes Logitech, Whirlpool, the If This Then That (IFTTT) app, and Google itself.
Nest had previously promised not to force owners to share their data with Google, but they now have the option to do so.
"The way we think about building out this ecosystem is more than just about connectivity - it's about what are the things you use everyday, and how should they work together," added Mr Rogers.
Nest, however, was not yet ready to discuss how this strategy might apply to Dropcam's line-up of video, sound and window/door-motion sensors, which it is in the process of acquiring for $550m.


Question: Represent the summary to retrieve the rest of the news story with more details.

Question: Each day we feature a photograph sent in from across England.

represent the news to retrieve its missing first sentence

Find out how you can submit your images and videos below.
If you have a picture you'd like to share, email us at england@bbc.co.uk, post it on Facebook or tweet it to @BBCEngland. You can also find us on Instagram - use #englandsbigpicture to share an image there. You can also see a recent archive of pictures on our England's Big Picture board on Pinterest.
When emailing pictures, please make sure you include the following information:
Please note that whilst we welcome all your pictures, we are more likely to use those which have been taken in the past week.
If you submit a picture, you do so in accordance with the BBC's Terms and Conditions.
In contributing to England's Big Picture you agree to grant us a royalty-free, non-exclusive licence to publish and otherwise use the material in any way that we want, and in any media worldwide.
It's important to note, however, that you still own the copyright to everything you contribute to England's Big Picture, and that if your image is accepted, we will publish your name alongside.
The BBC cannot guarantee that all pictures will be used and we reserve the right to edit your comments.
At no time should you endanger yourself or others, take any unnecessary risks or infringe any laws collecting any kind of media.

Here are a selection of pictures from around the country as the results are announced.


Question: This is the first sentence of a news article. Represent it to easily retrieve the remaining few sentences of the article

Question: Julian Draxler scored on his Ligue 1 debut as Paris St-Germain beat Rennes to raise the pressure on the top two.

The Germany forward, signed from Wolfsburg on 3 January, had marked his first game for PSG with a goal in a 7-0 Coupe de France win at Bastia.
In his second match for the club, he bent a shot across Rennes keeper Benoit Costil for a first-half winner.
Unai Emery's side have moved two points behind leaders Nice, and are level on points with second-placed Monaco.
The top two both play on Sunday, with Nice at home to Metz (14:00 GMT) and Monaco away to Marseille (20:00).
Match ends, Rennes 0, Paris Saint Germain 1.
Second Half ends, Rennes 0, Paris Saint Germain 1.
Attempt blocked. Wesley Said (Rennes) left footed shot from the centre of the box is blocked.
Attempt missed. Wesley Said (Rennes) right footed shot from the centre of the box misses to the left following a corner.
Corner,  Rennes. Conceded by Adrien Rabiot.
Attempt blocked. Adama Diakhaby (Rennes) left footed shot from outside the box is blocked. Assisted by Yoann Gourcuff.
Marco Verratti (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Romain Danze (Rennes).
Foul by Marco Verratti (Paris Saint Germain).
Pedro Henrique (Rennes) wins a free kick on the left wing.
Offside, Paris Saint Germain. Kevin Trapp tries a through ball, but Hatem Ben Arfa is caught offside.
Marco Verratti (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Pedro Henrique (Rennes).
Hatem Ben Arfa (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Wesley Said (Rennes).
Marco Verratti (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Ludovic Baal (Rennes).
Substitution, Rennes. Pedro Henrique replaces Sanjin Prcic.
Attempt saved. Adrien Rabiot (Paris Saint Germain) left footed shot from outside the box is saved in the top centre of the goal. Assisted by Hatem Ben Arfa.
Attempt missed. Sanjin Prcic (Rennes) right footed shot from outside the box is close, but misses the top right corner.
Attempt missed. Yoann Gourcuff (Rennes) right footed shot from outside the box is too high following a corner.
Corner,  Rennes. Conceded by Layvin Kurzawa.
Attempt blocked. Ángel Di María (Paris Saint Germain) left footed shot from outside the box is blocked. Assisted by Adrien Rabiot.
Corner,  Rennes. Conceded by Kevin Trapp.
Attempt missed. Benjamin André (Rennes) right footed shot from outside the box is close, but misses to the left. Assisted by Kamil Grosicki.
Substitution, Paris Saint Germain. Ángel Di María replaces Lucas Moura.
Attempt blocked. Thomas Meunier (Paris Saint Germain) left footed shot from the right side of the box is blocked. Assisted by Lucas Moura.
Substitution, Paris Saint Germain. Adrien Rabiot replaces Julian Draxler.
Substitution, Paris Saint Germain. Hatem Ben Arfa replaces Edinson Cavani.
Attempt saved. Wesley Said (Rennes) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Kamil Grosicki.
Attempt missed. Kamil Grosicki (Rennes) right footed shot from the left side of the box is close, but misses to the left. Assisted by Sanjin Prcic with a cross.
Marco Verratti (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Benjamin André (Rennes).
Substitution, Rennes. Wesley Said replaces Aldo Kalulu.
Foul by Edinson Cavani (Paris Saint Germain).
Mexer (Rennes) wins a free kick in the defensive half.
Blaise Matuidi (Paris Saint Germain) wins a free kick in the defensive half.
Foul by Romain Danze (Rennes).
Thiago Motta (Paris Saint Germain) is shown the yellow card.
Thiago Motta (Paris Saint Germain) has gone down, but that's a dive.

Brazilian striker Vagner Love fired Monaco ahead, before Gaetan Charbonnier turned in a cross to equalise.
Love restored Monaco's lead when he pounced on an error but Diego's late finish earned Reims a point.
PSG, who are 22 points ahead of second-place Monaco, are at bottom-club Troyes on Sunday.
If Laurent Blanc's side win they will move 25 points clear with just 24 left to play for in the remaining eight games.


Question: Represent the text to find a corresponding news article that continues the story

Question: Torquay have signed Ebbsfleet striker Tyrone Marsh and Hednesford right-back James Hurst on one-year contracts.

Represent the news to retrieve its missing first sentence!

The duo are the first additions made by new boss Paul Cox and are the first players to sign since Torquay was taken over by a new consortium.
Marsh, 21, was at Oxford United before moving to Ebbsfleet in December.
Hurst, 23, is a former West Bromwich Albion academy player who has also had loans at Blackpool, Birmingham City, Shrewsbury Town and Northampton Town.
"We've brought a player to the football club who is an immense raw talent," Cox told Torquay's website with regard to Marsh. "I've watched him a number of times and watched him evolve as a young player.
"He scored 10 goals in 20 appearances for Welling last year and, while he still needs work, there is unbelievable talent there and the club can enjoy a very good signing."
Hurst can also play on the right of midfield and is a former England youth international.
"For a 23-year-old, James has already had an excellent career," Cox said. "He has perhaps fallen from grace after the potential he had as a young player but we're hoping to put him back on track.
"He brings immense experience for the level he's played at and a fantastic athlete. He's also a technically gifted footballer and he brings a lot of attributes to the club."

It will be the 20-year-old's second spell at the club, having joined on loan from Rochdale in 2016.
Bell made nine appearances in 2016-17 for Gateshead, scoring twice.
Earlier on Thursday, Chester - who finished 19th in the National League - announced new deals for midfielder Wade Joyce and utility player Evan Horwood on one-year and six-month contracts respectively.


Question: Represent the summary to retrieve the rest of the news story with more details.

Question: It was not quite the kind of attention Brazilian President Dilma Rousseff wanted to attract to her country's mining and oil riches.

Documents leaked by former US National Security Agency (NSA) contractor Edward Snowden in September have suggested that the NSA spied on Petrobras, Brazil's state oil giant.
The allegations caused uproar in Brazil, and prompted President Rousseff to cancel her state visit to Washington, where she had wanted to showcase Brazil's energy riches to potential investors.
Even though over a month has passed since the allegations were broadcast on Brazil's TV Globo, the United States has so far failed to reassure Brasilia about the aims of its surveillance programme.
The report on TV Globo, co-authored by Rio-based US journalist Glenn Greenwald, raised the question whether the NSA might have been engaging in industrial espionage against Brazil.
It is an allegation which has been firmly denied by Washington, but one that has touched a sore spot in Brazil.
Petrobras is Brazil's largest company and a major source of revenue for the government. It is also developing Brazil's massive deepwater oil reserves.
On 21 October, Brazil will auction off the rights to develop the biggest of these new oilfields, Libra, to international companies.
So the allegation that the NSA engaged in industrial espionage - and targeted Petrobras in particular - came at the most sensitive of times.
But Timothy Edgar, who was the White House director of privacy and civil liberties from 2006 to 2009, believes the rationale for spying on a country such as Brazil could be better explained by the strict rules within which the NSA operates.
"I can tell you that the US does not engage in industrial espionage," he told the BBC.
"If there were security reasons why intelligence was being gathered in Brazil, it would be legitimate if it was done under a framework [of national security].
"If it was for industrial purposes, it would be basically a violation of US policy," he explained.
He says that, in general, the US intelligence agencies' priorities are about preventing international terrorism, curbing the proliferation of weapons of mass destruction, and fighting international drug trafficking.
But information about military and political leaders of other countries - especially those perceived as opponents of the US in the international arena - can also be flagged up as intelligence priorities, according to Mr Edgar.
Despite a recent warming of relations between Washington and Brasilia, many analysts say it would not come as a surprise if Brazil had been included among these priorities.
Brazil has used its strategic assets, including those in the energy sector, to expand its geopolitical sphere of influence and to strengthen its bonds with other emerging powers in the southern hemisphere.
In the process, Brasilia has often gone counter to US interests on issues such as the war in Syria and the containment of Iran's nuclear programme.
Mr Edgar says that from the point of view of intelligence-gathering, spying on Brazil would make sense if there was a security-related reason, a "legitimate intelligence nexus", for example, to understand the energy supplies within the hemisphere.
But it is this "intelligence nexus" which Washington has so far failed to provide.
The US intelligence services remained tight-lipped about their reasons for allegedly monitoring Brazil's electronic communications, including those of Ms Rousseff herself.
Washington's silence further compounded Ms Rousseff's anger prompting her not only to cancel her state visit scheduled for 23 October, but also to deliver a harsh criticism of the US during the United Nations General Assembly last month.
She called the US surveillance programme an attack on the "sovereignty and the rights of [Brazil's] people and businesses".
She also dismissed Washington's explanation that its monitoring of communications was for Brazil's own good, saying emphatically that Brazil "knows how to protect itself!".
President Barack Obama has promised that a current review of NSA procedures will reassure "allies" such as Brazil, by ensuring that intelligence collected by the secret services amounts to "information that's necessary to protect our people".
It is unclear how long the review will take and whether it will reassure Ms Rousseff.
But with Mr Greenwald saying he plans to reveal more information about US surveillance practices in the coming weeks, Ms Rousseff's Washington visit seems unlikely to be rescheduled for the near future.

this is part of a news article. represent it to retrieve the first (missing) sentence of the article

US President Barack Obama and Brazilian President Dilma Rousseff announced plans to up the amount of energy they use from renewable sources by 2030.
Ms Rousseff cancelled a trip to Washington in 2013 after claims the US had been listening to her phone calls.
Speaking on Tuesday, she said she had faith that such monitoring had stopped.
"The US government have stated on several occasions that they would no longer engage in intrusive acts of spying on friendly countries," Ms Rousseff told reporters after meeting Mr Obama at the White House.
"I believe President Obama," she said, adding that he would ring her if he wanted to know anything.
The leaders of the two biggest economies in the Americas said they were pledging to generate 20% of domestic electricity from renewable resources by 2030.
"These are very ambitious goals, a near tripling for the United States and more than double Brazil's current output," President Obama said at a joint news conference.
Their announcement comes ahead of crucial climate talks at a UN summit in Paris in December.
President Rousseff, 67, said her government had also pledged to eliminate illegal deforestation in the Amazon and to reforest swathes of degraded land.
But that commitment will be met with scepticism by some environmentalists amid signs that Amazon deforestation is again on the increase.
It makes all the sense in the world for the US and Brazil to put the embarrassing NSA spying row of 2013 behind them.
Dilma Rousseff is struggling to keep a grip on the reins of power in Brazil amid the massive corruption scandal at Petrobras.
But the one thing that will save her is for the impressive economic and social gains of the last decade to continue and in that US companies have a big role to play.
Billions of dollars worth of contracts to build infrastructure projects across Brazil were recently announced and, as the biggest inward investor in Brazil, US firms are well placed to snap up much of that business.
However, as President Rousseff acknowledged, Brazil also has to reduce its famously protective and bureaucratic barriers to outsiders if those opportunities are to be fully realized.
For the US too, this is a relationship worth developing. US diplomats will have watched nervously of late as China increased its economic muscle and political influence in the region via loans and credit guarantees.


Question: Represent the text to find a corresponding news article that continues the story

Question: When Apple said it was going to allow ad blocking on the iPhone version of its web browser last September, it escalated a conflict that had been building in the digital economy for years.

Programs such as Adblock Plus, AdFender and Popup Blocker Pro have long claimed to protect consumers from intrusive web ads that slow down our browsers and hoover up personal data.
Around 200 million people globally are estimated to use such apps.
But for businesses that depend on web advertising, ad blockers could cost an estimated $21.8bn (Â£15bn) in lost revenue a year.
While some dispute this figure, most in the industry agree that ad blockers threaten publishers' ability to provide content free at the point of use.
Now publishers and advertisers are fighting back; the battle of the blockers is heating up.
Free London-based business newspaper CityA.M. is one of several publishers to have tried blocking visitors to its site if they have an ad blocker switched on.
The firm, which has been working with the anti-ad block start-up Rezonence, says about a quarter of its readers use ad blockers, but that there has been "no perceivable drop in traffic" since it launched the strategy in October 2015.
"We have had a trickle of complaints, but not many," digital editor Emma Haslett tells the BBC, adding that the firm had extended the strategy - which was initially aimed at Firefox users - to all internet browser types.
Others, like Conde Nast's men's magazine GQ, have tried charging ad blocker-users for access, while US business magazine Forbes is asking users to turn their blockers off in exchange for an "ad-light" experience.
If readers comply, Forbes says, they will be shown no welcome ad, no video ads inserted between paragraphs, and no ads between posts.
If they don't, they will be denied access to the site's content.
"Since we started in December, four million desktop visitors, or over 40% of those asked, have either disabled their blockers or whitelisted Forbes.com, gaining access to content and the ad-light experience," says chief product officer Lewis Dvorkin.
Whitelisting means telling an ad blocker or security program to treat a certain website as safe.
Not everyone is convinced by this approach, however.
Johnny Ryan of anti-blocking start-up PageFair believes ad blocking walls are relatively easy to bypass.
"Often publishers simply update their code, forcing the ad blocking community to get working again. It is a coding tug of war," he says.
Instead, PageFair's technology enables publishers to display "respectful and unobtrusive ads" that do not get filtered out by ad blockers.
In a variation on the theme, former Mozilla co-founder Brendan Eich has launched a browser called Brave, which replaces the targeted ads on websites with "clean" ones that do not record user data or slow down browser speeds.
It claims it will be able to pay publishers a higher proportion of ad revenues generated by cutting out middlemen. And it plans to roll out a system that lets web users make micropayments to publishers they like, in exchange for an ad-free experience.
Privacy app Ghostery is also adopting a more nuanced approach. It shows consumers which ad-serving technologies a website has switched on, and then offers the choice to block or whitelist those services.
According to the Association of Online Publishers, companies also need to display ads that don't annoy consumers in the first place.
This is why mobile video is proving so popular as an ad format - it's entertaining if done well and therefore more acceptable to consumers. Mobile video will account for 87% of global advertising spend by 2018, according to ZenithOptimedia.
Sponsored articles and videos - so-called native advertising - could be another solution, say some, being less obtrusive than traditional pop-up and banner ads and harder for ad blockers to detect.
How much of a threat this poses to independent journalism is another debate, however.
While offering more appetising advertising is vital, ensuring it does not affect the functioning of a website is equally important.
The problem, says Tej Rekhi of ad management company Sizmek, is that too many sites are "over-tagged" because of their ads and that this slows down page-loading speeds.
"Publishers need to make use of the technology that exists to unify tags in one place, allowing for faster load times and better results," he says.
Innovations such as Facebook's Instant Articles - which lets users load articles on mobiles 10 times faster than the traditional mobile web - point to a way forward.
But is all this concern about ad-blockers overhyped?
App market analytics firm firm App Annie tells the BBC that - despite an initial surge of interest after Apple's announcement - the most popular ad blocking programs have all dropped out of the App Store's top 100 most downloaded apps and now rank much lower.
And Stuart Miles, editor of tech news site Pocket-lint, says: "The media likes to stir things up when it comes to ad blocking. But in reality, the majority of people aren't bothered because they have to install something, and they never get round to it."
That said, Andrew Frank, digital marketing expert at technology research firm Gartner, believes ad blocking is growing quickly and its effects could be severe "for an industry that already faces challenges".
Facebook warned investors in January that ad blockers could "adversely affect" future profits.
Ciaran O'Kane, founder of ad tech research company ExchangeWire, doubts we'll see affected companies "die on the vine", but says they will have to adapt.
"Media companies have certainly sacrificed some of the user experience online for the sake of extra revenue.
"So I think this is a great opportunity for the ad industry to finally get its house in order."
Follow Technology of Business editor @matthew_wall on Twitter.

represent the news to retrieve its missing first sentence

That's how its been since the App Store's inception seven years ago.
But soon Apple will for the first time lower its App Store commission on one condition: if an app can retain a subscriber for over a year, the revenue split will be 85/15.
The change will apply immediately to existing apps with users that are more than a year old - potentially providing an injection of extra revenue for many companies.
Spotify, for example, boasted of having 20 million subscribers this time last year.
For the sake of argument, if even just half of those subscribers are still paying members today, the change could potentially represent around $15m (£10.3m) in extra subscription revenue for Spotify every month, and that's probably a conservative estimate.
As well as price, Apple will introduce another significant change to App Store subscriptions. Until now, only apps in certain categories - media and entertainment content - could charge subscription fees. Soon, any app will be able to offer such an option.
This is widely seen as a way for Apple to encourage high-end productivity apps onto its mobile operating system, iOS.
"This could be the change that makes the market for professional-calibre iPad apps possible," wrote John Gruber, a technology writer and long-time Apple watcher.
"I think this is terrific news both for developers and users."
The danger, of course, is by opening up subscriptions to every type of app, Apple risks creating a frustrating environment that's irritating for users who were accustomed to the simple model of paid or free apps.
Then again, subscriptions are surely more likely to encourage quality compared to one-off payments - the challenge for developers shifts from being convincing people to pay once, to convincing them to keep paying, again and again.
Mr Gruber noted, however, that there was still some uncertainty about whether all apps could use the new business model.
The revenue split change is just one piece of Apple's plans for its store, which now has 1.5 million apps on offer - second only to Google's Play store.
It means discovery for apps seeking to gain new users can be difficult, with limited possibilities for promotion within the store other than becoming an Apple "featured app", a lucrative accolade that can make or break a new app.
Soon, ads will appear at the top of searches made in the App Store. They will, Apple says, be relevant to the search in question, and be clearly marked as being a paid-for position. Ads won't be shown to users who are under 13.
Location data is used to power some of the ads, but users can opt out of this, Apple said, and no user data is shared with the advertisers in question.
The changes have been announced ahead of Apple's annual Worldwide Developers' Conference, or WWDC.
More announcements are on the way, but it's traditional for WWDC to be more about software improvements than new hardware.
Microsoft, Facebook and Google have already held their equivalent events, and at each, artificial intelligence was the main talking point. Will Apple offer the same?
There's rumblings in the Valley that Apple lags way behind the others when it comes to machine learning and AI technologies - presenting a problem which one prominent observer warned could see Apple become the "next Blackberry".
Such talk is premature, of course, when talking about the world's most valuable company. The changes to the App Store - outlined in Apple's words here - are about maintaining dominance of the market, not chasing it.
Follow Dave Lee on Twitter @DaveLeeBBC and on Facebook


Question: Represent the summary to retrieve the rest of the news story with more details

Question: Former All-Blacks fly-half Nick Evans is to retire at the end of the season, once his commitments with Premiership side Harlequins come to an end.

Evans, 36, won 16 caps for New Zealand and has been one of the most successful overseas imports to the Premiership since moving to the Stoop in 2008.
He won a Premiership title in 2011-12 and holds Quins' scoring record, having amassed 2,217 points in 206 games.
"I couldn't think of a better place to finish my career," Evans said.
"This game has taught me everything, showed me things I could never imagine and introduced me to people that are not team-mates but family.
"I need to thank the clubs I have represented, the coaches - who have helped shape the player I am today - and the fans, both in New Zealand where it all started, and here in the UK, for their support and cheers."
Harlequins director of rugby John Kingston said: "The word 'legendary' is really over-used within the modern sporting world, but in the case of Nick Evans and his rugby playing career at Harlequins, it is the perfect description."
His final league game, fitness permitting, would be away to Northampton on 6 May, with Quins' hopes of a Premiership play-off place all but over.

Represent the news to retrieve its missing first sentence

The 36-year-old, who has won 94 caps for his country, leaves Munster after 270 competitive appearances in 17 seasons for the Irish province.
"Donncha has tremendous know-how at the highest level," boss Dean Ryan said.
"To bring in someone with such international and European experience is a real coup for the club."
O'Callaghan, who also made four appearances for the British & Irish Lions in 2009, has played in three consecutive World Cups for Ireland and helped to win the Six Nations Grand Slam in 2009.
He has also picked up two Heineken Cup winners' medals, along with two Magners League titles, for Munster.
"I'm very grateful to Munster for all that they've done for me," he said. "But now I'm hungry for my new challenge.
"I watched the Bristol game where Warriors turned it around in the last seven minutes at the end of last season, and that was really impressive."
There may be more new signings at Sixways before the new Premiership season kicks off at home to Northampton on Friday, 16 October.
Experienced Springbok centre Wynand Olivier is also reportedly set to sign on a two-year deal following his release by Montpellier.


Question: this is the first sentence of a news article. represent it to easily retrieve the remaining few sentences of the article

Question: Rangers say midfielder Joey Barton "will return to full-time training" following a club-imposed suspension.

Represent the news to retrieve its missing first sentence

The 34-year-old has been absent from the club since a training-ground row after the 5-1 Scottish Premiership loss at Celtic on 10 September.
Alongside agent Eddy Jennings, he attended a meeting with club officials last week.
Barton, who joined from Burnley in May, has repeatedly said he wants to return and fight for his Rangers place.
"Joey Barton has been told he will return to full-time training following the conclusion of a disciplinary procedure," read a statement on Rangers' website.
"The Auchenhowie [training base] management team will inform the player of appropriate training arrangements to which he must adhere for as long as he remains a Rangers player.
"Neither the club, nor the player, will comment further."
Barton is also facing Scottish FA charges for breaching betting rules. He was charged with placing 44 bets on games between 1 July and 15 September.
The former Manchester City, Newcastle United and QPR player, who has one England cap, left Burnley under freedom of contract at the end of last season, signing a two-year contract at Ibrox.
He has made eight appearances for Mark Warburton's side, who are second in the Premiership.
Barton was not available for comment but said earlier on Wednesday on Twitter that it was "a lovely day for a @Iceman_Hof session and a run!" in reference to Dutch ice bath training guru Wim Hof.
BBC Scotland's Richard Wilson
The fact that Joey Barton is returning to full-time training does not necessarily mean the resumption of his Rangers career.
Under Fifa rules, a player under contract at a club must be provided with training facilities.
The fact that the player was suspended reflects the view of the management team about the serious nature of a training-ground row in September.
Any return to the first-team squad would need to be handled in such a way as to not disrupt the mood and unity among the players.
Rangers' statement does not say that Barton is returning to the first-team squad, or will be available for selection, and only the management team at their Auchinhowie training base is mentioned, rather than first-team manager Mark Warburton.
Either the player does eventually return to the first-team squad, or his Rangers career effectively remains over and what happens in the January transfer window will be significant.

This is part of a news article. Represent it to retrieve the first (missing) sentence of the article

The League One side have not specified why they have taken the action against the 24-year-old former Everton trainee.
A brief club statement said: "Procedures are being followed and no further comment will be made until the completion of these actions."
Baxter joined the club from Oldham Athletic in 2013, and has scored 20 goals in 93 league appearances.
BBC Radio Sheffield approached the Blades for details on the reasons for the ban but the club declined to comment.
Baxter was handed a five-month suspension, with the final three of those suspended, by the Football Association in July after failing an out-of-competition drugs test in May.
The player denied any intentional wrongdoing in a personal hearing, adding the traces of ecstasy found in his system were as a result of his drink being spiked.
Baxter said the ban had left him "in a dark place", adding that he hoped to pay back the club and its fans for their support.


Question: Represent the text to find a corresponding news article that continues the story!

Question: A sustained clampdown on the Twitter presence of Islamic State (IS) has forced the hardline jihadist group to explore less well-known social media platforms like the privacy-focused Diaspora, which was used to disseminate the video of US journalist James Foley's killing.

represent the news to retrieve its missing first sentence
------
For instance, <<['This is part of a news article. Represent it to retrieve the first (missing) sentence of the article.', 'Early indications are of wide variations nationwide, with up to one in six missing out on their first choice of school in some areas.\nWhile in other areas, almost all got their number one preference.\nIt comes days after council leaders said two in five local authorities would have too few places by 2016.\nPressure is growing, particularly in schools on London\'s fringes and in cities such as Leicester, Nottingham, Reading and Peterborough.\nHowever, in London, around 99,000 pupils or 95% received a place at one of their six preferred schools this year - up 1,100 and nearly five percentage points from last year.\nOf those, 81% got into their first preference school, the same proportion as the two previous years. But there were wide local variations within the capital. In Kensington and Chelsea, only 59% got their first preference, while in Barking and Dagenham it was 91%.\nThis comes against a backdrop of an extra 900 applications in the capital this year.\nThe crisis has been precipitated mainly by a booming birth-rate, partly by immigration and by families moving specifically to be near popular schools.\nThe demand for school places has risen steeply in Harrow, which has some very good primary schools. It was predicted to be 12% over capacity by this September but the council said it had worked really hard to ensure there are enough places for Harrow children this year.\nA spokesman said the crush Harrow was seeing now was very likely to affect other areas around the country soon.\nInitial results from a Press Association survey of town halls shows families in some areas are more likely to gain a place at their top choice than in others.\nResults from Birmingham show 84.7% of children starting reception have got a place at their first preference, while 94.8% got one of their listed choices. Around one in 20 applicants - 826 children - were given a school that was not one of their preferred options. A further 3.3% - 532 youngsters - have been offered a school outside the city.\nFigures from East Sussex show 84.68% got their first choice, while in Southampton the percentage was 85.4%.\nIn Derbyshire, 93.4% of youngsters received their first pick, in Torbay it was 86.2%, Bristol was 84% - up from 82% last year, and in Cornwall it was 90.7%.\nIn Kent the figure was was 85.81%, up slightly from 84.9% last year.\nLabour and the National Association of Head Teachers also blame the coalition government\'s free-school policy, which has allowed some new schools to be opened in areas that already have surplus places.\nAt the same time, the ability of local authorities to plan for population surges has been reduced by regulations requiring any new schools to be either an academy or a free school, rather than a council school.\nNAHT general secretary Russell Hobby said: "We have a balkanised system with authorities, academies and central government taking decisions in isolation."\nHe added: "There is a desperate need for long-term planning that spans all sectors. With the massive increase in pupil numbers and over-stretched budgets, we cannot afford inefficiency and conflict."\nThe Local Government Association said the escalating places shortage was one of the key areas that needed to be tackled by the next government.\nEarlier this month, it said schools were "reaching their limits and could soon run out of space and money for extra places" and there would be a need for an extra 880,000 pupils at a cost of Â£12bn.\nThe Conservatives blame Labour for the problem saying the party "cut over 200,000 primary school places - and even ignored official warnings to provide extra school places after a baby boom".\nA spokesman added: "The Conservatives have created over 400,000 school places. There are fewer children in overcrowded primary schools and, most importantly, one million more children in good or outstanding schools since 2010."\nLabour points out that under the Conservative-Lib Dem administration the number of infant children in classes with more than 30 pupils has more than trebled from 31,265 in 2010 to 102,615 in 2015.\nShadow education secretary Tristram Hunt blamed the Conservatives for spending "hundreds of millions of taxpayers\' money on a few free schools in areas where there are no shortages of places".\nBut Natalie Evans, director of New Schools Network, said: "Over 90% of primary free schools opened or approved to open are in areas where new school places are needed. But they are also offering new choices in areas of low standards."\nLiberal Democrat schools minister David Laws said: "It\'s astonishing that Labour and the Conservatives won\'t properly fund these children.  It will be impossible to provide a place for every child and raise standards unless we protect education budgets."\nTy Goddard, co-founder of think-tank Education Foundation, said England\'s vast education property estate could be used with more imagination, but called for the parties to work together on solving the school places issue. He said a national "school places taskforce" should be set up to solve the issue with clarity, speed and partnership.']>>  to <<['Represent the summary to retrieve the rest of the news story with more details', 'More than half a million families are discovering which primary schools their children will attend, amid a growing places squeeze in parts of England.']>>

Since IS began a series of spectacular land-grabs in Iraq in June, a long list of Twitter accounts run by the group have been shut down - apparently in response to the widely-acknowledged success of its social media offensive.
The Twitter squeeze intensified last week - coinciding with mounting international pressure on the group - when back-up IS accounts were being taken down almost as soon as they were being launched.
Appearing to give up on Twitter, IS then launched a string of accounts on Diaspora relaying news from its various "provinces" in Iraq and Syria. But these too disappeared within hours of the James Foley video being released, leaving the group with no official social media outlet.
Despite the pressure on its media operation, IS has always proved highly resilient and adaptable. As well as seeking out alternative platforms, the group has been able to rely on a huge army of supporters to give its propaganda wider circulation on Twitter, YouTube and other social media.
IS first experimented with Diaspora around a month ago, setting up accounts there for its central media wing, al-Itisam, and its multilingual media outfit, al-Hayat Media Center, after they were evicted from Twitter.
Around the same time, IS launched accounts on two other marginal social media platforms - Friendica and Quitter - both of which also claim a greater emphasis on privacy and data protection than Twitter.
But the IS accounts there soon suffered the same fate as on Twitter, while its presence on Diaspora endured for nearly a month before the Foley video prompted the site to take action.
Diaspora is a decentralised online social network, started with crowdfunding by four New York students in 2010. It relies on its users to set up communities on their own servers or "pods" using the Diaspora software.
As such, it does not operate through a central website, but through a series of interconnected sites whose members can interact with accounts on other pods. IS chose to set up shop on one of the most active pods, hosted in the US.
The loss of Twitter and Diaspora as a place where IS can publish material directly is a blow for the group. But it may only be temporary and has not prevented it from spreading its message.
The group has thousands of supporters on Twitter who are actively amplifying its message, rallying support and waging psychological warfare. During the Brazil 2014 World Cup, for example, they hijacked popular football hashtags to broaden the reach of the IS message.
Their latest campaign, primarily in English, has been aimed at taunting the West - sometimes with black humour, sometimes with gruesome imagery - warning that any weapons sent to the aid the Kurds in their offensive against IS would end up in IS hands.
BBC Monitoring reports and analyses news from TV, radio, web and print media around the world. For more reports from BBC Monitoring, click here. You can follow BBC Monitoring on Twitter and Facebook.

This is part of a news article. Represent it to retrieve the first (missing) sentence of the article!

The clips were released through IS-linked Twitter accounts in the last few days, and are part of a co-ordinated social media campaign to convey a stark message to Muslims in the region.
The videos, which say that leaving what they call Muslim territory is a "grave sin", take advantage of the current European refugee crisis to tell prospective migrants that they can expect nothing but humiliation and exposure to immoral lifestyles should they decide to leave.
It is not the first comment from the extremist group on the refugee issue, but it is the clearest indication that IS is concerned by the numbers fleeing their rule.
The Arabic-language videos were produced by IS "provinces" in Syria, Iraq and Yemen and released by Twitter accounts linked to the group on 16 and 17 September.
According to the propaganda videos, life is calm under the governance and "complete security" of Islamic law under IS rule - glossing over entirely the daily fighting, air strikes and zero tolerance of dissent in the group's areas in Syria and Iraq.
The warm welcome to newcomers is a recurring theme in propaganda videos from IS, which desperately needs to sustain a viable population in order to bolster its claim to administer an Islamic "caliphate".
On the other side of the coin, they highlight what they say is the humiliation, deprivation and discrimination experienced by refugees and migrants under the canvas tents of refugee camps in freezing conditions and warn that they would be exposed to an immoral lifestyle in Europe.
Taking advantage of the European crisis, viewers are told that thousands are making a perilous journey to Europe to no good end, and face being met with heavy-handed treatment from security forces.
The stark choice presented by the clips is made clear: Heading for Europe is described as a "grave sin", with one commentary promising "hell-fire" for deserters.
IS had at first remained officially silent on the refugee crisis, but recently passed comment in its English magazine, Dabiq, released on 9 September.
IS' message on refugees has been amplified through a Twitter campaign that has attracted over 31,000 posts under a hashtag that translates as "where are you seeking refuge?"
As with any Islamic State propaganda campaign, powerful imagery is used to promote the videos. Viewers are drawn to one of the clips on Twitter with images of Alan Kurdi's body, juxtaposed with those of children injured in what IS claims are allied bombing raids.
But while the videos and social media campaign promote IS with a positive image, there is no mention of the brutal penalties meted out to those who dare question IS rule.
BBC Monitoring reports and analyses news from TV, radio, web and print media around the world. You can follow BBC Monitoring on Twitter and Facebook.


Question: Represent the summary to retrieve the rest of the news story with more details

Question: Hundreds of police officers have turned their backs on the mayor of New York at the funeral of the second of two officers shot dead last month.

Wenjian Liu, a son of Chinese migrants, was killed with his partner Rafael Ramos on 20 December by a gunman with a grievance against the police.
Speakers lined up to pay tribute at the service in a Brooklyn funeral home.
In the street outside, hundreds turned their backs to a video screen when Mayor Bill de Blasio spoke.
Many rank-and-file members of the New York Police Department (NYPD) resent Mr de Blasio's expressions of sympathy for anti-police protesters in recent months.
The double murder by an African American gunman who claimed to be avenging black men killed by white police stunned the city.
New York police commissioner Bill Bratton had urged officers to refrain from any further "act of disrespect", saying in a memo, "A hero's funeral is about grieving, not grievance."
Mayor de Blasio told the funeral service:  "All of our city is heartbroken today."
Liu, 32, had lost his life while fighting for "all that is decent and good", he said. He paid tribute to a "young man who came here from China at the age of 12 in search of the American dream".
Outside the funeral home, many uniformed officers could be seen turning their backs as the speech was relayed.
Shortly after the policemen were shot, the head of the city's largest police union, Patrick Lynch, had lashed out at the liberal mayor, saying there was "blood on many hands".
More than 20,000 officers attended Ramos' funeral on 27 December, and the sight of lines of police turning their backs marred the event for some.
"The mayor has no respect for us," retired NYPD detective Camille Sanfilippo told the Associated Press news agency at Liu's funeral. "Why should we have respect for him?''
Patrick Yoes, a national secretary with the 328,000-member Fraternal Order of Police, said before the new funeral: "Across this country, we seem to be under attack in the law enforcement profession, and the message to take away from this is: We are public servants. We are not public enemies."
The two policemen were shot following a wave of demonstrations over killings of unarmed black men by white police officers, beginning in the Missouri town of Ferguson last summer.
There was anger in New York after a grand jury decided not to press charges against a white police officer over the death of unarmed black man Eric Garner, who was placed in a chokehold while being restrained by police officers.
Mayor de Blasio had expressed solidarity with the protesters and had publicly wondered if his son, who is mixed-race, was safe from police.
Some argue that such rhetoric helped to create an environment that encouraged violence against police.
Funeral arrangements had been delayed so relatives from China could travel to New York.
Liu's widow, Pei Xia Chen, said she had lost her "soul mate" and a "wonderful husband".
His father broke down at the funeral as he described how his only child would telephone after every shift during his seven years in the force to reassure his parents he was safe.
"You are the best son, you are the best husband," he said. "We are very proud of you, we love you forever."
A vigil was held on Saturday in Chinatown where community members gathered to burn pieces of paper in honour of Liu, in keeping with Chinese tradition.
The man who shot Ramos and Liu, Ismaaiyl Brinsley, killed himself in a subway station as police were closing in.
Brinsley, 28, had a history of violence and mental instability. On the day of the shooting, he went on social media to say he was planning to kill police officers.

represent the news article to find a single sentence that could be used as a summary.

For example, ['Represent', 'Speaking in a debate organised by BBC Look North, Daily Mirror journalist and remain campaigner Kevin Maguire said leaving the EU would cause a recession.\nBut newspaper columnist and leave advocate Rod Liddle said the country would be better off in the long-run.\nThe EU Referendum will be held on 23 June.\nThe debate panel, which also consisted of Labour MP for Newcastle Central Chi Onwurah and Conservative MP for Berwick Anne-Marie Trevelyan.\nMr Maguire said: "If you leave you will disrupt the economy, there will be a recession, people will lose their jobs."\nHe also said it would be the poorer parts of society who would suffer the short-term troubles.\nBut Mr Liddle said it was "daft" and "ridiculous" for remain supporters to say "we will go to hell in a hand cart and it will be murderous" if Britain leaves the EU.\nHe said: "There is no doubt that in the short term there will be a bumpy ride, the Leave campaign should be a bit more honest about that, trade deals take time but we will be better off in the long run."\nMs Onwurah, a remain campaigner, said: "Rod and Leave can say it will be alright in time but the people who suffer when things go wrong with the economy are not the rich, they are poor people and young people who don\'t yet have a job."\nMs Trevelyan, who supports leaving, said the money being paid to the EU would be better spent by the UK government.'] should be similar to ['represent the text to find a corresponding news article that continues the story.', 'A supporter of leaving the EU admitted it could cause short-term troubles but claimed it would eventually be worth it.']

Brian Moore, 25, was shot while attempting to question a suspect from his police car in the borough of Queens.
New York's Jamaica Hospital said the officer underwent surgery there about four hours after the shooting.
Police said the suspect, named as Demitrius Blackwell, was arrested about an hour after the incident.
Bill Bratton, New York's police commissioner, said Mr Moore and his partner Erik Janssen were in an unmarked car when they saw a man adjust something on his belt.
Suspecting he was carrying a gun, the officers approached him.
"The man immediately removed the firearm from his waistband and turned in the direction of the officers and deliberately fired several times at the vehicle, striking Officer Moore in the head," Mr Bratton said.
New York Mayor Bill de Blasio told reporters: "It's a reminder of the dangers all of our officers face every single day."
Mr Moore came from a police family and had served with distinction, the mayor said.
Local media reported that Mr Blackwell was recently paroled after serving seven years in prison for attempted murder.
Saturday's incident is the fifth shooting of a police officer in New York in five months.
In December, two officers were shot dead in their car in New York by a man who then committed suicide. The gunman in that case had posted anti-police messages on social media but there is no indication of a similar motive in the latest shooting.
The shooting comes amid heightened tensions in the US over the police's use of force.
On Friday, a prosecutor in Baltimore announced charges against six officers over the death of a man in custody.