Simple Question (Direct)
Simple Question
Q17563225
P39
Q12737077
USER
What were the positions for which Francisco Valdés Vergara were appointed ?
(Q17563225,P39,c(Q12737077))
action filter_type
action find
entity Q17563225
relation P39
type Q12737077
['Q17563225', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q17563225 property:P39 ?u }
Francisco Valdés Vergara
action filter_type
action find
entity Francisco Valdés Vergara
relation position held
type occupation
['Francisco Valdés Vergara', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Francisco_Valdés_Vergara property:position_held ?u }
[]
occupation
Q18067639 Q18882653
SYSTEM
member of the Chamber of Deputies of Chile, member of the Senate of Chile
Q18067639 Q18882653
(Q17563225,P39,c(Q12737077))
action filter_type
action find
entity Q17563225
relation P39
type Q12737077
And [ANSWERS]
['Q17563225', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q17563225 property:P39 ?u }
member of the Chamber of Deputies of Chile member of the Senate of Chile
And member of the Chamber of Deputies of Chile and member of the Senate of Chile
member of the Chamber of Deputies of Chile member of the Senate of Chile
action filter_type
action find
entity Francisco Valdés Vergara
relation position held
type occupation
['Francisco Valdés Vergara', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Francisco_Valdés_Vergara property:position_held ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17563225
P106
Q12737077
USER
Which occupations are the professions of Francisco Valdés Vergara ?
(Q17563225,P106,c(Q12737077))
action filter_type
action find
entity Q17563225
relation P106
type Q12737077
['Q17563225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q17563225 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Francisco Valdés Vergara
action filter_type
action find
entity Francisco Valdés Vergara
relation occupation
type occupation
['Francisco Valdés Vergara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Francisco_Valdés_Vergara property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q17563225,P106,c(Q12737077))
action filter_type
action find
entity Q17563225
relation P106
type Q12737077
The professions of Francisco Valdés are [ANSWERS]
['Q17563225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q17563225 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
diplomat politician
The professions of Francisco Valdés are diplomat and politician
diplomat politician
action filter_type
action find
entity Francisco Valdés Vergara
relation occupation
type occupation
['Francisco Valdés Vergara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Francisco_Valdés_Vergara property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18536320
Q12737077
USER
And also tell me about Rudolf Imhof?
(Q18536320,P106,c(Q12737077))
action filter_type
action find
entity Q18536320
relation P106
type Q12737077
['Q18536320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18536320 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Rudolf Imhof
action filter_type
action find
entity Rudolf Imhof
relation occupation
type occupation
['Rudolf Imhof', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Rudolf_Imhof property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q18536320,P106,c(Q12737077))
action filter_type
action find
entity Q18536320
relation P106
type Q12737077
[ANSWER]
['Q18536320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18536320 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Rudolf Imhof
relation occupation
type occupation
['Rudolf Imhof', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Rudolf_Imhof property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P921
Q12737077 Q732577 Q838948
USER
How many occupations were more number of publications or works of art mainly about than that occupation ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P921 resource:Q82955 . { VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } . ?e rdf:type ?z } } } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?s } }
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:main_subject resource:politician . { VALUES ( ?z ) { ( ontology:publication ) ( ontology:work_of_art ) } . ?e rdf:type ?z } } } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?s } }
[]
occupation publication work of art
SYSTEM
25
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q3809586 Q7358 Q2094335 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q15320003 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P921 resource:Q82955 . { VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } . ?e rdf:type ?z } } } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?s } }
industrialist business magnate physician lumberjack astronaut actor writer Wikipedian in Residence clown United States Attorney journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student migrant worker elementary school student comedian photographer aviator rag-and-bone man middle school student
25
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:main_subject resource:politician . { VALUES ( ?z ) { ( ontology:publication ) ( ontology:work_of_art ) } . ?e rdf:type ?z } } } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17563225
P21
Q290
USER
Which sex does Francisco Valdés Vergara have ?
(Q17563225,P21,c(Q290))
action filter_type
action find
entity Q17563225
relation P21
type Q290
['Q17563225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q17563225 property:P21 ?l . ?l rdf:type ontology:Q290 }
Francisco Valdés Vergara
action filter_type
action find
entity Francisco Valdés Vergara
relation gender
type sex
['Francisco Valdés Vergara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Francisco_Valdés_Vergara property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17563225,P21,c(Q290))
action filter_type
action find
entity Q17563225
relation P21
type Q290
Francisco Valdés Vergara has a [ANSWER]
['Q17563225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q17563225 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Francisco Valdés Vergara has a male
male
action filter_type
action find
entity Francisco Valdés Vergara
relation gender
type sex
['Francisco Valdés Vergara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Francisco_Valdés_Vergara property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6530912
Q290
USER
And also tell me about Leslie Issott Grange?
(Q6530912,P21,c(Q290))
action filter_type
action find
entity Q6530912
relation P21
type Q290
['Q6530912', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q6530912 property:P21 ?q . ?q rdf:type ontology:Q290 }
Leslie Issott Grange
action filter_type
action find
entity Leslie Issott Grange
relation gender
type sex
['Leslie Issott Grange', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Leslie_Issott_Grange property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6530912,P21,c(Q290))
action filter_type
action find
entity Q6530912
relation P21
type Q290
[ANSWER]
['Q6530912', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q6530912 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Leslie Issott Grange
relation gender
type sex
['Leslie Issott Grange', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Leslie_Issott_Grange property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6530912
P27
Q1048835
USER
Which political territory is the native country of Leslie Issott Grange ?
(Q6530912,P27,c(Q1048835))
action filter_type
action find
entity Q6530912
relation P27
type Q1048835
['Q6530912', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q6530912 property:P27 ?f }
Leslie Issott Grange
action filter_type
action find
entity Leslie Issott Grange
relation country of citizenship
type political territorial entity
['Leslie Issott Grange', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Leslie_Issott_Grange property:country_of_citizenship ?f }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q6530912,P27,c(Q1048835))
action filter_type
action find
entity Q6530912
relation P27
type Q1048835
[ANSWER] is the native country of Leslie Issott Grange
['Q6530912', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q6530912 property:P27 ?f }
New Zealand
New Zealand is the native country of Leslie Issott Grange
New Zealand
action filter_type
action find
entity Leslie Issott Grange
relation country of citizenship
type political territorial entity
['Leslie Issott Grange', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Leslie_Issott_Grange property:country_of_citizenship ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q664
P112
Q43229
USER
Which organization was founded by that political territory ?
(c(Q43229),P112,Q664)
action filter_type
action find_reverse
entity Q664
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q664']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q664 . ?k rdf:type ontology:Q43229 }
New Zealand
action filter_type
action find_reverse
entity New Zealand
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'New Zealand']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:New_Zealand . ?k rdf:type ontology:organization }
[]
organization
Q7809
SYSTEM
United Nations Educational, Scientific and Cultural Organization
Q7809
(c(Q43229),P112,Q664)
action filter_type
action find_reverse
entity Q664
relation P112
type Q43229
[ANSWER] was founded by that political territory
[{'concept': 'Q43229'}, 'P112', 'Q664']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q664 . ?k rdf:type ontology:Q43229 }
United Nations Educational, Scientific and Cultural Organization
United Nations Educational, Scientific and Cultural Organization was founded by that political territory
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity New Zealand
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'New Zealand']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:New_Zealand . ?k rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7809
P466
Q811979
USER
What is occupied by that organization ?
(c(Q811979),P466,Q7809)
action filter_type
action find_reverse
entity Q7809
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q7809']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q7809 . ?b rdf:type ontology:Q811979 }
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'United Nations Educational, Scientific and Cultural Organization']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?b rdf:type ontology:architectural_structure }
[]
architectural structure
Q3279650
SYSTEM
World Heritage Centre
Q3279650
(c(Q811979),P466,Q7809)
action filter_type
action find_reverse
entity Q7809
relation P466
type Q811979
[ANSWER] is occupied by that organization
[{'concept': 'Q811979'}, 'P466', 'Q7809']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q7809 . ?b rdf:type ontology:Q811979 }
World Heritage Centre
World Heritage Centre is occupied by that organization
World Heritage Centre
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'United Nations Educational, Scientific and Cultural Organization']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?b rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7809 Q10632060
P112
Q502895
USER
How many people were the founders of United Nations Educational, Scientific and Cultural Organization or Piperska murens trädgård ?
(Q7809,P112,c(Q502895)) (Q10632060,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q7809
relation P112
type Q502895
action filter_type
action find
entity Q10632060
relation P112
type Q502895
['Q7809', 'P112', {'concept': 'Q502895'}] ['Q10632060', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?p property:P112 ?a . VALUES ( ?p ) { ( resource:Q7809 ) ( resource:Q10632060 ) } }
United Nations Educational, Scientific and Cultural Organization Piperska murens trädgård
action count
action union
action filter_type
action find
entity United Nations Educational, Scientific and Cultural Organization
relation founder
type common name
action filter_type
action find
entity Piperska murens trädgård
relation founder
type common name
['United Nations Educational, Scientific and Cultural Organization', 'founder', {'concept': 'common name'}] ['Piperska murens trädgård', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?p property:founder ?a . VALUES ( ?p ) { ( resource:United_Nations_Educational,_Scientific_and_Cultural_Organization ) ( resource:Piperska_murens_trädgård ) } }
[]
common name
SYSTEM
2
Q4972997 Q557843
(Q7809,P112,c(Q502895)) (Q10632060,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q7809
relation P112
type Q502895
action filter_type
action find
entity Q10632060
relation P112
type Q502895
[ANSWER]
['Q7809', 'P112', {'concept': 'Q502895'}] ['Q10632060', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?p property:P112 ?a . VALUES ( ?p ) { ( resource:Q7809 ) ( resource:Q10632060 ) } }
Christina Piper Carl Piper
2
action count
action union
action filter_type
action find
entity United Nations Educational, Scientific and Cultural Organization
relation founder
type common name
action filter_type
action find
entity Piperska murens trädgård
relation founder
type common name
['United Nations Educational, Scientific and Cultural Organization', 'founder', {'concept': 'common name'}] ['Piperska murens trädgård', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?p property:founder ?a . VALUES ( ?p ) { ( resource:United_Nations_Educational,_Scientific_and_Cultural_Organization ) ( resource:Piperska_murens_trädgård ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P180
Q838948
USER
Which works of art demonstrate painter ?
(c(Q838948),P180,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q1028181']
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q1028181 . ?s rdf:type ontology:Q838948 }
painter
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'painter']
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:painter . ?s rdf:type ontology:work_of_art }
[]
work of art
Q19060290 Q19346610
SYSTEM
Domenichino, Bust of Martin Fréminet
Q19060290 Q19346610
(c(Q838948),P180,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P180
type Q838948
[ANSWERS] demonstrate painter
[{'concept': 'Q838948'}, 'P180', 'Q1028181']
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q1028181 . ?s rdf:type ontology:Q838948 }
Domenichino Bust of Martin Fréminet
Domenichino and Bust of Martin Fréminet demonstrate painter
Domenichino Bust of Martin Fréminet
action filter_type
action find_reverse
entity painter
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'painter']
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:painter . ?s rdf:type ontology:work_of_art }
[]