Simple Question (Direct)
Simple Question
Q441133
P26
Q502895
USER
Who is the spouse of Lucinda Fredericks ?
(Q441133,P26,c(Q502895))
action filter_type
action find
entity Q441133
relation P26
type Q502895
['Q441133', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q441133 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Lucinda Fredericks
action filter_type
action find
entity Lucinda Fredericks
relation spouse
type common name
['Lucinda Fredericks', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Lucinda_Fredericks property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1099283
SYSTEM
Clayton Fredericks
Q1099283
(Q441133,P26,c(Q502895))
action filter_type
action find
entity Q441133
relation P26
type Q502895
The spouse of Lucinda Fredericks is the [ANSWER]
['Q441133', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q441133 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Clayton Fredericks
The spouse of Lucinda Fredericks is the Clayton Fredericks
Clayton Fredericks
action filter_type
action find
entity Lucinda Fredericks
relation spouse
type common name
['Lucinda Fredericks', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Lucinda_Fredericks property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1099283 Q408
P27
Q1048835
USER
Does Clayton Fredericks belong to Australia ?
(Q1099283,P27,Q408)
action is_in
entity Q408
action find
entity Q1099283
relation P27
['Q1099283', 'P27', 'Q408']
ASK WHERE { resource:Q1099283 property:P27 resource:Q408 }
Clayton Fredericks Australia
action is_in
entity Australia
action find
entity Clayton Fredericks
relation country of citizenship
['Clayton Fredericks', 'country of citizenship', 'Australia']
ASK WHERE { resource:Clayton_Fredericks property:country_of_citizenship resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q1099283,P27,Q408)
action is_in
entity Q408
action find
entity Q1099283
relation P27
[ANSWER]
['Q1099283', 'P27', 'Q408']
ASK WHERE { resource:Q1099283 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Clayton Fredericks
relation country of citizenship
['Clayton Fredericks', 'country of citizenship', 'Australia']
ASK WHERE { resource:Clayton_Fredericks property:country_of_citizenship resource:Australia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q441133 Q4403573 Q408
P27
Q1048835
USER
Is Lucinda Fredericks a civilian of Sabivka and Australia ?
(Q441133,P27,Q4403573) (Q441133,P27,Q408)
action is_in
entity Q441133
action intersection
action find_reverse
entity Q4403573
relation P27
action find_reverse
entity Q408
relation P27
['Q441133', 'P27', 'Q4403573'] ['Q441133', 'P27', 'Q408']
ASK WHERE { resource:Q441133 property:P27 resource:Q4403573 . resource:Q441133 property:P27 resource:Q408 }
Lucinda Fredericks Sabivka Australia
action is_in
entity Lucinda Fredericks
action intersection
action find_reverse
entity Sabivka
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Lucinda Fredericks', 'country of citizenship', 'Sabivka'] ['Lucinda Fredericks', 'country of citizenship', 'Australia']
ASK WHERE { resource:Lucinda_Fredericks property:country_of_citizenship resource:Sabivka . resource:Lucinda_Fredericks property:country_of_citizenship resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q441133,P27,Q4403573) (Q441133,P27,Q408)
action is_in
entity Q441133
action intersection
action find_reverse
entity Q4403573
relation P27
action find_reverse
entity Q408
relation P27
[ANSWER]
['Q441133', 'P27', 'Q4403573'] ['Q441133', 'P27', 'Q408']
ASK WHERE { resource:Q441133 property:P27 resource:Q4403573 . resource:Q441133 property:P27 resource:Q408 }
NO and YES respectively
action is_in
entity Lucinda Fredericks
action intersection
action find_reverse
entity Sabivka
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Lucinda Fredericks', 'country of citizenship', 'Sabivka'] ['Lucinda Fredericks', 'country of citizenship', 'Australia']
ASK WHERE { resource:Lucinda_Fredericks property:country_of_citizenship resource:Sabivka . resource:Lucinda_Fredericks property:country_of_citizenship resource:Australia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1099283 Q1656235
P27
Q1048835
USER
Is Clayton Fredericks a civilian of Peralveche ?
(Q1099283,P27,Q1656235)
action is_in
entity Q1656235
action find
entity Q1099283
relation P27
['Q1099283', 'P27', 'Q1656235']
ASK WHERE { resource:Q1099283 property:P27 resource:Q1656235 }
Clayton Fredericks Peralveche
action is_in
entity Peralveche
action find
entity Clayton Fredericks
relation country of citizenship
['Clayton Fredericks', 'country of citizenship', 'Peralveche']
ASK WHERE { resource:Clayton_Fredericks property:country_of_citizenship resource:Peralveche }
[]
political territorial entity
SYSTEM
NO
(Q1099283,P27,Q1656235)
action is_in
entity Q1656235
action find
entity Q1099283
relation P27
[ANSWER]
['Q1099283', 'P27', 'Q1656235']
ASK WHERE { resource:Q1099283 property:P27 resource:Q1656235 }
No
action is_in
entity Peralveche
action find
entity Clayton Fredericks
relation country of citizenship
['Clayton Fredericks', 'country of citizenship', 'Peralveche']
ASK WHERE { resource:Clayton_Fredericks property:country_of_citizenship resource:Peralveche }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q80284
P1303
Q34379 Q502895
USER
Which musical instruments do greater number of people know to play than viola ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q80284 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?f ) WHERE { ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?w } GROUP BY ?w } }
viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:viola property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?f ) WHERE { ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?w } GROUP BY ?w } }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[ANSWERS] greater number of people know to play than viola
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q80284 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?f ) WHERE { ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?w } GROUP BY ?w } }
bass guitar double bass piano trumpet cello violin organ drum kit
Piano, bass guitar and double bass greater number of people know to play than viola
piano bass guitar double bass
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:viola property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?f ) WHERE { ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?w } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18661427
P180
Q34379 Q1792379
USER
How many art genres depict lesser number of musical instruments than Memorial of the people of Pori ?
(c(Q1792379),P180,c(Q34379))
action count
action less
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18661427
relation P180
type Q34379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?j ) WHERE { ?a property:P180 ?w . ?a rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q18661427 property:P180 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?j < ?t ) }
Memorial of the people of Pori
action count
action less
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Memorial of the people of Pori
relation depicts
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?j ) WHERE { ?a property:depicts ?w . ?a rdf:type ontology:art_genre . ?w rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Memorial_of_the_people_of_Pori property:depicts ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?j < ?t ) }
[]
musical instrument art genre
SYSTEM
51
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
action count
action less
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18661427
relation P180
type Q34379
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?j ) WHERE { ?a property:P180 ?w . ?a rdf:type ontology:Q1792379 . ?w rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q18661427 property:P180 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?j < ?t ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
51
action count
action less
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Memorial of the people of Pori
relation depicts
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?j ) WHERE { ?a property:depicts ?w . ?a rdf:type ontology:art_genre . ?w rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Memorial_of_the_people_of_Pori property:depicts ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?j < ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1099283
P1344
Q16510064
USER
Which sporting event did Clayton Fredericks compete in ?
(Q1099283,P1344,c(Q16510064))
action filter_type
action find
entity Q1099283
relation P1344
type Q16510064
['Q1099283', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q16510064 . resource:Q1099283 property:P1344 ?m }
Clayton Fredericks
action filter_type
action find
entity Clayton Fredericks
relation participant of
type sporting event
['Clayton Fredericks', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sporting_event . resource:Clayton_Fredericks property:participant_of ?m }
[]
sporting event
Q1184309
SYSTEM
Equestrian at the 2008 Summer Olympics – Team eventing
Q1184309
(Q1099283,P1344,c(Q16510064))
action filter_type
action find
entity Q1099283
relation P1344
type Q16510064
Clayton Fredericks competed in [ANSWER]
['Q1099283', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q16510064 . resource:Q1099283 property:P1344 ?m }
Equestrian at the 2008 Summer Olympics – Team eventing
Clayton Fredericks competed in Equestrian at the 2008 Summer Olympics – Team eventing
Equestrian at the 2008 Summer Olympics – Team eventing
action filter_type
action find
entity Clayton Fredericks
relation participant of
type sporting event
['Clayton Fredericks', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sporting_event . resource:Clayton_Fredericks property:participant_of ?m }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P115
Q811979 Q16510064
USER
Which architectural structures are the home venues of around 2 sporting events ?
(c(Q16510064),P115,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
value 2
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P115 ?t . ?z rdf:type ontology:Q16510064 . ?t rdf:type ontology:Q811979 } GROUP BY ?t } . FILTER ( ?s = 2 ) }
action approx
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
value 2
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:home_venue ?t . ?z rdf:type ontology:sporting_event . ?t rdf:type ontology:architectural_structure } GROUP BY ?t } . FILTER ( ?s = 2 ) }
[]
architectural structure sporting event
Q7089085 Q24255536 Q7089149
SYSTEM
Olympic Hockey Center, Future Arena, Carioca Arena 1
Q7089085 Q24255536 Q7089149
(c(Q16510064),P115,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
value 2
[ANSWERS] are the home venues of around 2 sporting events
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P115 ?t . ?z rdf:type ontology:Q16510064 . ?t rdf:type ontology:Q811979 } GROUP BY ?t } . FILTER ( ?s = 2 ) }
Olympic Hockey Center Future Arena Carioca Arena 1
Olympic Hockey Center, Future Arena and Carioca Arena 1 are the home venues of around 2 sporting events
Olympic Hockey Center Future Arena Carioca Arena 1
action approx
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
value 2
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:home_venue ?t . ?z rdf:type ontology:sporting_event . ?t rdf:type ontology:architectural_structure } GROUP BY ?t } . FILTER ( ?s = 2 ) }
[]