Simple Question (Direct)
Simple Question
Q17029988
P1412
Q34770
USER
Which language can Albert Forcadell i Martí read ?
(Q17029988,P1412,c(Q34770))
action filter_type
action find
entity Q17029988
relation P1412
type Q34770
['Q17029988', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q17029988 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Albert Forcadell i Martí
action filter_type
action find
entity Albert Forcadell i Martí
relation languages spoken, written or signed
type language
['Albert Forcadell i Martí', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Albert_Forcadell_i_Martí property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q17029988,P1412,c(Q34770))
action filter_type
action find
entity Q17029988
relation P1412
type Q34770
Albert Forcadell i Martí can read in [ANSWER]
['Q17029988', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q17029988 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Albert Forcadell i Martí can read in Spanish
Spanish
action filter_type
action find
entity Albert Forcadell i Martí
relation languages spoken, written or signed
type language
['Albert Forcadell i Martí', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Albert_Forcadell_i_Martí property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17029988
P106
Q12737077
USER
What is the profession of Albert Forcadell i Martí ?
(Q17029988,P106,c(Q12737077))
action filter_type
action find
entity Q17029988
relation P106
type Q12737077
['Q17029988', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q17029988 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Albert Forcadell i Martí
action filter_type
action find
entity Albert Forcadell i Martí
relation occupation
type occupation
['Albert Forcadell i Martí', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Forcadell_i_Martí property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q17029988,P106,c(Q12737077))
action filter_type
action find
entity Q17029988
relation P106
type Q12737077
The profession of Albert Forcadell i Martí is an [ANSWER]
['Q17029988', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q17029988 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The profession of Albert Forcadell i Martí is an association football player
association football player
action filter_type
action find
entity Albert Forcadell i Martí
relation occupation
type occupation
['Albert Forcadell i Martí', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Forcadell_i_Martí property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17029988
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q17029988
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q17029988 property:P641 ?d . ?d rdf:type ontology:Q349 }
Albert Forcadell i Martí
action filter_type
action find
entity Albert Forcadell i Martí
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Albert_Forcadell_i_Martí property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q17029988
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q17029988 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Albert Forcadell i Martí
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Albert_Forcadell_i_Martí property:sport ?d . ?d rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17029988
P27
Q15617994
USER
How many administrative territories are the native countriesof Albert Forcadell i Martí ?
(Q17029988,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17029988
relation P27
type Q15617994
['Q17029988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q17029988 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Albert Forcadell i Martí
action count
action filter_type
action find
entity Albert Forcadell i Martí
relation country of citizenship
type designation for an administrative territorial entity
['Albert Forcadell i Martí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Albert_Forcadell_i_Martí property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q17029988,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17029988
relation P27
type Q15617994
[ANSWER]
['Q17029988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q17029988 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Albert Forcadell i Martí
relation country of citizenship
type designation for an administrative territorial entity
['Albert Forcadell i Martí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Albert_Forcadell_i_Martí property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17029988
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
action filter_type
action find
entity Q17029988
relation P27
type Q15617994
SELECT DISTINCT ?b WHERE { resource:Q17029988 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Albert Forcadell i Martí
action filter_type
action find
entity Albert Forcadell i Martí
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { resource:Albert_Forcadell_i_Martí property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
action filter_type
action find
entity Q17029988
relation P27
type Q15617994
The [ANSWER] is the native country of that person
SELECT DISTINCT ?b WHERE { resource:Q17029988 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Spain
The Spain is the native country of that person
Spain
action filter_type
action find
entity Albert Forcadell i Martí
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { resource:Albert_Forcadell_i_Martí property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2088357
USER
Which administrative territories are the origin of greater number of literary works or musical ensembles than that administrative territory ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q7725634
type Q2088357
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?d WHERE { { ?u property:P495 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q7725634 } UNION { ?u property:P495 ?d . ?u rdf:type ontology:Q2088357 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q2088357 } } . ?n property:P495 resource:Q29 } } . FILTER ( ?y > ?w ) }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?d WHERE { { ?u property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:literary_work } UNION { ?u property:country_of_origin ?d . ?u rdf:type ontology:musical_ensemble . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:musical_ensemble } } . ?n property:country_of_origin resource:Spain } } . FILTER ( ?y > ?w ) }
[]
designation for an administrative territorial entity literary work musical ensemble
Q38 Q30 Q55
SYSTEM
Italy, United States of America, Netherlands
Q142 Q55 Q145 Q31 Q30 Q34 Q38 Q17
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q7725634
type Q2088357
[ANSWERS] are the origin of greater number of literary works or musical ensembles than that administrative territory
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?d WHERE { { ?u property:P495 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q7725634 } UNION { ?u property:P495 ?d . ?u rdf:type ontology:Q2088357 . ?d rdf:type ontology:Q15617994 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q2088357 } } . ?n property:P495 resource:Q29 } } . FILTER ( ?y > ?w ) }
France Netherlands United Kingdom Belgium United States of America Sweden Italy Japan
Italy, United States of America and Netherlands are the origin of greater number of literary works or musical ensembles than that administrative territory
Italy United States of America Netherlands
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?d WHERE { { ?u property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:literary_work } UNION { ?u property:country_of_origin ?d . ?u rdf:type ontology:musical_ensemble . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:musical_ensemble } } . ?n property:country_of_origin resource:Spain } } . FILTER ( ?y > ?w ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have tactful political relations with those ones ?
(Q184,P530,Q38) (Q184,P530,Q30) (Q184,P530,Q55)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q55']
ASK WHERE { resource:Q184 property:P530 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q55 ) ( resource:Q145 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Belarus property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Netherlands ) ( resource:United_Kingdom ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q38) (Q184,P530,Q30) (Q184,P530,Q55)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q55']
ASK WHERE { resource:Q184 property:P530 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q55 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Belarus property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Netherlands ) ( resource:United_Kingdom ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q967
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Burundi ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?m ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q967 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?e ) }
Burundi
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?m ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Burundi property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Burundi
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?m ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q967 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?e ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have tactful political relations with approximately the same number of administrative territories as Burundi
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?m ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Burundi property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?e ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2342494
USER
How many administrative territories did more number of film genres and collectables originate than that administrative territory ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity film genre collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q148
SYSTEM
Did you mean People's Republic of China ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean People's Republic of China ?
People's Republic of China
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Poland. Could you tell me the answer for that?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
Q36
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
12
Q668 Q142 Q55 Q145 Q159 Q155 Q33 Q30 Q34 Q38 Q17 Q29
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
India France Netherlands United Kingdom Russia Brazil Finland United States of America Sweden Italy Japan Spain
12
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P740
Q43229 Q2088357
USER
How many organizations or musical ensembles were formed at Italy ?
(c(Q43229),P740,Q38) (c(Q2088357),P740,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
action filter_type
action find_reverse
entity Q38
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q2088357'}, 'P740', 'Q38']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P740 resource:Q38 . ?t rdf:type ontology:Q2088357 } UNION { ?t rdf:type ontology:Q43229 . ?t property:P740 resource:Q38 } }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
action filter_type
action find_reverse
entity Italy
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'musical ensemble'}, 'location of formation', 'Italy']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:location_of_formation resource:Italy . ?t rdf:type ontology:musical_ensemble } UNION { ?t rdf:type ontology:organization . ?t property:location_of_formation resource:Italy } }
[]
organization musical ensemble
SYSTEM
15
Q4777233 Q2303247 Q18559318 Q6857907 Q18163119 Q3790430 Q6100725 Q1619432 Q17030179 Q17153839 Q7575261 Q948776 Q5405191 Q5243807 Q302635
(c(Q43229),P740,Q38) (c(Q2088357),P740,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q43229
action filter_type
action find_reverse
entity Q38
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q2088357'}, 'P740', 'Q38']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P740 resource:Q38 . ?t rdf:type ontology:Q2088357 } UNION { ?t rdf:type ontology:Q43229 . ?t property:P740 resource:Q38 } }
Antony Morato Sorelle Marinetti The C.I.P Militia Christi The Peppermints I Ribelli Ravenscry Banco del Mutuo Soccorso Vero Software WeWOOD Spectrum-X The New Dada Eu4ya De-Javu Sonohra
15
action count
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type organization
action filter_type
action find_reverse
entity Italy
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'musical ensemble'}, 'location of formation', 'Italy']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:location_of_formation resource:Italy . ?t rdf:type ontology:musical_ensemble } UNION { ?t rdf:type ontology:organization . ?t property:location_of_formation resource:Italy } }
[]