Simple Question (Direct)
Simple Question
Q1447986
P6
Q502895
USER
Which person is the head of government of Alfoz de Quintanadueñas ?
(Q1447986,P6,c(Q502895))
action filter_type
action find
entity Q1447986
relation P6
type Q502895
['Q1447986', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1447986 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Alfoz de Quintanadueñas
action filter_type
action find
entity Alfoz de Quintanadueñas
relation head of government
type common name
['Alfoz de Quintanadueñas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Alfoz_de_Quintanadueñas property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
Q14044642
SYSTEM
Gerardo Bilbao Leon
Q14044642
(Q1447986,P6,c(Q502895))
action filter_type
action find
entity Q1447986
relation P6
type Q502895
[ANSWER] is the head of government of Alfoz de Quintanadueñas
['Q1447986', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1447986 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Gerardo Bilbao Leon
Gerardo Bilbao Leon is the head of government of Alfoz de Quintanadueñas
Gerardo Bilbao Leon
action filter_type
action find
entity Alfoz de Quintanadueñas
relation head of government
type common name
['Alfoz de Quintanadueñas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Alfoz_de_Quintanadueñas property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1447986
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q14044642,P1313,c(Q12737077))
action filter_type
action find
entity Q1447986
relation P1313
type Q12737077
['Q14044642', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1447986 property:P1313 ?k . ?k rdf:type ontology:Q12737077 }
Alfoz de Quintanadueñas
action filter_type
action find
entity Alfoz de Quintanadueñas
relation office held by head of government
type occupation
['Gerardo Bilbao Leon', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Alfoz_de_Quintanadueñas property:office_held_by_head_of_government ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q26691517
SYSTEM
mayor of Alfoz de Quintanadueñas
Q26691517
(Q14044642,P1313,c(Q12737077))
action filter_type
action find
entity Q1447986
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q14044642', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1447986 property:P1313 ?k . ?k rdf:type ontology:Q12737077 }
mayor of Alfoz de Quintanadueñas
The mayor of Alfoz de Quintanadueñas serves as the political office that is fulfilled by the head of the government of that political territory
mayor of Alfoz de Quintanadueñas
action filter_type
action find
entity Alfoz de Quintanadueñas
relation office held by head of government
type occupation
['Gerardo Bilbao Leon', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Alfoz_de_Quintanadueñas property:office_held_by_head_of_government ?k . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1447986
P47
Q56061 Q1048835
USER
How many administrative territories or political territories are adjacent to Alfoz de Quintanadueñas ?
(Q1447986,P47,c(Q56061)) (Q1447986,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1447986
relation P47
type Q56061
action filter_type
action find
entity Q1447986
relation P47
type Q1048835
['Q1447986', 'P47', {'concept': 'Q56061'}] ['Q1447986', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?q rdf:type ?t }
Alfoz de Quintanadueñas
action count
action union
action filter_type
action find
entity Alfoz de Quintanadueñas
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Alfoz de Quintanadueñas
relation shares border with
type political territorial entity
['Alfoz de Quintanadueñas', 'shares border with', {'concept': 'administrative territorial entity'}] ['Alfoz de Quintanadueñas', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?q rdf:type ?t }
[]
administrative territorial entity political territorial entity
SYSTEM
6
Q1642746 Q1630721 Q1751251 Q942983 Q1656698 Q9580
(Q1447986,P47,c(Q56061)) (Q1447986,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1447986
relation P47
type Q56061
action filter_type
action find
entity Q1447986
relation P47
type Q1048835
[ANSWER]
['Q1447986', 'P47', {'concept': 'Q56061'}] ['Q1447986', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?q rdf:type ?t }
Quintanilla Vivar Merindad de Río Ubierna Pedrosa de Río Úrbel Sotragero Valle de Santibáñez Burgos
6
action count
action union
action filter_type
action find
entity Alfoz de Quintanadueñas
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Alfoz de Quintanadueñas
relation shares border with
type political territorial entity
['Alfoz de Quintanadueñas', 'shares border with', {'concept': 'administrative territorial entity'}] ['Alfoz de Quintanadueñas', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?q rdf:type ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1447986
P47
Q1048835
USER
Which political territory shares border with that one ?
action filter_type
action find_reverse
entity Q1447986
relation P47
type Q1048835
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q1447986 . ?z rdf:type ontology:Q1048835 }
Alfoz de Quintanadueñas
action filter_type
action find_reverse
entity Alfoz de Quintanadueñas
relation shares border with
type political territorial entity
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Alfoz_de_Quintanadueñas . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1642746
SYSTEM
Quintanilla Vivar
Q1642746
action filter_type
action find_reverse
entity Q1447986
relation P47
type Q1048835
[ANSWER] shares border with that one
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q1447986 . ?z rdf:type ontology:Q1048835 }
Quintanilla Vivar
Quintanilla Vivar shares border with that one
Quintanilla Vivar
action filter_type
action find_reverse
entity Alfoz de Quintanadueñas
relation shares border with
type political territorial entity
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Alfoz_de_Quintanadueñas . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q1048835
USER
How many political territories have tactful political relations with atleast 8 administrative territories or political territories ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 8
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c >= 8 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?o WHERE { { ?o property:P530 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } } GROUP BY ?o } }
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 8
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c >= 8 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?o WHERE { { ?o property:diplomatic_relation ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } } GROUP BY ?o } }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 8
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c >= 8 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?o WHERE { { ?o property:P530 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } } GROUP BY ?o } }
Germany Australia Canada
3
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 8
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { FILTER ( ?c >= 8 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?o WHERE { { ?o property:diplomatic_relation ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q2342494 Q234460
USER
Which people illustrated around 16 collectables and texts ?
(c(Q2342494)|c(Q234460),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
value 16
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:P110 ?n . ?t rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } UNION { ?t property:P110 ?n . ?t rdf:type ontology:Q234460 . ?n rdf:type ontology:Q502895 } } GROUP BY ?n } . FILTER ( ?h = 16 ) }
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type text
value 16
[[{'concept': 'collectable'}, {'concept': 'text'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:illustrator ?n . ?t rdf:type ontology:collectable . ?n rdf:type ontology:common_name } UNION { ?t property:illustrator ?n . ?t rdf:type ontology:text . ?n rdf:type ontology:common_name } } GROUP BY ?n } . FILTER ( ?h = 16 ) }
[]
common name collectable text
Q560015 Q711830 Q841310
SYSTEM
Hugh Lofting, Chris Riddell, Garth Williams
Q560015 Q6104584 Q201157 Q841310 Q5231938 Q2340811 Q5423369 Q101951 Q711830
(c(Q2342494)|c(Q234460),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
value 16
[ANSWERS] illustrated around 16 collectables and texts
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:P110 ?n . ?t rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } UNION { ?t property:P110 ?n . ?t rdf:type ontology:Q234460 . ?n rdf:type ontology:Q502895 } } GROUP BY ?n } . FILTER ( ?h = 16 ) }
Hugh Lofting J. Allen St. John George Roux Garth Williams David Burroughs Mattingly Brett Helquist Ezra Jack Keats Pauline Baynes Chris Riddell
Hugh Lofting, Chris Riddell and Garth Williams illustrated around 16 collectables and texts
Hugh Lofting Chris Riddell Garth Williams
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type text
value 16
[[{'concept': 'collectable'}, {'concept': 'text'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?h ) WHERE { { ?t property:illustrator ?n . ?t rdf:type ontology:collectable . ?n rdf:type ontology:common_name } UNION { ?t property:illustrator ?n . ?t rdf:type ontology:text . ?n rdf:type ontology:common_name } } GROUP BY ?n } . FILTER ( ?h = 16 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q26691517 Q26702419
P1313
Q1048835
USER
How many political territories have mayor of Alfoz de Quintanadueñas or mayor of Villatuerta as title of head of government ?
(c(Q1048835),P1313,Q26691517) (c(Q1048835),P1313,Q26702419)
action count
action union
action filter_type
action find_reverse
entity Q26691517
relation P1313
type Q1048835
action filter_type
action find_reverse
entity Q26702419
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26691517'] [{'concept': 'Q1048835'}, 'P1313', 'Q26702419']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:Q1048835 . ?l property:P1313 resource:Q26691517 } UNION { ?l rdf:type ontology:Q1048835 . ?l property:P1313 resource:Q26702419 } }
mayor of Alfoz de Quintanadueñas mayor of Villatuerta
action count
action union
action filter_type
action find_reverse
entity mayor of Alfoz de Quintanadueñas
relation office held by head of government
type political territorial entity
action filter_type
action find_reverse
entity mayor of Villatuerta
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Alfoz de Quintanadueñas'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Villatuerta']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:political_territorial_entity . ?l property:office_held_by_head_of_government resource:mayor_of_Alfoz_de_Quintanadueñas } UNION { ?l rdf:type ontology:political_territorial_entity . ?l property:office_held_by_head_of_government resource:mayor_of_Villatuerta } }
[]
political territorial entity
SYSTEM
2
Q984886 Q1447986
(c(Q1048835),P1313,Q26691517) (c(Q1048835),P1313,Q26702419)
action count
action union
action filter_type
action find_reverse
entity Q26691517
relation P1313
type Q1048835
action filter_type
action find_reverse
entity Q26702419
relation P1313
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P1313', 'Q26691517'] [{'concept': 'Q1048835'}, 'P1313', 'Q26702419']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:Q1048835 . ?l property:P1313 resource:Q26691517 } UNION { ?l rdf:type ontology:Q1048835 . ?l property:P1313 resource:Q26702419 } }
Villatuerta Alfoz de Quintanadueñas
2
action count
action union
action filter_type
action find_reverse
entity mayor of Alfoz de Quintanadueñas
relation office held by head of government
type political territorial entity
action filter_type
action find_reverse
entity mayor of Villatuerta
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Alfoz de Quintanadueñas'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Villatuerta']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ontology:political_territorial_entity . ?l property:office_held_by_head_of_government resource:mayor_of_Alfoz_de_Quintanadueñas } UNION { ?l rdf:type ontology:political_territorial_entity . ?l property:office_held_by_head_of_government resource:mayor_of_Villatuerta } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26691517
P17
Q15617994
USER
Which administrative territory is mayor of Alfoz de Quintanadueñas present in ?
(Q26691517,P17,c(Q15617994))
action filter_type
action find
entity Q26691517
relation P17
type Q15617994
['Q26691517', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q26691517 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
mayor of Alfoz de Quintanadueñas
action filter_type
action find
entity mayor of Alfoz de Quintanadueñas
relation country
type designation for an administrative territorial entity
['mayor of Alfoz de Quintanadueñas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:mayor_of_Alfoz_de_Quintanadueñas property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q26691517,P17,c(Q15617994))
action filter_type
action find
entity Q26691517
relation P17
type Q15617994
[ANSWER] is mayor of Alfoz de Quintanadueñas present in
['Q26691517', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q26691517 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Spain
Spain is mayor of Alfoz de Quintanadueñas present in
Spain
action filter_type
action find
entity mayor of Alfoz de Quintanadueñas
relation country
type designation for an administrative territorial entity
['mayor of Alfoz de Quintanadueñas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:mayor_of_Alfoz_de_Quintanadueñas property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1023680
Q15617994
USER
And what about CHH Txuri Urdin?
(Q1023680,P17,c(Q15617994))
action filter_type
action find
entity Q1023680
relation P17
type Q15617994
['Q1023680', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1023680 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
CHH Txuri Urdin
action filter_type
action find
entity CHH Txuri Urdin
relation country
type designation for an administrative territorial entity
['CHH Txuri Urdin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:CHH_Txuri_Urdin property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1023680,P17,c(Q15617994))
action filter_type
action find
entity Q1023680
relation P17
type Q15617994
[ANSWER]
['Q1023680', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1023680 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Spain
Spain
action filter_type
action find
entity CHH Txuri Urdin
relation country
type designation for an administrative territorial entity
['CHH Txuri Urdin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:CHH_Txuri_Urdin property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1023680
P54
Q502895
USER
Who are a member of that sports team ?
(c(Q502895),P54,Q29)
action filter_type
action find_reverse
entity Q1023680
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P54 resource:Q1023680 . ?c rdf:type ontology:Q502895 }
CHH Txuri Urdin
action filter_type
action find_reverse
entity CHH Txuri Urdin
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:member_of_sports_team resource:CHH_Txuri_Urdin . ?c rdf:type ontology:common_name }
[]
common name
Q1362419 Q15712077 Q18297091
SYSTEM
Juan Muñoz, Pablo Puyuelo, Jorge Vea
Q17675671 Q1362419 Q15705322 Q15712077 Q18219069 Q18297091 Q19159360 Q17334962
(c(Q502895),P54,Q29)
action filter_type
action find_reverse
entity Q1023680
relation P54
type Q502895
A member of that sports team are [ANSWERS]
[{'concept': 'Q502895'}, 'P54', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P54 resource:Q1023680 . ?c rdf:type ontology:Q502895 }
Iñigo Gainza Juan Muñoz Zigor Martínez Pablo Puyuelo Ignacio Solórzano Jorge Vea Alejandro Vea Patricio Fuentes
A member of that sports team are Juan Muñoz, Pablo Puyuelo and Jorge Vea
Juan Muñoz Pablo Puyuelo Jorge Vea
action filter_type
action find_reverse
entity CHH Txuri Urdin
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:member_of_sports_team resource:CHH_Txuri_Urdin . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q182718
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as Nyckelharpa ?
(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 Q182718
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q182718 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?v = ?g ) }
Nyckelharpa
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Nyckelharpa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Nyckelharpa property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?g ) }
[]
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 Q182718
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as Nyckelharpa
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q182718 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?v = ?g ) }
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 are played by approximately the same number of people as Nyckelharpa
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 Nyckelharpa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Nyckelharpa property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q206987
P1303
Q34379 Q502895
USER
And also tell me about vibraphone?
(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 Q206987
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q206987 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?l = ?q ) }
vibraphone
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:vibraphone property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?q ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 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 Q206987
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q206987 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?l = ?q ) }
viola bass guitar 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 vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:vibraphone property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 2815 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2815
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?s = 2815 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2815
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?s = 2815 ) }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2815
[ANSWERS] can around 2815 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?s = 2815 ) }
bass guitar trumpet organ drum kit
Bass guitar, trumpet and organ can around 2815 people perform with
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2815
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?s = 2815 ) }
[]