Simple Question (Direct)
Simple Question
Q4214886
P119
Q43229
USER
Which organization is the place of burial of Lazarʹ  Viktorovič Karelin ?
(Q4214886,P119,c(Q43229))
action filter_type
action find
entity Q4214886
relation P119
type Q43229
['Q4214886', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q4214886 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Lazarʹ  Viktorovič Karelin
action filter_type
action find
entity Lazarʹ  Viktorovič Karelin
relation place of burial
type organization
['Lazarʹ  Viktorovič Karelin', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Lazarʹ__Viktorovič_Karelin property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
organization
Q1242128
SYSTEM
Donskoe Cemetery
Q1242128
(Q4214886,P119,c(Q43229))
action filter_type
action find
entity Q4214886
relation P119
type Q43229
[ANSWER] is the place of burial of Lazarʹ Viktorovič Karelin
['Q4214886', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q4214886 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Donskoe Cemetery
Donskoe Cemetery is the place of burial of Lazarʹ Viktorovič Karelin
Donskoe Cemetery
action filter_type
action find
entity Lazarʹ  Viktorovič Karelin
relation place of burial
type organization
['Lazarʹ  Viktorovič Karelin', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Lazarʹ__Viktorovič_Karelin property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1242128
P20
Q502895
USER
Which person has that organization as the area of death ?
(c(Q502895),P20,Q1242128)
action filter_type
action find_reverse
entity Q1242128
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1242128']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q1242128 . ?o rdf:type ontology:Q502895 }
Donskoe Cemetery
action filter_type
action find_reverse
entity Donskoe Cemetery
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Donskoe Cemetery']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Donskoe_Cemetery . ?o rdf:type ontology:common_name }
[]
common name
Q4152283
SYSTEM
Aleksandr Guriewicz
Q4152283
(c(Q502895),P20,Q1242128)
action filter_type
action find_reverse
entity Q1242128
relation P20
type Q502895
[ANSWER] has that organization as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q1242128']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q1242128 . ?o rdf:type ontology:Q502895 }
Aleksandr Guriewicz
Aleksandr Guriewicz has that organization as the area of death
Aleksandr Guriewicz
action filter_type
action find_reverse
entity Donskoe Cemetery
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Donskoe Cemetery']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Donskoe_Cemetery . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P102
Q7278
USER
How many political parties do that person belong to ?
(Q4152283,P102,c(Q7278))
action count
action filter_type
action find
entity Q4152283
relation P102
type Q7278
['Q4152283', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q4152283 property:P102 ?p . ?p rdf:type ontology:Q7278 }
action count
action filter_type
action find
entity Aleksandr Guriewicz
relation member of political party
type political party
['Aleksandr Guriewicz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Aleksandr_Guriewicz property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
political party
SYSTEM
1
Q79854
(Q4152283,P102,c(Q7278))
action count
action filter_type
action find
entity Q4152283
relation P102
type Q7278
[ANSWER]
['Q4152283', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q4152283 property:P102 ?p . ?p rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
1
action count
action filter_type
action find
entity Aleksandr Guriewicz
relation member of political party
type political party
['Aleksandr Guriewicz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Aleksandr_Guriewicz property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did atleast 7 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 7
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q15416 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 7
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:television_program . ?w rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
[]
common name television program
SYSTEM
13
Q2042834 Q23558 Q15863567 Q951078 Q18571935 Q165515 Q10358973 Q25000347 Q18553975 Q18577675 Q428130 Q17183708 Q15863577
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 7
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q15416 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
The Proud Family Movie House K-On! Hellsing The Big O 101 Dalmatians: The Series Reynard the Fox Pirate Express Soul Eater Darker than Black Sonic X The 7D K-On!!
13
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 7
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:television_program . ?w rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q846298
P664
Q43229 Q18608583 Q500834
USER
How many organizations organized greater number of recurring sporting events or tournaments than Japan Racing Association ?
(c(Q18608583)|c(Q500834),P664,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q18608583
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q846298
relation P664
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P664 ?y . ?y rdf:type ontology:Q43229 . ?j rdf:type ontology:Q18608583 } UNION { ?j property:P664 ?y . ?y rdf:type ontology:Q43229 . ?j rdf:type ontology:Q500834 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P664 resource:Q846298 . { { ?b rdf:type ontology:Q500834 } UNION { ?b rdf:type ontology:Q18608583 } } } } . FILTER ( ?v > ?u ) }
Japan Racing Association
action count
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type recurring sporting event
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action count
action filter_multi_types
action find_reverse
entity Japan Racing Association
relation organizer
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:organizer ?y . ?y rdf:type ontology:organization . ?j rdf:type ontology:recurring_sporting_event } UNION { ?j property:organizer ?y . ?y rdf:type ontology:organization . ?j rdf:type ontology:tournament } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:organizer resource:Japan_Racing_Association . { { ?b rdf:type ontology:tournament } UNION { ?b rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?v > ?u ) }
[]
organization recurring sporting event tournament
SYSTEM
2
Q744089 Q948442
(c(Q18608583)|c(Q500834),P664,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q18608583
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q846298
relation P664
type Q18608583
type Q500834
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P664 ?y . ?y rdf:type ontology:Q43229 . ?j rdf:type ontology:Q18608583 } UNION { ?j property:P664 ?y . ?y rdf:type ontology:Q43229 . ?j rdf:type ontology:Q500834 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P664 resource:Q846298 . { { ?b rdf:type ontology:Q500834 } UNION { ?b rdf:type ontology:Q18608583 } } } } . FILTER ( ?v > ?u ) }
Association of Tennis Professionals Women's Tennis Association
2
action count
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type recurring sporting event
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action count
action filter_multi_types
action find_reverse
entity Japan Racing Association
relation organizer
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:organizer ?y . ?y rdf:type ontology:organization . ?j rdf:type ontology:recurring_sporting_event } UNION { ?j property:organizer ?y . ?y rdf:type ontology:organization . ?j rdf:type ontology:tournament } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:organizer resource:Japan_Racing_Association . { { ?b rdf:type ontology:tournament } UNION { ?b rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?v > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q208019
P664
Q43229 Q18608583 Q500834
USER
And how about Eastern Partnership?
(c(Q18608583)|c(Q500834),P664,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q18608583
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q208019
relation P664
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?f WHERE { { ?m property:P664 ?f . ?m rdf:type ontology:Q500834 . ?f rdf:type ontology:Q43229 } UNION { ?m property:P664 ?f . ?f rdf:type ontology:Q43229 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P664 resource:Q208019 . { VALUES ( ?h ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?v rdf:type ?h } } } . FILTER ( ?g > ?r ) }
Eastern Partnership
action count
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type recurring sporting event
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action count
action filter_multi_types
action find_reverse
entity Eastern Partnership
relation organizer
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?f WHERE { { ?m property:organizer ?f . ?m rdf:type ontology:tournament . ?f rdf:type ontology:organization } UNION { ?m property:organizer ?f . ?f rdf:type ontology:organization . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:organizer resource:Eastern_Partnership . { VALUES ( ?h ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?v rdf:type ?h } } } . FILTER ( ?g > ?r ) }
[]
organization recurring sporting event tournament
SYSTEM
2
Q744089 Q948442
(c(Q18608583)|c(Q500834),P664,c(Q43229))
action count
action greater
action union
action find_reverse_tuple_counts
relation P664
type Q43229
type Q18608583
action find_reverse_tuple_counts
relation P664
type Q43229
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q208019
relation P664
type Q18608583
type Q500834
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P664', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?f WHERE { { ?m property:P664 ?f . ?m rdf:type ontology:Q500834 . ?f rdf:type ontology:Q43229 } UNION { ?m property:P664 ?f . ?f rdf:type ontology:Q43229 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P664 resource:Q208019 . { VALUES ( ?h ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?v rdf:type ?h } } } . FILTER ( ?g > ?r ) }
Association of Tennis Professionals Women's Tennis Association
2
action count
action greater
action union
action find_reverse_tuple_counts
relation organizer
type organization
type recurring sporting event
action find_reverse_tuple_counts
relation organizer
type organization
type tournament
action count
action filter_multi_types
action find_reverse
entity Eastern Partnership
relation organizer
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'organizer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?f WHERE { { ?m property:organizer ?f . ?m rdf:type ontology:tournament . ?f rdf:type ontology:organization } UNION { ?m property:organizer ?f . ?f rdf:type ontology:organization . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:organizer resource:Eastern_Partnership . { VALUES ( ?h ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?v rdf:type ?h } } } . FILTER ( ?g > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3574843
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than tonbak ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3574843
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?j ) WHERE { ?w rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P1303 resource:Q3574843 } } . FILTER ( ?j < ?a ) }
tonbak
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity tonbak
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?j ) WHERE { ?w rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:common_name . ?n property:instrument resource:tonbak } } . FILTER ( ?j < ?a ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3574843
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than tonbak
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?j ) WHERE { ?w rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P1303 resource:Q3574843 } } . FILTER ( ?j < ?a ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir can lesser number of people perform with than tonbak
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity tonbak
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?j ) WHERE { ?w rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:common_name . ?n property:instrument resource:tonbak } } . FILTER ( ?j < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 2127 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2127
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?c >= 2127 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2127
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?c >= 2127 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2127
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?c >= 2127 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2127
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?c >= 2127 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15278728 Q4214886
P27
Q15617994
USER
Which administrative territories do Lazarʹ  Viktorovič Karelin or Vilma Martinkaitienė belong to ?
OR((Q4214886,P27,c(Q15617994)), (Q15278728,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4214886
relation P27
action find
entity Q15278728
relation P27
type Q15617994
{'OR': [['Q4214886', 'P27', {'concept': 'Q15617994'}], ['Q15278728', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4214886 property:P27 ?y } UNION { resource:Q15278728 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Vilma Martinkaitienė Lazarʹ  Viktorovič Karelin
action filter_type
action union
action find
entity Lazarʹ  Viktorovič Karelin
relation country of citizenship
action find
entity Vilma Martinkaitienė
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lazarʹ  Viktorovič Karelin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vilma Martinkaitienė', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Lazarʹ__Viktorovič_Karelin property:country_of_citizenship ?y } UNION { resource:Vilma_Martinkaitienė property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q37
SYSTEM
Russia, Lithuania
Q159 Q37
OR((Q4214886,P27,c(Q15617994)), (Q15278728,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4214886
relation P27
action find
entity Q15278728
relation P27
type Q15617994
[ANSWERS] do Lazarʹ Viktorovič Karelin or Vilma Martinkaitienė belong to
{'OR': [['Q4214886', 'P27', {'concept': 'Q15617994'}], ['Q15278728', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4214886 property:P27 ?y } UNION { resource:Q15278728 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Russia Lithuania
Russia and Lithuania do Lazarʹ Viktorovič Karelin or Vilma Martinkaitienė belong to
Russia Lithuania
action filter_type
action union
action find
entity Lazarʹ  Viktorovič Karelin
relation country of citizenship
action find
entity Vilma Martinkaitienė
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lazarʹ  Viktorovič Karelin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vilma Martinkaitienė', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Lazarʹ__Viktorovič_Karelin property:country_of_citizenship ?y } UNION { resource:Vilma_Martinkaitienė property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q355304 Q20667921 Q15617994
USER
How many administrative territories are named after atleast 1 watercourses and french administrative divisions ?
(c(Q15617994),P138,c(Q355304)|c(Q20667921))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 . ?s property:P138 ?j } UNION { ?s property:P138 ?j . ?j rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?k >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse . ?s property:named_after ?j } UNION { ?s property:named_after ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?k >= 1 ) }
[]
watercourse type of french administrative division designation for an administrative territorial entity
SYSTEM
146
Q968630 Q3216 Q1421544 Q12789 Q12779 Q12631 Q1041 Q3305157 Q492430 Q668 Q10919 Q2567507 Q3278 Q12538 Q12740 Q3184 Q1452650 Q12594 Q2998020 Q3083 Q1939894 Q3240 Q12772 Q3286 Q12607 Q2310748 Q15055472 Q12572 Q1090678 Q12556 Q12753 Q624428 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q979470 Q1142326 Q10957559 Q1270648 Q2758 Q12515 Q12517 Q3368 Q12770 Q3361 Q3364 Q302479 Q541095 Q20211 Q3148 Q1390630 Q2567535 Q12798 Q1032 Q3068 Q12792 Q1268811 Q1338277 Q492437 Q282355 Q12620 Q1366860 Q12788 Q12584 Q2009 Q3336 Q1206596 Q3334 Q541811 Q7084 Q27495866 Q12784 Q12578 Q12717 Q12782 Q12559 Q12679 Q12675 Q1270623 Q1989 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q2921370 Q81751 Q12569 Q2921378 Q12730 Q12657 Q12736 Q12761 Q1270568 Q1270636 Q3514973 Q1090691 Q12765 Q1005 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q1033 Q11301 Q12804 Q12808 Q894970 Q12722 Q3326 Q1234961 Q12553 Q3528124 Q15060143 Q810 Q773 Q46130 Q12549 Q3266 Q12626 Q12543 Q12545 Q12758 Q1579364 Q731547 Q12816 Q2236821 Q3353 Q3357 Q558796 Q12564
(c(Q15617994),P138,c(Q355304)|c(Q20667921))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 . ?s property:P138 ?j } UNION { ?s property:P138 ?j . ?j rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?k >= 1 ) }
Taro Aveyron Wettertal Var Tarn-et-Garonne Meuse Senegal Mella Bouches-de-l'Elbe India Medebach Arno Charente-Maritime Haute-Garonne Sarthe Ariège Ombrone Marne Corse Ain Upper Oka Principalities Bouches-du-Rhône Tarn Cher Haute-Marne Liamone Gehlsbach Haute-Loire Sègre Indre-et-Loire Seine-et-Marne Biebertal Stura Wied Sesia Eure-et-Loir Lot Eure Veytal Loiret Yssel-Supérieur Rhine Aisne Seine-et-Oise Seine Moldavia Sieg Mönchengladbach Gard Gers Essonne Somme Doubs Drôme Ems-Occidental Rhin-et-Moselle Peenehagen Ardèche Ourthe Pô Vendée Niger Loire-Atlantique Vaucluse Dyle Sambre-et-Meuse Bouches-du-Weser Nesse-Apfelstädt Mayenne Escaut Val-de-Marne Maine-et-Loire Yukon Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Seevetal Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Territoire de Belfort Isère Orne Oise Meurthe Saskatchewan Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Bouches-de-l'Èbre-Montserrat Niedereschach Loire Bouches-de-l'Èbre Haute-Saône Nièvre Saône-et-Loire Seine-Saint-Denis Ems Ruhr Tanaro Ter Deux-Sèvres Gambia Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Nigeria Ennepetal Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Corrèze Doire Indre Tibre Stepenitztal Jordan Overijssel Rhône Ille-et-Vilaine Charente Meurthe-et-Moselle Hauts-de-Seine Hérault Seine-Maritime Lys Lippe Yonne Rhône-et-Loire Creuse Dordogne Obere Warnow Loir-et-Cher
146
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?s WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse . ?s property:named_after ?j } UNION { ?s property:named_after ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?k >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12964502 Q1178361
P495
Q15617994
USER
Which administrative territories are the countries of origin of davul or Hanaikusa ?
OR((Q1178361,P495,c(Q15617994)), (Q12964502,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q12964502
relation P495
type Q15617994
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q12964502', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1178361 property:P495 ?x } UNION { resource:Q12964502 property:P495 ?x } } . ?x rdf:type ontology:Q15617994 }
Hanaikusa davul
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Hanaikusa
relation country of origin
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hanaikusa', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:davul property:country_of_origin ?x } UNION { resource:Hanaikusa property:country_of_origin ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q43
SYSTEM
Japan, Turkey
Q17 Q43
OR((Q1178361,P495,c(Q15617994)), (Q12964502,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q12964502
relation P495
type Q15617994
[ANSWERS] are the countries of origin of davul or Hanaikusa
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q12964502', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1178361 property:P495 ?x } UNION { resource:Q12964502 property:P495 ?x } } . ?x rdf:type ontology:Q15617994 }
Japan Turkey
Japan and Turkey are the countries of origin of davul or Hanaikusa
Japan Turkey
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Hanaikusa
relation country of origin
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hanaikusa', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:davul property:country_of_origin ?x } UNION { resource:Hanaikusa property:country_of_origin ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4152283
P19
Q56061
USER
Which administrative territory was Aleksandr Guriewicz born at ?
(Q4152283,P19,c(Q56061))
action filter_type
action find
entity Q4152283
relation P19
type Q56061
['Q4152283', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4152283 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Aleksandr Guriewicz
action filter_type
action find
entity Aleksandr Guriewicz
relation place of birth
type administrative territorial entity
['Aleksandr Guriewicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Guriewicz property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q761
SYSTEM
Białystok
Q761
(Q4152283,P19,c(Q56061))
action filter_type
action find
entity Q4152283
relation P19
type Q56061
Aleksandr Guriewicz was born in [ANSWER]
['Q4152283', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4152283 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Białystok
Aleksandr Guriewicz was born in Białystok
Białystok
action filter_type
action find
entity Aleksandr Guriewicz
relation place of birth
type administrative territorial entity
['Aleksandr Guriewicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Guriewicz property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18715771
Q56061
USER
And also tell me about Enoch Jenkins?
(Q18715771,P19,c(Q56061))
action filter_type
action find
entity Q18715771
relation P19
type Q56061
['Q18715771', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q18715771 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Enoch Jenkins
action filter_type
action find
entity Enoch Jenkins
relation place of birth
type administrative territorial entity
['Enoch Jenkins', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Enoch_Jenkins property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1024900
SYSTEM
Pontypridd
Q1024900
(Q18715771,P19,c(Q56061))
action filter_type
action find
entity Q18715771
relation P19
type Q56061
[ANSWER]
['Q18715771', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q18715771 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Pontypridd
Pontypridd
action filter_type
action find
entity Enoch Jenkins
relation place of birth
type administrative territorial entity
['Enoch Jenkins', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Enoch_Jenkins property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1024900 Q145
P17
Q15617994
USER
Is Pontypridd situated in United Kingdom ?
(Q1024900,P17,Q145)
action is_in
entity Q145
action find
entity Q1024900
relation P17
['Q1024900', 'P17', 'Q145']
ASK WHERE { resource:Q1024900 property:P17 resource:Q145 }
Pontypridd United Kingdom
action is_in
entity United Kingdom
action find
entity Pontypridd
relation country
['Pontypridd', 'country', 'United Kingdom']
ASK WHERE { resource:Pontypridd property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1024900,P17,Q145)
action is_in
entity Q145
action find
entity Q1024900
relation P17
[ANSWER]
['Q1024900', 'P17', 'Q145']
ASK WHERE { resource:Q1024900 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Pontypridd
relation country
['Pontypridd', 'country', 'United Kingdom']
ASK WHERE { resource:Pontypridd property:country resource:United_Kingdom }
[]