Simple Question (Direct)
Simple Question
Q16738811
P1412
Q34770
USER
Which language can José Cerveró understand ?
(Q16738811,P1412,c(Q34770))
action filter_type
action find
entity Q16738811
relation P1412
type Q34770
['Q16738811', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q16738811 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
José Cerveró
action filter_type
action find
entity José Cerveró
relation languages spoken, written or signed
type language
['José Cerveró', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:José_Cerveró property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16738811,P1412,c(Q34770))
action filter_type
action find
entity Q16738811
relation P1412
type Q34770
[ANSWER]
['Q16738811', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q16738811 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity José Cerveró
relation languages spoken, written or signed
type language
['José Cerveró', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:José_Cerveró property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16738811
P641
Q349
USER
Which sport was that person a part of ?
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q16738811
relation P641
type Q349
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q16738811 property:P641 ?b . ?b rdf:type ontology:Q349 }
José Cerveró
action filter_type
action find
entity José Cerveró
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:José_Cerveró property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q16738811
relation P641
type Q349
[ANSWER]
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q16738811 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity José Cerveró
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:José_Cerveró property:sport ?b . ?b rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q11686154
P641
Q502895
USER
Is Andrzej Żarnecki associated with playing that sport ?
(Q11686154,P641,Q2736)
action is_in
entity Q11686154
action find
entity Q2736
relation P641
['Q11686154', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q11686154 }
association football Andrzej Żarnecki
action is_in
entity Andrzej Żarnecki
action find
entity association football
relation sport
['Andrzej Żarnecki', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Andrzej_Żarnecki }
[]
common name
SYSTEM
NO
(Q11686154,P641,Q2736)
action is_in
entity Q11686154
action find
entity Q2736
relation P641
[ANSWER]
['Q11686154', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q11686154 }
No
action is_in
entity Andrzej Żarnecki
action find
entity association football
relation sport
['Andrzej Żarnecki', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Andrzej_Żarnecki }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Where did association football originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?a WHERE { resource:Q2736 property:P495 ?a . ?a rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:association_football property:country_of_origin ?a . ?a rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?a WHERE { resource:Q2736 property:P495 ?a . ?a rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:association_football property:country_of_origin ?a . ?a rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q502895
USER
Who competed in that sport ?
(c(Q502895),P2416,Q21)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q21']
SELECT DISTINCT ?r WHERE { ?r property:P2416 resource:Q2736 . ?r rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'England']
SELECT DISTINCT ?r WHERE { ?r property:sports_discipline_competed_in resource:association_football . ?r rdf:type ontology:common_name }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q21)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P2416', 'Q21']
SELECT DISTINCT ?r WHERE { ?r property:P2416 resource:Q2736 . ?r rdf:type ontology:Q502895 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'England']
SELECT DISTINCT ?r WHERE { ?r property:sports_discipline_competed_in resource:association_football . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11404
P1303
Q34379 Q502895
USER
Which musical instruments are played by lesser number of people than drum ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q11404
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 resource:Q11404 . ?c rdf:type ontology:Q502895 } } . FILTER ( ?s < ?f ) }
drum
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument resource:drum . ?c rdf:type ontology:common_name } } . FILTER ( ?s < ?f ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 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 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q11404
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 resource:Q11404 . ?c rdf:type ontology:Q502895 } } . FILTER ( ?s < ?f ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium 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 Kayamb Paraguayan harp
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument resource:drum . ?c rdf:type ontology:common_name } } . FILTER ( ?s < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q128309
P1303
Q34379 Q502895
USER
And what about drum kit?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1303 resource:Q128309 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?m < ?o ) }
drum kit
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum kit
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:instrument resource:drum_kit . ?a rdf:type ontology:common_name } } . FILTER ( ?m < ?o ) }
[]
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 Q8338 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1303 resource:Q128309 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?m < ?o ) }
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 trumpet 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 less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum kit
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:instrument resource:drum_kit . ?a rdf:type ontology:common_name } } . FILTER ( ?m < ?o ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that musical instrument located in ?
(Q1759986,P17,c(Q15617994))
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1759986 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wurlitzer_electric_piano property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(Q1178361,P17,c(Q15617994)) (Q81982,P17,c(Q15617994)) (Q1759986,P17,c(Q15617994))
[ANSWER]
['Q1178361', 'P17', {'concept': 'Q15617994'}] ['Q81982', 'P17', {'concept': 'Q15617994'}] ['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1759986 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean harpsichord ?
harpsichord
['davul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wurlitzer_electric_piano property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Wurlitzer electric piano. Could you tell me the answer for that?
(Q1759986,P17,c(Q15617994))
Q1759986
['Q1759986', 'P17', {'concept': 'Q15617994'}]
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q1759986,P17,c(Q15617994))
[ANSWER]
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1759986 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wurlitzer_electric_piano property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1303 ?f . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?p } GROUP BY ?p } . FILTER ( ?w = ?d ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:instrument ?f . ?e rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?p } GROUP BY ?p } . FILTER ( ?w = ?d ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1303 ?f . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?p } GROUP BY ?p } . FILTER ( ?w = ?d ) }
piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:instrument ?f . ?e rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?p } GROUP BY ?p } . FILTER ( ?w = ?d ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5994 Q301597
P61
Q502895
USER
Was Bartolomeo Cristofori the first person to come up with piano ?
(Q5994,P61,Q301597)
action is_in
entity Q301597
action find
entity Q5994
relation P61
['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 }
piano Bartolomeo Cristofori
action is_in
entity Bartolomeo Cristofori
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori }
[]
common name
SYSTEM
YES
(Q5994,P61,Q301597)
action is_in
entity Q301597
action find
entity Q5994
relation P61
[ANSWER]
['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 }
Yes
action is_in
entity Bartolomeo Cristofori
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q56982
P282
Q8192 Q9779 Q34770
USER
Which languages are approximately the same number of writing systems and alphabets the writing system of as Judaeo-Portuguese ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q56982
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?p rdf:type ?u } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q56982 property:P282 ?j . { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?n ) }
Judaeo-Portuguese
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Judaeo-Portuguese
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?p rdf:type ?u } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Judaeo-Portuguese property:writing_system ?j . { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?n ) }
[]
writing system alphabet language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q56982
relation P282
type Q8192
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?p rdf:type ?u } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q56982 property:P282 ?j . { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?n ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan English Old Egyptian
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Judaeo-Portuguese
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?p rdf:type ?u } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Judaeo-Portuguese property:writing_system ?j . { ?j rdf:type ?t . VALUES ( ?t ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2705672
P282
Q8192 Q9779 Q34770
USER
And how about Paeonian language?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?u property:P282 ?k . ?u rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } UNION { ?u property:P282 ?k . ?u rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q2705672 property:P282 ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?o = ?f ) }
Paeonian language
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?u property:writing_system ?k . ?u rdf:type ontology:language . ?k rdf:type ontology:alphabet } UNION { ?u property:writing_system ?k . ?u rdf:type ontology:language . ?k rdf:type ontology:writing_system } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Paeonian_language property:writing_system ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?o = ?f ) }
[]
writing system alphabet language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q8192
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?u property:P282 ?k . ?u rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } UNION { ?u property:P282 ?k . ?u rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q2705672 property:P282 ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?o = ?f ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan English Old Egyptian
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?u property:writing_system ?k . ?u rdf:type ontology:language . ?k rdf:type ontology:alphabet } UNION { ?u property:writing_system ?k . ?u rdf:type ontology:language . ?k rdf:type ontology:writing_system } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Paeonian_language property:writing_system ?b . { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?o = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q32063 Q29572
P282
Q2001982
USER
Which notations are used as the alphabet set for Avestan or Middle Persian ?
OR((Q29572,P282,c(Q2001982)), (Q32063,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q29572
relation P282
action find
entity Q32063
relation P282
type Q2001982
{'OR': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q32063', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29572 property:P282 ?m } UNION { resource:Q32063 property:P282 ?m } } . ?m rdf:type ontology:Q2001982 }
Middle Persian Avestan
action filter_type
action union
action find
entity Avestan
relation writing system
action find
entity Middle Persian
relation writing system
type notation
{'OR': [['Avestan', 'writing system', {'concept': 'notation'}], ['Middle Persian', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Avestan property:writing_system ?m } UNION { resource:Middle_Persian property:writing_system ?m } } . ?m rdf:type ontology:notation }
[]
notation
Q3544702 Q790681 Q1771716
SYSTEM
Manichaean alphabet, Avestan alphabet, Pahlavi scripts
Q3544702 Q790681 Q1771716
OR((Q29572,P282,c(Q2001982)), (Q32063,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q29572
relation P282
action find
entity Q32063
relation P282
type Q2001982
[ANSWERS]
{'OR': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q32063', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29572 property:P282 ?m } UNION { resource:Q32063 property:P282 ?m } } . ?m rdf:type ontology:Q2001982 }
Manichaean alphabet Avestan alphabet Pahlavi scripts
Manichaean alphabet Avestan alphabet Pahlavi scripts
action filter_type
action union
action find
entity Avestan
relation writing system
action find
entity Middle Persian
relation writing system
type notation
{'OR': [['Avestan', 'writing system', {'concept': 'notation'}], ['Middle Persian', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Avestan property:writing_system ?m } UNION { resource:Middle_Persian property:writing_system ?m } } . ?m rdf:type ontology:notation }
[]