Simple Question (Direct)
Simple Question
Q3876127
P106
Q151885
USER
Which concept has Nicola Barbato as his/her 's career ?
(Q3876127,P106,c(Q151885))
action filter_type
action find
entity Q3876127
relation P106
type Q151885
['Q3876127', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q3876127 property:P106 ?d . ?d rdf:type ontology:Q151885 }
Nicola Barbato
action filter_type
action find
entity Nicola Barbato
relation occupation
type concept
['Nicola Barbato', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Nicola_Barbato property:occupation ?d . ?d rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q3876127,P106,c(Q151885))
action filter_type
action find
entity Q3876127
relation P106
type Q151885
As [ANSWER] has Nicola Barbato as his/her 's career
['Q3876127', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q3876127 property:P106 ?d . ?d rdf:type ontology:Q151885 }
trade unionist
As trade unionist has Nicola Barbato as his/her 's career
trade unionist
action filter_type
action find
entity Nicola Barbato
relation occupation
type concept
['Nicola Barbato', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Nicola_Barbato property:occupation ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3876127
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q15627169,P19,c(Q15617994))
action filter_type
action find
entity Q3876127
relation P19
type Q15617994
['Q15627169', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3876127 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Nicola Barbato
action filter_type
action find
entity Nicola Barbato
relation place of birth
type designation for an administrative territorial entity
['trade unionist', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nicola_Barbato property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q489267
SYSTEM
Piana degli Albanesi
Q489267
(Q15627169,P19,c(Q15617994))
action filter_type
action find
entity Q3876127
relation P19
type Q15617994
That person was born in [ANSWER]
['Q15627169', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3876127 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Piana degli Albanesi
That person was born in Piana degli Albanesi
Piana degli Albanesi
action filter_type
action find
entity Nicola Barbato
relation place of birth
type designation for an administrative territorial entity
['trade unionist', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nicola_Barbato property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q489267 Q38 Q16995301
P17
Q15617994
USER
Is that administrative territory situated in Italy and Hewlett-Woodmere School District ?
(Q489267,P17,Q38) (Q489267,P17,Q16995301)
action is_in
entity Q489267
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q16995301
relation P17
['Q489267', 'P17', 'Q38'] ['Q489267', 'P17', 'Q16995301']
ASK WHERE { resource:Q489267 property:P17 resource:Q38 . resource:Q489267 property:P17 resource:Q16995301 }
Piana degli Albanesi Italy Hewlett-Woodmere School District
action is_in
entity Piana degli Albanesi
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Hewlett-Woodmere School District
relation country
['Piana degli Albanesi', 'country', 'Italy'] ['Piana degli Albanesi', 'country', 'Hewlett-Woodmere School District']
ASK WHERE { resource:Piana_degli_Albanesi property:country resource:Italy . resource:Piana_degli_Albanesi property:country resource:Hewlett-Woodmere_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q489267,P17,Q38) (Q489267,P17,Q16995301)
action is_in
entity Q489267
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q16995301
relation P17
[ANSWER]
['Q489267', 'P17', 'Q38'] ['Q489267', 'P17', 'Q16995301']
ASK WHERE { resource:Q489267 property:P17 resource:Q38 . resource:Q489267 property:P17 resource:Q16995301 }
YES and NO respectively
action is_in
entity Piana degli Albanesi
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Hewlett-Woodmere School District
relation country
['Piana degli Albanesi', 'country', 'Italy'] ['Piana degli Albanesi', 'country', 'Hewlett-Woodmere School District']
ASK WHERE { resource:Piana_degli_Albanesi property:country resource:Italy . resource:Piana_degli_Albanesi property:country resource:Hewlett-Woodmere_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q15416 Q2342494
USER
How many administrative territories are the countries of origin of atleast 7620 television programs or collectables ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 7620
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?r WHERE { { ?l property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15416 } UNION { ?l property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?r } . FILTER ( ?i >= 7620 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 7620
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?r WHERE { { ?l property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:television_program } UNION { ?l property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?r } . FILTER ( ?i >= 7620 ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
2
Q145 Q30
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 7620
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?r WHERE { { ?l property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15416 } UNION { ?l property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?r } . FILTER ( ?i >= 7620 ) }
United Kingdom United States of America
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 7620
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?r WHERE { { ?l property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:television_program } UNION { ?l property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?r } . FILTER ( ?i >= 7620 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with lesser number of administrative territories than Denmark ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?e ) WHERE { ?o rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?o property:P530 ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q35 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?b ) }
Denmark
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?e ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Denmark property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?b ) }
[]
political territorial entity designation for an administrative territorial entity
Q664 Q1000 Q769
SYSTEM
New Zealand, Gabon, Grenada
Q1000 Q781 Q778 Q769 Q685 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Denmark
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?e ) WHERE { ?o rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?o property:P530 ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q35 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?b ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea New Zealand Jamaica
New Zealand, Gabon and Grenada have diplomatic relationships with lesser number of administrative territories than Denmark
New Zealand Gabon Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?e ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Denmark property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16
P530
Q1048835 Q15617994
USER
And also tell me about Canada?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?q } } . FILTER ( ?d < ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?d ) WHERE { ?g property:P530 ?b . ?g rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?g } }
Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?q } } . FILTER ( ?d < ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?d ) WHERE { ?g property:diplomatic_relation ?b . ?g rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?q } } . FILTER ( ?d < ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?d ) WHERE { ?g property:P530 ?b . ?g rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?g } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark Austria New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?q } } . FILTER ( ?d < ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?d ) WHERE { ?g property:diplomatic_relation ?b . ?g rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with approximately 1 political territory ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?j ) WHERE { ?i property:P530 ?r . ?i rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?j = 1 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?j ) WHERE { ?i property:diplomatic_relation ?r . ?i rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?j = 1 ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 1
[ANSWERS] hold diplomatic relationship with approximately 1 political territory
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?j ) WHERE { ?i property:P530 ?r . ?i rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?j = 1 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with approximately 1 political territory
Denmark Austria New Zealand
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?j ) WHERE { ?i property:diplomatic_relation ?r . ?i rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?j = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1795377
P530
Q1048835
USER
Do Barra da Estiva have diplomatic relations with those ones ?
(Q1795377,P530,Q35) (Q1795377,P530,Q40) (Q1795377,P530,Q664)
action is_in
entity prev_answer
action find
entity Q1795377
relation P530
['Q1795377', 'P530', 'Q35'] ['Q1795377', 'P530', 'Q40'] ['Q1795377', 'P530', 'Q664']
ASK WHERE { resource:Q1795377 property:P530 ?b . VALUES ( ?b ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Barra da Estiva
action is_in
entity prev_answer
action find
entity Barra da Estiva
relation diplomatic relation
['Barra da Estiva', 'diplomatic relation', 'Denmark'] ['Barra da Estiva', 'diplomatic relation', 'Austria'] ['Barra da Estiva', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Barra_da_Estiva property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
political territorial entity
SYSTEM
NO
(Q1795377,P530,Q35) (Q1795377,P530,Q40) (Q1795377,P530,Q664)
action is_in
entity prev_answer
action find
entity Q1795377
relation P530
[ANSWER]
['Q1795377', 'P530', 'Q35'] ['Q1795377', 'P530', 'Q40'] ['Q1795377', 'P530', 'Q664']
ASK WHERE { resource:Q1795377 property:P530 ?b . VALUES ( ?b ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
No
action is_in
entity prev_answer
action find
entity Barra da Estiva
relation diplomatic relation
['Barra da Estiva', 'diplomatic relation', 'Denmark'] ['Barra da Estiva', 'diplomatic relation', 'Austria'] ['Barra da Estiva', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Barra_da_Estiva property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P20
Q502895
USER
Which people expired at Denmark ?
(c(Q502895),P20,Q35)
action filter_type
action find_reverse
entity Q35
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q35']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q35 . ?l rdf:type ontology:Q502895 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Denmark . ?l rdf:type ontology:common_name }
[]
common name
Q246812 Q253571 Q2321295
SYSTEM
Sweyn II of Denmark, Berengaria of Portugal, Sophia of Denmark
Q555098 Q5810678 Q1624551 Q3130303 Q1805326 Q12320183 Q450608 Q5126081 Q7559019 Q384245 Q5083533 Q246812 Q562944 Q6423805 Q2192244 Q5619134 Q613410 Q7983408 Q3437029 Q1744240 Q7038071 Q36731 Q6218871 Q4956396 Q1606227 Q6525835 Q5005234 Q4974907 Q7235540 Q6372004 Q5361980 Q6044749 Q5109291 Q4919521 Q4717857 Q12326860 Q4957837 Q3833338 Q253571 Q12717473 Q4994537 Q5338567 Q75460 Q4962866 Q259116 Q1397864 Q5618948 Q6423777 Q4956372 Q6875818 Q1277411 Q5341401 Q5349655 Q978076 Q3359618 Q428694 Q11973993 Q1969502 Q1703464 Q6558738 Q2078791 Q5716602 Q3430589 Q4949031 Q6385533 Q21467935 Q972656 Q2321295 Q5620066 Q512261 Q7029394 Q4919914 Q6547617 Q3182315 Q12330086 Q5504974 Q6199705 Q3362707 Q4982518 Q3428436 Q263412 Q1428739 Q6347395 Q4830269 Q7109739 Q4877143 Q6238611 Q2483406 Q5361978 Q531648 Q434782 Q5134044 Q2106702 Q3191186 Q7113315 Q4887166 Q4948996 Q3398701 Q2904470 Q16065216 Q6216844 Q5371276 Q3398251 Q6321595 Q4962080
(c(Q502895),P20,Q35)
action filter_type
action find_reverse
entity Q35
relation P20
type Q502895
[ANSWERS] expired at Denmark
[{'concept': 'Q502895'}, 'P20', 'Q35']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q35 . ?l rdf:type ontology:Q502895 }
Olaf Ussing Valsø Holm Holger Juul Hansen Henning Bendtsen Margot von Gans John Hilbard Bjørn Watt-Boolsen Clara Østø Solveig Sundborg William of Æbelholt Charles Wilken Sweyn II of Denmark Freddy Koch Knud Schrøder Gyda of Sweden Gunnar Strømvad Villum Kann Rasmussen Werner Heyking John Olsen Laura Kieler Nina Pens Rode Svein Knutsson Preben Uglebjerg Else Jarlbak Henrik Adam Brockenhuus Leonard Weisgard Børge Møller Grimstrup Lise Ringheim Poul Müller Karl Kristian Steincke Elith Pio Kjeld Petersen Christian Arhoff Bjarne Forchhammer Alex Suhr Mette von Kohl Nina Kalckar Lis Ahlmann Berengaria of Portugal Ole Theodor Helliesen Paul Sarauw Edith Hermansen Kálfr Árnason Henny Lindorff Buckhøj Eleanor of Portugal, Queen of Denmark Piet Blom Gunnar Bigum Knud Hilding Ellen Jansø Miskow Makwarth Willy Rathnov Edvin Tiemroth Einar Juhl Jens Rosing Rune T. Kidde Boetius of Dacia Hans Christian Ægidius Adriaan Kruseman Jonny Rieger Lise Thomsen Peter Villaume Henrik Wiehe Hardy Rafn Johanne Fritz-Petersen Keld Markuslund Joris de Caullery Princess Dagmar of Denmark Sophia of Denmark Guri Richter Avi Sagild Nicolai Esmit Bjørn Puggaard-Müller Lili Heglund John Price Ole Høyer Fritz Magnussen Jimmy Buckley Arne Weel Caroline Thielo Bjarne Henning-Jensen Dagmar of Bohemia Hans Schmidt-Gorsblock Kai Holm Axel Frische Otto Møller Jensen Beatrice Bonnesen John Henderson, 5th of Fordell Poul Thomsen Elith Foss Eli Fischer-Jørgensen Birger, King of Sweden Else Petersen Pouel Kern Jørgen Ravn Ove Rud Bendt Rothe Grete Frische Bertel Lauring Birger Var Svend Nielsen Johannes Marott Emil Hass Christensen Asbjørn Andersen Jørgen Weel Utilia Lenkiewitz
Sweyn II of Denmark, Berengaria of Portugal and Sophia of Denmark expired at Denmark
Sweyn II of Denmark Berengaria of Portugal Sophia of Denmark
action filter_type
action find_reverse
entity Denmark
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Denmark . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q246812
P7
Q502895
USER
Which person has Sweyn II of Denmark as their brother ?
(c(Q502895),P7,Q246812)
action filter_type
action find
entity Q246812
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q246812']
SELECT DISTINCT ?h WHERE { resource:Q246812 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Sweyn II of Denmark
action filter_type
action find
entity Sweyn II of Denmark
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sweyn II of Denmark']
SELECT DISTINCT ?h WHERE { resource:Sweyn_II_of_Denmark property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q18357561
SYSTEM
Beorn Estrithson
Q18357561
(c(Q502895),P7,Q246812)
action filter_type
action find
entity Q246812
relation P7
type Q502895
[ANSWER] has Sweyn II of Denmark as their brother
[{'concept': 'Q502895'}, 'P7', 'Q246812']
SELECT DISTINCT ?h WHERE { resource:Q246812 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Beorn Estrithson
Beorn Estrithson has Sweyn II of Denmark as their brother
Beorn Estrithson
action filter_type
action find
entity Sweyn II of Denmark
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sweyn II of Denmark']
SELECT DISTINCT ?h WHERE { resource:Sweyn_II_of_Denmark property:brother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18357561
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q18357561)
action filter_type
action find_reverse
entity Q18357561
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q18357561']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q18357561 . ?n rdf:type ontology:Q502895 }
Beorn Estrithson
action filter_type
action find_reverse
entity Beorn Estrithson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Beorn Estrithson']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Beorn_Estrithson . ?n rdf:type ontology:common_name }
[]
common name
Q68366
SYSTEM
Siward, Earl of Northumbria
Q68366
(c(Q502895),P22,Q18357561)
action filter_type
action find_reverse
entity Q18357561
relation P22
type Q502895
The offspring of that one is William [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q18357561']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q18357561 . ?n rdf:type ontology:Q502895 }
Siward, Earl of Northumbria
The offspring of that one is William Siward, Earl of Northumbria
Siward, Earl of Northumbria
action filter_type
action find_reverse
entity Beorn Estrithson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Beorn Estrithson']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Beorn_Estrithson . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P674
Q502895 Q15850590 Q838948
USER
Which people are the name of the persons who plays a role in greater number of theatrical genres and works of art than that person ?
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q68366
relation P674
type Q15850590
type Q838948
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?f WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P674 resource:Q68366 . { { ?s rdf:type ontology:Q15850590 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?a > ?h ) }
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action count
action filter_multi_types
action find_reverse
entity Siward, Earl of Northumbria
relation characters
type theatrical genre
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?f WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:characters resource:Siward,_Earl_of_Northumbria . { { ?s rdf:type ontology:theatrical_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?a > ?h ) }
[]
common name theatrical genre work of art
Q38370 Q7322 Q80823
SYSTEM
Henry VIII, Christopher Columbus, Anne Boleyn
Q7322 Q38370 Q188541 Q9045 Q80823
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q68366
relation P674
type Q15850590
type Q838948
[ANSWERS] are the name of the persons who plays a role in greater number of theatrical genres and works of art than that person
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?f WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P674 resource:Q68366 . { { ?s rdf:type ontology:Q15850590 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?a > ?h ) }
Christopher Columbus Henry VIII Chandragupta Maurya Chanakya Anne Boleyn
Henry VIII, Christopher Columbus and Anne Boleyn are the name of the persons who plays a role in greater number of theatrical genres and works of art than that person
Henry VIII Christopher Columbus Anne Boleyn
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action count
action filter_multi_types
action find_reverse
entity Siward, Earl of Northumbria
relation characters
type theatrical genre
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?f WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:characters resource:Siward,_Earl_of_Northumbria . { { ?s rdf:type ontology:theatrical_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?a > ?h ) }
[]