Simple Question (Direct)
Simple Question
Q728925
P19
Q56061
USER
Which administrative territory is the place of birth of Luis Batlle Berres ?
(Q728925,P19,c(Q56061))
action filter_type
action find
entity Q728925
relation P19
type Q56061
['Q728925', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q728925 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Luis Batlle Berres
action filter_type
action find
entity Luis Batlle Berres
relation place of birth
type administrative territorial entity
['Luis Batlle Berres', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Luis_Batlle_Berres property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1335
SYSTEM
Montevideo
Q1335
(Q728925,P19,c(Q56061))
action filter_type
action find
entity Q728925
relation P19
type Q56061
[ANSWER] is the place of birth of Luis Batlle Berres
['Q728925', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q728925 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Montevideo
Montevideo is the place of birth of Luis Batlle Berres
Montevideo
action filter_type
action find
entity Luis Batlle Berres
relation place of birth
type administrative territorial entity
['Luis Batlle Berres', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Luis_Batlle_Berres property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q728925
P27
Q15617994
USER
Which administrative territory is Luis Batlle Berres a civilian of ?
(Q728925,P27,c(Q15617994))
action filter_type
action find
entity Q728925
relation P27
type Q15617994
['Q728925', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q728925 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Luis Batlle Berres
action filter_type
action find
entity Luis Batlle Berres
relation country of citizenship
type designation for an administrative territorial entity
['Luis Batlle Berres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Luis_Batlle_Berres property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77
SYSTEM
Uruguay
Q77
(Q728925,P27,c(Q15617994))
action filter_type
action find
entity Q728925
relation P27
type Q15617994
[ANSWER] is Luis Batlle Berres a civilian of
['Q728925', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q728925 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Uruguay
Uruguay is Luis Batlle Berres a civilian of
Uruguay
action filter_type
action find
entity Luis Batlle Berres
relation country of citizenship
type designation for an administrative territorial entity
['Luis Batlle Berres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Luis_Batlle_Berres property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5601981 Q728925
P27 P17
Q15617994
USER
Which administrative territories do Luis Batlle Berres belong to or are Greek legislative election, 1853 a part of ?
OR((Q728925,P27,c(Q15617994)), (Q5601981,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q728925
relation P27
action find
entity Q5601981
relation P17
type Q15617994
{'OR': [['Q728925', 'P27', {'concept': 'Q15617994'}], ['Q5601981', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5601981 property:P17 ?q } UNION { resource:Q728925 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Greek legislative election, 1853 Luis Batlle Berres
action filter_type
action union
action find
entity Luis Batlle Berres
relation country of citizenship
action find
entity Greek legislative election, 1853
relation country
type designation for an administrative territorial entity
{'OR': [['Luis Batlle Berres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Greek legislative election, 1853', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Greek_legislative_election,_1853 property:country ?q } UNION { resource:Luis_Batlle_Berres property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77 Q41
SYSTEM
Uruguay, Greece
Q77 Q41
OR((Q728925,P27,c(Q15617994)), (Q5601981,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q728925
relation P27
action find
entity Q5601981
relation P17
type Q15617994
Luis Batlle Berres belong to a part of the [ANSWERS] or are Greek legislative election , 1853
{'OR': [['Q728925', 'P27', {'concept': 'Q15617994'}], ['Q5601981', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5601981 property:P17 ?q } UNION { resource:Q728925 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Uruguay Greece
Luis Batlle Berres belong to a part of the Uruguay and Greece or are Greek legislative election , 1853
Uruguay Greece
action filter_type
action union
action find
entity Luis Batlle Berres
relation country of citizenship
action find
entity Greek legislative election, 1853
relation country
type designation for an administrative territorial entity
{'OR': [['Luis Batlle Berres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Greek legislative election, 1853', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Greek_legislative_election,_1853 property:country ?q } UNION { resource:Luis_Batlle_Berres property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6413145
P530
Q15617994
USER
Do Kingsburg Elementary Charter School District have tactful political relations with those ones ?
(Q6413145,P530,Q77) (Q6413145,P530,Q41)
action is_in
entity prev_answer
action find
entity Q6413145
relation P530
['Q6413145', 'P530', 'Q77'] ['Q6413145', 'P530', 'Q41']
ASK WHERE { VALUES ( ?z ) { ( resource:Q77 ) ( resource:Q41 ) } . resource:Q6413145 property:P530 ?z }
Kingsburg Elementary Charter School District
action is_in
entity prev_answer
action find
entity Kingsburg Elementary Charter School District
relation diplomatic relation
['Kingsburg Elementary Charter School District', 'diplomatic relation', 'Uruguay'] ['Kingsburg Elementary Charter School District', 'diplomatic relation', 'Greece']
ASK WHERE { VALUES ( ?z ) { ( resource:Uruguay ) ( resource:Greece ) } . resource:Kingsburg_Elementary_Charter_School_District property:diplomatic_relation ?z }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6413145,P530,Q77) (Q6413145,P530,Q41)
action is_in
entity prev_answer
action find
entity Q6413145
relation P530
[ANSWER]
['Q6413145', 'P530', 'Q77'] ['Q6413145', 'P530', 'Q41']
ASK WHERE { VALUES ( ?z ) { ( resource:Q77 ) ( resource:Q41 ) } . resource:Q6413145 property:P530 ?z }
No
action is_in
entity prev_answer
action find
entity Kingsburg Elementary Charter School District
relation diplomatic relation
['Kingsburg Elementary Charter School District', 'diplomatic relation', 'Uruguay'] ['Kingsburg Elementary Charter School District', 'diplomatic relation', 'Greece']
ASK WHERE { VALUES ( ?z ) { ( resource:Uruguay ) ( resource:Greece ) } . resource:Kingsburg_Elementary_Charter_School_District property:diplomatic_relation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41
P1532
Q502895
USER
Which people play for Greece ?
(c(Q502895),P1532,Q41)
action filter_type
action find_reverse
entity Q41
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q41']
SELECT DISTINCT ?g WHERE { ?g property:P1532 resource:Q41 . ?g rdf:type ontology:Q502895 }
Greece
action filter_type
action find_reverse
entity Greece
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Greece']
SELECT DISTINCT ?g WHERE { ?g property:country_for_sport resource:Greece . ?g rdf:type ontology:common_name }
[]
common name
Q21705959 Q22084160 Q21705961
SYSTEM
Marina Vasarmidou, Panayotis Papoulias, Maria Tsoni
Q20354635 Q25909395 Q20311775 Q26397318 Q25915596 Q24809901 Q25909443 Q23714545 Q21705959 Q22084160 Q21705961 Q22236482
(c(Q502895),P1532,Q41)
action filter_type
action find_reverse
entity Q41
relation P1532
type Q502895
[ANSWERS] play for Greece
[{'concept': 'Q502895'}, 'P1532', 'Q41']
SELECT DISTINCT ?g WHERE { ?g property:P1532 resource:Q41 . ?g rdf:type ontology:Q502895 }
Giorgos Moschous Irini Vasiliou Anastasios Markouizos Miltiadis Tentoglou Mihail Anastasakis Elisavet Pesiridou Dimitrios Patsoukakis Emmanouil Karalís Marina Vasarmidou Panayotis Papoulias Maria Tsoni Stelios Bisbas
Marina Vasarmidou, Panayotis Papoulias and Maria Tsoni play for Greece
Marina Vasarmidou Panayotis Papoulias Maria Tsoni
action filter_type
action find_reverse
entity Greece
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Greece']
SELECT DISTINCT ?g WHERE { ?g property:country_for_sport resource:Greece . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21705959
P101
Q31629
USER
Which discipline does Marina Vasarmidou belong to ?
(Q21705959,P101,c(Q31629))
action filter_type
action find
entity Q21705959
relation P101
type Q31629
['Q21705959', 'P101', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q21705959 property:P101 ?e . ?e rdf:type ontology:Q31629 }
Marina Vasarmidou
action filter_type
action find
entity Marina Vasarmidou
relation field of work
type type of sport
['Marina Vasarmidou', 'field of work', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Marina_Vasarmidou property:field_of_work ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q211155
SYSTEM
200 metres
Q211155
(Q21705959,P101,c(Q31629))
action filter_type
action find
entity Q21705959
relation P101
type Q31629
Marina Vasarmidou belongs to [ANSWER]
['Q21705959', 'P101', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q21705959 property:P101 ?e . ?e rdf:type ontology:Q31629 }
200 metres
Marina Vasarmidou belongs to 200 metres
200 metres
action filter_type
action find
entity Marina Vasarmidou
relation field of work
type type of sport
['Marina Vasarmidou', 'field of work', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Marina_Vasarmidou property:field_of_work ?e . ?e rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19246150 Q21705959
P1532 P17
Q15617994
USER
Which administrative territories are played by Marina Vasarmidou or do Hellingstraat belong to ?
OR((Q21705959,P1532,c(Q15617994)), (Q19246150,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21705959
relation P1532
action find
entity Q19246150
relation P17
type Q15617994
{'OR': [['Q21705959', 'P1532', {'concept': 'Q15617994'}], ['Q19246150', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q21705959 property:P1532 ?j } UNION { resource:Q19246150 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Hellingstraat Marina Vasarmidou
action filter_type
action union
action find
entity Marina Vasarmidou
relation country for sport
action find
entity Hellingstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Marina Vasarmidou', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Hellingstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Marina_Vasarmidou property:country_for_sport ?j } UNION { resource:Hellingstraat property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q41
SYSTEM
Netherlands, Greece
Q55 Q41
OR((Q21705959,P1532,c(Q15617994)), (Q19246150,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21705959
relation P1532
action find
entity Q19246150
relation P17
type Q15617994
[ANSWERS] are played by Marina Vasarmidou or do Hellingstraat belong to
{'OR': [['Q21705959', 'P1532', {'concept': 'Q15617994'}], ['Q19246150', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q21705959 property:P1532 ?j } UNION { resource:Q19246150 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Netherlands Greece
Netherlands and Greece are played by Marina Vasarmidou or do Hellingstraat belong to
Netherlands Greece
action filter_type
action union
action find
entity Marina Vasarmidou
relation country for sport
action find
entity Hellingstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Marina Vasarmidou', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Hellingstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Marina_Vasarmidou property:country_for_sport ?j } UNION { resource:Hellingstraat property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q674248 Q41
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Greece and do Eliyahu Sasson belong to ?
AND((Q41,P530,c(Q15617994)), (Q674248,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q41
relation P530
action find
entity Q674248
relation P27
type Q15617994
{'AND': [['Q41', 'P530', {'concept': 'Q15617994'}], ['Q674248', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q41 property:P530 ?x . resource:Q674248 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Eliyahu Sasson Greece
action filter_type
action intersection
action find
entity Greece
relation diplomatic relation
action find
entity Eliyahu Sasson
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Greece', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eliyahu Sasson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Greece property:diplomatic_relation ?x . resource:Eliyahu_Sasson property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
AND((Q41,P530,c(Q15617994)), (Q674248,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q41
relation P530
action find
entity Q674248
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Greece and do Eliyahu Sasson belong to
{'AND': [['Q41', 'P530', {'concept': 'Q15617994'}], ['Q674248', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q41 property:P530 ?x . resource:Q674248 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Israel
Israel have diplomatic relationships with Greece and do Eliyahu Sasson belong to
Israel
action filter_type
action intersection
action find
entity Greece
relation diplomatic relation
action find
entity Eliyahu Sasson
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Greece', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eliyahu Sasson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Greece property:diplomatic_relation ?x . resource:Eliyahu_Sasson property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q801 Q3371126
P20
Q502895
USER
Does Paul Dukes have that administrative territory as the area of death ?
(Q3371126,P20,Q801)
action is_in
entity Q3371126
action find
entity Q801
relation P20
['Q3371126', 'P20', 'Q801']
ASK WHERE { resource:Q801 property:P20 resource:Q3371126 }
Israel Paul Dukes
action is_in
entity Paul Dukes
action find
entity Israel
relation place of death
['Paul Dukes', 'place of death', 'Israel']
ASK WHERE { resource:Israel property:place_of_death resource:Paul_Dukes }
[]
common name
SYSTEM
NO
(Q3371126,P20,Q801)
action is_in
entity Q3371126
action find
entity Q801
relation P20
[ANSWER]
['Q3371126', 'P20', 'Q801']
ASK WHERE { resource:Q801 property:P20 resource:Q3371126 }
No
action is_in
entity Paul Dukes
action find
entity Israel
relation place of death
['Paul Dukes', 'place of death', 'Israel']
ASK WHERE { resource:Israel property:place_of_death resource:Paul_Dukes }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q801 Q1765455
P177
Q811979
USER
How many architectural structures cross Israel or Firth of Tay ?
(c(Q811979),P177,Q801) (c(Q811979),P177,Q1765455)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P177
type Q811979
action filter_type
action find_reverse
entity Q1765455
relation P177
type Q811979
[{'concept': 'Q811979'}, 'P177', 'Q801'] [{'concept': 'Q811979'}, 'P177', 'Q1765455']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { VALUES ( ?s ) { ( resource:Q801 ) ( resource:Q1765455 ) } . ?g property:P177 ?s }
Israel Firth of Tay
action count
action union
action filter_type
action find_reverse
entity Israel
relation crosses
type architectural structure
action filter_type
action find_reverse
entity Firth of Tay
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Israel'] [{'concept': 'architectural structure'}, 'crosses', 'Firth of Tay']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { VALUES ( ?s ) { ( resource:Israel ) ( resource:Firth_of_Tay ) } . ?g property:crosses ?s }
[]
architectural structure
SYSTEM
2
Q3441301 Q2560585
(c(Q811979),P177,Q801) (c(Q811979),P177,Q1765455)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P177
type Q811979
action filter_type
action find_reverse
entity Q1765455
relation P177
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P177', 'Q801'] [{'concept': 'Q811979'}, 'P177', 'Q1765455']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { VALUES ( ?s ) { ( resource:Q801 ) ( resource:Q1765455 ) } . ?g property:P177 ?s }
Tay Road Bridge Netafim Border Crossing
2
action count
action union
action filter_type
action find_reverse
entity Israel
relation crosses
type architectural structure
action filter_type
action find_reverse
entity Firth of Tay
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Israel'] [{'concept': 'architectural structure'}, 'crosses', 'Firth of Tay']
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { VALUES ( ?s ) { ( resource:Israel ) ( resource:Firth_of_Tay ) } . ?g property:crosses ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q56061 Q532
USER
How many administrative territories are atmost 8706 administrative territories and villages present in ?
(c(Q56061)|c(Q532),P17,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
value 8706
[[{'concept': 'Q56061'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?z WHERE { { ?f property:P17 ?z . ?f rdf:type ontology:Q56061 . ?z rdf:type ontology:Q15617994 } UNION { ?f property:P17 ?z . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q532 } } GROUP BY ?z } . FILTER ( ?k <= 8706 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
value 8706
[[{'concept': 'administrative territorial entity'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?z WHERE { { ?f property:country ?z . ?f rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:village } } GROUP BY ?z } . FILTER ( ?k <= 8706 ) }
[]
designation for an administrative territorial entity administrative territorial entity village
SYSTEM
230
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q684030 Q2172530 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q56061)|c(Q532),P17,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
value 8706
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?z WHERE { { ?f property:P17 ?z . ?f rdf:type ontology:Q56061 . ?z rdf:type ontology:Q15617994 } UNION { ?f property:P17 ?z . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q532 } } GROUP BY ?z } . FILTER ( ?k <= 8706 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora Principality of Serbia Electorate of Württemberg Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
230
action count
action atmost
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
value 8706
[[{'concept': 'administrative territorial entity'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?z WHERE { { ?f property:country ?z . ?f rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:village } } GROUP BY ?z } . FILTER ( ?k <= 8706 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q801
P463
Q43229 Q484652
USER
How many organizations and international organizations were Israel a member of ?
(Q801,P463,c(Q43229)) (Q801,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q801
relation P463
type Q43229
action filter_type
action find
entity Q801
relation P463
type Q484652
['Q801', 'P463', {'concept': 'Q43229'}] ['Q801', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { resource:Q801 property:P463 ?h . ?h rdf:type ontology:Q43229 } UNION { resource:Q801 property:P463 ?h . ?h rdf:type ontology:Q484652 } }
Israel
action count
action union
action filter_type
action find
entity Israel
relation member of
type organization
action filter_type
action find
entity Israel
relation member of
type international organization
['Israel', 'member of', {'concept': 'organization'}] ['Israel', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { resource:Israel property:member_of ?h . ?h rdf:type ontology:organization } UNION { resource:Israel property:member_of ?h . ?h rdf:type ontology:international_organization } }
[]
organization international organization
SYSTEM
6 organizations and 3 international organizations
Q191384 Q656801 Q899770 Q192177 Q7825 Q1043527 Q41550 Q1065 Q827525
(Q801,P463,c(Q43229)) (Q801,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q801
relation P463
type Q43229
action filter_type
action find
entity Q801
relation P463
type Q484652
[ANSWER]
['Q801', 'P463', {'concept': 'Q43229'}] ['Q801', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { resource:Q801 property:P463 ?h . ?h rdf:type ontology:Q43229 } UNION { resource:Q801 property:P463 ?h . ?h rdf:type ontology:Q484652 } }
International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes Union for the Mediterranean World Trade Organization Multilateral Investment Guarantee Agency Organisation for Economic Co-operation and Development United Nations International Development Association
6 organizations and 3 international organizations
action count
action union
action filter_type
action find
entity Israel
relation member of
type organization
action filter_type
action find
entity Israel
relation member of
type international organization
['Israel', 'member of', {'concept': 'organization'}] ['Israel', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { resource:Israel property:member_of ?h . ?h rdf:type ontology:organization } UNION { resource:Israel property:member_of ?h . ?h rdf:type ontology:international_organization } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q131378 Q21705959
P1344
Q13406554
USER
Which sport competitions did Marina Vasarmidou or APOEL F.C. participate in ?
OR((Q21705959,P1344,c(Q13406554)), (Q131378,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q21705959
relation P1344
action find
entity Q131378
relation P1344
type Q13406554
{'OR': [['Q21705959', 'P1344', {'concept': 'Q13406554'}], ['Q131378', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q21705959 property:P1344 ?u } UNION { resource:Q131378 property:P1344 ?u } } . ?u rdf:type ontology:Q13406554 }
APOEL F.C. Marina Vasarmidou
action filter_type
action union
action find
entity Marina Vasarmidou
relation participant of
action find
entity APOEL F.C.
relation participant of
type sport competition
{'OR': [['Marina Vasarmidou', 'participant of', {'concept': 'sport competition'}], ['APOEL F.C.', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Marina_Vasarmidou property:participant_of ?u } UNION { resource:APOEL_F.C. property:participant_of ?u } } . ?u rdf:type ontology:sport_competition }
[]
sport competition
Q28829 Q963385 Q13494021 Q2706541 Q2698207 Q28686 Q2640495 Q28674 Q28036 Q3692897
SYSTEM
Some of them are 2010–11 Cypriot Cup, 2010–11 Cypriot First Division, 2013–14 Cypriot First Division, 1939–40 Cypriot First Division, 2005–06 Cypriot First Division, 1988–89 Cypriot Cup, 1945–46 Cypriot First Division, 1948-49 Cypriot Cup, 1944-45 Cypriot Cup, 1985–86 Cypriot Cup
Q28750 Q2697864 Q28916 Q287818 Q966773 Q2638370 Q18204752 Q2698214 Q2640431 Q28109 Q2635672 Q980671 Q28686 Q28927 Q2698220 Q2698226 Q15094037 Q23756432 Q738504 Q379202 Q2697940 Q28857 Q2640503 Q27866 Q2697925 Q2736728 Q2698239 Q2698238 Q285264 Q24328195 Q28739 Q2698232 Q28127 Q2697320 Q2635714 Q28680 Q28682 Q28684 Q3561900 Q2640450 Q28688 Q2707718 Q28829 Q1782589 Q28748 Q28826 Q2637917 Q629654 Q28021 Q2697412 Q28036 Q3692897 Q3692894 Q1637070 Q3692892 Q28033 Q2635725 Q2705983 Q2697885 Q2698244 Q2697882 Q28039 Q2640440 Q371732 Q577945 Q28811 Q2697902 Q28894 Q17001728 Q28024 Q2371372 Q28023 Q2635982 Q549546 Q2698250 Q2635632 Q28145 Q28945 Q28948 Q2640475 Q2698207 Q2697910 Q2698249 Q378670 Q2697856 Q28645 Q28647 Q28035 Q263403 Q28090 Q28032 Q28760 Q28097 Q28011 Q28012 Q28015 Q28016 Q28018 Q28019 Q3692891 Q19906304 Q2640460 Q2697589 Q2705118 Q2636009 Q2640468 Q2640056 Q2697584 Q2705112 Q2706338 Q28133 Q2706188 Q28670 Q28678 Q28672 Q2736760 Q2706541 Q28676 Q29252 Q963385 Q2640495 Q2698273 Q2805565 Q28009 Q28007 Q738126 Q28005 Q28674 Q2635699 Q132444 Q2697596 Q2706388 Q28744 Q28741 Q28743 Q28906 Q28275 Q2697875 Q28902 Q605592 Q28985 Q3692895 Q28668 Q28666 Q651450 Q27921 Q13494021 Q27922 Q27924 Q13416183 Q27870 Q2548686 Q604313 Q2635688 Q2641956 Q20645820
OR((Q21705959,P1344,c(Q13406554)), (Q131378,P1344,c(Q13406554)))
action filter_type
action union
action find
entity Q21705959
relation P1344
action find
entity Q131378
relation P1344
type Q13406554
Marina Vasarmidou or APOEL F.C. participated in the [ANSWERS]
{'OR': [['Q21705959', 'P1344', {'concept': 'Q13406554'}], ['Q131378', 'P1344', {'concept': 'Q13406554'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q21705959 property:P1344 ?u } UNION { resource:Q131378 property:P1344 ?u } } . ?u rdf:type ontology:Q13406554 }
1936-37 Cypriot Cup 1984–85 Cypriot First Division 1966-67 Cypriot Cup 1950–51 Cypriot First Division 1956–57 Cypriot First Division 1969–70 Cypriot First Division 2014–15 Cypriot Cup 2004–05 Cypriot First Division 1968–69 Cypriot First Division 1969-70 Cypriot Cup 1962–63 Cypriot First Division 1970–71 Cypriot First Division 1988–89 Cypriot Cup 1954-55 Cypriot Cup 1999–2000 Cypriot First Division 1995–96 Cypriot First Division 2013–14 Cypriot Cup 2016–17 Cypriot First Division 2007–08 Cypriot First Division 1952–53 Cypriot First Division 1992–93 Cypriot First Division 1998–99 Cypriot Cup 1955–56 Cypriot First Division 1991–92 Cypriot Cup 1993–94 Cypriot First Division 1975–76 Cypriot First Division 2002–03 Cypriot First Division 2006–07 Cypriot First Division 2009–10 Cypriot First Division 2016–17 Cypriot Cup 1937-38 Cypriot Cup 1994–95 Cypriot First Division 1971-72 Cypriot Cup 1978–79 Cypriot First Division 1965–66 Cypriot First Division 1987–88 Cypriot Cup 1946-47 Cypriot Cup 2005–06 Cypriot Cup 1961-62 Cypriot Cup 1948–49 Cypriot First Division 1940-41 Cypriot Cup 1936–37 Cypriot First Division 2010–11 Cypriot Cup 2011–12 Cypriot First Division 1995-96 Cypriot Cup 2009–10 Cypriot Cup 1971–72 Cypriot First Division 1949–50 Cypriot First Division 1949-50 Cypriot Cup 1987–88 Cypriot First Division 1944-45 Cypriot Cup 1985–86 Cypriot Cup 1983–84 Cypriot Cup 2012–13 Cypriot First Division 1976-77 Cypriot Cup 2001-02 Cypriot Cup 1964–65 Cypriot First Division 1940–41 Cypriot First Division 1990–91 Cypriot First Division 1996–97 Cypriot First Division 1985–86 Cypriot First Division 1986–87 Cypriot Cup 1947–48 Cypriot First Division 2003–04 Cypriot First Division 1976–77 Cypriot First Division 2011–12 Cypriot Cup 1986–87 Cypriot First Division 1962-63 Cypriot Cup 2014–15 Cypriot First Division 1999–2000 Cypriot Cup 1963–64 Cypriot First Division 1965-66 Cypriot Cup 1966–67 Cypriot First Division 1977–78 Cypriot First Division 2000–01 Cypriot First Division 1959–60 Cypriot First Division 1979-80 Cypriot Cup 1978-79 Cypriot Cup 1977-78 Cypriot Cup 1938–39 Cypriot First Division 2005–06 Cypriot First Division 1988–89 Cypriot First Division 1998–99 Cypriot First Division 1957–58 Cypriot First Division 1991–92 Cypriot First Division 2008–09 Cypriot Cup 1994-95 Cypriot Cup 2003-04 Cypriot Cup 2003 World Championships in Athletics 1974-75 Cypriot Cup 1992–93 Cypriot Cup 1958-59 Cypriot Cup 1970-71 Cypriot Cup 1964-65 Cypriot Cup 1990–91 Cypriot Cup 2002-03 Cypriot Cup 1945-46 Cypriot Cup 1997–98 Cypriot Cup 1952-53 Cypriot Cup 1975-76 Cypriot Cup 2015–16 Cypriot First Division 1951–52 Cypriot First Division 1982–83 Cypriot First Division 1997–98 Cypriot First Division 1967–68 Cypriot First Division 1944–45 Cypriot First Division 1946–47 Cypriot First Division 1983–84 Cypriot First Division 2008–09 Cypriot First Division 1934–35 Cypriot First Division 1972-73 Cypriot Cup 1937–38 Cypriot First Division 1980–81 Cypriot Cup 1993–94 Cypriot Cup 1938-39 Cypriot Cup 1972–73 Cypriot First Division 1939–40 Cypriot First Division 1963-64 Cypriot Cup 1967-68 Cypriot Cup 2010–11 Cypriot First Division 1945–46 Cypriot First Division 2001–02 Cypriot First Division 2012–13 Cypriot Cup 2004-05 Cypriot Cup 1951-52 Cypriot Cup 1979–80 Cypriot First Division 1981–82 Cypriot Cup 1948-49 Cypriot Cup 1960–61 Cypriot First Division 1999 World Championships in Athletics 1981–82 Cypriot First Division 1935–36 Cypriot First Division 1950-51 Cypriot Cup 1935-36 Cypriot Cup 1996–97 Cypriot Cup 1982–83 Cypriot Cup 2006–07 Cypriot Cup 1989–90 Cypriot First Division 1968-69 Cypriot Cup 1961–62 Cypriot First Division 2007–08 Cypriot Cup 1984–85 Cypriot Cup 1934-35 Cypriot Cup 1953-54 Cypriot Cup 1997 World Championships in Athletics 2000-01 Cypriot Cup 2013–14 Cypriot First Division 1939-40 Cypriot Cup 1947-48 Cypriot Cup 2015–16 UEFA Champions League 1989–90 Cypriot Cup 1973–74 Alpha Ethniki 1980–81 Cypriot First Division 1953–54 Cypriot First Division 1954–55 Cypriot First Division 2015–16 Cypriot Cup
Marina Vasarmidou or APOEL F.C. participated in the 2010–11 Cypriot Cup, 2010–11 Cypriot First Division, 2013–14 Cypriot First Division, 1939–40 Cypriot First Division, 2005–06 Cypriot First Division, 1988–89 Cypriot Cup, 1945–46 Cypriot First Division, 1948-49 Cypriot Cup, 1944-45 Cypriot Cup and 1985–86 Cypriot Cup
2010–11 Cypriot Cup 2010–11 Cypriot First Division 2013–14 Cypriot First Division 1939–40 Cypriot First Division 2005–06 Cypriot First Division 1988–89 Cypriot Cup 1945–46 Cypriot First Division 1948-49 Cypriot Cup 1944-45 Cypriot Cup 1985–86 Cypriot Cup
action filter_type
action union
action find
entity Marina Vasarmidou
relation participant of
action find
entity APOEL F.C.
relation participant of
type sport competition
{'OR': [['Marina Vasarmidou', 'participant of', {'concept': 'sport competition'}], ['APOEL F.C.', 'participant of', {'concept': 'sport competition'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Marina_Vasarmidou property:participant_of ?u } UNION { resource:APOEL_F.C. property:participant_of ?u } } . ?u rdf:type ontology:sport_competition }
[]