Simple Question (Direct)
Simple Question
Q2857926
P1038
Q502895
USER
Which people are related with Emiel De Haes ?
(Q2857926,P1038,c(Q502895))
action filter_type
action find
entity Q2857926
relation P1038
type Q502895
['Q2857926', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2857926 property:P1038 ?j . ?j rdf:type ontology:Q502895 }
Emiel De Haes
action filter_type
action find
entity Emiel De Haes
relation relative
type common name
['Emiel De Haes', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Emiel_De_Haes property:relative ?j . ?j rdf:type ontology:common_name }
[]
common name
Q2740914 Q2577674 Q433883
SYSTEM
Eddy De Bie, Rudy De Bie, Danny De Bie
Q2740914 Q2577674 Q433883
(Q2857926,P1038,c(Q502895))
action filter_type
action find
entity Q2857926
relation P1038
type Q502895
[ANSWERS] are related with Emiel De Haes
['Q2857926', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2857926 property:P1038 ?j . ?j rdf:type ontology:Q502895 }
Eddy De Bie Rudy De Bie Danny De Bie
Eddy De Bie, Rudy De Bie and Danny De Bie are related with Emiel De Haes
Eddy De Bie Rudy De Bie Danny De Bie
action filter_type
action find
entity Emiel De Haes
relation relative
type common name
['Emiel De Haes', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Emiel_De_Haes property:relative ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q433883
P7
Q502895
USER
Which people have Danny De Bie as their brother ?
(c(Q502895),P7,Q433883)
action filter_type
action find
entity Q433883
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q433883']
SELECT DISTINCT ?r WHERE { resource:Q433883 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Danny De Bie
action filter_type
action find
entity Danny De Bie
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Danny De Bie']
SELECT DISTINCT ?r WHERE { resource:Danny_De_Bie property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q2740914 Q2577674
SYSTEM
Eddy De Bie, Rudy De Bie
Q2740914 Q2577674
(c(Q502895),P7,Q433883)
action filter_type
action find
entity Q433883
relation P7
type Q502895
[ANSWERS] have Danny De Bie as their brother
[{'concept': 'Q502895'}, 'P7', 'Q433883']
SELECT DISTINCT ?r WHERE { resource:Q433883 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Eddy De Bie Rudy De Bie
Eddy De Bie and Rudy De Bie have Danny De Bie as their brother
Eddy De Bie Rudy De Bie
action filter_type
action find
entity Danny De Bie
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Danny De Bie']
SELECT DISTINCT ?r WHERE { resource:Danny_De_Bie property:brother ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2740914
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2740914,P27,c(Q15617994))
action filter_type
action find
entity Q2740914
relation P27
type Q15617994
['Q2740914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q2740914 property:P27 ?s }
Eddy De Bie
action filter_type
action find
entity Eddy De Bie
relation country of citizenship
type designation for an administrative territorial entity
['Eddy De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eddy_De_Bie property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q2740914
SYSTEM
Did you mean Eddy De Bie ?
Q2740914 Q2577674
(Q2740914,P27,c(Q15617994)) (Q2577674,P27,c(Q15617994))
[ANSWER]
['Q2740914', 'P27', {'concept': 'Q15617994'}] ['Q2577674', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q2740914 property:P27 ?s }
Eddy De Bie Rudy De Bie
Did you mean Eddy De Bie ?
Eddy De Bie
['Eddy De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rudy De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eddy_De_Bie property:country_of_citizenship ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2740914,P27,c(Q15617994))
['Q2740914', 'P27', {'concept': 'Q15617994'}]
['Eddy De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q31
SYSTEM
Belgium
Q31
(Q2740914,P27,c(Q15617994))
action filter_type
action find
entity Q2740914
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2740914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q2740914 property:P27 ?s }
Belgium
Belgium is the native country of that person
Belgium
action filter_type
action find
entity Eddy De Bie
relation country of citizenship
type designation for an administrative territorial entity
['Eddy De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Eddy_De_Bie property:country_of_citizenship ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q31 Q5674063 Q38
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Hart-Ransom Union School District and Italy ?
(Q31,P530,Q5674063) (Q31,P530,Q38)
action is_in
entity Q31
action intersection
action find_reverse
entity Q5674063
relation P530
action find_reverse
entity Q38
relation P530
['Q31', 'P530', 'Q5674063'] ['Q31', 'P530', 'Q38']
ASK WHERE { resource:Q31 property:P530 resource:Q5674063 . resource:Q31 property:P530 resource:Q38 }
Belgium Hart-Ransom Union School District Italy
action is_in
entity Belgium
action intersection
action find_reverse
entity Hart-Ransom Union School District
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Belgium', 'diplomatic relation', 'Hart-Ransom Union School District'] ['Belgium', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Belgium property:diplomatic_relation resource:Hart-Ransom_Union_School_District . resource:Belgium property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q31,P530,Q5674063) (Q31,P530,Q38)
action is_in
entity Q31
action intersection
action find_reverse
entity Q5674063
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q31', 'P530', 'Q5674063'] ['Q31', 'P530', 'Q38']
ASK WHERE { resource:Q31 property:P530 resource:Q5674063 . resource:Q31 property:P530 resource:Q38 }
NO and YES respectively
action is_in
entity Belgium
action intersection
action find_reverse
entity Hart-Ransom Union School District
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['Belgium', 'diplomatic relation', 'Hart-Ransom Union School District'] ['Belgium', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Belgium property:diplomatic_relation resource:Hart-Ransom_Union_School_District . resource:Belgium property:diplomatic_relation resource:Italy }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20687646 Q433883
P27
Q15617994
USER
Which administrative territories do Danny De Bie or Yisel belong to ?
OR((Q433883,P27,c(Q15617994)), (Q20687646,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q433883
relation P27
action find
entity Q20687646
relation P27
type Q15617994
{'OR': [['Q433883', 'P27', {'concept': 'Q15617994'}], ['Q20687646', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { VALUES ( ?v ) { ( resource:Q20687646 ) ( resource:Q433883 ) } . ?v property:P27 ?g } }
Yisel Danny De Bie
action filter_type
action union
action find
entity Danny De Bie
relation country of citizenship
action find
entity Yisel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Danny De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yisel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?v ) { ( resource:Yisel ) ( resource:Danny_De_Bie ) } . ?v property:country_of_citizenship ?g } }
[]
designation for an administrative territorial entity
Q241 Q31
SYSTEM
Cuba, Belgium
Q241 Q31
OR((Q433883,P27,c(Q15617994)), (Q20687646,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q433883
relation P27
action find
entity Q20687646
relation P27
type Q15617994
Danny De Bie or Yisel belong to [ANSWERS]
{'OR': [['Q433883', 'P27', {'concept': 'Q15617994'}], ['Q20687646', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { VALUES ( ?v ) { ( resource:Q20687646 ) ( resource:Q433883 ) } . ?v property:P27 ?g } }
Cuba Belgium
Danny De Bie or Yisel belong to Cuba and Belgium
Cuba Belgium
action filter_type
action union
action find
entity Danny De Bie
relation country of citizenship
action find
entity Yisel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Danny De Bie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yisel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?v ) { ( resource:Yisel ) ( resource:Danny_De_Bie ) } . ?v property:country_of_citizenship ?g } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q556647
P530
Q15617994
USER
Do Oldenbüttel have diplomatic relations with those ones ?
(Q556647,P530,Q241) (Q556647,P530,Q31)
action is_in
entity prev_answer
action find
entity Q556647
relation P530
['Q556647', 'P530', 'Q241'] ['Q556647', 'P530', 'Q31']
ASK WHERE { resource:Q556647 property:P530 ?k . VALUES ( ?k ) { ( resource:Q241 ) ( resource:Q31 ) } }
Oldenbüttel
action is_in
entity prev_answer
action find
entity Oldenbüttel
relation diplomatic relation
['Oldenbüttel', 'diplomatic relation', 'Cuba'] ['Oldenbüttel', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Oldenbüttel property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Cuba ) ( resource:Belgium ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q556647,P530,Q241) (Q556647,P530,Q31)
action is_in
entity prev_answer
action find
entity Q556647
relation P530
[ANSWER]
['Q556647', 'P530', 'Q241'] ['Q556647', 'P530', 'Q31']
ASK WHERE { resource:Q556647 property:P530 ?k . VALUES ( ?k ) { ( resource:Q241 ) ( resource:Q31 ) } }
No
action is_in
entity prev_answer
action find
entity Oldenbüttel
relation diplomatic relation
['Oldenbüttel', 'diplomatic relation', 'Cuba'] ['Oldenbüttel', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Oldenbüttel property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Cuba ) ( resource:Belgium ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2740914 Q108432
P1038
Q502895
USER
Is Natalia Cukseeva related to Eddy De Bie ?
(Q2740914,P1038,Q108432)
action is_in
entity Q108432
action find
entity Q2740914
relation P1038
['Q2740914', 'P1038', 'Q108432']
ASK WHERE { resource:Q2740914 property:P1038 resource:Q108432 }
Eddy De Bie Natalia Cukseeva
action is_in
entity Natalia Cukseeva
action find
entity Eddy De Bie
relation relative
['Eddy De Bie', 'relative', 'Natalia Cukseeva']
ASK WHERE { resource:Eddy_De_Bie property:relative resource:Natalia_Cukseeva }
[]
common name
SYSTEM
NO
(Q2740914,P1038,Q108432)
action is_in
entity Q108432
action find
entity Q2740914
relation P1038
[ANSWER]
['Q2740914', 'P1038', 'Q108432']
ASK WHERE { resource:Q2740914 property:P1038 resource:Q108432 }
No
action is_in
entity Natalia Cukseeva
action find
entity Eddy De Bie
relation relative
['Eddy De Bie', 'relative', 'Natalia Cukseeva']
ASK WHERE { resource:Eddy_De_Bie property:relative resource:Natalia_Cukseeva }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?s ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?l ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?m ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?m = ?s ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?s ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?l ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?m ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?m = ?s ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?s ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?l ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?m ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?m = ?s ) }
Germany
Germany have diplomatic relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?s ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?l ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?m ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?m = ?s ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1694914
P27
Q502895
USER
Is Johann Jakob Mettenleiter a citizen of that political territory ?
(Q1694914,P27,Q183)
action is_in
entity Q183
action find
entity Q1694914
relation P27
['Q1694914', 'P27', 'Q183']
ASK WHERE { resource:Q1694914 property:P27 resource:Q183 }
Germany Johann Jakob Mettenleiter
action is_in
entity Germany
action find
entity Johann Jakob Mettenleiter
relation country of citizenship
['Johann Jakob Mettenleiter', 'country of citizenship', 'Germany']
ASK WHERE { resource:Johann_Jakob_Mettenleiter property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q1694914,P27,Q183)
action is_in
entity Q183
action find
entity Q1694914
relation P27
[ANSWER]
['Q1694914', 'P27', 'Q183']
ASK WHERE { resource:Q1694914 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Johann Jakob Mettenleiter
relation country of citizenship
['Johann Jakob Mettenleiter', 'country of citizenship', 'Germany']
ASK WHERE { resource:Johann_Jakob_Mettenleiter property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2577674
P1038 P21
Q502895
USER
Which people are relatives of Rudy De Bie and are a male ?
AND((c(Q502895),P1038,Q2577674), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2577674
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q2577674'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P21 resource:Q6581097 . ?v property:P1038 resource:Q2577674 . ?v rdf:type ontology:Q502895 }
male Rudy De Bie
action filter_type
action intersection
action find_reverse
entity Rudy De Bie
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Rudy De Bie'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:gender resource:male . ?v property:relative resource:Rudy_De_Bie . ?v rdf:type ontology:common_name }
[]
common name
Q2857926 Q3476713 Q5936058
SYSTEM
Emiel De Haes, Sean De Bie, Auguste Badts
Q2857926 Q3476713 Q5936058
AND((c(Q502895),P1038,Q2577674), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2577674
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are relatives of Rudy De Bie and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q2577674'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P21 resource:Q6581097 . ?v property:P1038 resource:Q2577674 . ?v rdf:type ontology:Q502895 }
Emiel De Haes Sean De Bie Auguste Badts
Emiel De Haes, Sean De Bie and Auguste Badts are relatives of Rudy De Bie and are a male
Emiel De Haes Sean De Bie Auguste Badts
action filter_type
action intersection
action find_reverse
entity Rudy De Bie
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Rudy De Bie'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:gender resource:male . ?v property:relative resource:Rudy_De_Bie . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q80284
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than viola ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P1303 ?u . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P1303 resource:Q80284 } } . FILTER ( ?d < ?s ) }
viola
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:instrument ?u . ?e rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:common_name . ?p property:instrument resource:viola } } . FILTER ( ?d < ?s ) }
[]
musical instrument common name
SYSTEM
57
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P1303 ?u . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P1303 resource:Q80284 } } . FILTER ( ?d < ?s ) }
lyre acoustic bass guitar Body percussion 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 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
57
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:instrument ?u . ?e rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:common_name . ?p property:instrument resource:viola } } . FILTER ( ?d < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1759986
P1303
Q34379 Q502895
USER
And how about Wurlitzer electric piano?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1759986
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?z ) WHERE { ?n rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P1303 resource:Q1759986 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?z < ?u ) }
Wurlitzer electric piano
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Wurlitzer electric piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?z ) WHERE { ?n rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:instrument resource:Wurlitzer_electric_piano . ?d rdf:type ontology:common_name } } . FILTER ( ?z < ?u ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1759986
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?z ) WHERE { ?n rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P1303 resource:Q1759986 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?z < ?u ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Wurlitzer electric piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?z ) WHERE { ?n rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:instrument resource:Wurlitzer_electric_piano . ?d rdf:type ontology:common_name } } . FILTER ( ?z < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications did around 23 people dub for ?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { ?s property:P725 ?w . ?s rdf:type ontology:Q166142 . ?w rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?q = 23 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { ?s property:voice_actor ?w . ?s rdf:type ontology:application . ?w rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?q = 23 ) }
[]
common name application
SYSTEM
3
Q1052131 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { ?s property:P725 ?w . ?s rdf:type ontology:Q166142 . ?w rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?q = 23 ) }
Super Smash Bros. Melee Star Fox 64 3D Star Fox: Assault
3
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { ?s property:voice_actor ?w . ?s rdf:type ontology:application . ?w rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?q = 23 ) }
[]