Simple Question (Direct)
Simple Question
Q7652535
P21
Q290
USER
What is the sex of Svetlana Smirnova ?
(Q7652535,P21,c(Q290))
action filter_type
action find
entity Q7652535
relation P21
type Q290
['Q7652535', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7652535 property:P21 ?z . ?z rdf:type ontology:Q290 }
Svetlana Smirnova
action filter_type
action find
entity Svetlana Smirnova
relation gender
type sex
['Svetlana Smirnova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Svetlana_Smirnova property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7652535,P21,c(Q290))
action filter_type
action find
entity Q7652535
relation P21
type Q290
The sex of Svetlana Smirnova is the [ANSWER]
['Q7652535', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7652535 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
The sex of Svetlana Smirnova is the female
female
action filter_type
action find
entity Svetlana Smirnova
relation gender
type sex
['Svetlana Smirnova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Svetlana_Smirnova property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7652535
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q6581072,P19,c(Q56061))
action filter_type
action find
entity Q7652535
relation P19
type Q56061
['Q6581072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7652535 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Svetlana Smirnova
action filter_type
action find
entity Svetlana Smirnova
relation place of birth
type administrative territorial entity
['female', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Svetlana_Smirnova property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2214
SYSTEM
Pskov
Q2214
(Q6581072,P19,c(Q56061))
action filter_type
action find
entity Q7652535
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q6581072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q7652535 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Pskov
Pskov is the birthplace of that person
Pskov
action filter_type
action find
entity Svetlana Smirnova
relation place of birth
type administrative territorial entity
['female', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Svetlana_Smirnova property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7652535
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2214,P27,c(Q15617994))
action filter_type
action find
entity Q7652535
relation P27
type Q15617994
['Q2214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7652535 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Svetlana Smirnova
action filter_type
action find
entity Svetlana Smirnova
relation country of citizenship
type designation for an administrative territorial entity
['Pskov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Svetlana_Smirnova property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q2214,P27,c(Q15617994))
action filter_type
action find
entity Q7652535
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q2214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7652535 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Russia
That person belongs to a Russia
Russia
action filter_type
action find
entity Svetlana Smirnova
relation country of citizenship
type designation for an administrative territorial entity
['Pskov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Svetlana_Smirnova property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6115796 Q7652535
P27 P17
Q15617994
USER
Which administrative territories are Svetlana Smirnova a civilian of or are Turones River a part of ?
OR((Q7652535,P27,c(Q15617994)), (Q6115796,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7652535
relation P27
action find
entity Q6115796
relation P17
type Q15617994
{'OR': [['Q7652535', 'P27', {'concept': 'Q15617994'}], ['Q6115796', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q7652535 property:P27 ?x } UNION { resource:Q6115796 property:P17 ?x } } }
Turones River Svetlana Smirnova
action filter_type
action union
action find
entity Svetlana Smirnova
relation country of citizenship
action find
entity Turones River
relation country
type designation for an administrative territorial entity
{'OR': [['Svetlana Smirnova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Turones River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Svetlana_Smirnova property:country_of_citizenship ?x } UNION { resource:Turones_River property:country ?x } } }
[]
designation for an administrative territorial entity
Q29 Q45 Q159
SYSTEM
Spain, Portugal, Russia
Q29 Q45 Q159
OR((Q7652535,P27,c(Q15617994)), (Q6115796,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7652535
relation P27
action find
entity Q6115796
relation P17
type Q15617994
[ANSWERS] are Svetlana Smirnova a civilian of or are Turones River a part of
{'OR': [['Q7652535', 'P27', {'concept': 'Q15617994'}], ['Q6115796', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q7652535 property:P27 ?x } UNION { resource:Q6115796 property:P17 ?x } } }
Spain Portugal Russia
Spain, Portugal and Russia are Svetlana Smirnova a civilian of or are Turones River a part of
Spain Portugal Russia
action filter_type
action union
action find
entity Svetlana Smirnova
relation country of citizenship
action find
entity Turones River
relation country
type designation for an administrative territorial entity
{'OR': [['Svetlana Smirnova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Turones River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Svetlana_Smirnova property:country_of_citizenship ?x } UNION { resource:Turones_River property:country ?x } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4969910 Q7652535
P106
Q12737077
USER
Which occupations do Svetlana Smirnova or Dea Norberg do for a living ?
OR((Q7652535,P106,c(Q12737077)), (Q4969910,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7652535
relation P106
action find
entity Q4969910
relation P106
type Q12737077
{'OR': [['Q7652535', 'P106', {'concept': 'Q12737077'}], ['Q4969910', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P106 ?z . VALUES ( ?s ) { ( resource:Q7652535 ) ( resource:Q4969910 ) } } . ?z rdf:type ontology:Q12737077 }
Dea Norberg Svetlana Smirnova
action filter_type
action union
action find
entity Svetlana Smirnova
relation occupation
action find
entity Dea Norberg
relation occupation
type occupation
{'OR': [['Svetlana Smirnova', 'occupation', {'concept': 'occupation'}], ['Dea Norberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:occupation ?z . VALUES ( ?s ) { ( resource:Svetlana_Smirnova ) ( resource:Dea_Norberg ) } } . ?z rdf:type ontology:occupation }
[]
occupation
Q639669 Q17486376 Q177220
SYSTEM
musician, sport shooter, singer
Q639669 Q17486376 Q177220
OR((Q7652535,P106,c(Q12737077)), (Q4969910,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7652535
relation P106
action find
entity Q4969910
relation P106
type Q12737077
Svetlana Smirnova or Dea Norberg do for a living a [ANSWERS]
{'OR': [['Q7652535', 'P106', {'concept': 'Q12737077'}], ['Q4969910', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P106 ?z . VALUES ( ?s ) { ( resource:Q7652535 ) ( resource:Q4969910 ) } } . ?z rdf:type ontology:Q12737077 }
musician sport shooter singer
Svetlana Smirnova or Dea Norberg do for a living a musician, sport shooter and singer
musician sport shooter singer
action filter_type
action union
action find
entity Svetlana Smirnova
relation occupation
action find
entity Dea Norberg
relation occupation
type occupation
{'OR': [['Svetlana Smirnova', 'occupation', {'concept': 'occupation'}], ['Dea Norberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:occupation ?z . VALUES ( ?s ) { ( resource:Svetlana_Smirnova ) ( resource:Dea_Norberg ) } } . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4969910
P136
Q151885
USER
Which concept can be considered as genre of Dea Norberg ?
(Q639669,P136,c(Q151885)) (Q17486376,P136,c(Q151885)) (Q177220,P136,c(Q151885))
action filter_type
action find
entity Q4969910
relation P136
type Q151885
['Q639669', 'P136', {'concept': 'Q151885'}] ['Q17486376', 'P136', {'concept': 'Q151885'}] ['Q177220', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q4969910 property:P136 ?o . ?o rdf:type ontology:Q151885 }
Dea Norberg
action filter_type
action find
entity Dea Norberg
relation genre
type concept
['musician', 'genre', {'concept': 'concept'}] ['sport shooter', 'genre', {'concept': 'concept'}] ['singer', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Dea_Norberg property:genre ?o . ?o rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q639669,P136,c(Q151885)) (Q17486376,P136,c(Q151885)) (Q177220,P136,c(Q151885))
action filter_type
action find
entity Q4969910
relation P136
type Q151885
[ANSWER] can be considered as genre of Dea Norberg
['Q639669', 'P136', {'concept': 'Q151885'}] ['Q17486376', 'P136', {'concept': 'Q151885'}] ['Q177220', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q4969910 property:P136 ?o . ?o rdf:type ontology:Q151885 }
pop music
Pop music can be considered as genre of Dea Norberg
pop music
action filter_type
action find
entity Dea Norberg
relation genre
type concept
['musician', 'genre', {'concept': 'concept'}] ['sport shooter', 'genre', {'concept': 'concept'}] ['singer', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Dea_Norberg property:genre ?o . ?o rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q151885 Q21114848 Q43229
USER
Which concepts are the area of more number of magazine genres and organizations than that concept ?
(c(Q21114848)|c(Q43229),P101,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q21114848
type Q43229
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:P101 ?q . ?q rdf:type ontology:Q151885 . ?n rdf:type ontology:Q21114848 } UNION { ?q rdf:type ontology:Q151885 . ?n rdf:type ontology:Q43229 . ?n property:P101 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P101 resource:Q37073 . { { ?t rdf:type ontology:Q43229 } UNION { ?t rdf:type ontology:Q21114848 } } } } . FILTER ( ?u > ?b ) }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type magazine genre
type organization
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:field_of_work ?q . ?q rdf:type ontology:concept . ?n rdf:type ontology:magazine_genre } UNION { ?q rdf:type ontology:concept . ?n rdf:type ontology:organization . ?n property:field_of_work ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_work resource:pop_music . { { ?t rdf:type ontology:organization } UNION { ?t rdf:type ontology:magazine_genre } } } } . FILTER ( ?u > ?b ) }
[]
concept magazine genre organization
Q309252 Q177923 Q50637
SYSTEM
physical fitness, auction, art history
Q177923 Q50637 Q4290 Q1516975 Q454 Q309252
(c(Q21114848)|c(Q43229),P101,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q21114848
type Q43229
[ANSWERS] are the area of more number of magazine genres and organizations than that concept
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:P101 ?q . ?q rdf:type ontology:Q151885 . ?n rdf:type ontology:Q21114848 } UNION { ?q rdf:type ontology:Q151885 . ?n rdf:type ontology:Q43229 . ?n property:P101 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P101 resource:Q37073 . { { ?t rdf:type ontology:Q43229 } UNION { ?t rdf:type ontology:Q21114848 } } } } . FILTER ( ?u > ?b ) }
auction art history investing maritime history peace physical fitness
Physical fitness, auction and art history are the area of more number of magazine genres and organizations than that concept
physical fitness auction art history
action greater
action union
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type magazine genre
type organization
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?u ) WHERE { { ?n property:field_of_work ?q . ?q rdf:type ontology:concept . ?n rdf:type ontology:magazine_genre } UNION { ?q rdf:type ontology:concept . ?n rdf:type ontology:organization . ?n property:field_of_work ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_work resource:pop_music . { { ?t rdf:type ontology:organization } UNION { ?t rdf:type ontology:magazine_genre } } } } . FILTER ( ?u > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q19083
P30
Q2221906
USER
How many geographic locations are Russia and Iberia located ?
(Q159,P30,c(Q2221906)) (Q19083,P30,c(Q2221906))
action count
action intersection
action filter_type
action find
entity Q159
relation P30
type Q2221906
action filter_type
action find
entity Q19083
relation P30
type Q2221906
['Q159', 'P30', {'concept': 'Q2221906'}] ['Q19083', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q159 property:P30 ?o . ?o rdf:type ontology:Q2221906 . resource:Q19083 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Russia Iberia
action count
action intersection
action filter_type
action find
entity Russia
relation continent
type geographic location
action filter_type
action find
entity Iberia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}] ['Iberia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Russia property:continent ?o . ?o rdf:type ontology:geographic_location . resource:Iberia property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
SYSTEM
3
Q46 Q5401 Q48
(Q159,P30,c(Q2221906)) (Q19083,P30,c(Q2221906))
action count
action intersection
action filter_type
action find
entity Q159
relation P30
type Q2221906
action filter_type
action find
entity Q19083
relation P30
type Q2221906
[ANSWER]
['Q159', 'P30', {'concept': 'Q2221906'}] ['Q19083', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q159 property:P30 ?o . ?o rdf:type ontology:Q2221906 . resource:Q19083 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Europe Eurasia Asia
3
action count
action intersection
action filter_type
action find
entity Russia
relation continent
type geographic location
action filter_type
action find
entity Iberia
relation continent
type geographic location
['Russia', 'continent', {'concept': 'geographic location'}] ['Iberia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Russia property:continent ?o . ?o rdf:type ontology:geographic_location . resource:Iberia property:continent ?o . ?o rdf:type ontology:geographic_location }
[]