Simple Question (Direct)
Simple Question
Q3588843
P800
Q483394
USER
Which genre is notable work of Émilie Charmy ?
(Q3588843,P800,c(Q483394))
action filter_type
action find
entity Q3588843
relation P800
type Q483394
['Q3588843', 'P800', {'concept': 'Q483394'}]
SELECT DISTINCT ?q WHERE { resource:Q3588843 property:P800 ?q . ?q rdf:type ontology:Q483394 }
Émilie Charmy
action filter_type
action find
entity Émilie Charmy
relation notable work
type genre
['Émilie Charmy', 'notable work', {'concept': 'genre'}]
SELECT DISTINCT ?q WHERE { resource:Émilie_Charmy property:notable_work ?q . ?q rdf:type ontology:genre }
[]
genre
Q192110
SYSTEM
self-portrait
Q192110
(Q3588843,P800,c(Q483394))
action filter_type
action find
entity Q3588843
relation P800
type Q483394
The [ANSWER] is notable work of Émilie Charmy
['Q3588843', 'P800', {'concept': 'Q483394'}]
SELECT DISTINCT ?q WHERE { resource:Q3588843 property:P800 ?q . ?q rdf:type ontology:Q483394 }
self-portrait
The self-portrait is notable work of Émilie Charmy
self-portrait
action filter_type
action find
entity Émilie Charmy
relation notable work
type genre
['Émilie Charmy', 'notable work', {'concept': 'genre'}]
SELECT DISTINCT ?q WHERE { resource:Émilie_Charmy property:notable_work ?q . ?q rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3588843
P21
Q290
USER
Which sex does that person have ?
(Q192110,P21,c(Q290))
action filter_type
action find
entity Q3588843
relation P21
type Q290
['Q192110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3588843 property:P21 ?y . ?y rdf:type ontology:Q290 }
Émilie Charmy
action filter_type
action find
entity Émilie Charmy
relation gender
type sex
['self-portrait', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Émilie_Charmy property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q192110,P21,c(Q290))
action filter_type
action find
entity Q3588843
relation P21
type Q290
That person has a [ANSWER]
['Q192110', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3588843 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Émilie Charmy
relation gender
type sex
['self-portrait', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Émilie_Charmy property:gender ?y . ?y rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do around the same number of people have as that sex ?
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P21 ?x . ?x rdf:type ontology:Q290 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q6581072 property:P21 ?r . ?r rdf:type ontology:Q290 } } . FILTER ( ?k = ?f ) }
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:gender ?x . ?x rdf:type ontology:sex . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:female property:gender ?r . ?r rdf:type ontology:sex } } . FILTER ( ?k = ?f ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER] around the same number of people have as that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P21 ?x . ?x rdf:type ontology:Q290 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q6581072 property:P21 ?r . ?r rdf:type ontology:Q290 } } . FILTER ( ?k = ?f ) }
female
Female around the same number of people have as that sex
female
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:gender ?x . ?x rdf:type ontology:sex . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:female property:gender ?r . ?r rdf:type ontology:sex } } . FILTER ( ?k = ?f ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q7914730
P21
Q502895
USER
Is Vanessa Yardley a that sex ?
(Q7914730,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q7914730
relation P21
['Q7914730', 'P21', 'Q6581072']
ASK WHERE { resource:Q7914730 property:P21 resource:Q6581072 }
female Vanessa Yardley
action is_in
entity female
action find
entity Vanessa Yardley
relation gender
['Vanessa Yardley', 'gender', 'female']
ASK WHERE { resource:Vanessa_Yardley property:gender resource:female }
[]
common name
SYSTEM
YES
(Q7914730,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q7914730
relation P21
[ANSWER]
['Q7914730', 'P21', 'Q6581072']
ASK WHERE { resource:Q7914730 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Vanessa Yardley
relation gender
['Vanessa Yardley', 'gender', 'female']
ASK WHERE { resource:Vanessa_Yardley property:gender resource:female }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P136
Q502895
USER
Which people have that sex as their type ?
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q6581072 . ?d rdf:type ontology:Q502895 }
female
action filter_type
action find_reverse
entity female
relation genre
type common name
SELECT DISTINCT ?d WHERE { ?d property:genre resource:female . ?d rdf:type ontology:common_name }
[]
common name
Q19831537 Q23688633
SYSTEM
Luisa María Martí García, Eva Jospin
Q19831537 Q23688633
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[ANSWERS] have that sex as their type
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q6581072 . ?d rdf:type ontology:Q502895 }
Luisa María Martí García Eva Jospin
Luisa María Martí García and Eva Jospin have that sex as their type
Luisa María Martí García Eva Jospin
action filter_type
action find_reverse
entity female
relation genre
type common name
SELECT DISTINCT ?d WHERE { ?d property:genre resource:female . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q56061
USER
How many administrative territories were that person born ?
(Q23688633,P19,c(Q56061))
['Q23688633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q23688633 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
['Eva Jospin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Eva_Jospin property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q19831537
SYSTEM
Did you mean Luisa María Martí García ?
(Q19831537,P19,c(Q56061)) (Q23688633,P19,c(Q56061))
[ANSWER]
['Q19831537', 'P19', {'concept': 'Q56061'}] ['Q23688633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q23688633 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Luisa María Martí García ?
Luisa María Martí García
['Luisa María Martí García', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eva Jospin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Eva_Jospin property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Eva Jospin. Could you tell me the answer for that?
(Q23688633,P19,c(Q56061))
Q23688633
['Q23688633', 'P19', {'concept': 'Q56061'}]
['Eva Jospin', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q90
(Q23688633,P19,c(Q56061))
[ANSWER]
['Q23688633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q23688633 property:Q1322263 ?z . ?z rdf:type ontology:Q56061 }
Paris
1
['Eva Jospin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Eva_Jospin property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3382191
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than upright piano ?
(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 Q3382191
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:Q34379 . resource:Q3382191 property:P1303 ?v } } }
upright piano
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity upright piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:musical_instrument . resource:upright_piano property:instrument ?v } } }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(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 Q3382191
relation P1303
type Q34379
The [ANSWERS] are played by greater number of people than upright piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:Q34379 . resource:Q3382191 property:P1303 ?v } } }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin organ drum kit electronic keyboard
The piano, harpsichord and viola are played by greater number of people than upright piano
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity upright piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:musical_instrument . resource:upright_piano property:instrument ?v } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q39777
P1303
Q34379 Q502895
USER
And what about maraca?
(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 Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q39777 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } }
maraca
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:maraca property:instrument ?g . ?g rdf:type ontology:musical_instrument } } }
[]
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 Q39777
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q39777 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } }
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 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 maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:maraca property:instrument ?g . ?g rdf:type ontology:musical_instrument } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23688633
P734
Q82799
USER
Who has the surname Eva Jospin ?
(Q23688633,P734,c(Q82799))
action filter_type
action find
entity Q23688633
relation P734
type Q82799
['Q23688633', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q23688633 property:P734 ?u }
Eva Jospin
action filter_type
action find
entity Eva Jospin
relation family name
type name
['Eva Jospin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Eva_Jospin property:family_name ?u }
[]
name
Q24247881
SYSTEM
Jospin
Q24247881
(Q23688633,P734,c(Q82799))
action filter_type
action find
entity Q23688633
relation P734
type Q82799
[ANSWER] has the surname Eva [ANSWER]
['Q23688633', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q23688633 property:P734 ?u }
Jospin
Jospin has the surname Eva Jospin
Jospin
action filter_type
action find
entity Eva Jospin
relation family name
type name
['Eva Jospin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Eva_Jospin property:family_name ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35499
P407
Q34770 Q82799
USER
Which languages are the languages of work for greater number of names than Old Church Slavonic ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35499
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q35499 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?g > ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P407 ?f . ?f rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?f } }
Old Church Slavonic
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Church Slavonic
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Old_Church_Slavonic property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?g > ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?f } }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35499
relation P407
type Q34770
[ANSWERS] are the languages of work for greater number of names than Old Church Slavonic
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q35499 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?g > ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P407 ?f . ?f rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?f } }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are the languages of work for greater number of names than Old Church Slavonic
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Church Slavonic
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Old_Church_Slavonic property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?g > ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q837985
P364
Q34770 Q838948 Q2342494
USER
Which languages are considered to be the original language of creation of approximately the same number of works of art or collectables as Middle High German ?
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q837985
relation P364
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { { ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P364 resource:Q837985 } } . FILTER ( ?i = ?u ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?i ) WHERE { { ?j property:P364 ?c . ?c rdf:type ontology:Q34770 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P364 ?c . ?j rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } }
Middle High German
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Middle High German
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { { ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:collectable } } . ?b property:original_language_of_work resource:Middle_High_German } } . FILTER ( ?i = ?u ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?i ) WHERE { { ?j property:original_language_of_work ?c . ?c rdf:type ontology:language . ?j rdf:type ontology:work_of_art } UNION { ?j property:original_language_of_work ?c . ?j rdf:type ontology:collectable . ?c rdf:type ontology:language } } GROUP BY ?c } }
[]
language work of art collectable
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q837985
relation P364
type Q838948
type Q2342494
[ANSWERS] are considered to be the original language of creation of approximately the same number of works of art or collectables as Middle High German
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { { ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P364 resource:Q837985 } } . FILTER ( ?i = ?u ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?i ) WHERE { { ?j property:P364 ?c . ?c rdf:type ontology:Q34770 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P364 ?c . ?j rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language, Late Old Japanese and Old Church Slavonic are considered to be the original language of creation of approximately the same number of works of art or collectables as Middle High German
Wappo language Late Old Japanese Old Church Slavonic
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Middle High German
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { { ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:collectable } } . ?b property:original_language_of_work resource:Middle_High_German } } . FILTER ( ?i = ?u ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?i ) WHERE { { ?j property:original_language_of_work ?c . ?c rdf:type ontology:language . ?j rdf:type ontology:work_of_art } UNION { ?j property:original_language_of_work ?c . ?j rdf:type ontology:collectable . ?c rdf:type ontology:language } } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q36206
P364
Q34770 Q838948 Q2342494
USER
And also tell me about Lak?
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P364
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?z rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P364 resource:Q36206 . { ?v rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?f = ?b ) }
Lak
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Lak
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?z rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:original_language_of_work resource:Lak . { ?v rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?f = ?b ) }
[]
language work of art collectable
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P364
type Q838948
type Q2342494
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?z rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P364 resource:Q36206 . { ?v rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?f = ?b ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language Late Old Japanese Old Church Slavonic
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Lak
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?z rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:original_language_of_work resource:Lak . { ?v rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?f = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q182695
P1412
Q502895
USER
Who talks in that language ?
(c(Q502895),P1412,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q182695']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P1412 resource:Q182695 }
Late Old Japanese
action filter_type
action find_reverse
entity Late Old Japanese
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:languages_spoken,_written_or_signed resource:Late_Old_Japanese }
[]
common name
Clarification for simple ques.
Q35499
SYSTEM
Did you mean Old Church Slavonic ?
Q56530 Q182695 Q35499
(c(Q502895),P1412,Q56530) (c(Q502895),P1412,Q182695) (c(Q502895),P1412,Q35499)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q56530'] [{'concept': 'Q502895'}, 'P1412', 'Q182695'] [{'concept': 'Q502895'}, 'P1412', 'Q35499']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P1412 resource:Q182695 }
Wappo language Late Old Japanese Old Church Slavonic
Did you mean Old Church Slavonic ?
Old Church Slavonic
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Wappo language'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:languages_spoken,_written_or_signed resource:Late_Old_Japanese }
[]
Simple Question (Coreferenced)
USER
No, I meant Late Old Japanese. Could you tell me the answer for that?
(c(Q502895),P1412,Q182695)
Q182695
[{'concept': 'Q502895'}, 'P1412', 'Q182695']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese']
[]
Q451991
SYSTEM
Ariwara no Narihira
Q451991
(c(Q502895),P1412,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
[ANSWER] talks in that language
[{'concept': 'Q502895'}, 'P1412', 'Q182695']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P1412 resource:Q182695 }
Ariwara no Narihira
Ariwara no Narihira talks in that language
Ariwara no Narihira
action filter_type
action find_reverse
entity Late Old Japanese
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:languages_spoken,_written_or_signed resource:Late_Old_Japanese }
[]