Simple Question (Direct)
Simple Question
Q25999765
P495
Q15617994
USER
What is the origin of Gypsy Curse ?
(Q25999765,P495,c(Q15617994))
action filter_type
action find
entity Q25999765
relation P495
type Q15617994
['Q25999765', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q25999765 property:P495 ?k }
Gypsy Curse
action filter_type
action find
entity Gypsy Curse
relation country of origin
type designation for an administrative territorial entity
['Gypsy Curse', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gypsy_Curse property:country_of_origin ?k }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q25999765,P495,c(Q15617994))
action filter_type
action find
entity Q25999765
relation P495
type Q15617994
The origin of Gypsy Curse is in [ANSWER]
['Q25999765', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q25999765 property:P495 ?k }
Spain
The origin of Gypsy Curse is in Spain
Spain
action filter_type
action find
entity Gypsy Curse
relation country of origin
type designation for an administrative territorial entity
['Gypsy Curse', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gypsy_Curse property:country_of_origin ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25999765
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q29,P57,c(Q502895))
action filter_type
action find
entity Q25999765
relation P57
type Q502895
['Q29', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q25999765 property:P57 ?f }
Gypsy Curse
action filter_type
action find
entity Gypsy Curse
relation director
type common name
['Spain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Gypsy_Curse property:director ?f }
[]
common name
Q728391
SYSTEM
Joaquín Luis Romero Hernández Marchent
Q728391
(Q29,P57,c(Q502895))
action filter_type
action find
entity Q25999765
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q29', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q25999765 property:P57 ?f }
Joaquín Luis Romero Hernández Marchent
Joaquín Luis Romero Hernández Marchent served as the directed of that work of art
Joaquín Luis Romero Hernández Marchent
action filter_type
action find
entity Gypsy Curse
relation director
type common name
['Spain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Gypsy_Curse property:director ?f }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q95074 Q201658
USER
Which works of art inspired max number of fictional characters or film genres ?
(c(Q95074)|c(Q201658),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
[[{'concept': 'Q95074'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q95074 ) ( ontology:Q201658 ) } . ?d rdf:type ?j } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q95074 ) ( ontology:Q201658 ) } } GROUP BY ?c } . FILTER ( ?h = ?e ) }
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
[[{'concept': 'fictional character'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:fictional_character ) ( ontology:film_genre ) } . ?d rdf:type ?j } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:fictional_character ) ( ontology:film_genre ) } } GROUP BY ?c } . FILTER ( ?h = ?e ) }
[]
work of art fictional character film genre
Q493755
SYSTEM
Coming to America
Q493755
(c(Q95074)|c(Q201658),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
[ANSWER] inspired max number of fictional characters or film genres
[[{'concept': 'Q95074'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q95074 ) ( ontology:Q201658 ) } . ?d rdf:type ?j } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q95074 ) ( ontology:Q201658 ) } } GROUP BY ?c } . FILTER ( ?h = ?e ) }
Coming to America
Coming to America inspired max number of fictional characters or film genres
Coming to America
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
[[{'concept': 'fictional character'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:fictional_character ) ( ontology:film_genre ) } . ?d rdf:type ?j } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:fictional_character ) ( ontology:film_genre ) } } GROUP BY ?c } . FILTER ( ?h = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that work of art ?
(Q493755,P161,c(Q502895))
action count
action filter_type
action find
entity Q493755
relation P161
type Q502895
['Q493755', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q493755 property:P161 ?g . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Coming to America
relation cast member
type common name
['Coming to America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Coming_to_America property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
15
Q310413 Q172678 Q43874 Q364135 Q532944 Q5024455 Q3129613 Q606599 Q259737 Q3174736 Q498820 Q943589 Q594329 Q203960 Q136209
(Q493755,P161,c(Q502895))
action count
action filter_type
action find
entity Q493755
relation P161
type Q502895
[ANSWER]
['Q493755', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q493755 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Don Ameche Samuel L. Jackson Eddie Murphy Ralph Bellamy Eriq La Salle Calvin Lockhart Helen Hanft Arsenio Hall Madge Sinclair Shari Headley John Amos Frankie Faison Louie Anderson James Earl Jones Cuba Gooding Jr.
15
action count
action filter_type
action find
entity Coming to America
relation cast member
type common name
['Coming to America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Coming_to_America property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q72708
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories have adopted more number of holidays or people as patron saint than Terzigno ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q72708
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?w WHERE { { ?w property:P417 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1445650 } UNION { ?w property:P417 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q502895 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q72708 property:P417 ?o . { { ?o rdf:type ontology:Q1445650 } UNION { ?o rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?f ) }
Terzigno
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Terzigno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?w WHERE { { ?w property:patron_saint ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:holiday } UNION { ?w property:patron_saint ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:common_name } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Terzigno property:patron_saint ?o . { { ?o rdf:type ontology:holiday } UNION { ?o rdf:type ontology:common_name } } } } . FILTER ( ?g > ?f ) }
[]
holiday common name designation for an administrative territorial entity
Q38 Q36 Q33
SYSTEM
Italy, Poland, Finland
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q36 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q25198 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q286808 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q38 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q72708
relation P417
type Q1445650
type Q502895
[ANSWERS] have adopted more number of holidays or people as patron saint than Terzigno
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?w WHERE { { ?w property:P417 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1445650 } UNION { ?w property:P417 ?m . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q502895 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q72708 property:P417 ?o . { { ?o rdf:type ontology:Q1445650 } UNION { ?o rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?f ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Poland Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Olgiate Olona Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Fiavè Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Italy Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
Italy, Poland and Finland have adopted more number of holidays or people as patron saint than Terzigno
Italy Poland Finland
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Terzigno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?w WHERE { { ?w property:patron_saint ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:holiday } UNION { ?w property:patron_saint ?m . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:common_name } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Terzigno property:patron_saint ?o . { { ?o rdf:type ontology:holiday } UNION { ?o rdf:type ontology:common_name } } } } . FILTER ( ?g > ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q36 Q33
P6
Q502895
USER
Who are the heads of the government of those administrative territories ?
(Q38,P6,c(Q502895)) (Q36,P6,c(Q502895)) (Q33,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q38', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}] ['Q33', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?t property:P6 ?l . VALUES ( ?t ) { ( resource:Q102547 ) ( resource:Q103832 ) ( resource:Q46304 ) } . ?l rdf:type ontology:Q502895 }
Italy Poland Finland
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}] ['Finland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?t property:head_of_government ?l . VALUES ( ?t ) { ( resource:Abetone ) ( resource:Castelcovati ) ( resource:Foza ) } . ?l rdf:type ontology:common_name }
[]
common name
Q57638 Q674957 Q503143
SYSTEM
Jyrki Katainen, Enrico Letta, Alexander Stubb
Q47563 Q674957 Q246216 Q946 Q4877021 Q55917 Q1711532 Q57638 Q503143
(Q38,P6,c(Q502895)) (Q36,P6,c(Q502895)) (Q33,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
The heads of the government of those administrative territories are [ANSWERS]
['Q38', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}] ['Q33', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?t property:P6 ?l . VALUES ( ?t ) { ( resource:Q102547 ) ( resource:Q103832 ) ( resource:Q46304 ) } . ?l rdf:type ontology:Q502895 }
Matteo Renzi Enrico Letta Ewa Kopacz Donald Tusk Beata Szydło Jarosław Kaczyński Juha Sipilä Jyrki Katainen Alexander Stubb
The heads of the government of those administrative territories are Jyrki Katainen, Enrico Letta and Alexander Stubb
Jyrki Katainen Enrico Letta Alexander Stubb
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}] ['Finland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?t property:head_of_government ?l . VALUES ( ?t ) { ( resource:Abetone ) ( resource:Castelcovati ) ( resource:Foza ) } . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q57638 Q674957 Q503143
P102
Q7210356
USER
Which parties do those people belong to ?
(Q57638,P102,c(Q7210356)) (Q674957,P102,c(Q7210356)) (Q503143,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
['Q57638', 'P102', {'concept': 'Q7210356'}] ['Q674957', 'P102', {'concept': 'Q7210356'}] ['Q503143', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . VALUES ( ?g ) { ( resource:Q47563 ) ( resource:Q674957 ) ( resource:Q246216 ) } . ?g property:P102 ?u }
Jyrki Katainen Enrico Letta Alexander Stubb
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Jyrki Katainen', 'member of political party', {'concept': 'political organization'}] ['Enrico Letta', 'member of political party', {'concept': 'political organization'}] ['Alexander Stubb', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . VALUES ( ?g ) { ( resource:Matteo_Renzi ) ( resource:Enrico_Letta ) ( resource:Ewa_Kopacz ) } . ?g property:member_of_political_party ?u }
[]
political organization
Q304191 Q304191 Q47729
SYSTEM
Democratic Party for 3rd, National Coalition Party for 1st, 2nd
Q304191 Q1141788 Q815348 Q47729 Q1259087 Q304191
(Q57638,P102,c(Q7210356)) (Q674957,P102,c(Q7210356)) (Q503143,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
[ANSWERS]
['Q57638', 'P102', {'concept': 'Q7210356'}] ['Q674957', 'P102', {'concept': 'Q7210356'}] ['Q503143', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . VALUES ( ?g ) { ( resource:Q47563 ) ( resource:Q674957 ) ( resource:Q246216 ) } . ?g property:P102 ?u }
National Coalition Party Democracy Is Freedom – The Daisy Christian Democracy Democratic Party Italian People's Party National Coalition Party
Those people belong to National Coalition Party, National Coalition Party and Democratic Party
National Coalition Party National Coalition Party Democratic Party
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Jyrki Katainen', 'member of political party', {'concept': 'political organization'}] ['Enrico Letta', 'member of political party', {'concept': 'political organization'}] ['Alexander Stubb', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . VALUES ( ?g ) { ( resource:Matteo_Renzi ) ( resource:Enrico_Letta ) ( resource:Ewa_Kopacz ) } . ?g property:member_of_political_party ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q304191
P1142
Q7257
USER
What ideologies do National Coalition Party believe in ?
(Q304191,P1142,c(Q7257))
action filter_type
action find
entity Q304191
relation P1142
type Q7257
['Q304191', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?e WHERE { resource:Q304191 property:P1142 ?e . ?e rdf:type ontology:Q7257 }
National Coalition Party
action filter_type
action find
entity National Coalition Party
relation political ideology
type ideology
['National Coalition Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?e WHERE { resource:National_Coalition_Party property:political_ideology ?e . ?e rdf:type ontology:ideology }
[]
ideology
Q729119 Q1043096 Q3781399
SYSTEM
economic liberalism, liberal conservatism, Pro-Europeanism
Q729119 Q1043096 Q3781399
(Q304191,P1142,c(Q7257))
action filter_type
action find
entity Q304191
relation P1142
type Q7257
National Coalition Party believe in [ANSWERS]
['Q304191', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?e WHERE { resource:Q304191 property:P1142 ?e . ?e rdf:type ontology:Q7257 }
economic liberalism liberal conservatism Pro-Europeanism
National Coalition Party believe in economic liberalism, liberal conservatism and Pro-Europeanism
economic liberalism liberal conservatism Pro-Europeanism
action filter_type
action find
entity National Coalition Party
relation political ideology
type ideology
['National Coalition Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?e WHERE { resource:National_Coalition_Party property:political_ideology ?e . ?e rdf:type ontology:ideology }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q304191
Q1047113
USER
And which special field?
(Q304191,P1142,c(Q1047113))
action filter_type
action find
entity Q304191
relation P1142
type Q1047113
['Q304191', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q304191 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
National Coalition Party
action filter_type
action find
entity National Coalition Party
relation political ideology
type special field
['National Coalition Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:National_Coalition_Party property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
special field
Q6216
SYSTEM
liberalism
Q6216
(Q304191,P1142,c(Q1047113))
action filter_type
action find
entity Q304191
relation P1142
type Q1047113
[ANSWER]
['Q304191', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q304191 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
liberalism
liberalism
action filter_type
action find
entity National Coalition Party
relation political ideology
type special field
['National Coalition Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:National_Coalition_Party property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q1047113 Q21114848 Q502895
USER
How many special fields do around the same number of magazine genres and people belong to as that special field ?
(c(Q21114848)|c(Q502895),P101,c(Q1047113))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q6216
relation P101
type Q21114848
type Q502895
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?x WHERE { { ?h property:P101 ?x . ?x rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q21114848 } UNION { ?h property:P101 ?x . ?x rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q502895 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { { ?e rdf:type ontology:Q21114848 } UNION { ?e rdf:type ontology:Q502895 } } . ?e property:P101 resource:Q6216 } } . FILTER ( ?s = ?k ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type special field
type magazine genre
action find_reverse_tuple_counts
relation field of work
type special field
type common name
action count
action filter_multi_types
action find_reverse
entity liberalism
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?x WHERE { { ?h property:field_of_work ?x . ?x rdf:type ontology:special_field . ?h rdf:type ontology:magazine_genre } UNION { ?h property:field_of_work ?x . ?x rdf:type ontology:special_field . ?h rdf:type ontology:common_name } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { { ?e rdf:type ontology:magazine_genre } UNION { ?e rdf:type ontology:common_name } } . ?e property:field_of_work resource:liberalism } } . FILTER ( ?s = ?k ) }
[]
special field magazine genre common name
SYSTEM
151
Q614304 Q26237583 Q2964004 Q121713 Q794605 Q1365243 Q499500 Q7208 Q60195 Q182442 Q180502 Q583336 Q189329 Q7218 Q1407263 Q103824 Q1071 Q7215 Q788926 Q1333872 Q216685 Q2002157 Q384001 Q211500 Q837863 Q1773974 Q81009 Q123028 Q598976 Q105650 Q327092 Q208217 Q683455 Q2374463 Q177635 Q83042 Q376680 Q26237769 Q454812 Q40821 Q1660187 Q162555 Q411 Q631286 Q77604 Q6216 Q80006 Q739465 Q182468 Q864601 Q861689 Q7922 Q189553 Q213891 Q134435 Q7867 Q271707 Q120569 Q11351 Q213403 Q80015 Q745328 Q2445082 Q199655 Q47417 Q160039 Q1569011 Q647525 Q207434 Q2442870 Q173113 Q10379 Q435608 Q6497044 Q170978 Q4917288 Q2861470 Q840545 Q1461602 Q4260703 Q2740627 Q1489271 Q171171 Q1066186 Q201486 Q80083 Q501778 Q102904 Q145903 Q7782365 Q1456948 Q898674 Q460162 Q1774688 Q9053037 Q5654877 Q461659 Q351870 Q33521 Q441 Q1221899 Q188449 Q17397651 Q5284418 Q382995 Q131089 Q2043282 Q28797 Q162606 Q10384 Q28793 Q10609775 Q11180 Q603441 Q459381 Q35395 Q502159 Q126552 Q27133094 Q165650 Q4356367 Q852732 Q1071953 Q81058 Q1430622 Q21583222 Q599991 Q207011 Q14565201 Q235007 Q11397 Q26331146 Q12128 Q3110778 Q164204 Q489119 Q170201 Q504033 Q39645 Q141495 Q1371704 Q23404 Q428691 Q1045712 Q15218776 Q77590 Q52106 Q2143884 Q1741922 Q243748 Q1038158
(c(Q21114848)|c(Q502895),P101,c(Q1047113))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q6216
relation P101
type Q21114848
type Q502895
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?x WHERE { { ?h property:P101 ?x . ?x rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q21114848 } UNION { ?h property:P101 ?x . ?x rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q502895 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { { ?e rdf:type ontology:Q21114848 } UNION { ?e rdf:type ontology:Q502895 } } . ?e property:P101 resource:Q6216 } } . FILTER ( ?s = ?k ) }
pharmacy ethnopolitics thoracic surgery acupuncture biblical studies tropical medicine clinical pathology pathology semiotics plastic surgery parasitology research on Antisemitism liberal arts education toxicology forensic psychiatry hematology geography virology Infectious disease combinatorial optimization orthopedics family therapy historical geography pneumatics pure mathematics preventive medicine rhetoric pediatrics medical microbiology urology biomedical engineering literary science anatomical pathology data science nephrology neurology traumatology pediatric neurology forensic medicine surgery film studies oncology astrobiology numismatics radiology liberalism computer programming study of the Hebrew language hydrography biomedicine Education economics pedagogy otolaryngology geochronology topography psychiatry rheology gastroenterology organic chemistry naturopathy Obstetrics gynecology mathematical statistics Science, technology and society library science international economics econometrics Urban history behavioral economics human–computer interaction lepidopterology agronomy cardiology Ancient History history of literature robotics control engineering emergency medicine sports medicine computer-supported cooperative work railway engineering heliophysics eloquence dermatology science of history history of science humanities translation studies volcanology egyptology Theoretical ecology geobotany neonatology museology clinical pharmacology spatial planning International studies sociology of religion reproductive medicine applied mathematics botany gynaecology neurosurgery supersonic aerodynamics obstetrics legal science geodesy business administration applied science endocrinology geriatrics film theory information visualization internal medicine bibliometrics literary theory phonetics serology business informatics vaccine development media studies Philosophical theology proof theory medical genetics homeopathy space medicine rabbinic studies zoogeography neuroscience altmetrics cardiac surgery classical mechanics Serbo-Croatian studies dentistry thracology musicology Hellenic studies veterinary medicine oral and maxillofacial surgery semantics mathematical optimization etruscology anthropology computer engineering neuroeconomics orthopedic surgery civil engineering biogeography Social medicine pediatric urology bacteriology homiletics
151
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type special field
type magazine genre
action find_reverse_tuple_counts
relation field of work
type special field
type common name
action count
action filter_multi_types
action find_reverse
entity liberalism
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?x WHERE { { ?h property:field_of_work ?x . ?x rdf:type ontology:special_field . ?h rdf:type ontology:magazine_genre } UNION { ?h property:field_of_work ?x . ?x rdf:type ontology:special_field . ?h rdf:type ontology:common_name } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { { ?e rdf:type ontology:magazine_genre } UNION { ?e rdf:type ontology:common_name } } . ?e property:field_of_work resource:liberalism } } . FILTER ( ?s = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57638
P26
Q502895
USER
Which person has Jyrki Katainen as spouse ?
(c(Q502895),P26,Q57638)
action filter_type
action find
entity Q57638
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q57638']
SELECT DISTINCT ?v WHERE { resource:Q57638 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Jyrki Katainen
action filter_type
action find
entity Jyrki Katainen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jyrki Katainen']
SELECT DISTINCT ?v WHERE { resource:Jyrki_Katainen property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q17278091
SYSTEM
Mervi Katainen
Q17278091
(c(Q502895),P26,Q57638)
action filter_type
action find
entity Q57638
relation P26
type Q502895
[ANSWER] has Jyrki Katainen as spouse
[{'concept': 'Q502895'}, 'P26', 'Q57638']
SELECT DISTINCT ?v WHERE { resource:Q57638 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Mervi Katainen
Mervi Katainen has Jyrki Katainen as spouse
Mervi Katainen
action filter_type
action find
entity Jyrki Katainen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jyrki Katainen']
SELECT DISTINCT ?v WHERE { resource:Jyrki_Katainen property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17278091
P40
Q502895
USER
Which people are a successors of that one ?
(Q17278091,P40,c(Q502895))
action filter_type
action find
entity Q17278091
relation P40
type Q502895
['Q17278091', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17278091 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Mervi Katainen
action filter_type
action find
entity Mervi Katainen
relation child
type common name
['Mervi Katainen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Mervi_Katainen property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q17278094 Q17278095
SYSTEM
Saara Katainen, Veera Katainen
Q17278094 Q17278095
(Q17278091,P40,c(Q502895))
action filter_type
action find
entity Q17278091
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q17278091', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17278091 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Saara Katainen Veera Katainen
Saara Katainen and Veera Katainen are a successors of that one
Saara Katainen Veera Katainen
action filter_type
action find
entity Mervi Katainen
relation child
type common name
['Mervi Katainen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Mervi_Katainen property:child ?p . ?p rdf:type ontology:common_name }
[]