Simple Question (Direct)
Simple Question
Q5726491
P1412
Q34770
USER
Which language is spoken by Bernabé Santelices ?
(Q5726491,P1412,c(Q34770))
action filter_type
action find
entity Q5726491
relation P1412
type Q34770
['Q5726491', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q5726491 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Bernabé Santelices
action filter_type
action find
entity Bernabé Santelices
relation languages spoken, written or signed
type language
['Bernabé Santelices', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Bernabé_Santelices property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5726491,P1412,c(Q34770))
action filter_type
action find
entity Q5726491
relation P1412
type Q34770
[ANSWER] is spoken by Bernabé Santelices
['Q5726491', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q5726491 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by Bernabé Santelices
Spanish
action filter_type
action find
entity Bernabé Santelices
relation languages spoken, written or signed
type language
['Bernabé Santelices', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Bernabé_Santelices property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
Which languages are the mother tongues of more number of people than that language ?
(c(Q502895),P103,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1321
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P103 ?z . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q1321 property:P103 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?p > ?m ) }
action greater
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Spanish
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:native_language ?z . ?z rdf:type ontology:language . ?y rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Spanish property:native_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?p > ?m ) }
[]
language common name
Q1860
SYSTEM
English
Q1860
(c(Q502895),P103,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1321
relation P103
type Q34770
[ANSWER] is the mother tongues of more number of people than that language
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P103 ?z . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q1321 property:P103 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?p > ?m ) }
English
English is the mother tongues of more number of people than that language
English
action greater
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Spanish
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:native_language ?z . ?z rdf:type ontology:language . ?y rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Spanish property:native_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?p > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages adopt around 1 writing systems and notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?p WHERE { { ?p rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 . ?p property:P282 ?v } UNION { ?p property:P282 ?v . ?p rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?p } }
action count
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 notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?p WHERE { { ?p rdf:type ontology:language . ?v rdf:type ontology:writing_system . ?p property:writing_system ?v } UNION { ?p property:writing_system ?v . ?p rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?p } }
[]
writing system notation language
SYSTEM
7
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?p WHERE { { ?p rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 . ?p property:P282 ?v } UNION { ?p property:P282 ?v . ?p rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?p } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
7
action count
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 notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?p WHERE { { ?p rdf:type ontology:language . ?v rdf:type ontology:writing_system . ?p property:writing_system ?v } UNION { ?p property:writing_system ?v . ?p rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q334453 Q19335303
USER
How many people are the CEOs of atleast 2 divisions or German business organizations ?
(c(Q334453)|c(Q19335303),P169,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
value 2
[[{'concept': 'Q334453'}, {'concept': 'Q19335303'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P169 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q334453 } UNION { ?m property:P169 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q19335303 } } GROUP BY ?q } . FILTER ( ?f >= 2 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
value 2
[[{'concept': 'division'}, {'concept': 'type of business entity in Germany'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:division } UNION { ?m property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?q } . FILTER ( ?f >= 2 ) }
[]
common name division type of business entity in Germany
SYSTEM
2
Q1328888 Q1889898
(c(Q334453)|c(Q19335303),P169,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
value 2
[ANSWER]
[[{'concept': 'Q334453'}, {'concept': 'Q19335303'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P169 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q334453 } UNION { ?m property:P169 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q19335303 } } GROUP BY ?q } . FILTER ( ?f >= 2 ) }
Ulrich Lehner Manfred Schneider
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
value 2
[[{'concept': 'division'}, {'concept': 'type of business entity in Germany'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:division } UNION { ?m property:chief_executive_officer ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?q } . FILTER ( ?f >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?u }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:classification_scheme . resource:English property:part_of ?u }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?u }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:classification_scheme . resource:English property:part_of ?u }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1860
P361
Q34770
USER
Are English a component of those classification schemes ?
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?p ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q1860 property:P361 ?p }
English
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?p ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:English property:part_of ?p }
[]
language
SYSTEM
YES
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?p ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q1860 property:P361 ?p }
Yes
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?p ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:English property:part_of ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1132756
P825
Q502895 Q811979 Q207628
USER
Which people are more number of architectural structures and musical compositions dedicated to than Sakai Tadatsugu ?
(c(Q811979)|c(Q207628),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q1132756
relation P825
type Q811979
type Q207628
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q811979 . ?t property:P825 ?r } UNION { ?t property:P825 ?r . ?t rdf:type ontology:Q207628 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P825 resource:Q1132756 . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } } } } . FILTER ( ?v > ?g ) }
Sakai Tadatsugu
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action count
action filter_multi_types
action find_reverse
entity Sakai Tadatsugu
relation dedicated to
type architectural structure
type musical composition
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:common_name . ?t rdf:type ontology:architectural_structure . ?t property:dedicated_to ?r } UNION { ?t property:dedicated_to ?r . ?t rdf:type ontology:musical_composition . ?r rdf:type ontology:common_name } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:dedicated_to resource:Sakai_Tadatsugu . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } } } } . FILTER ( ?v > ?g ) }
[]
common name architectural structure musical composition
Q41309 Q120180 Q935
SYSTEM
Franz Liszt, Alexander III of Russia, Isaac Newton
Q534049 Q85210 Q150767 Q935 Q1948037 Q44039 Q120180 Q443559 Q2594000 Q160257 Q66005 Q570845 Q502943 Q313196 Q51056 Q2853967 Q472635 Q92467 Q538335 Q374467 Q179858 Q123062 Q41309
(c(Q811979)|c(Q207628),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
action count
action filter_multi_types
action find_reverse
entity Q1132756
relation P825
type Q811979
type Q207628
[ANSWERS] are more number of architectural structures and musical compositions dedicated to than Sakai Tadatsugu
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q811979 . ?t property:P825 ?r } UNION { ?t property:P825 ?r . ?t rdf:type ontology:Q207628 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P825 resource:Q1132756 . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } } } } . FILTER ( ?v > ?g ) }
Saint Petroc Karl Ritter von Stremayr Benjamin Britten Isaac Newton Moritz Reichsgraf von Fries Ludwig II of Bavaria Alexander III of Russia Elizabeth Sprague Coolidge Diego Brosset Wanda Landowska Margrave Christian Ludwig of Brandenburg-Schwedt Joseph Franz von Lobkowitz Andrey Razumovsky Louis Desaix Franz Joseph I of Austria Antoine Gailleton Gustav, Prince of Vasa Theodor Avé-Lallemant Marianne Kirchgessner Gabriel of Our Lady of Sorrows Urho Kekkonen Jacques Necker Franz Liszt
Franz Liszt, Alexander III of Russia and Isaac Newton are more number of architectural structures and musical compositions dedicated to than Sakai Tadatsugu
Franz Liszt Alexander III of Russia Isaac Newton
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
action count
action filter_multi_types
action find_reverse
entity Sakai Tadatsugu
relation dedicated to
type architectural structure
type musical composition
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?r WHERE { { ?r rdf:type ontology:common_name . ?t rdf:type ontology:architectural_structure . ?t property:dedicated_to ?r } UNION { ?t property:dedicated_to ?r . ?t rdf:type ontology:musical_composition . ?r rdf:type ontology:common_name } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:dedicated_to resource:Sakai_Tadatsugu . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } } } } . FILTER ( ?v > ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 154 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 154
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?b ) WHERE { ?p rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?p } GROUP BY ?p } . FILTER ( ?b >= 154 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 154
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?b ) WHERE { ?p rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?p } GROUP BY ?p } . FILTER ( ?b >= 154 ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q5994 Q81982 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 154
[ANSWERS] are played by atleast 154 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?b ) WHERE { ?p rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?p } GROUP BY ?p } . FILTER ( ?b >= 154 ) }
viola bass guitar double bass piano harpsichord trumpet cello violin organ drum kit electronic keyboard
Piano, harpsichord and viola are played by atleast 154 people
piano harpsichord viola
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 154
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?b ) WHERE { ?p rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?p } GROUP BY ?p } . FILTER ( ?b >= 154 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q41309 Q18406306
P27
Q15617994
USER
How many administrative territories are the native countriesof Franz Liszt or Women's sambo championship in Russia ?
(Q41309,P27,c(Q15617994)) (Q18406306,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q41309
relation P27
type Q15617994
action filter_type
action find
entity Q18406306
relation P27
type Q15617994
['Q41309', 'P27', {'concept': 'Q15617994'}] ['Q18406306', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Q41309 property:P27 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q18406306 property:P27 ?i } }
Franz Liszt Women's sambo championship in Russia
action count
action union
action filter_type
action find
entity Franz Liszt
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Women's sambo championship in Russia
relation country of citizenship
type designation for an administrative territorial entity
['Franz Liszt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ["Women's sambo championship in Russia", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Franz_Liszt property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Women's_sambo_championship_in_Russia property:country_of_citizenship ?i } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q28 Q159
(Q41309,P27,c(Q15617994)) (Q18406306,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q41309
relation P27
type Q15617994
action filter_type
action find
entity Q18406306
relation P27
type Q15617994
[ANSWER]
['Q41309', 'P27', {'concept': 'Q15617994'}] ['Q18406306', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Q41309 property:P27 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q18406306 property:P27 ?i } }
Hungary Russia
2
action count
action union
action filter_type
action find
entity Franz Liszt
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Women's sambo championship in Russia
relation country of citizenship
type designation for an administrative territorial entity
['Franz Liszt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ["Women's sambo championship in Russia", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { resource:Franz_Liszt property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Women's_sambo_championship_in_Russia property:country_of_citizenship ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q41309
P138
Q2088357 Q811979
USER
How many musical ensembles or architectural structures are the eponym of Franz Liszt ?
(c(Q2088357),P138,Q41309) (c(Q811979),P138,Q41309)
action count
action union
action filter_type
action find_reverse
entity Q41309
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q41309
relation P138
type Q811979
[{'concept': 'Q2088357'}, 'P138', 'Q41309'] [{'concept': 'Q811979'}, 'P138', 'Q41309']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P138 resource:Q41309 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P138 resource:Q41309 . ?n rdf:type ontology:Q811979 } }
Franz Liszt
action count
action union
action filter_type
action find_reverse
entity Franz Liszt
relation named after
type musical ensemble
action filter_type
action find_reverse
entity Franz Liszt
relation named after
type architectural structure
[{'concept': 'musical ensemble'}, 'named after', 'Franz Liszt'] [{'concept': 'architectural structure'}, 'named after', 'Franz Liszt']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:named_after resource:Franz_Liszt . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:named_after resource:Franz_Liszt . ?n rdf:type ontology:architectural_structure } }
[]
musical ensemble architectural structure
SYSTEM
2
Q1130436 Q998415
(c(Q2088357),P138,Q41309) (c(Q811979),P138,Q41309)
action count
action union
action filter_type
action find_reverse
entity Q41309
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q41309
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', 'Q41309'] [{'concept': 'Q811979'}, 'P138', 'Q41309']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P138 resource:Q41309 . ?n rdf:type ontology:Q2088357 } UNION { ?n property:P138 resource:Q41309 . ?n rdf:type ontology:Q811979 } }
Franz Liszt Chamber Orchestra place Franz-Liszt
2
action count
action union
action filter_type
action find_reverse
entity Franz Liszt
relation named after
type musical ensemble
action filter_type
action find_reverse
entity Franz Liszt
relation named after
type architectural structure
[{'concept': 'musical ensemble'}, 'named after', 'Franz Liszt'] [{'concept': 'architectural structure'}, 'named after', 'Franz Liszt']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:named_after resource:Franz_Liszt . ?n rdf:type ontology:musical_ensemble } UNION { ?n property:named_after resource:Franz_Liszt . ?n rdf:type ontology:architectural_structure } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q26721 Q5329170
P361
Q5962346
USER
Which classification schemes are a component of Anglo-Frisian languages and West Germanic languages ?
AND((c(Q5962346),P361,Q5329170), (c(Q5962346),P361,Q26721))
action filter_type
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q26721
relation P361
type Q5962346
{'AND': [[{'concept': 'Q5962346'}, 'P361', 'Q5329170'], [{'concept': 'Q5962346'}, 'P361', 'Q26721']]}
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q26721 . ?a property:P361 resource:Q5329170 . ?a rdf:type ontology:Q5962346 }
West Germanic languages Anglo-Frisian languages
action filter_type
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity West Germanic languages
relation part of
type classification scheme
{'AND': [[{'concept': 'classification scheme'}, 'part of', 'Anglo-Frisian languages'], [{'concept': 'classification scheme'}, 'part of', 'West Germanic languages']]}
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:West_Germanic_languages . ?a property:part_of resource:Anglo-Frisian_languages . ?a rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342
SYSTEM
Anglic languages
Q1346342
AND((c(Q5962346),P361,Q5329170), (c(Q5962346),P361,Q26721))
action filter_type
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q26721
relation P361
type Q5962346
Languages [ANSWER] is a component of Anglo-Frisian languages and West Germanic languages
{'AND': [[{'concept': 'Q5962346'}, 'P361', 'Q5329170'], [{'concept': 'Q5962346'}, 'P361', 'Q26721']]}
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q26721 . ?a property:P361 resource:Q5329170 . ?a rdf:type ontology:Q5962346 }
Anglic languages
Languages Anglic languages is a component of Anglo-Frisian languages and West Germanic languages
Anglic languages
action filter_type
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity West Germanic languages
relation part of
type classification scheme
{'AND': [[{'concept': 'classification scheme'}, 'part of', 'Anglo-Frisian languages'], [{'concept': 'classification scheme'}, 'part of', 'West Germanic languages']]}
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:West_Germanic_languages . ?a property:part_of resource:Anglo-Frisian_languages . ?a rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1346342
P364
Q2342494
USER
Which collectables were originally created in that classification scheme language ?
(c(Q2342494),P364,Q1346342)
action filter_type
action find_reverse
entity Q1346342
relation P364
type Q2342494
[{'concept': 'Q2342494'}, 'P364', 'Q1346342']
SELECT DISTINCT ?v WHERE { ?v property:P364 resource:Q1346342 . ?v rdf:type ontology:Q2342494 }
Anglic languages
action filter_type
action find_reverse
entity Anglic languages
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Anglic languages']
SELECT DISTINCT ?v WHERE { ?v property:original_language_of_work resource:Anglic_languages . ?v rdf:type ontology:collectable }
[]
collectable
Q7766896 Q7763162
SYSTEM
The Strange Case of Origami Yoda, The Secret of the Fortune Wookiee
Q7766896 Q7763162
(c(Q2342494),P364,Q1346342)
action filter_type
action find_reverse
entity Q1346342
relation P364
type Q2342494
[ANSWERS] were originally created in that classification scheme language
[{'concept': 'Q2342494'}, 'P364', 'Q1346342']
SELECT DISTINCT ?v WHERE { ?v property:P364 resource:Q1346342 . ?v rdf:type ontology:Q2342494 }
The Strange Case of Origami Yoda The Secret of the Fortune Wookiee
The Strange Case of Origami Yoda and The Secret of the Fortune Wookiee were originally created in that classification scheme language
The Strange Case of Origami Yoda The Secret of the Fortune Wookiee
action filter_type
action find_reverse
entity Anglic languages
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Anglic languages']
SELECT DISTINCT ?v WHERE { ?v property:original_language_of_work resource:Anglic_languages . ?v rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7766896 Q7763162
P123
Q43229
USER
Which organizations released those collectables ?
(Q7766896,P123,c(Q43229)) (Q7763162,P123,c(Q43229))
action filter_type
action find
entity prev_answer
relation P123
type Q43229
['Q7766896', 'P123', {'concept': 'Q43229'}] ['Q7763162', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?q property:P123 ?l . VALUES ( ?q ) { ( resource:Q7766896 ) ( resource:Q7763162 ) } . ?l rdf:type ontology:Q43229 }
The Strange Case of Origami Yoda The Secret of the Fortune Wookiee
action filter_type
action find
entity prev_answer
relation publisher
type organization
['The Strange Case of Origami Yoda', 'publisher', {'concept': 'organization'}] ['The Secret of the Fortune Wookiee', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?q property:publisher ?l . VALUES ( ?q ) { ( resource:The_Strange_Case_of_Origami_Yoda ) ( resource:The_Secret_of_the_Fortune_Wookiee ) } . ?l rdf:type ontology:organization }
[]
organization
Q4669411 Q4669411
SYSTEM
Abrams Books
Q4669411 Q4669411
(Q7766896,P123,c(Q43229)) (Q7763162,P123,c(Q43229))
action filter_type
action find
entity prev_answer
relation P123
type Q43229
[ANSWER] and [ANSWER] released those collectables
['Q7766896', 'P123', {'concept': 'Q43229'}] ['Q7763162', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?q property:P123 ?l . VALUES ( ?q ) { ( resource:Q7766896 ) ( resource:Q7763162 ) } . ?l rdf:type ontology:Q43229 }
Abrams Books Abrams Books
Abrams Books and Abrams Books released those collectables
Abrams Books Abrams Books
action filter_type
action find
entity prev_answer
relation publisher
type organization
['The Strange Case of Origami Yoda', 'publisher', {'concept': 'organization'}] ['The Secret of the Fortune Wookiee', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?q property:publisher ?l . VALUES ( ?q ) { ( resource:The_Strange_Case_of_Origami_Yoda ) ( resource:The_Secret_of_the_Fortune_Wookiee ) } . ?l rdf:type ontology:organization }
[]