Re: [SMW-devel] Anybody knows how to get all triples of a page in aprogram?

2009-07-24 Thread Laurent Alquier
values of URLs have %20 in them. I would like to retrieve the raw value of a URL and display it as plain text (and not as a hyperlink). - Laurent From: "CNIT" Sent: Thursday, July 23, 2009 8:14 PM To: "Jie Bao" Subject: Re: [SMW-devel

Re: [SMW-devel] Anybody knows how to get all triples of a page in aprogram?

2009-07-24 Thread CNIT
Jie Bao пишет: > Thanks Anja. I have a slightly different coding based yours that works: > > // return an array of arraies of predicate-value pairs of the page > function getTriple($title) > { > > $page = SMWDataValueFactory::newTypeIDValue( '_wpg', > $title->getFullText()); > $semdata = smwfGetSt

Re: [SMW-devel] Anybody knows how to get all triples of a page in aprogram?

2009-07-23 Thread Jie Bao
t;$propvalue = array(); >$propvalue = $data->getPropertyValues($property); >$propvaluetext = $propvalue[0]->getLongHTMLText(); >$proparray[$propnametext] = $propvaluetext; > } >

Re: [SMW-devel] Anybody knows how to get all triples of a page in aprogram?

2009-07-08 Thread Friederichs, Anja
$proparray[$propnametext] = $propvaluetext; } } return $proparray; } >-Ursprüngliche Nachricht- >Von: Jie Bao [mailto:bao...@cs.rpi.edu] >Gesendet: Mittwoch, 8. Juli 2009 04:33 >An: semediawiki-devel; Semantic MediaWiki users >Betreff: