Simple Question (Direct)
Simple Question
Q850992
P1383
Q56061
USER
Which administrative territories are in Costești ?
(Q850992,P1383,c(Q56061))
action filter_type
action find
entity Q850992
relation P1383
type Q56061
['Q850992', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q850992 property:P1383 ?d . ?d rdf:type ontology:Q56061 }
Costești
action filter_type
action find
entity Costești
relation contains settlement
type administrative territorial entity
['Costești', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Costești property:contains_settlement ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12140544 Q12153884 Q12141481
SYSTEM
Pârvu Roșu, Smei, Podu Broșteni
Q12140544 Q12153884 Q12141481 Q12117807 Q12085020 Q12157952
(Q850992,P1383,c(Q56061))
action filter_type
action find
entity Q850992
relation P1383
type Q56061
[ANSWERS] are in Costești
['Q850992', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q850992 property:P1383 ?d . ?d rdf:type ontology:Q56061 }
Pârvu Roșu Smei Podu Broșteni Lăceni Broșteni Stârci
Pârvu Roșu, Smei and Podu Broșteni are in Costești
Pârvu Roșu Smei Podu Broșteni
action filter_type
action find
entity Costești
relation contains settlement
type administrative territorial entity
['Costești', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Costești property:contains_settlement ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12140544 Q12153884 Q12141481
P1383
Q515
USER
Which cities do those administrative territories belong to ?
(c(Q515),P1383,Q12140544) (c(Q515),P1383,Q12153884) (c(Q515),P1383,Q12141481)
action filter_type
action find_reverse
entity prev_answer
relation P1383
type Q515
[{'concept': 'Q515'}, 'P1383', 'Q12140544'] [{'concept': 'Q515'}, 'P1383', 'Q12153884'] [{'concept': 'Q515'}, 'P1383', 'Q12141481']
SELECT DISTINCT ?h WHERE { VALUES ( ?n ) { ( resource:Q12140544 ) ( resource:Q12153884 ) ( resource:Q12141481 ) } . ?h property:P1383 ?n . ?h rdf:type ontology:Q515 }
Pârvu Roșu Smei Podu Broșteni
action filter_type
action find_reverse
entity prev_answer
relation contains settlement
type city
[{'concept': 'city'}, 'contains settlement', 'Pârvu Roșu'] [{'concept': 'city'}, 'contains settlement', 'Smei'] [{'concept': 'city'}, 'contains settlement', 'Podu Broșteni']
SELECT DISTINCT ?h WHERE { VALUES ( ?n ) { ( resource:Pârvu_Roșu ) ( resource:Smei ) ( resource:Podu_Broșteni ) } . ?h property:contains_settlement ?n . ?h rdf:type ontology:city }
[]
city
Q850992
SYSTEM
Costești
Q850992
(c(Q515),P1383,Q12140544) (c(Q515),P1383,Q12153884) (c(Q515),P1383,Q12141481)
action filter_type
action find_reverse
entity prev_answer
relation P1383
type Q515
Those administrative territories belong to [ANSWER]
[{'concept': 'Q515'}, 'P1383', 'Q12140544'] [{'concept': 'Q515'}, 'P1383', 'Q12153884'] [{'concept': 'Q515'}, 'P1383', 'Q12141481']
SELECT DISTINCT ?h WHERE { VALUES ( ?n ) { ( resource:Q12140544 ) ( resource:Q12153884 ) ( resource:Q12141481 ) } . ?h property:P1383 ?n . ?h rdf:type ontology:Q515 }
Costești
Those administrative territories belong to Costești
Costești
action filter_type
action find_reverse
entity prev_answer
relation contains settlement
type city
[{'concept': 'city'}, 'contains settlement', 'Pârvu Roșu'] [{'concept': 'city'}, 'contains settlement', 'Smei'] [{'concept': 'city'}, 'contains settlement', 'Podu Broșteni']
SELECT DISTINCT ?h WHERE { VALUES ( ?n ) { ( resource:Pârvu_Roșu ) ( resource:Smei ) ( resource:Podu_Broșteni ) } . ?h property:contains_settlement ?n . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q850992
P17
Q15617994
USER
Which administrative territory is that city present in ?
(Q850992,P17,c(Q15617994))
action filter_type
action find
entity Q850992
relation P17
type Q15617994
['Q850992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q850992 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Costești
action filter_type
action find
entity Costești
relation country
type designation for an administrative territorial entity
['Costești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Costești property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q850992,P17,c(Q15617994))
action filter_type
action find
entity Q850992
relation P17
type Q15617994
That city is in [ANSWER]
['Q850992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q850992 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Romania
That city is in Romania
Romania
action filter_type
action find
entity Costești
relation country
type designation for an administrative territorial entity
['Costești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Costești property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q218
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q218 property:P495 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?m ) WHERE { ?h property:P495 ?f . ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2031291 } GROUP BY ?h } }
action count
action less
action find_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Romania
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Romania property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?m ) WHERE { ?h property:country_of_origin ?f . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:release } GROUP BY ?h } }
[]
designation for an administrative territorial entity release
SYSTEM
0
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q218
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q218 property:P495 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?m ) WHERE { ?h property:P495 ?f . ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2031291 } GROUP BY ?h } }
0
action count
action less
action find_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Romania
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Romania property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?m ) WHERE { ?h property:country_of_origin ?f . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:release } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with approximately 104 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 104
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?i ) WHERE { ?c property:P530 ?h . ?c rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?i = 104 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 104
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?i ) WHERE { ?c property:diplomatic_relation ?h . ?c rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?i = 104 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 104
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?i ) WHERE { ?c property:P530 ?h . ?c rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?i = 104 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 104
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?i ) WHERE { ?c property:diplomatic_relation ?h . ?c rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?i = 104 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
action filter_type
action find_reverse
entity Q218
relation P740
type Q2088357
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q218 . ?k rdf:type ontology:Q2088357 }
Romania
action filter_type
action find_reverse
entity Romania
relation location of formation
type musical ensemble
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Romania . ?k rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q8049215 Q25056373
SYSTEM
Yarabi, Last Night
Q8049215 Q25056373
action filter_type
action find_reverse
entity Q218
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q218 . ?k rdf:type ontology:Q2088357 }
Yarabi Last Night
Yarabi and Last Night were formed at that administrative territory
Yarabi Last Night
action filter_type
action find_reverse
entity Romania
relation location of formation
type musical ensemble
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Romania . ?k rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q25056373
P740
Q15617994
USER
How many administrative territories were Last Night formed ?
(Q25056373,P740,c(Q15617994))
action count
action filter_type
action find
entity Q25056373
relation P740
type Q15617994
['Q25056373', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q25056373 property:P740 ?p }
Last Night
action count
action filter_type
action find
entity Last Night
relation location of formation
type designation for an administrative territorial entity
['Last Night', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Last_Night property:location_of_formation ?p }
[]
designation for an administrative territorial entity
SYSTEM
1
Q218
(Q25056373,P740,c(Q15617994))
action count
action filter_type
action find
entity Q25056373
relation P740
type Q15617994
[ANSWER]
['Q25056373', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q25056373 property:P740 ?p }
Romania
1
action count
action filter_type
action find
entity Last Night
relation location of formation
type designation for an administrative territorial entity
['Last Night', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Last_Night property:location_of_formation ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q838259
P740
Q15617994
USER
And how about Forest Silence?
(Q838259,P740,c(Q15617994))
action count
action filter_type
action find
entity Q838259
relation P740
type Q15617994
['Q838259', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q838259 property:P740 ?f . ?f rdf:type ontology:Q15617994 }
Forest Silence
action count
action filter_type
action find
entity Forest Silence
relation location of formation
type designation for an administrative territorial entity
['Forest Silence', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Forest_Silence property:location_of_formation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q28
(Q838259,P740,c(Q15617994))
action count
action filter_type
action find
entity Q838259
relation P740
type Q15617994
[ANSWER]
['Q838259', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q838259 property:P740 ?f . ?f rdf:type ontology:Q15617994 }
Hungary
1
action count
action filter_type
action find
entity Forest Silence
relation location of formation
type designation for an administrative territorial entity
['Forest Silence', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Forest_Silence property:location_of_formation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2616634
Q15617994
USER
And what about Onirama?
(Q2616634,P740,c(Q15617994))
action count
action filter_type
action find
entity Q2616634
relation P740
type Q15617994
['Q2616634', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q2616634 property:P740 ?o . ?o rdf:type ontology:Q15617994 }
Onirama
action count
action filter_type
action find
entity Onirama
relation location of formation
type designation for an administrative territorial entity
['Onirama', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Onirama property:location_of_formation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2616634,P740,c(Q15617994))
action count
action filter_type
action find
entity Q2616634
relation P740
type Q15617994
[ANSWER]
['Q2616634', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q2616634 property:P740 ?o . ?o rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Onirama
relation location of formation
type designation for an administrative territorial entity
['Onirama', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Onirama property:location_of_formation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2616634
P136
Q151885
USER
What can be considered as category for that musical ensemble ?
action filter_type
action find
entity Q2616634
relation P136
type Q151885
SELECT DISTINCT ?s WHERE { resource:Q2616634 property:P136 ?s . ?s rdf:type ontology:Q151885 }
Onirama
action filter_type
action find
entity Onirama
relation genre
type concept
SELECT DISTINCT ?s WHERE { resource:Onirama property:genre ?s . ?s rdf:type ontology:concept }
[]
concept
Q484641
SYSTEM
pop rock
Q484641
action filter_type
action find
entity Q2616634
relation P136
type Q151885
[ANSWER] can be considered as category for that musical ensemble
SELECT DISTINCT ?s WHERE { resource:Q2616634 property:P136 ?s . ?s rdf:type ontology:Q151885 }
pop rock
Pop rock can be considered as category for that musical ensemble
pop rock
action filter_type
action find
entity Onirama
relation genre
type concept
SELECT DISTINCT ?s WHERE { resource:Onirama property:genre ?s . ?s rdf:type ontology:concept }
[]