Simple Question (Direct)
Simple Question
Q8338661
P1412
Q34770
USER
Which language is spoken by Carmelo Goyenechea ?
(Q8338661,P1412,c(Q34770))
action filter_type
action find
entity Q8338661
relation P1412
type Q34770
['Q8338661', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q8338661 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Carmelo Goyenechea
action filter_type
action find
entity Carmelo Goyenechea
relation languages spoken, written or signed
type language
['Carmelo Goyenechea', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carmelo_Goyenechea property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q8338661,P1412,c(Q34770))
action filter_type
action find
entity Q8338661
relation P1412
type Q34770
In [ANSWER] is spoken by Carmelo Goyenechea
['Q8338661', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q8338661 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Carmelo Goyenechea
Spanish
action filter_type
action find
entity Carmelo Goyenechea
relation languages spoken, written or signed
type language
['Carmelo Goyenechea', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carmelo_Goyenechea property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8338661
P106
Q12737077
USER
Which occupation is the profession of Carmelo Goyenechea ?
(Q8338661,P106,c(Q12737077))
action filter_type
action find
entity Q8338661
relation P106
type Q12737077
['Q8338661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q8338661 property:P106 ?l }
Carmelo Goyenechea
action filter_type
action find
entity Carmelo Goyenechea
relation occupation
type occupation
['Carmelo Goyenechea', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Carmelo_Goyenechea property:occupation ?l }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q8338661,P106,c(Q12737077))
action filter_type
action find
entity Q8338661
relation P106
type Q12737077
Player [ANSWER] is the profession of Carmelo Goyenechea
['Q8338661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q8338661 property:P106 ?l }
association football player
Player association football player is the profession of Carmelo Goyenechea
association football player
action filter_type
action find
entity Carmelo Goyenechea
relation occupation
type occupation
['Carmelo Goyenechea', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Carmelo_Goyenechea property:occupation ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q25935876
Q12737077
USER
And how about Chloe Simon?
(Q25935876,P106,c(Q12737077))
action filter_type
action find
entity Q25935876
relation P106
type Q12737077
['Q25935876', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q25935876 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Chloe Simon
action filter_type
action find
entity Chloe Simon
relation occupation
type occupation
['Chloe Simon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Chloe_Simon property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q13968
SYSTEM
probation officer
Q13968
(Q25935876,P106,c(Q12737077))
action filter_type
action find
entity Q25935876
relation P106
type Q12737077
[ANSWER]
['Q25935876', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q25935876 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
probation officer
probation officer
action filter_type
action find
entity Chloe Simon
relation occupation
type occupation
['Chloe Simon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Chloe_Simon property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages are atleast 3 writing systems or notations the writing system of ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?p ) WHERE { { ?h property:P282 ?k . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } UNION { ?h property:P282 ?k . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q2001982 } } GROUP BY ?h } . FILTER ( ?p >= 3 ) }
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?p ) WHERE { { ?h property:writing_system ?k . ?h rdf:type ontology:language . ?k rdf:type ontology:writing_system } UNION { ?h property:writing_system ?k . ?h rdf:type ontology:language . ?k rdf:type ontology:notation } } GROUP BY ?h } . FILTER ( ?p >= 3 ) }
[]
writing system notation language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[ANSWER] is atleast 3 writing systems or notations the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?p ) WHERE { { ?h property:P282 ?k . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } UNION { ?h property:P282 ?k . ?h rdf:type ontology:Q34770 . ?k rdf:type ontology:Q2001982 } } GROUP BY ?h } . FILTER ( ?p >= 3 ) }
Late Old Japanese
Late Old Japanese is atleast 3 writing systems or notations the writing system of
Late Old Japanese
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?p ) WHERE { { ?h property:writing_system ?k . ?h rdf:type ontology:language . ?k rdf:type ontology:writing_system } UNION { ?h property:writing_system ?k . ?h rdf:type ontology:language . ?k rdf:type ontology:notation } } GROUP BY ?h } . FILTER ( ?p >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1412
Q502895
USER
How many people speaks that language ?
(c(Q502895),P1412,Q182695)
action count
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q182695']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P1412 resource:Q182695 . ?q rdf:type ontology:Q502895 }
action count
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 ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:languages_spoken,_written_or_signed resource:Late_Old_Japanese . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q451991
(c(Q502895),P1412,Q182695)
action count
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q182695']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P1412 resource:Q182695 . ?q rdf:type ontology:Q502895 }
Ariwara no Narihira
1
action count
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 ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:languages_spoken,_written_or_signed resource:Late_Old_Japanese . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3282637 Q937857
P106
Q502895
USER
Which people have the profession as association football player and film producer ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q3282637))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q3282637
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q3282637']]}
SELECT DISTINCT ?k WHERE { ?k property:P106 resource:Q937857 . ?k property:P106 resource:Q3282637 . ?k rdf:type ontology:Q502895 }
film producer association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity film producer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'film producer']]}
SELECT DISTINCT ?k WHERE { ?k property:occupation resource:association_football_player . ?k property:occupation resource:film_producer . ?k rdf:type ontology:common_name }
[]
common name
Q169963 Q981039 Q3051947 Q549570 Q363386 Q66041 Q310406 Q5442007
SYSTEM
Jason Statham, Louis Mandylor, Elías Querejeta, Frank Marshall, Dermot Mulroney, Sönke Wortmann, Al-Saadi Gaddafi, Felipe Marino
Q169963 Q981039 Q3051947 Q549570 Q363386 Q66041 Q310406 Q5442007
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q3282637))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q3282637
relation P106
type Q502895
[ANSWERS] have the profession as association football player and film producer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q3282637']]}
SELECT DISTINCT ?k WHERE { ?k property:P106 resource:Q937857 . ?k property:P106 resource:Q3282637 . ?k rdf:type ontology:Q502895 }
Jason Statham Louis Mandylor Elías Querejeta Frank Marshall Dermot Mulroney Sönke Wortmann Al-Saadi Gaddafi Felipe Marino
Jason Statham, Louis Mandylor, Elías Querejeta, Frank Marshall, Dermot Mulroney, Sönke Wortmann, Al-Saadi Gaddafi and Felipe Marino have the profession as association football player and film producer
Jason Statham Louis Mandylor Elías Querejeta Frank Marshall Dermot Mulroney Sönke Wortmann Al-Saadi Gaddafi Felipe Marino
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity film producer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'film producer']]}
SELECT DISTINCT ?k WHERE { ?k property:occupation resource:association_football_player . ?k property:occupation resource:film_producer . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q549570
P27
Q15617994
USER
How many administrative territories are Frank Marshall a civilian of ?
(Q549570,P27,c(Q15617994))
action count
action filter_type
action find
entity Q549570
relation P27
type Q15617994
['Q549570', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q549570 property:P27 ?b }
Frank Marshall
action count
action filter_type
action find
entity Frank Marshall
relation country of citizenship
type designation for an administrative territorial entity
['Frank Marshall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Frank_Marshall property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q549570,P27,c(Q15617994))
action count
action filter_type
action find
entity Q549570
relation P27
type Q15617994
[ANSWER]
['Q549570', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q549570 property:P27 ?b }
United States of America
1
action count
action filter_type
action find
entity Frank Marshall
relation country of citizenship
type designation for an administrative territorial entity
['Frank Marshall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Frank_Marshall property:country_of_citizenship ?b }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4071343
Q15617994
USER
And how about Sayavush Aslan?
(Q4071343,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4071343
relation P27
type Q15617994
['Q4071343', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q4071343 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Sayavush Aslan
action count
action filter_type
action find
entity Sayavush Aslan
relation country of citizenship
type designation for an administrative territorial entity
['Sayavush Aslan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Sayavush_Aslan property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4071343,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4071343
relation P27
type Q15617994
[ANSWER]
['Q4071343', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q4071343 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Sayavush Aslan
relation country of citizenship
type designation for an administrative territorial entity
['Sayavush Aslan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Sayavush_Aslan property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q244976
P1303
Q34379 Q502895
USER
Which musical instruments can greater number of people perform with than bodhrán ?
(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 Q244976
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q244976 property:P1303 ?r } } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?i } }
bodhrán
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:musical_instrument . resource:bodhrán property:instrument ?r } } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?i } }
[]
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 Q244976
relation P1303
type Q34379
[ANSWERS] can greater number of people perform with than bodhrán
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q244976 property:P1303 ?r } } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?i } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot can greater number of people perform with than bodhrán
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 bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:musical_instrument . resource:bodhrán property:instrument ?r } } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q678090
P1303
Q34379 Q502895
USER
And how about Twelve-string guitar?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q678090
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?y . ?c rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q678090 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?o > ?u ) }
Twelve-string guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Twelve-string guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?y . ?c rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Twelve-string_guitar property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?o > ?u ) }
[]
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 Q678090
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?y . ?c rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Q678090 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?o > ?u ) }
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 Twelve-string guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?y . ?c rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { resource:Twelve-string_guitar property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?o > ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q310406
P7
Q502895
USER
How many people have Al-Saadi Gaddafi as their brother ?
(Q310406,P7,c(Q502895))
action count
action filter_type
action find
entity Q310406
relation P7
type Q502895
['Q310406', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q310406 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Al-Saadi Gaddafi
action count
action filter_type
action find
entity Al-Saadi Gaddafi
relation brother
type common name
['Al-Saadi Gaddafi', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Al-Saadi_Gaddafi property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q316974 Q208135 Q325386 Q361273 Q361281 Q361291
(Q310406,P7,c(Q502895))
action count
action filter_type
action find
entity Q310406
relation P7
type Q502895
[ANSWER]
['Q310406', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q310406 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Mutassim Gaddafi Saif al-Islam al-Gaddafi Khamis Gaddafi Hannibal Muammar Gaddafi Muhammad Gaddafi Saif al-Arab Gaddafi
6
action count
action filter_type
action find
entity Al-Saadi Gaddafi
relation brother
type common name
['Al-Saadi Gaddafi', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Al-Saadi_Gaddafi property:brother ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q774794
P7
Q502895
USER
And how about Bianca d'Aragona?
(Q774794,P7,c(Q502895))
action count
action filter_type
action find
entity Q774794
relation P7
type Q502895
['Q774794', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q774794 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Bianca d'Aragona
action count
action filter_type
action find
entity Bianca d'Aragona
relation brother
type common name
["Bianca d'Aragona", 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Bianca_d'Aragona property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q468669 Q468672
(Q774794,P7,c(Q502895))
action count
action filter_type
action find
entity Q774794
relation P7
type Q502895
[ANSWER]
['Q774794', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q774794 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Louis, King of Sicily Frederick III the Simple
2
action count
action filter_type
action find
entity Bianca d'Aragona
relation brother
type common name
["Bianca d'Aragona", 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Bianca_d'Aragona property:brother ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q71444
Q502895
USER
And also tell me about Ernest Casimir I, Count of Nassau-Dietz?
(Q71444,P7,c(Q502895))
action count
action filter_type
action find
entity Q71444
relation P7
type Q502895
['Q71444', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q71444 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Ernest Casimir I, Count of Nassau-Dietz
action count
action filter_type
action find
entity Ernest Casimir I, Count of Nassau-Dietz
relation brother
type common name
['Ernest Casimir I, Count of Nassau-Dietz', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Ernest_Casimir_I,_Count_of_Nassau-Dietz property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
6
(Q71444,P7,c(Q502895))
action count
action filter_type
action find
entity Q71444
relation P7
type Q502895
[ANSWER]
['Q71444', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q71444 property:P7 ?j . ?j rdf:type ontology:Q502895 }
6
action count
action filter_type
action find
entity Ernest Casimir I, Count of Nassau-Dietz
relation brother
type common name
['Ernest Casimir I, Count of Nassau-Dietz', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Ernest_Casimir_I,_Count_of_Nassau-Dietz property:brother ?j . ?j rdf:type ontology:common_name }
[]