Simple Question (Direct)
Simple Question
Q963286
P19
Q56061
USER
Which administrative territory is the place of birth of Ivan Ploshtakov ?
(Q963286,P19,c(Q56061))
action filter_type
action find
entity Q963286
relation P19
type Q56061
['Q963286', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q963286 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Ivan Ploshtakov
action filter_type
action find
entity Ivan Ploshtakov
relation place of birth
type administrative territorial entity
['Ivan Ploshtakov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ivan_Ploshtakov property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q459
SYSTEM
Plovdiv
Q459
(Q963286,P19,c(Q56061))
action filter_type
action find
entity Q963286
relation P19
type Q56061
[ANSWER] is the place of birth of Ivan Ploshtakov
['Q963286', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q963286 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Plovdiv
Plovdiv is the place of birth of Ivan Ploshtakov
Plovdiv
action filter_type
action find
entity Ivan Ploshtakov
relation place of birth
type administrative territorial entity
['Ivan Ploshtakov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ivan_Ploshtakov property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q459
P138
Q17444909
USER
Which astronomical object type comes from that administrative territory ?
(c(Q17444909),P138,Q459)
action filter_type
action find_reverse
entity Q459
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q459']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q459 . ?k rdf:type ontology:Q17444909 }
Plovdiv
action filter_type
action find_reverse
entity Plovdiv
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Plovdiv']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Plovdiv . ?k rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q749293
SYSTEM
3860 Plovdiv
Q749293
(c(Q17444909),P138,Q459)
action filter_type
action find_reverse
entity Q459
relation P138
type Q17444909
[ANSWER] comes from that administrative territory
[{'concept': 'Q17444909'}, 'P138', 'Q459']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q459 . ?k rdf:type ontology:Q17444909 }
3860 Plovdiv
3860 Plovdiv comes from that administrative territory
3860 Plovdiv
action filter_type
action find_reverse
entity Plovdiv
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Plovdiv']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Plovdiv . ?k rdf:type ontology:astronomical_object_type }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q938
P138
Q17444909 Q79529
USER
How many chemical substances are the eponym of around the same number of astronomical object types as strontium ?
(c(Q79529),P138,c(Q17444909))
action count
action approx
action find_tuple_counts
relation P138
type Q79529
type Q17444909
action count
action filter_type
action find
entity Q938
relation P138
type Q79529
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?w ) WHERE { ?c property:P138 ?h . ?h rdf:type ontology:Q17444909 . ?c rdf:type ontology:Q79529 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q938 property:P138 ?l . ?l rdf:type ontology:Q79529 } } . FILTER ( ?w = ?t ) }
strontium
action count
action approx
action find_tuple_counts
relation named after
type chemical substance
type astronomical object type
action count
action filter_type
action find
entity strontium
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?w ) WHERE { ?c property:named_after ?h . ?h rdf:type ontology:astronomical_object_type . ?c rdf:type ontology:chemical_substance } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:strontium property:named_after ?l . ?l rdf:type ontology:chemical_substance } } . FILTER ( ?w = ?t ) }
[]
astronomical object type chemical substance
SYSTEM
92
Q19833508 Q114391 Q1258 Q1396 Q1252 Q660 Q1094 Q1091 Q877 Q421607 Q3773670 Q713 Q417286 Q1266 Q1872 Q3999934 Q373365 Q1876 Q24249946 Q425507 Q4759444 Q725 Q722 Q193598 Q1849 Q1846 Q19833612 Q1302 Q1304 Q419083 Q941 Q731 Q1115 Q737 Q1853 Q1855 Q1857 Q1896 Q23069154 Q1046 Q4000992 Q1272 Q938 Q1278 Q1109 Q1102 Q4632126 Q1100 Q7042098 Q1901 Q1070924 Q1905 Q17485402 Q740 Q3667576 Q1075376 Q1819 Q1054 Q414452 Q618 Q318777 Q751 Q1838 Q1832 Q15727147 Q416243 Q1297015 Q417078 Q979 Q716 Q1809 Q374209 Q876 Q1882 Q1226 Q1888 Q1249 Q21029153 Q910278 Q674 Q671 Q4110430 Q178397 Q861 Q1089 Q1898 Q867 Q1128 Q1232 Q1234 Q1086 Q1892
(c(Q79529),P138,c(Q17444909))
action count
action approx
action find_tuple_counts
relation P138
type Q79529
type Q17444909
action count
action filter_type
action find
entity Q938
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?w ) WHERE { ?c property:P138 ?h . ?h rdf:type ontology:Q17444909 . ?c rdf:type ontology:Q79529 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q938 property:P138 ?l . ?l rdf:type ontology:Q79529 } } . FILTER ( ?w = ?t ) }
direnzoite Congo red meitnerium europium hassium magnesium indium cadmium iridium Vaska's complex gottardiite scandium cupric arsenite darmstadtium americium tschernichite ferrous ammonium sulfate (anhydrous) curium tetranatrolite bischofite Andrographolide chromium vanadium ascorbic acid erbium holmium ho-166 fabrièsite flerovium livermorium Crabtree's catalyst yttrium manganese thorium rhenium thulium ytterbium lutetium fermium Reichardt's dye niobium tvedalite roentgenium strontium copernicium protactinium plutonium 4-bromo-2,5-dimethoxy-N-(2-methoxybenzyl)phenethylamine tellurium Nizam Diamond nobelium nabesite lawrencium alflarsenite cobalt chiavennite C60 fullerene samarium technetium Grubbs' catalyst boron abelsonite osmium terbium gadolinium Nessler's reagent Tebbe's reagent 100122 Alpes Maritimes Petasis reagent polonium titanium promethium Cullinan Diamond selenium berkelium rutherfordium californium bohrium garronite-Na Bechgaard salt phosphorus francium Sprengel explosive apatite gallium palladium mendelevium germanium radium dubnium seaborgium ruthenium einsteinium
92
action count
action approx
action find_tuple_counts
relation named after
type chemical substance
type astronomical object type
action count
action filter_type
action find
entity strontium
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?w ) WHERE { ?c property:named_after ?h . ?h rdf:type ontology:astronomical_object_type . ?c rdf:type ontology:chemical_substance } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:strontium property:named_after ?l . ?l rdf:type ontology:chemical_substance } } . FILTER ( ?w = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1105
P138
Q17444909 Q79529
USER
And also tell me about neptunium?
(c(Q79529),P138,c(Q17444909))
action count
action approx
action find_tuple_counts
relation P138
type Q79529
type Q17444909
action count
action filter_type
action find
entity Q1105
relation P138
type Q79529
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:P138 ?z . ?e rdf:type ontology:Q79529 . ?z rdf:type ontology:Q17444909 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q1105 property:P138 ?r . ?r rdf:type ontology:Q79529 } } . FILTER ( ?p = ?o ) }
neptunium
action count
action approx
action find_tuple_counts
relation named after
type chemical substance
type astronomical object type
action count
action filter_type
action find
entity neptunium
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:named_after ?z . ?e rdf:type ontology:chemical_substance . ?z rdf:type ontology:astronomical_object_type } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:neptunium property:named_after ?r . ?r rdf:type ontology:chemical_substance } } . FILTER ( ?p = ?o ) }
[]
astronomical object type chemical substance
SYSTEM
3
Q1385 Q1098 Q1105
(c(Q79529),P138,c(Q17444909))
action count
action approx
action find_tuple_counts
relation P138
type Q79529
type Q17444909
action count
action filter_type
action find
entity Q1105
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:P138 ?z . ?e rdf:type ontology:Q79529 . ?z rdf:type ontology:Q17444909 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q1105 property:P138 ?r . ?r rdf:type ontology:Q79529 } } . FILTER ( ?p = ?o ) }
cerium uranium neptunium
3
action count
action approx
action find_tuple_counts
relation named after
type chemical substance
type astronomical object type
action count
action filter_type
action find
entity neptunium
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?e property:named_after ?z . ?e rdf:type ontology:chemical_substance . ?z rdf:type ontology:astronomical_object_type } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:neptunium property:named_after ?r . ?r rdf:type ontology:chemical_substance } } . FILTER ( ?p = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q53265
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have adopted lesser number of people or holidays as patron saint than Gemona del Friuli ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q53265
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?u WHERE { { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q502895 } UNION { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q1445650 } } GROUP BY ?u } . FILTER ( ?d < ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q53265 property:P417 ?f . { { ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q1445650 } } } } }
Gemona del Friuli
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Gemona del Friuli
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?u WHERE { { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:common_name } UNION { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:holiday } } GROUP BY ?u } . FILTER ( ?d < ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Gemona_del_Friuli property:patron_saint ?f . { { ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:holiday } } } } }
[]
common name holiday administrative territorial entity
Q6221 Q329984 Q4361
SYSTEM
Brescia, Úbeda, Curitiba
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q53265
relation P417
type Q502895
type Q1445650
[ANSWERS] have adopted lesser number of people or holidays as patron saint than Gemona del Friuli
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?u WHERE { { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q502895 } UNION { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q1445650 } } GROUP BY ?u } . FILTER ( ?d < ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q53265 property:P417 ?f . { { ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q1445650 } } } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
Brescia, Úbeda and Curitiba have adopted lesser number of people or holidays as patron saint than Gemona del Friuli
Brescia Úbeda Curitiba
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Gemona del Friuli
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?u WHERE { { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:common_name } UNION { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:holiday } } GROUP BY ?u } . FILTER ( ?d < ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Gemona_del_Friuli property:patron_saint ?f . { { ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:holiday } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q53265
P19 P21
Q502895
USER
Which people have birthplace at Gemona del Friuli and are a male ?
AND((c(Q502895),P19,Q53265), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53265
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q53265'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q53265 . ?e property:P21 resource:Q6581097 }
male Gemona del Friuli
action filter_type
action intersection
action find_reverse
entity Gemona del Friuli
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Gemona del Friuli'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Gemona_del_Friuli . ?e property:gender resource:male }
[]
common name
Q3547663 Q3742099 Q21209176 Q3903088 Q709727 Q18062264 Q368113 Q1678951 Q3770576 Q2638404
SYSTEM
Some of them are Ettore Tommaso Fantoni, Felice Barazzutti, Luigi Zuccheri, Pierluigi Cappello, Roberto Cecon, Giacomo Matiz, Luca Vuerich, Jakob Ceconi, Giuseppe Foschiani, Raimondo Tommaso D'Aronco
Q368113 Q4716328 Q3792369 Q493621 Q3903137 Q19851308 Q3764696 Q3547663 Q3856664 Q766048 Q2638404 Q574449 Q3903088 Q1089182 Q23818750 Q3765726 Q21209176 Q744076 Q1389043 Q514833 Q3742099 Q3850263 Q3903049 Q23928438 Q3741620 Q23309388 Q16581911 Q3610592 Q18062264 Q19850588 Q3613876 Q350988 Q1678951 Q709727 Q3770576
AND((c(Q502895),P19,Q53265), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53265
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have birthplace at Gemona del Friuli and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q53265'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q53265 . ?e property:P21 resource:Q6581097 }
Luca Vuerich Alessandro Cicutti Ignazio Piussi Andrea Cecon Pierluigi Ronzon Vincenzo Luccardi Gino Peressutti Ettore Tommaso Fantoni Michele Liva Alessio De Crignis Raimondo Tommaso D'Aronco Sebastian Colloredo Pierluigi Cappello Marco Beltrame Diego Simonetti Giorgio Rumignani Luigi Zuccheri Basile de Glemona Stefano Chiapolino Giuseppe Michielli Felice Barazzutti Martino da Gemona Pierino Celetto Eugenio Minisini Federico Bellina Giampaolo Ganzer Nereo Vianello Alessio Velliscig Giacomo Matiz Luciano Fantoni Amedeo Angeli Simone Padoin Jakob Ceconi Roberto Cecon Giuseppe Foschiani
Ettore Tommaso Fantoni, Felice Barazzutti, Luigi Zuccheri, Pierluigi Cappello, Roberto Cecon, Giacomo Matiz, Luca Vuerich, Jakob Ceconi, Giuseppe Foschiani and Raimondo Tommaso D'Aronco have birthplace at Gemona del Friuli and are a male
Ettore Tommaso Fantoni Felice Barazzutti Luigi Zuccheri Pierluigi Cappello Roberto Cecon Giacomo Matiz Luca Vuerich Jakob Ceconi Giuseppe Foschiani Raimondo Tommaso D'Aronco
action filter_type
action intersection
action find_reverse
entity Gemona del Friuli
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Gemona del Friuli'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Gemona_del_Friuli . ?e property:gender resource:male }
[]