Simple Question (Direct)
Simple Question
Q7436961
P106
Q12737077
USER
Which occupation is the profession of Scott Nisbet ?
(Q7436961,P106,c(Q12737077))
action filter_type
action find
entity Q7436961
relation P106
type Q12737077
['Q7436961', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q7436961 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Scott Nisbet
action filter_type
action find
entity Scott Nisbet
relation occupation
type occupation
['Scott Nisbet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Scott_Nisbet property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7436961,P106,c(Q12737077))
action filter_type
action find
entity Q7436961
relation P106
type Q12737077
Player [ANSWER] is the profession of Scott Nisbet
['Q7436961', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q7436961 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Scott Nisbet
association football player
action filter_type
action find
entity Scott Nisbet
relation occupation
type occupation
['Scott Nisbet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Scott_Nisbet property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Who is associated with the field of occupation that one ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q937857 property:P425 ?c . ?c rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:association_football_player property:field_of_this_occupation ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q937857 property:P425 ?c . ?c rdf:type ontology:Q349 }
association football
Association football is associated with the field of occupation that one
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:association_football_player property:field_of_this_occupation ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
What is that occupation a portion of ?
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?o }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_club . resource:association_football_player property:part_of ?o }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q2736,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
That occupation a portion of is an [ANSWER]
['Q2736', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?o }
association football club
That occupation a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sports_club . resource:association_football_player property:part_of ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q476028)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q476028']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q937857 . ?z rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football club']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:association_football_player . ?z rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q476028)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q476028']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q937857 . ?z rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze works in the domain of that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football club']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:association_football_player . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1099153
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as clavinet ?
(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 Q1099153
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q1099153 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?p } GROUP BY ?p } }
clavinet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:clavinet property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?p } GROUP BY ?p } }
[]
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 Q1099153
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as clavinet
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q1099153 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?p } GROUP BY ?p } }
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 around the same number of people perform with as clavinet
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 clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:clavinet property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?p } GROUP BY ?p } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1303
Q502895
USER
How many people can play that musical instrument ?
(c(Q502895),P1303,Q1178361)
[{'concept': 'Q502895'}, 'P1303', 'Q1178361']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q1178361 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'instrument', 'davul']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:davul . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q1178361 . ?z rdf:type ontology:Q502895 }
Did you mean harpsichord ?
harpsichord
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:davul . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant davul. Could you tell me the answer for that?
(c(Q502895),P1303,Q1178361)
Q1178361
[{'concept': 'Q502895'}, 'P1303', 'Q1178361']
[{'concept': 'common name'}, 'instrument', 'davul']
[]
SYSTEM
1
Q343394
(c(Q502895),P1303,Q1178361)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q1178361']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q1178361 . ?z rdf:type ontology:Q502895 }
İbrahim Tatlıses
1
[{'concept': 'common name'}, 'instrument', 'davul']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:davul . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3193259 Q7436961
P19
Q56061
USER
Which administrative territories are the birthplace of Scott Nisbet or Karin Rehnqvist ?
OR((Q7436961,P19,c(Q56061)), (Q3193259,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7436961
relation P19
action find
entity Q3193259
relation P19
type Q56061
{'OR': [['Q7436961', 'P19', {'concept': 'Q56061'}], ['Q3193259', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7436961 property:P19 ?j } UNION { resource:Q3193259 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Karin Rehnqvist Scott Nisbet
action filter_type
action union
action find
entity Scott Nisbet
relation place of birth
action find
entity Karin Rehnqvist
relation place of birth
type administrative territorial entity
{'OR': [['Scott Nisbet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Karin Rehnqvist', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Scott_Nisbet property:place_of_birth ?j } UNION { resource:Karin_Rehnqvist property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754 Q23436
SYSTEM
Stockholm, Edinburgh
Q1754 Q23436
OR((Q7436961,P19,c(Q56061)), (Q3193259,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7436961
relation P19
action find
entity Q3193259
relation P19
type Q56061
[ANSWERS] are the birthplace of Scott Nisbet or Karin Rehnqvist
{'OR': [['Q7436961', 'P19', {'concept': 'Q56061'}], ['Q3193259', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7436961 property:P19 ?j } UNION { resource:Q3193259 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Stockholm Edinburgh
Stockholm and Edinburgh are the birthplace of Scott Nisbet or Karin Rehnqvist
Stockholm Edinburgh
action filter_type
action union
action find
entity Scott Nisbet
relation place of birth
action find
entity Karin Rehnqvist
relation place of birth
type administrative territorial entity
{'OR': [['Scott Nisbet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Karin Rehnqvist', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Scott_Nisbet property:place_of_birth ?j } UNION { resource:Karin_Rehnqvist property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]