Simple Question (Direct)
Simple Question
Q981844
P102
Q7210356
USER
Which political organization is Ebrahim Yazdi a member of ?
(Q981844,P102,c(Q7210356))
action filter_type
action find
entity Q981844
relation P102
type Q7210356
['Q981844', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q981844 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Ebrahim Yazdi
action filter_type
action find
entity Ebrahim Yazdi
relation member of political party
type political organization
['Ebrahim Yazdi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Ebrahim_Yazdi property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q1672383
SYSTEM
Freedom Movement of Iran
Q1672383
(Q981844,P102,c(Q7210356))
action filter_type
action find
entity Q981844
relation P102
type Q7210356
The [ANSWER] is Ebrahim Yazdi a member of
['Q981844', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q981844 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Freedom Movement of Iran
The Freedom Movement of Iran is Ebrahim Yazdi a member of
Freedom Movement of Iran
action filter_type
action find
entity Ebrahim Yazdi
relation member of political party
type political organization
['Ebrahim Yazdi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Ebrahim_Yazdi property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q981844
P21
Q290
USER
Which sex does that person possess ?
(Q1672383,P21,c(Q290))
action filter_type
action find
entity Q981844
relation P21
type Q290
['Q1672383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q981844 property:P21 ?s . ?s rdf:type ontology:Q290 }
Ebrahim Yazdi
action filter_type
action find
entity Ebrahim Yazdi
relation gender
type sex
['Freedom Movement of Iran', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ebrahim_Yazdi property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1672383,P21,c(Q290))
action filter_type
action find
entity Q981844
relation P21
type Q290
That person possesses a [ANSWER]
['Q1672383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q981844 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ebrahim Yazdi
relation gender
type sex
['Freedom Movement of Iran', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ebrahim_Yazdi property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q12973014 Q20027951
USER
How many people were the crew members of around 3 sports teams or aircraft power classes ?
(c(Q12973014)|c(Q20027951),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 3
[[{'concept': 'Q12973014'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q12973014 ) } . ?q rdf:type ?b } GROUP BY ?f } . FILTER ( ?g = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 3
[[{'concept': 'sports team'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?f WHERE { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:sports_team ) } . ?q rdf:type ?b } GROUP BY ?f } . FILTER ( ?g = 3 ) }
[]
common name sports team aircraft power class
SYSTEM
2
Q97007 Q461881
(c(Q12973014)|c(Q20027951),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 3
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?f WHERE { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q12973014 ) } . ?q rdf:type ?b } GROUP BY ?f } . FILTER ( ?g = 3 ) }
Alexandre Imperatori Mike Conway
2
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 3
[[{'concept': 'sports team'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?f WHERE { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:sports_team ) } . ?q rdf:type ?b } GROUP BY ?f } . FILTER ( ?g = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7586592 Q981844
P27
Q15617994
USER
Which administrative territories are Ebrahim Yazdi or Srđan Branković a civilian of ?
OR((Q981844,P27,c(Q15617994)), (Q7586592,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q981844
relation P27
action find
entity Q7586592
relation P27
type Q15617994
{'OR': [['Q981844', 'P27', {'concept': 'Q15617994'}], ['Q7586592', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q981844 property:P27 ?g } UNION { resource:Q7586592 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Srđan Branković Ebrahim Yazdi
action filter_type
action union
action find
entity Ebrahim Yazdi
relation country of citizenship
action find
entity Srđan Branković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ebrahim Yazdi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Srđan Branković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ebrahim_Yazdi property:country_of_citizenship ?g } UNION { resource:Srđan_Branković property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q794
SYSTEM
Serbia, Iran
Q403 Q794
OR((Q981844,P27,c(Q15617994)), (Q7586592,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q981844
relation P27
action find
entity Q7586592
relation P27
type Q15617994
Are Ebrahim Yazdi or Srđan Branković a civilian of the [ANSWERS]
{'OR': [['Q981844', 'P27', {'concept': 'Q15617994'}], ['Q7586592', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q981844 property:P27 ?g } UNION { resource:Q7586592 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Serbia Iran
Are Ebrahim Yazdi or Srđan Branković a civilian of the Serbia and Iran
Serbia Iran
action filter_type
action union
action find
entity Ebrahim Yazdi
relation country of citizenship
action find
entity Srđan Branković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ebrahim Yazdi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Srđan Branković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ebrahim_Yazdi property:country_of_citizenship ?g } UNION { resource:Srđan_Branković property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5029621
P17
Q930933
USER
Are Canada–Uruguay relations located in those administrative territories ?
(Q5029621,P17,Q403) (Q5029621,P17,Q794)
action is_in
entity prev_answer
action find
entity Q5029621
relation P17
['Q5029621', 'P17', 'Q403'] ['Q5029621', 'P17', 'Q794']
ASK WHERE { resource:Q5029621 property:P17 ?p . VALUES ( ?p ) { ( resource:Q403 ) ( resource:Q794 ) } }
Canada–Uruguay relations
action is_in
entity prev_answer
action find
entity Canada–Uruguay relations
relation country
['Canada–Uruguay relations', 'country', 'Serbia'] ['Canada–Uruguay relations', 'country', 'Iran']
ASK WHERE { resource:Canada–Uruguay_relations property:country ?p . VALUES ( ?p ) { ( resource:Serbia ) ( resource:Iran ) } }
[]
relationship
SYSTEM
NO
(Q5029621,P17,Q403) (Q5029621,P17,Q794)
action is_in
entity prev_answer
action find
entity Q5029621
relation P17
[ANSWER]
['Q5029621', 'P17', 'Q403'] ['Q5029621', 'P17', 'Q794']
ASK WHERE { resource:Q5029621 property:P17 ?p . VALUES ( ?p ) { ( resource:Q403 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Canada–Uruguay relations
relation country
['Canada–Uruguay relations', 'country', 'Serbia'] ['Canada–Uruguay relations', 'country', 'Iran']
ASK WHERE { resource:Canada–Uruguay_relations property:country ?p . VALUES ( ?p ) { ( resource:Serbia ) ( resource:Iran ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q794
P137
Q3084961 Q811979
USER
How many product linings or architectural structures are the administrator of Iran ?
(c(Q3084961),P137,Q794) (c(Q811979),P137,Q794)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q794
relation P137
type Q811979
[{'concept': 'Q3084961'}, 'P137', 'Q794'] [{'concept': 'Q811979'}, 'P137', 'Q794']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q3084961 ) } . ?c rdf:type ?j }
Iran
action count
action union
action filter_type
action find_reverse
entity Iran
relation operator
type product lining
action filter_type
action find_reverse
entity Iran
relation operator
type architectural structure
[{'concept': 'product lining'}, 'operator', 'Iran'] [{'concept': 'architectural structure'}, 'operator', 'Iran']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:product_lining ) } . ?c rdf:type ?j }
[]
product lining architectural structure
SYSTEM
3
Q142549 Q933767 Q5369732
(c(Q3084961),P137,Q794) (c(Q811979),P137,Q794)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q794
relation P137
type Q811979
[ANSWER]
[{'concept': 'Q3084961'}, 'P137', 'Q794'] [{'concept': 'Q811979'}, 'P137', 'Q794']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q3084961 ) } . ?c rdf:type ?j }
Il-76 Hawk 75 Embassy of Iran, Stockholm
3
action count
action union
action filter_type
action find_reverse
entity Iran
relation operator
type product lining
action filter_type
action find_reverse
entity Iran
relation operator
type architectural structure
[{'concept': 'product lining'}, 'operator', 'Iran'] [{'concept': 'architectural structure'}, 'operator', 'Iran']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:product_lining ) } . ?c rdf:type ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q689720
P180
Q15617994 Q340169 Q2342494
USER
How many administrative territories are expressed in around the same number of medias or collectables as Thörl ?
(c(Q340169)|c(Q2342494),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q689720
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q689720 . { { ?v rdf:type ontology:Q340169 } UNION { ?v rdf:type ontology:Q2342494 } } } } . FILTER ( ?i = ?q ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?p WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } GROUP BY ?p } }
Thörl
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Thörl
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:Thörl . { { ?v rdf:type ontology:media } UNION { ?v rdf:type ontology:collectable } } } } . FILTER ( ?i = ?q ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?p WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:collectable ) } } GROUP BY ?p } }
[]
designation for an administrative territorial entity media collectable
SYSTEM
84
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q340169)|c(Q2342494),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q689720
relation P180
type Q340169
type Q2342494
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P180 resource:Q689720 . { { ?v rdf:type ontology:Q340169 } UNION { ?v rdf:type ontology:Q2342494 } } } } . FILTER ( ?i = ?q ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?p WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } GROUP BY ?p } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
84
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Thörl
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:depicts resource:Thörl . { { ?v rdf:type ontology:media } UNION { ?v rdf:type ontology:collectable } } } } . FILTER ( ?i = ?q ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?p WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:collectable ) } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1280
P180
Q15617994 Q340169 Q2342494
USER
And how about Umbria?
(c(Q340169)|c(Q2342494),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1280
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?k rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P180 resource:Q1280 . { { ?m rdf:type ontology:Q340169 } UNION { ?m rdf:type ontology:Q2342494 } } } } . FILTER ( ?z = ?a ) }
Umbria
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Umbria
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:media ) ( ontology:collectable ) } . ?k rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:depicts resource:Umbria . { { ?m rdf:type ontology:media } UNION { ?m rdf:type ontology:collectable } } } } . FILTER ( ?z = ?a ) }
[]
designation for an administrative territorial entity media collectable
SYSTEM
84
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q13320 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q340169)|c(Q2342494),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1280
relation P180
type Q340169
type Q2342494
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?k rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P180 resource:Q1280 . { { ?m rdf:type ontology:Q340169 } UNION { ?m rdf:type ontology:Q2342494 } } } } . FILTER ( ?z = ?a ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Savona Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
84
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Umbria
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:media ) ( ontology:collectable ) } . ?k rdf:type ?u } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:depicts resource:Umbria . { { ?m rdf:type ontology:media } UNION { ?m rdf:type ontology:collectable } } } } . FILTER ( ?z = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P740
Q2088357
USER
Which musical ensemble originated at Iran ?
(c(Q2088357),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q794']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q794 . ?x rdf:type ontology:Q2088357 }
Iran
action filter_type
action find_reverse
entity Iran
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Iran']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Iran . ?x rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q5937547
SYSTEM
25band
Q5937547
(c(Q2088357),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2088357
[ANSWER] originated at Iran
[{'concept': 'Q2088357'}, 'P740', 'Q794']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q794 . ?x rdf:type ontology:Q2088357 }
25band
25band originated at Iran
25band
action filter_type
action find_reverse
entity Iran
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Iran']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Iran . ?x rdf:type ontology:musical_ensemble }
[]