Simple Question (Direct)
Simple Question
Q380687
P22
Q502895
USER
Which male person has a child named Anastasio Somoza Portocarrero ?
(Q380687,P22,c(Q502895))
action filter_type
action find
entity Q380687
relation P22
type Q502895
['Q380687', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q380687 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Anastasio Somoza Portocarrero
action filter_type
action find
entity Anastasio Somoza Portocarrero
relation father
type common name
['Anastasio Somoza Portocarrero', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Anastasio_Somoza_Portocarrero property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q218443
SYSTEM
Anastasio Somoza Debayle
Q218443
(Q380687,P22,c(Q502895))
action filter_type
action find
entity Q380687
relation P22
type Q502895
[ANSWER] has a child named Anastasio Somoza Portocarrero
['Q380687', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q380687 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Anastasio Somoza Debayle
Anastasio Somoza Debayle has a child named Anastasio Somoza Portocarrero
Anastasio Somoza Debayle
action filter_type
action find
entity Anastasio Somoza Portocarrero
relation father
type common name
['Anastasio Somoza Portocarrero', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Anastasio_Somoza_Portocarrero property:father ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218443
P488
Q7210356
USER
Which political organization is that person a chairperson of ?
(c(Q7210356),P488,Q218443)
action filter_type
action find_reverse
entity Q218443
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q218443']
SELECT DISTINCT ?z WHERE { ?z property:P488 resource:Q218443 . ?z rdf:type ontology:Q7210356 }
Anastasio Somoza Debayle
action filter_type
action find_reverse
entity Anastasio Somoza Debayle
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Anastasio Somoza Debayle']
SELECT DISTINCT ?z WHERE { ?z property:chairperson resource:Anastasio_Somoza_Debayle . ?z rdf:type ontology:political_organization }
[]
political organization
Q2054654
SYSTEM
Nationalist Liberal Party
Q2054654
(c(Q7210356),P488,Q218443)
action filter_type
action find_reverse
entity Q218443
relation P488
type Q7210356
Party [ANSWER] is that person a chairperson of
[{'concept': 'Q7210356'}, 'P488', 'Q218443']
SELECT DISTINCT ?z WHERE { ?z property:P488 resource:Q218443 . ?z rdf:type ontology:Q7210356 }
Nationalist Liberal Party
Party Nationalist Liberal Party is that person a chairperson of
Nationalist Liberal Party
action filter_type
action find_reverse
entity Anastasio Somoza Debayle
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Anastasio Somoza Debayle']
SELECT DISTINCT ?z WHERE { ?z property:chairperson resource:Anastasio_Somoza_Debayle . ?z rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2054654
P17
Q15617994
USER
Which administrative territory is that political organization a part of ?
(Q2054654,P17,c(Q15617994))
action filter_type
action find
entity Q2054654
relation P17
type Q15617994
['Q2054654', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2054654 property:P17 ?q }
Nationalist Liberal Party
action filter_type
action find
entity Nationalist Liberal Party
relation country
type designation for an administrative territorial entity
['Nationalist Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nationalist_Liberal_Party property:country ?q }
[]
designation for an administrative territorial entity
Q811
SYSTEM
Nicaragua
Q811
(Q2054654,P17,c(Q15617994))
action filter_type
action find
entity Q2054654
relation P17
type Q15617994
The [ANSWER] is that political organization a part of
['Q2054654', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2054654 property:P17 ?q }
Nicaragua
The Nicaragua is that political organization a part of
Nicaragua
action filter_type
action find
entity Nationalist Liberal Party
relation country
type designation for an administrative territorial entity
['Nationalist Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nationalist_Liberal_Party property:country ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with more number of administrative territories than Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?w ) WHERE { ?t rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?t property:P530 ?c } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q781 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?a ) }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?w ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?c } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with more number of administrative territories than Antigua and Barbuda
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?w ) WHERE { ?t rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?t property:P530 ?c } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q781 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?a ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic associations with more number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?w ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?c } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q107425 Q1048835
USER
Which political territories have their location as around 1 geographic locations and landscapes ?
(c(Q1048835),P706,c(Q2221906)|c(Q107425))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q107425
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?k ) WHERE { { ?z property:P706 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q2221906 } UNION { ?z property:P706 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q107425 } } GROUP BY ?z } . FILTER ( ?k = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?k ) WHERE { { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:geographic_location } UNION { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:landscape } } GROUP BY ?z } . FILTER ( ?k = 1 ) }
[]
geographic location landscape political territorial entity
Q769 Q766 Q778
SYSTEM
Grenada, Jamaica, The Bahamas
Q13353 Q6139 Q168856 Q5785 Q25228 Q769 Q170213 Q766 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906)|c(Q107425))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q107425
value 1
[ANSWERS] have their location as around 1 geographic locations and landscapes
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?k ) WHERE { { ?z property:P706 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q2221906 } UNION { ?z property:P706 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q107425 } } GROUP BY ?z } . FILTER ( ?k = 1 ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Grenada Zakarpattia Oblast Jamaica Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Grenada, Jamaica and The Bahamas have their location as around 1 geographic locations and landscapes
Grenada Jamaica The Bahamas
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?k ) WHERE { { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:geographic_location } UNION { ?z property:located_on_terrain_feature ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:landscape } } GROUP BY ?z } . FILTER ( ?k = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q719883
P1001
Q4677783
USER
Do Statute of Westminster 1931 have jurisdiction over those political territories ?
(Q719883,P1001,Q769) (Q719883,P1001,Q766) (Q719883,P1001,Q778)
action is_in
entity prev_answer
action find
entity Q719883
relation P1001
['Q719883', 'P1001', 'Q769'] ['Q719883', 'P1001', 'Q766'] ['Q719883', 'P1001', 'Q778']
ASK WHERE { resource:Q719883 property:P1001 ?t . VALUES ( ?t ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } }
Statute of Westminster 1931
action is_in
entity prev_answer
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
['Statute of Westminster 1931', 'applies to jurisdiction', 'Grenada'] ['Statute of Westminster 1931', 'applies to jurisdiction', 'Jamaica'] ['Statute of Westminster 1931', 'applies to jurisdiction', 'The Bahamas']
ASK WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } }
[]
Act of Parliament of the United Kingdom
SYSTEM
YES
(Q719883,P1001,Q769) (Q719883,P1001,Q766) (Q719883,P1001,Q778)
action is_in
entity prev_answer
action find
entity Q719883
relation P1001
[ANSWER]
['Q719883', 'P1001', 'Q769'] ['Q719883', 'P1001', 'Q766'] ['Q719883', 'P1001', 'Q778']
ASK WHERE { resource:Q719883 property:P1001 ?t . VALUES ( ?t ) { ( resource:Q13353 ) ( resource:Q6139 ) ( resource:Q168856 ) } }
Yes
action is_in
entity prev_answer
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
['Statute of Westminster 1931', 'applies to jurisdiction', 'Grenada'] ['Statute of Westminster 1931', 'applies to jurisdiction', 'Jamaica'] ['Statute of Westminster 1931', 'applies to jurisdiction', 'The Bahamas']
ASK WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Montserrat ) ( resource:Havelland ) ( resource:Chernivtsi_Oblast ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766
P35
Q502895
USER
Who is the head of state of Jamaica ?
(Q766,P35,c(Q502895))
action filter_type
action find
entity Q766
relation P35
type Q502895
['Q766', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q766 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Jamaica
action filter_type
action find
entity Jamaica
relation head of state
type common name
['Jamaica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Jamaica property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
(Q766,P35,c(Q502895))
action filter_type
action find
entity Q766
relation P35
type Q502895
The head of state of Jamaica is Queen [ANSWER]
['Q766', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q766 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Elizabeth II
The head of state of Jamaica is Queen Elizabeth II
Elizabeth II
action filter_type
action find
entity Jamaica
relation head of state
type common name
['Jamaica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Jamaica property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1759986
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Wurlitzer electric piano ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q1759986 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . FILTER ( ?b = ?g ) . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?c } }
Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Wurlitzer_electric_piano property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . FILTER ( ?b = ?g ) . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Wurlitzer electric piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q1759986 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . FILTER ( ?b = ?g ) . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?c } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Wurlitzer_electric_piano property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . FILTER ( ?b = ?g ) . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q213461
P1303
Q34379 Q502895
USER
And what about harmonium?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q213461 property:P1303 ?o } } . FILTER ( ?v = ?y ) }
harmonium
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:musical_instrument . resource:harmonium property:instrument ?o } } . FILTER ( ?v = ?y ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q213461 property:P1303 ?o } } . FILTER ( ?v = ?y ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:musical_instrument . resource:harmonium property:instrument ?o } } . FILTER ( ?v = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atleast 42 administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 42
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P530 ?p . ?p rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } UNION { ?s property:P530 ?p . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?p } . FILTER ( ?d >= 42 ) }
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 42
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s property:diplomatic_relation ?p . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?p } . FILTER ( ?d >= 42 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
value 42
[ANSWERS] have diplomatic relations with atleast 42 administrative territories and political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P530 ?p . ?p rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } UNION { ?s property:P530 ?p . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?p } . FILTER ( ?d >= 42 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relations with atleast 42 administrative territories and political territories
Germany Australia Canada
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 42
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s property:diplomatic_relation ?p . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?p } . FILTER ( ?d >= 42 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q30
P530
Q15617994
USER
Do United States of America have diplomatic associations with those political territories ?
(Q30,P530,Q183) (Q30,P530,Q408) (Q30,P530,Q16)
action is_in
entity prev_answer
action find
entity Q30
relation P530
['Q30', 'P530', 'Q183'] ['Q30', 'P530', 'Q408'] ['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
United States of America
action is_in
entity prev_answer
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Germany'] ['United States of America', 'diplomatic relation', 'Australia'] ['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q183) (Q30,P530,Q408) (Q30,P530,Q16)
action is_in
entity prev_answer
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q183'] ['Q30', 'P530', 'Q408'] ['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
Yes
action is_in
entity prev_answer
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Germany'] ['United States of America', 'diplomatic relation', 'Australia'] ['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]