Simple Question (Direct)
Simple Question
Q777375
P26
Q502895
USER
Who is married to Erik Magnus Staël von Holstein ?
(Q777375,P26,c(Q502895))
action filter_type
action find
entity Q777375
relation P26
type Q502895
['Q777375', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q777375 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Erik Magnus Staël von Holstein
action filter_type
action find
entity Erik Magnus Staël von Holstein
relation spouse
type common name
['Erik Magnus Staël von Holstein', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Erik_Magnus_Staël_von_Holstein property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q123041
SYSTEM
Germaine de Staël
Q123041
(Q777375,P26,c(Q502895))
action filter_type
action find
entity Q777375
relation P26
type Q502895
[ANSWER] is married to Erik Magnus Staël von Holstein
['Q777375', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q777375 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Germaine de Staël
Germaine de Staël is married to Erik Magnus Staël von Holstein
Germaine de Staël
action filter_type
action find
entity Erik Magnus Staël von Holstein
relation spouse
type common name
['Erik Magnus Staël von Holstein', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Erik_Magnus_Staël_von_Holstein property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q777375
P22
Q502895
USER
Which person has Erik Magnus Staël von Holstein as father ?
(c(Q502895),P22,Q777375)
action filter_type
action find_reverse
entity Q777375
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q777375']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q777375 . ?w rdf:type ontology:Q502895 }
Erik Magnus Staël von Holstein
action filter_type
action find_reverse
entity Erik Magnus Staël von Holstein
relation father
type common name
[{'concept': 'common name'}, 'father', 'Erik Magnus Staël von Holstein']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Erik_Magnus_Staël_von_Holstein . ?w rdf:type ontology:common_name }
[]
common name
Q16185209
SYSTEM
Albertine, baroness Staël von Holstein
Q16185209
(c(Q502895),P22,Q777375)
action filter_type
action find_reverse
entity Q777375
relation P22
type Q502895
[ANSWER] has Erik Magnus Staël von Holstein as father
[{'concept': 'Q502895'}, 'P22', 'Q777375']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q777375 . ?w rdf:type ontology:Q502895 }
Albertine, baroness Staël von Holstein
Albertine, baroness Staël von Holstein has Erik Magnus Staël von Holstein as father
Albertine, baroness Staël von Holstein
action filter_type
action find_reverse
entity Erik Magnus Staël von Holstein
relation father
type common name
[{'concept': 'common name'}, 'father', 'Erik Magnus Staël von Holstein']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Erik_Magnus_Staël_von_Holstein . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16185209
P25
Q502895
USER
Which people have that one as mom ?
(c(Q502895),P25,Q16185209)
action filter_type
action find_reverse
entity Q16185209
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q16185209']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q16185209 . ?e rdf:type ontology:Q502895 }
Albertine, baroness Staël von Holstein
action filter_type
action find_reverse
entity Albertine, baroness Staël von Holstein
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Albertine, baroness Staël von Holstein']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Albertine,_baroness_Staël_von_Holstein . ?e rdf:type ontology:common_name }
[]
common name
Q434932 Q3263851 Q3372461
SYSTEM
Albert, 4th duc de Broglie, Louise de Broglie, comtesse d'Haussonville, Auguste-Théodore-Paul de Broglie
Q434932 Q3263851 Q3372461
(c(Q502895),P25,Q16185209)
action filter_type
action find_reverse
entity Q16185209
relation P25
type Q502895
[ANSWERS] have that one as mom
[{'concept': 'Q502895'}, 'P25', 'Q16185209']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q16185209 . ?e rdf:type ontology:Q502895 }
Albert, 4th duc de Broglie Louise de Broglie, comtesse d'Haussonville Auguste-Théodore-Paul de Broglie
Albert, 4th duc de Broglie, Louise de Broglie, comtesse d'Haussonville and Auguste-Théodore-Paul de Broglie have that one as mom
Albert, 4th duc de Broglie Louise de Broglie, comtesse d'Haussonville Auguste-Théodore-Paul de Broglie
action filter_type
action find_reverse
entity Albertine, baroness Staël von Holstein
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Albertine, baroness Staël von Holstein']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Albertine,_baroness_Staël_von_Holstein . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art had min number of people as the dubbing artist ?
(c(Q838948),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?p ) WHERE { ?v property:P725 ?z . ?v rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?v } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?d ) WHERE { ?e property:P725 ?m . ?e rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?d = ?h ) }
action argmin
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?p ) WHERE { ?v property:voice_actor ?z . ?v rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?v } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?d ) WHERE { ?e property:voice_actor ?m . ?e rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?d = ?h ) }
[]
common name work of art
Q190145 Q4468674 Q4204793
SYSTEM
Spider-Man 2, To Kill a Dragon, History of the Arkanar Massacre
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q838948
type Q502895
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had min number of people as the dubbing artist
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?p ) WHERE { ?v property:P725 ?z . ?v rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?v } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?d ) WHERE { ?e property:P725 ?m . ?e rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?d = ?h ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had min number of people as the dubbing artist
Spider-Man 2 To Kill a Dragon History of the Arkanar Massacre
action argmin
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?p ) WHERE { ?v property:voice_actor ?z . ?v rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?v } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?d ) WHERE { ?e property:voice_actor ?m . ?e rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?d = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3289592
P608
Q464980 Q2668072 Q502895
USER
How many people were exhibited at approximately the same number of exhibitions and collections as Moniek Toebosch ?
(c(Q502895),P608,c(Q464980)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q3289592
relation P608
type Q464980
type Q2668072
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { { ?x rdf:type ontology:Q464980 } UNION { ?x rdf:type ontology:Q2668072 } } . resource:Q3289592 property:P608 ?x } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q464980 ) ( ontology:Q2668072 ) } } GROUP BY ?g } }
Moniek Toebosch
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity Moniek Toebosch
relation exhibition history
type exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { { ?x rdf:type ontology:exhibition } UNION { ?x rdf:type ontology:collection } } . resource:Moniek_Toebosch property:exhibition_history ?x } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:exhibition ) ( ontology:collection ) } } GROUP BY ?g } }
[]
exhibition collection common name
SYSTEM
14
Q70006 Q17314881 Q15734263 Q15734265 Q15991813 Q5671224 Q17625628 Q5248733 Q2824894 Q3289592 Q9015308 Q805807 Q16080418 Q15873898
(c(Q502895),P608,c(Q464980)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action count
action filter_multi_types
action find
entity Q3289592
relation P608
type Q464980
type Q2668072
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { { ?x rdf:type ontology:Q464980 } UNION { ?x rdf:type ontology:Q2668072 } } . resource:Q3289592 property:P608 ?x } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q464980 ) ( ontology:Q2668072 ) } } GROUP BY ?g } }
Lotte Jacobi René Izaure Johanna Bleuland van Oordt Adri Bleuland van Oordt Judie Bamber Pablo Borges Delgado Deborah De Robertis Manuel Ocampo Adolphe Péterelle Moniek Toebosch Juan Carlos Alom Balto Alyce Frank Chrisje van der Willigen
14
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type collection
action count
action filter_multi_types
action find
entity Moniek Toebosch
relation exhibition history
type exhibition
type collection
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { { ?x rdf:type ontology:exhibition } UNION { ?x rdf:type ontology:collection } } . resource:Moniek_Toebosch property:exhibition_history ?x } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:exhibition ) ( ontology:collection ) } } GROUP BY ?g } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?b ) WHERE { ?z property:P1445 ?x . ?z rdf:type ontology:Q386724 . ?x rdf:type ontology:Q838948 } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?k property:P1445 ?g . ?k rdf:type ontology:Q386724 . ?g rdf:type ontology:Q838948 } GROUP BY ?k } . FILTER ( ?f = ?e ) }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?b ) WHERE { ?z property:fictional_universe_described_in ?x . ?z rdf:type ontology:work . ?x rdf:type ontology:work_of_art } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?k property:fictional_universe_described_in ?g . ?k rdf:type ontology:work . ?g rdf:type ontology:work_of_art } GROUP BY ?k } . FILTER ( ?f = ?e ) }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] represents a fictional universe described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?b ) WHERE { ?z property:P1445 ?x . ?z rdf:type ontology:Q386724 . ?x rdf:type ontology:Q838948 } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?k property:P1445 ?g . ?k rdf:type ontology:Q386724 . ?g rdf:type ontology:Q838948 } GROUP BY ?k } . FILTER ( ?f = ?e ) }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?b ) WHERE { ?z property:fictional_universe_described_in ?x . ?z rdf:type ontology:work . ?x rdf:type ontology:work_of_art } GROUP BY ?z } } . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?k property:fictional_universe_described_in ?g . ?k rdf:type ontology:work . ?g rdf:type ontology:work_of_art } GROUP BY ?k } . FILTER ( ?f = ?e ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q384426 Q183555
P1445
Q838948
USER
Does Pirates of the Caribbean: On Stranger Tides outline Pirates of the Caribbean ?
(Q384426,P1445,Q183555)
action is_in
entity Q183555
action find
entity Q384426
relation P1445
['Q384426', 'P1445', 'Q183555']
ASK WHERE { resource:Q384426 property:P1445 resource:Q183555 }
Pirates of the Caribbean Pirates of the Caribbean: On Stranger Tides
action is_in
entity Pirates of the Caribbean: On Stranger Tides
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'Pirates of the Caribbean: On Stranger Tides']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_On_Stranger_Tides }
[]
work of art
SYSTEM
YES
(Q384426,P1445,Q183555)
action is_in
entity Q183555
action find
entity Q384426
relation P1445
[ANSWER]
['Q384426', 'P1445', 'Q183555']
ASK WHERE { resource:Q384426 property:P1445 resource:Q183555 }
Yes
action is_in
entity Pirates of the Caribbean: On Stranger Tides
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'Pirates of the Caribbean: On Stranger Tides']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_On_Stranger_Tides }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q777375
P27
Q15617994
USER
How many administrative territories are the native countriesof Erik Magnus Staël von Holstein ?
(Q777375,P27,c(Q15617994))
action count
action filter_type
action find
entity Q777375
relation P27
type Q15617994
['Q777375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q777375 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Erik Magnus Staël von Holstein
action count
action filter_type
action find
entity Erik Magnus Staël von Holstein
relation country of citizenship
type designation for an administrative territorial entity
['Erik Magnus Staël von Holstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Erik_Magnus_Staël_von_Holstein property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q777375,P27,c(Q15617994))
action count
action filter_type
action find
entity Q777375
relation P27
type Q15617994
[ANSWER]
['Q777375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q777375 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Erik Magnus Staël von Holstein
relation country of citizenship
type designation for an administrative territorial entity
['Erik Magnus Staël von Holstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Erik_Magnus_Staël_von_Holstein property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21890280
P27
Q15617994
USER
And also tell me about Amjad Tawalbeh?
(Q21890280,P27,c(Q15617994))
action count
action filter_type
action find
entity Q21890280
relation P27
type Q15617994
['Q21890280', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q21890280 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Amjad Tawalbeh
action count
action filter_type
action find
entity Amjad Tawalbeh
relation country of citizenship
type designation for an administrative territorial entity
['Amjad Tawalbeh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Amjad_Tawalbeh property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q810
(Q21890280,P27,c(Q15617994))
action count
action filter_type
action find
entity Q21890280
relation P27
type Q15617994
[ANSWER]
['Q21890280', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q21890280 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Jordan
1
action count
action filter_type
action find
entity Amjad Tawalbeh
relation country of citizenship
type designation for an administrative territorial entity
['Amjad Tawalbeh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Amjad_Tawalbeh property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15039807
Q15617994
USER
And how about Josep Maria Cullell?
(Q15039807,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15039807
relation P27
type Q15617994
['Q15039807', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q15039807 property:P27 ?a }
Josep Maria Cullell
action count
action filter_type
action find
entity Josep Maria Cullell
relation country of citizenship
type designation for an administrative territorial entity
['Josep Maria Cullell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josep_Maria_Cullell property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q15039807,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15039807
relation P27
type Q15617994
[ANSWER]
['Q15039807', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q15039807 property:P27 ?a }
1
action count
action filter_type
action find
entity Josep Maria Cullell
relation country of citizenship
type designation for an administrative territorial entity
['Josep Maria Cullell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josep_Maria_Cullell property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15039807
P39
Q12737077
USER
What were the positions held by Josep Maria Cullell ?
(Q15039807,P39,c(Q12737077))
action filter_type
action find
entity Q15039807
relation P39
type Q12737077
['Q15039807', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q15039807 property:P39 ?v }
Josep Maria Cullell
action filter_type
action find
entity Josep Maria Cullell
relation position held
type occupation
['Josep Maria Cullell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Josep_Maria_Cullell property:position_held ?v }
[]
occupation
Q18171345 Q18714088 Q708492
SYSTEM
Member of the Congress of Deputies of Spain, Member of the Catalan Parliament, councillor
Q18171345 Q18714088 Q708492 Q21620329
(Q15039807,P39,c(Q12737077))
action filter_type
action find
entity Q15039807
relation P39
type Q12737077
The positions held by Josep Maria Cullell were [ANSWERS]
['Q15039807', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q15039807 property:P39 ?v }
Member of the Congress of Deputies of Spain Member of the Catalan Parliament councillor Minister of the Government of Catalonia
The positions held by Josep Maria Cullell were Member of the Congress of Deputies of Spain, Member of the Catalan Parliament and councillor
Member of the Congress of Deputies of Spain Member of the Catalan Parliament councillor
action filter_type
action find
entity Josep Maria Cullell
relation position held
type occupation
['Josep Maria Cullell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Josep_Maria_Cullell property:position_held ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18171345
P361
Q11204
USER
Which legislature is that occupation a component of ?
(Q18171345,P361,c(Q11204))
action filter_type
action find
entity Q18171345
relation P361
type Q11204
['Q18171345', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { resource:Q18171345 property:P361 ?j . ?j rdf:type ontology:Q11204 }
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation part of
type legislature
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:part_of ?j . ?j rdf:type ontology:legislature }
[]
legislature
Clarification for simple ques.
Q708492
SYSTEM
Did you mean councillor ?
Q18171345 Q18714088 Q708492
(Q18171345,P361,c(Q11204)) (Q18714088,P361,c(Q11204)) (Q708492,P361,c(Q11204))
[ANSWER]
['Q18171345', 'P361', {'concept': 'Q11204'}] ['Q18714088', 'P361', {'concept': 'Q11204'}] ['Q708492', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { resource:Q18171345 property:P361 ?j . ?j rdf:type ontology:Q11204 }
Member of the Congress of Deputies of Spain Member of the Catalan Parliament councillor
Did you mean councillor ?
councillor
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}] ['Member of the Catalan Parliament', 'part of', {'concept': 'legislature'}] ['councillor', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:part_of ?j . ?j rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
USER
No, I meant Member of the Congress of Deputies of Spain. Could you tell me the answer for that?
(Q18171345,P361,c(Q11204))
Q18171345
['Q18171345', 'P361', {'concept': 'Q11204'}]
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}]
[]
Q539149
SYSTEM
Congress of Deputies
Q539149
(Q18171345,P361,c(Q11204))
action filter_type
action find
entity Q18171345
relation P361
type Q11204
[ANSWER] is that occupation a component of
['Q18171345', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { resource:Q18171345 property:P361 ?j . ?j rdf:type ontology:Q11204 }
Congress of Deputies
Congress of Deputies is that occupation a component of
Congress of Deputies
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation part of
type legislature
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:part_of ?j . ?j rdf:type ontology:legislature }
[]