Here is an example of a web page that has semantaic markup using schma.org vocabulary in all three encoding that search engines check for: microdata, RDFa and JSON-LD. You can see what structured data will be extracted by Google by entering this page's url into Google's structured data testing tool.
John Smith lives in Baltimore.
John Smith lives in Baltimore.
John Smith lives in Baltimore.