* Wall Street stocks advance

* BOJ tweaks monetary policy

* U.S. inflation moderates

* Benchmark 10-yield weakens

* Dollar falls; safe-haven gold rises

NEW YORK, July 28 (Reuters) - World shares rose while U.S. Treasury yields fell on Friday as markets digested the Bank of Japan's decision to tweak its ultra-loose monetary policy as well as data showing a continuing moderation in annual U.S. inflation.

The Bank of Japan on Friday adjusted its yield curve control scheme, offering to buy 10-year Japanese government bonds beyond the previous 0.5% target rate while keeping unchanged its benchmark short-term rate at -0.1% and long-term bond yields at zero.

The move brings the BOJ more into line with other major central banks, which have been aggressively hiking rates to reduce inflation. The U.S. Federal Reserve and European Central Bank had announced interest rates hikes this week, with markets expecting them to be nearing the end of a rate-raising cycle.

U.S. inflation slowed considerably in the 12 months to June, with the personal consumption expenditures (PCE) price index rising by 3%, the smallest annual gain since March 2021, data from the Commerce Department showed on Friday.

The MSCI All Country stock index, which tracks shares in nearly 50 countries, rose 0.79% to 705.65 points. The index has gained nearly 17% year-to-date.

U.S. Treasury yields weakened after hitting two-week highs for most maturities the previous session, with yields on benchmark 10-year Treasury notes down at 3.967% while two-year yields fell to 4.8952%.

"I think the BOJ move turned out to be a whole lot less than what was feared. It's basically a minor tweak and the market is coming to around to the fact that it is not really meaningful in terms of tightening," said Garrett Melson, portfolio strategist at Natixis Investment Managers in Boston.

On Wall Street, all three main indexes were trading higher led by technology, communication services and consumer discretionary stocks. The Dow Jones Industrial Average rose 0.69% to 35,525.52, the S&P 500 gained 1.12% to 4,588.1 and the Nasdaq Composite added 2.07% to 14,340.91.

European stocks were down 0.2% after hitting a 17-month high on Thursday when the ECB raised interest rates to their highest level in more than two decades and left open the possibility of a pause at its next meeting.

"Right now, the market fully realizes that it's all about how the data unfolds. We're really in the midst of a material slow down in inflation trends and at the same time growth is holding up well, which is what you'd expect for the soft landing," Melson added.

The yen whipsawed in its most volatile trading session in months following the BOJ's move while

the dollar fell

against a basket of its major peers. The Japanese yen weakened nearly 1% versus the greenback at 140.83 per dollar. The dollar index fell 0.157%, with the euro up 0.51% to $1.1029.

Oil prices

edged lower

but were still on track for a fifth straight week of gains as investors were optimistic that healthy demand and supply cuts will keep prices buoyant. Brent crude slipped 0.49% to $83.83 a barrel, while U.S. West Texas Intermediate (WTI) crude dipped 0.6% to $79.61 a barrel.

Gold prices rose

after a sharp fall in the previous session, helped by a slight retreat in the dollar. Spot gold added 0.8% to $1,961.15 an ounce, while U.S. gold futures gained 0.83% to $1,961.90 an ounce.

(Reporting by Chibuike Oguh in New York)