Simple Question (Direct)
Simple Question
Q114257
P17
Q15617994
USER
Which administrative territory is Elbasan situated in ?
(Q114257,P17,c(Q15617994))
action filter_type
action find
entity Q114257
relation P17
type Q15617994
['Q114257', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q114257 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Elbasan
action filter_type
action find
entity Elbasan
relation country
type designation for an administrative territorial entity
['Elbasan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Elbasan property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222
SYSTEM
Albania
Q222
(Q114257,P17,c(Q15617994))
action filter_type
action find
entity Q114257
relation P17
type Q15617994
Elbasan is situated in [ANSWER]
['Q114257', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q114257 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Albania
Elbasan is situated in Albania
Albania
action filter_type
action find
entity Elbasan
relation country
type designation for an administrative territorial entity
['Elbasan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Elbasan property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q114257
P1376
Q104251
USER
What has that administrative territory as its capital ?
(Q222,P1376,c(Q104251))
action filter_type
action find
entity Q114257
relation P1376
type Q104251
['Q222', 'P1376', {'concept': 'Q104251'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q104251 . resource:Q114257 property:P1376 ?v }
Elbasan
action filter_type
action find
entity Elbasan
relation capital of
type county of Albania
['Albania', 'capital of', {'concept': 'county of Albania'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:county_of_Albania . resource:Elbasan property:capital_of ?v }
[]
county of Albania
Q193790
SYSTEM
Elbasan County
Q193790
(Q222,P1376,c(Q104251))
action filter_type
action find
entity Q114257
relation P1376
type Q104251
[ANSWER] has that administrative territory as its capital
['Q222', 'P1376', {'concept': 'Q104251'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q104251 . resource:Q114257 property:P1376 ?v }
Elbasan County
Elbasan County has that administrative territory as its capital
Elbasan County
action filter_type
action find
entity Elbasan
relation capital of
type county of Albania
['Albania', 'capital of', {'concept': 'county of Albania'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:county_of_Albania . resource:Elbasan property:capital_of ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q189
P180
Q15617994 Q11060274 Q3305213
USER
Which administrative territories are depicted in approximately the same number of prints and paintings as Iceland ?
(c(Q11060274)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q189
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?v rdf:type ?w } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P180 resource:Q189 . { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?a rdf:type ?y } } } . FILTER ( ?h = ?b ) }
Iceland
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Iceland
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:print ) ( ontology:painting ) } . ?v rdf:type ?w } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:depicts resource:Iceland . { VALUES ( ?y ) { ( ontology:print ) ( ontology:painting ) } . ?a rdf:type ?y } } } . FILTER ( ?h = ?b ) }
[]
designation for an administrative territorial entity print painting
Q155 Q159 Q55
SYSTEM
Brazil, Russia, Netherlands
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q189
relation P180
type Q11060274
type Q3305213
[ANSWERS] are depicted in approximately the same number of prints and paintings as Iceland
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?v rdf:type ?w } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P180 resource:Q189 . { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?a rdf:type ?y } } } . FILTER ( ?h = ?b ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Brazil, Russia and Netherlands are depicted in approximately the same number of prints and paintings as Iceland
Brazil Russia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Iceland
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:print ) ( ontology:painting ) } . ?v rdf:type ?w } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:depicts resource:Iceland . { VALUES ( ?y ) { ( ontology:print ) ( ontology:painting ) } . ?a rdf:type ?y } } } . FILTER ( ?h = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6256
P180
Q15617994 Q11060274 Q3305213
USER
And also tell me about country?
(c(Q11060274)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q6256
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { { ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 . ?j property:P180 ?y } UNION { ?j property:P180 ?y . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?y } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { { ?s rdf:type ontology:Q11060274 } UNION { ?s rdf:type ontology:Q3305213 } } . ?s property:P180 resource:Q6256 } } }
country
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity country
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print . ?j property:depicts ?y } UNION { ?j property:depicts ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:painting } } GROUP BY ?y } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { { ?s rdf:type ontology:print } UNION { ?s rdf:type ontology:painting } } . ?s property:depicts resource:country } } }
[]
designation for an administrative territorial entity print painting
Q155 Q159 Q55
SYSTEM
Brazil, Russia, Netherlands
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q3305213),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q6256
relation P180
type Q11060274
type Q3305213
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { { ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 . ?j property:P180 ?y } UNION { ?j property:P180 ?y . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?y } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { { ?s rdf:type ontology:Q11060274 } UNION { ?s rdf:type ontology:Q3305213 } } . ?s property:P180 resource:Q6256 } } }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Brazil Russia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity country
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print . ?j property:depicts ?y } UNION { ?j property:depicts ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:painting } } GROUP BY ?y } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { { ?s rdf:type ontology:print } UNION { ?s rdf:type ontology:painting } } . ?s property:depicts resource:country } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q42288
P180
Q15617994 Q340169 Q838948
USER
How many administrative territories are depicted in greater number of medias and works of art than Asola ?
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q42288
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P180 resource:Q42288 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q838948 } } } } }
Asola
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Asola
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:depicts resource:Asola . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:work_of_art } } } } }
[]
designation for an administrative territorial entity media work of art
SYSTEM
6
Q674904 Q145 Q739 Q736 Q159605 Q82025
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q42288
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P180 resource:Q42288 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q838948 } } } } }
Krumau am Kamp United Kingdom Colombia Ecuador Tivoli horn
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Asola
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:depicts resource:Asola . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:work_of_art } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q72432
P180
Q15617994 Q340169 Q838948
USER
And also tell me about Procida?
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q72432
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?j } . FILTER ( ?h > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P180 resource:Q72432 . { { ?m rdf:type ontology:Q340169 } UNION { ?m rdf:type ontology:Q838948 } } } } }
Procida
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Procida
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?j } . FILTER ( ?h > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:depicts resource:Procida . { { ?m rdf:type ontology:media } UNION { ?m rdf:type ontology:work_of_art } } } } }
[]
designation for an administrative territorial entity media work of art
SYSTEM
6
Q674904 Q145 Q739 Q736 Q159605 Q82025
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q72432
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?j } . FILTER ( ?h > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:P180 resource:Q72432 . { { ?m rdf:type ontology:Q340169 } UNION { ?m rdf:type ontology:Q838948 } } } } }
Krumau am Kamp United Kingdom Colombia Ecuador Tivoli horn
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Procida
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?j } . FILTER ( ?h > ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m property:depicts resource:Procida . { { ?m rdf:type ontology:media } UNION { ?m rdf:type ontology:work_of_art } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193790
P36
Q56061
USER
Which administrative territory is the capital of Elbasan County ?
(Q193790,P36,c(Q56061))
action filter_type
action find
entity Q193790
relation P36
type Q56061
['Q193790', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q193790 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Elbasan County
action filter_type
action find
entity Elbasan County
relation capital
type administrative territorial entity
['Elbasan County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Elbasan_County property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q114257
SYSTEM
Elbasan
Q114257
(Q193790,P36,c(Q56061))
action filter_type
action find
entity Q193790
relation P36
type Q56061
The [ANSWER] is the capital of [ANSWER] County
['Q193790', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q193790 property:P36 ?z . ?z rdf:type ontology:Q56061 }
Elbasan
The Elbasan is the capital of Elbasan County
Elbasan
action filter_type
action find
entity Elbasan County
relation capital
type administrative territorial entity
['Elbasan County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Elbasan_County property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193790
P706
Q56061
USER
Which administrative territory has its location as Elbasan County ?
(c(Q56061),P706,Q193790)
action filter_type
action find_reverse
entity Q193790
relation P706
type Q56061
[{'concept': 'Q56061'}, 'P706', 'Q193790']
SELECT DISTINCT ?l WHERE { ?l property:P706 resource:Q193790 . ?l rdf:type ontology:Q56061 }
Elbasan County
action filter_type
action find_reverse
entity Elbasan County
relation located on terrain feature
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Elbasan County']
SELECT DISTINCT ?l WHERE { ?l property:located_on_terrain_feature resource:Elbasan_County . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q114257
SYSTEM
Elbasan
Q114257
(c(Q56061),P706,Q193790)
action filter_type
action find_reverse
entity Q193790
relation P706
type Q56061
As [ANSWER] has its location as [ANSWER] County
[{'concept': 'Q56061'}, 'P706', 'Q193790']
SELECT DISTINCT ?l WHERE { ?l property:P706 resource:Q193790 . ?l rdf:type ontology:Q56061 }
Elbasan
As Elbasan has its location as Elbasan County
Elbasan
action filter_type
action find_reverse
entity Elbasan County
relation located on terrain feature
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Elbasan County']
SELECT DISTINCT ?l WHERE { ?l property:located_on_terrain_feature resource:Elbasan_County . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q38
P463
Q43229
USER
How many organizations were Brazil and Italy a member of ?
(Q155,P463,c(Q43229)) (Q38,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q43229
action filter_type
action find
entity Q38
relation P463
type Q43229
['Q155', 'P463', {'concept': 'Q43229'}] ['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q155 property:P463 ?c . ?c rdf:type ontology:Q43229 . resource:Q38 property:P463 ?c . ?c rdf:type ontology:Q43229 }
Brazil Italy
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type organization
action filter_type
action find
entity Italy
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Brazil property:member_of ?c . ?c rdf:type ontology:organization . resource:Italy property:member_of ?c . ?c rdf:type ontology:organization }
[]
organization
SYSTEM
6
Q340195 Q191384 Q656801 Q151991 Q7825 Q827525
(Q155,P463,c(Q43229)) (Q38,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q43229
action filter_type
action find
entity Q38
relation P463
type Q43229
[ANSWER]
['Q155', 'P463', {'concept': 'Q43229'}] ['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q155 property:P463 ?c . ?c rdf:type ontology:Q43229 . resource:Q38 property:P463 ?c . ?c rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
6
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type organization
action filter_type
action find
entity Italy
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Brazil property:member_of ?c . ?c rdf:type ontology:organization . resource:Italy property:member_of ?c . ?c rdf:type ontology:organization }
[]