Simple Question (Direct)
Simple Question
Q3819792
P20
Q56061
USER
Which administrative territory is the place of death of Antoni de Gimbernat ?
(Q3819792,P20,c(Q56061))
action filter_type
action find
entity Q3819792
relation P20
type Q56061
['Q3819792', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3819792 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Antoni de Gimbernat
action filter_type
action find
entity Antoni de Gimbernat
relation place of death
type administrative territorial entity
['Antoni de Gimbernat', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antoni_de_Gimbernat property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q3819792,P20,c(Q56061))
action filter_type
action find
entity Q3819792
relation P20
type Q56061
[ANSWER] is the place of death of Antoni de Gimbernat
['Q3819792', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3819792 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Madrid
Madrid is the place of death of Antoni de Gimbernat
Madrid
action filter_type
action find
entity Antoni de Gimbernat
relation place of death
type administrative territorial entity
['Antoni de Gimbernat', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antoni_de_Gimbernat property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3819792
P106
Q12737077
USER
What are the job of Antoni de Gimbernat ?
(Q3819792,P106,c(Q12737077))
action filter_type
action find
entity Q3819792
relation P106
type Q12737077
['Q3819792', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3819792 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Antoni de Gimbernat
action filter_type
action find
entity Antoni de Gimbernat
relation occupation
type occupation
['Antoni de Gimbernat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Antoni_de_Gimbernat property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q10872101 Q39631 Q774306
SYSTEM
anatomist, physician, surgeon
Q10872101 Q39631 Q774306
(Q3819792,P106,c(Q12737077))
action filter_type
action find
entity Q3819792
relation P106
type Q12737077
The job of Antoni de Gimbernat are [ANSWERS]
['Q3819792', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3819792 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
anatomist physician surgeon
The job of Antoni de Gimbernat are anatomist, physician and surgeon
anatomist physician surgeon
action filter_type
action find
entity Antoni de Gimbernat
relation occupation
type occupation
['Antoni de Gimbernat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Antoni_de_Gimbernat property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q774306
P425
Q1047113
USER
Who has surgeon as the associated field of occupation ?
(Q774306,P425,c(Q1047113))
action filter_type
action find
entity Q774306
relation P425
type Q1047113
['Q774306', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1047113 . resource:Q774306 property:P425 ?s }
surgeon
action filter_type
action find
entity surgeon
relation field of this occupation
type special field
['surgeon', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:special_field . resource:surgeon property:field_of_this_occupation ?s }
[]
special field
Q40821
SYSTEM
surgery
Q40821
(Q774306,P425,c(Q1047113))
action filter_type
action find
entity Q774306
relation P425
type Q1047113
[ANSWER] has surgeon as the associated field of occupation
['Q774306', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1047113 . resource:Q774306 property:P425 ?s }
surgery
Surgery has surgeon as the associated field of occupation
surgery
action filter_type
action find
entity surgeon
relation field of this occupation
type special field
['surgeon', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:special_field . resource:surgeon property:field_of_this_occupation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q774306
P417
Q502895
USER
What is the name of person who is the patron saint of surgeon ?
(Q774306,P417,c(Q502895))
action filter_type
action find
entity Q774306
relation P417
type Q502895
['Q774306', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q774306 property:P417 ?d }
surgeon
action filter_type
action find
entity surgeon
relation patron saint
type common name
['surgeon', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:surgeon property:patron_saint ?d }
[]
common name
Q152457
SYSTEM
Saint Roch
Q152457
(Q774306,P417,c(Q502895))
action filter_type
action find
entity Q774306
relation P417
type Q502895
The name of person is the patron saint of surgeon is the [ANSWER]
['Q774306', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q774306 property:P417 ?d }
Saint Roch
The name of person is the patron saint of surgeon is the Saint Roch
Saint Roch
action filter_type
action find
entity surgeon
relation patron saint
type common name
['surgeon', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:surgeon property:patron_saint ?d }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?j ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?o . ?m rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P1303 ?n . ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?j ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?o . ?m rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:instrument ?n . ?s rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?j ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?o . ?m rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P1303 ?n . ?s rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?j ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?o . ?m rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:instrument ?n . ?s rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Madrid ?
(Q2807,P1313,c(Q12737077))
action filter_type
action find
entity Q2807
relation P1313
type Q12737077
['Q2807', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2807 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Madrid
action filter_type
action find
entity Madrid
relation office held by head of government
type occupation
['Madrid', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Madrid property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q17078548
SYSTEM
Mayor of Madrid
Q17078548
(Q2807,P1313,c(Q12737077))
action filter_type
action find
entity Q2807
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Madrid
['Q2807', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2807 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Mayor of Madrid
The Mayor of Madrid serves as the political office that is fulfilled by the head of the government of Madrid
Mayor of Madrid
action filter_type
action find
entity Madrid
relation office held by head of government
type occupation
['Madrid', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Madrid property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P740
Q43229
USER
What are the organizations that were formed at that administrative territory ?
(c(Q43229),P740,Q17078548)
action filter_type
action find_reverse
entity Q2807
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q17078548']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q2807 . ?v rdf:type ontology:Q43229 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Mayor of Madrid']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Madrid . ?v rdf:type ontology:organization }
[]
organization
Q609524 Q1466106 Q2630989
SYSTEM
Tuenti, PRISA, Yoigo
Q2523016 Q1466106 Q26235033 Q753089 Q3021184 Q623133 Q1135120 Q1806995 Q2630989 Q2284548 Q433704 Q609524 Q776605 Q1626995 Q2407104 Q829543
(c(Q43229),P740,Q17078548)
action filter_type
action find_reverse
entity Q2807
relation P740
type Q43229
The organizations that were formed at that administrative territory are the [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q17078548']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q2807 . ?v rdf:type ontology:Q43229 }
Deoleo PRISA Cabify Cortefiel Def Con Dos El Corte Inglés Terra Networks Parques Reunidos Yoigo Dorna Sports Altadis Tuenti Correos Universia Canal de Isabel II FON
The organizations that were formed at that administrative territory are the Tuenti, PRISA and Yoigo
Tuenti PRISA Yoigo
action filter_type
action find_reverse
entity Madrid
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Mayor of Madrid']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Madrid . ?v rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1466106
P112
Q502895
USER
Which people founded PRISA ?
(Q1466106,P112,c(Q502895))
action filter_type
action find
entity Q1466106
relation P112
type Q502895
['Q1466106', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1466106 property:P112 ?w }
PRISA
action filter_type
action find
entity PRISA
relation founder
type common name
['PRISA', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:PRISA property:founder ?w }
[]
common name
Q3815096 Q1377247
SYSTEM
José Ortega Spottorno, Jesús de Polanco
Q3815096 Q1377247
(Q1466106,P112,c(Q502895))
action filter_type
action find
entity Q1466106
relation P112
type Q502895
[ANSWERS] founded PRISA
['Q1466106', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q1466106 property:P112 ?w }
José Ortega Spottorno Jesús de Polanco
José Ortega Spottorno and Jesús de Polanco founded PRISA
José Ortega Spottorno Jesús de Polanco
action filter_type
action find
entity PRISA
relation founder
type common name
['PRISA', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:PRISA property:founder ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q644440
P1303
Q34379 Q502895
USER
Which musical instruments can more number of people perform with than Lap steel guitar ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P1303 ?u . ?b rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q644440 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?c > ?n ) }
Lap steel guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:instrument ?u . ?b rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Lap_steel_guitar property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?n ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[ANSWERS] can more number of people perform with than Lap steel guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P1303 ?u . ?b rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q644440 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?c > ?n ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot can more number of people perform with than Lap steel guitar
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:instrument ?u . ?b rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Lap_steel_guitar property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?c > ?n ) }
[]