Simple Question (Direct)
Simple Question
Q467795
P463
Q43229
USER
What was Nadezhda Udaltsova a member of ?
(Q467795,P463,c(Q43229))
action filter_type
action find
entity Q467795
relation P463
type Q43229
['Q467795', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q467795 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Nadezhda Udaltsova
action filter_type
action find
entity Nadezhda Udaltsova
relation member of
type organization
['Nadezhda Udaltsova', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Nadezhda_Udaltsova property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
Q3433665
SYSTEM
Supremus
Q3433665
(Q467795,P463,c(Q43229))
action filter_type
action find
entity Q467795
relation P463
type Q43229
[ANSWER] Nadezhda Udaltsova was a member
['Q467795', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q467795 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Supremus
Supremus Nadezhda Udaltsova was a member
Supremus
action filter_type
action find
entity Nadezhda Udaltsova
relation member of
type organization
['Nadezhda Udaltsova', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Nadezhda_Udaltsova property:member_of ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3433665
P135
Q2198855
USER
What cultural movements were that organization associated with ?
(Q3433665,P135,c(Q2198855))
action filter_type
action find
entity Q3433665
relation P135
type Q2198855
['Q3433665', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?z WHERE { resource:Q3433665 property:P135 ?z . ?z rdf:type ontology:Q2198855 }
Supremus
action filter_type
action find
entity Supremus
relation movement
type cultural movement
['Supremus', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?z WHERE { resource:Supremus property:movement ?z . ?z rdf:type ontology:cultural_movement }
[]
cultural movement
Q1401605 Q191970
SYSTEM
Russian avant-garde, suprematism
Q1401605 Q191970
(Q3433665,P135,c(Q2198855))
action filter_type
action find
entity Q3433665
relation P135
type Q2198855
That organization were associated with [ANSWERS]
['Q3433665', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?z WHERE { resource:Q3433665 property:P135 ?z . ?z rdf:type ontology:Q2198855 }
Russian avant-garde suprematism
That organization were associated with Russian avant-garde and suprematism
Russian avant-garde suprematism
action filter_type
action find
entity Supremus
relation movement
type cultural movement
['Supremus', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?z WHERE { resource:Supremus property:movement ?z . ?z rdf:type ontology:cultural_movement }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P149
Q2198855 Q16970 Q44539
USER
Which cultural movements are max number of churches or temples an example of ?
(c(Q16970)|c(Q44539),P149,c(Q2198855))
action argmax
action union
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q16970
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q44539
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q44539 ) } . ?r rdf:type ?g } GROUP BY ?x } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?i ) WHERE { { ?y rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q16970 . ?u property:P149 ?y } UNION { ?u property:P149 ?y . ?y rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q44539 } } GROUP BY ?y } } }
action argmax
action union
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type church
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type temple
[[{'concept': 'church'}, {'concept': 'temple'}], 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:temple ) } . ?r rdf:type ?g } GROUP BY ?x } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?i ) WHERE { { ?y rdf:type ontology:cultural_movement . ?u rdf:type ontology:church . ?u property:architectural_style ?y } UNION { ?u property:architectural_style ?y . ?y rdf:type ontology:cultural_movement . ?u rdf:type ontology:temple } } GROUP BY ?y } } }
[]
cultural movement church temple
Q46825
SYSTEM
Gothic art
Q46825
(c(Q16970)|c(Q44539),P149,c(Q2198855))
action argmax
action union
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q16970
action find_reverse_tuple_counts
relation P149
type Q2198855
type Q44539
[ANSWER] is max number of churches or temples an example of
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q44539 ) } . ?r rdf:type ?g } GROUP BY ?x } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?i ) WHERE { { ?y rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q16970 . ?u property:P149 ?y } UNION { ?u property:P149 ?y . ?y rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q44539 } } GROUP BY ?y } } }
Gothic art
Gothic art is max number of churches or temples an example of
Gothic art
action argmax
action union
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type church
action find_reverse_tuple_counts
relation architectural style
type cultural movement
type temple
[[{'concept': 'church'}, {'concept': 'temple'}], 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:temple ) } . ?r rdf:type ?g } GROUP BY ?x } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?i ) WHERE { { ?y rdf:type ontology:cultural_movement . ?u rdf:type ontology:church . ?u property:architectural_style ?y } UNION { ?u property:architectural_style ?y . ?y rdf:type ontology:cultural_movement . ?u rdf:type ontology:temple } } GROUP BY ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2850098
P344
Q502895
USER
Which person serves as the director of photography for Anyuta ?
(Q2850098,P344,c(Q502895))
action filter_type
action find
entity Q2850098
relation P344
type Q502895
['Q2850098', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2850098 property:P344 ?j . ?j rdf:type ontology:Q502895 }
Anyuta
action filter_type
action find
entity Anyuta
relation director of photography
type common name
['Anyuta', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Anyuta property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
common name
Q4281077
SYSTEM
Genrikh Marandzhyan
Q4281077
(Q2850098,P344,c(Q502895))
action filter_type
action find
entity Q2850098
relation P344
type Q502895
[ANSWER] serves as the director of photography for Anyuta
['Q2850098', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2850098 property:P344 ?j . ?j rdf:type ontology:Q502895 }
Genrikh Marandzhyan
Genrikh Marandzhyan serves as the director of photography for Anyuta
Genrikh Marandzhyan
action filter_type
action find
entity Anyuta
relation director of photography
type common name
['Anyuta', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Anyuta property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q191970
P135
Q502895 Q43229
USER
How many people and organizations are associated with suprematism ?
(c(Q502895),P135,Q191970) (c(Q43229),P135,Q191970)
action count
action union
action filter_type
action find_reverse
entity Q191970
relation P135
type Q502895
action filter_type
action find_reverse
entity Q191970
relation P135
type Q43229
[{'concept': 'Q502895'}, 'P135', 'Q191970'] [{'concept': 'Q43229'}, 'P135', 'Q191970']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:P135 resource:Q191970 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P135 resource:Q191970 . ?j rdf:type ontology:Q43229 } }
suprematism
action count
action union
action filter_type
action find_reverse
entity suprematism
relation movement
type common name
action filter_type
action find_reverse
entity suprematism
relation movement
type organization
[{'concept': 'common name'}, 'movement', 'suprematism'] [{'concept': 'organization'}, 'movement', 'suprematism']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:movement resource:suprematism . ?j rdf:type ontology:common_name } UNION { ?j property:movement resource:suprematism . ?j rdf:type ontology:organization } }
[]
common name organization
SYSTEM
5 people and 1 organizations
Q1988310 Q270460 Q152233 Q3433665 Q130777 Q3285718
(c(Q502895),P135,Q191970) (c(Q43229),P135,Q191970)
action count
action union
action filter_type
action find_reverse
entity Q191970
relation P135
type Q502895
action filter_type
action find_reverse
entity Q191970
relation P135
type Q43229
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q191970'] [{'concept': 'Q43229'}, 'P135', 'Q191970']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:P135 resource:Q191970 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P135 resource:Q191970 . ?j rdf:type ontology:Q43229 } }
Ivan Kliun Olga Rozanova El Lissitzky Supremus Kazimir Malevich Shmavon Mangasarov
5 people and 1 organizations
action count
action union
action filter_type
action find_reverse
entity suprematism
relation movement
type common name
action filter_type
action find_reverse
entity suprematism
relation movement
type organization
[{'concept': 'common name'}, 'movement', 'suprematism'] [{'concept': 'organization'}, 'movement', 'suprematism']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { ?j property:movement resource:suprematism . ?j rdf:type ontology:common_name } UNION { ?j property:movement resource:suprematism . ?j rdf:type ontology:organization } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do approximately 2643 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2643
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?f = 2643 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2643
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?f = 2643 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2643
Approximately 2643 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?f = 2643 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } }
bass guitar trumpet organ drum kit
Approximately 2643 people know about bass guitar, trumpet and organ
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2643
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?f = 2643 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18688281
P180
Q34379 Q1792379
USER
How many art genres depict around the same number of musical instruments as Portrait of A.S.Pushkin ?
(c(Q1792379),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18688281
relation P180
type Q1792379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m rdf:type ontology:Q1792379 . ?q rdf:type ontology:Q34379 . ?m property:P180 ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q18688281 property:P180 ?b . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?l = ?k ) }
Portrait of A.S.Pushkin
action count
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Portrait of A.S.Pushkin
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m rdf:type ontology:art_genre . ?q rdf:type ontology:musical_instrument . ?m property:depicts ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Portrait_of_A.S.Pushkin property:depicts ?b . ?b rdf:type ontology:art_genre } } . FILTER ( ?l = ?k ) }
[]
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 approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q18688281
relation P180
type Q1792379
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m rdf:type ontology:Q1792379 . ?q rdf:type ontology:Q34379 . ?m property:P180 ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q18688281 property:P180 ?b . ?b rdf:type ontology:Q1792379 } } . FILTER ( ?l = ?k ) }
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 approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity Portrait of A.S.Pushkin
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m rdf:type ontology:art_genre . ?q rdf:type ontology:musical_instrument . ?m property:depicts ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Portrait_of_A.S.Pushkin property:depicts ?b . ?b rdf:type ontology:art_genre } } . FILTER ( ?l = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q659396
P180
Q34379 Q1792379
USER
And also tell me about equestrian statue?
(c(Q1792379),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q659396
relation P180
type Q1792379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?q ) WHERE { ?p property:P180 ?h . ?p rdf:type ontology:Q1792379 . ?h rdf:type ontology:Q34379 } GROUP BY ?p } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q659396 property:P180 ?b . ?b rdf:type ontology:Q1792379 } } }
equestrian statue
action count
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity equestrian statue
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?q ) WHERE { ?p property:depicts ?h . ?p rdf:type ontology:art_genre . ?h rdf:type ontology:musical_instrument } GROUP BY ?p } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:equestrian_statue property:depicts ?b . ?b rdf:type ontology:art_genre } } }
[]
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 approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
action count
action filter_type
action find
entity Q659396
relation P180
type Q1792379
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?q ) WHERE { ?p property:P180 ?h . ?p rdf:type ontology:Q1792379 . ?h rdf:type ontology:Q34379 } GROUP BY ?p } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q659396 property:P180 ?b . ?b rdf:type ontology:Q1792379 } } }
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 approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
action count
action filter_type
action find
entity equestrian statue
relation depicts
type art genre
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?q ) WHERE { ?p property:depicts ?h . ?p rdf:type ontology:art_genre . ?h rdf:type ontology:musical_instrument } GROUP BY ?p } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:equestrian_statue property:depicts ?b . ?b rdf:type ontology:art_genre } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46825
P17
Q7275
USER
Which state is Gothic art present in ?
(Q46825,P17,c(Q7275))
action filter_type
action find
entity Q46825
relation P17
type Q7275
['Q46825', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . resource:Q46825 property:P17 ?u }
Gothic art
action filter_type
action find
entity Gothic art
relation country
type state
['Gothic art', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . resource:Gothic_art property:country ?u }
[]
state
Q12548
SYSTEM
Holy Roman Empire
Q12548
(Q46825,P17,c(Q7275))
action filter_type
action find
entity Q46825
relation P17
type Q7275
Gothic art is the [ANSWER]
['Q46825', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . resource:Q46825 property:P17 ?u }
Holy Roman Empire
Gothic art is the Holy Roman Empire
Holy Roman Empire
action filter_type
action find
entity Gothic art
relation country
type state
['Gothic art', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . resource:Gothic_art property:country ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P36
Q56061
USER
How many administrative territories are the capitals of that state ?
(Q12548,P36,c(Q56061))
action count
action filter_type
action find
entity Q12548
relation P36
type Q56061
['Q12548', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q12548 property:P36 ?p . ?p rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Holy Roman Empire
relation capital
type administrative territorial entity
['Holy Roman Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Holy_Roman_Empire property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1741
(Q12548,P36,c(Q56061))
action count
action filter_type
action find
entity Q12548
relation P36
type Q56061
[ANSWER]
['Q12548', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q12548 property:P36 ?p . ?p rdf:type ontology:Q56061 }
Vienna
1
action count
action filter_type
action find
entity Holy Roman Empire
relation capital
type administrative territorial entity
['Holy Roman Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Holy_Roman_Empire property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]