Simple Question (Direct)
Simple Question
Q111225
P20
Q15617994
USER
Where did Anton Aulke expire ?
(Q111225,P20,c(Q15617994))
action filter_type
action find
entity Q111225
relation P20
type Q15617994
['Q111225', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q111225 property:P20 ?k . ?k rdf:type ontology:Q15617994 }
Anton Aulke
action filter_type
action find
entity Anton Aulke
relation place of death
type designation for an administrative territorial entity
['Anton Aulke', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Anton_Aulke property:place_of_death ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2769
SYSTEM
Warendorf
Q2769
(Q111225,P20,c(Q15617994))
action filter_type
action find
entity Q111225
relation P20
type Q15617994
Anton Aulke expired in [ANSWER]
['Q111225', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q111225 property:P20 ?k . ?k rdf:type ontology:Q15617994 }
Warendorf
Anton Aulke expired in Warendorf
Warendorf
action filter_type
action find
entity Anton Aulke
relation place of death
type designation for an administrative territorial entity
['Anton Aulke', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Anton_Aulke property:place_of_death ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111225
P106
Q12737077
USER
Which occupation is the profession of Anton Aulke ?
(Q111225,P106,c(Q12737077))
action filter_type
action find
entity Q111225
relation P106
type Q12737077
['Q111225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q111225 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Anton Aulke
action filter_type
action find
entity Anton Aulke
relation occupation
type occupation
['Anton Aulke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Anton_Aulke property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q111225,P106,c(Q12737077))
action filter_type
action find
entity Q111225
relation P106
type Q12737077
The [ANSWER] is the profession of Anton Aulke
['Q111225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q111225 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
writer
The writer is the profession of Anton Aulke
writer
action filter_type
action find
entity Anton Aulke
relation occupation
type occupation
['Anton Aulke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Anton_Aulke property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q180026
Q12737077
USER
And also tell me about Petrus de Cruce?
(Q180026,P106,c(Q12737077))
action filter_type
action find
entity Q180026
relation P106
type Q12737077
['Q180026', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q180026 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Petrus de Cruce
action filter_type
action find
entity Petrus de Cruce
relation occupation
type occupation
['Petrus de Cruce', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Petrus_de_Cruce property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q14915627 Q36834 Q16031530
SYSTEM
musicologist, composer, music theorist
Q14915627 Q36834 Q16031530
(Q180026,P106,c(Q12737077))
action filter_type
action find
entity Q180026
relation P106
type Q12737077
[ANSWERS]
['Q180026', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q180026 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
musicologist composer music theorist
musicologist composer music theorist
action filter_type
action find
entity Petrus de Cruce
relation occupation
type occupation
['Petrus de Cruce', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Petrus_de_Cruce property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P609
Q83620
USER
Which thoroughfare has London as its destination ?
(c(Q83620),P609,Q84)
action filter_type
action find_reverse
entity Q84
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q84']
SELECT DISTINCT ?e WHERE { ?e property:P609 resource:Q84 . ?e rdf:type ontology:Q83620 }
London
action filter_type
action find_reverse
entity London
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'London']
SELECT DISTINCT ?e WHERE { ?e property:terminus_location resource:London . ?e rdf:type ontology:thoroughfare }
[]
thoroughfare
Q4649283
SYSTEM
A41 road
Q4649283
(c(Q83620),P609,Q84)
action filter_type
action find_reverse
entity Q84
relation P609
type Q83620
[ANSWER] has London as its destination
[{'concept': 'Q83620'}, 'P609', 'Q84']
SELECT DISTINCT ?e WHERE { ?e property:P609 resource:Q84 . ?e rdf:type ontology:Q83620 }
A41 road
A41 road has London as its destination
A41 road
action filter_type
action find_reverse
entity London
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'London']
SELECT DISTINCT ?e WHERE { ?e property:terminus_location resource:London . ?e rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P17
Q7275
USER
Which states are London located in ?
(Q84,P17,c(Q7275))
action filter_type
action find
entity Q84
relation P17
type Q7275
['Q84', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q84 property:P17 ?g . ?g rdf:type ontology:Q7275 }
London
action filter_type
action find
entity London
relation country
type state
['London', 'country', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:London property:country ?g . ?g rdf:type ontology:state }
[]
state
Q105092 Q179876 Q174193
SYSTEM
Kingdom of Mercia, Kingdom of England, United Kingdom of Great Britain and Ireland
Q105092 Q161885 Q174193 Q105313 Q110888 Q179876
(Q84,P17,c(Q7275))
action filter_type
action find
entity Q84
relation P17
type Q7275
London are located in [ANSWERS]
['Q84', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q84 property:P17 ?g . ?g rdf:type ontology:Q7275 }
Kingdom of Mercia Kingdom of Great Britain United Kingdom of Great Britain and Ireland Kingdom of Wessex Kingdom of Essex Kingdom of England
London are located in Kingdom of Mercia, Kingdom of England and United Kingdom of Great Britain and Ireland
Kingdom of Mercia Kingdom of England United Kingdom of Great Britain and Ireland
action filter_type
action find
entity London
relation country
type state
['London', 'country', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:London property:country ?g . ?g rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q84
Q15617994
USER
And which administrative territory?
(Q84,P17,c(Q15617994))
action filter_type
action find
entity Q84
relation P17
type Q15617994
['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q84 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
London
action filter_type
action find
entity London
relation country
type designation for an administrative territorial entity
['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:London property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P17,c(Q15617994))
action filter_type
action find
entity Q84
relation P17
type Q15617994
[ANSWER]
['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q84 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity London
relation country
type designation for an administrative territorial entity
['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:London property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of less number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q145
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ontology:Q2031291 . ?u property:P495 resource:Q145 } } . FILTER ( ?g < ?o ) }
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ontology:release . ?u property:country_of_origin resource:United_Kingdom } } . FILTER ( ?g < ?o ) }
[]
designation for an administrative territorial entity release
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q145
relation P495
type Q2031291
[ANSWERS] are the origin of less number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ontology:Q2031291 . ?u property:P495 resource:Q145 } } . FILTER ( ?g < ?o ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Brazil, Georgia and Russia are the origin of less number of releases than that administrative territory
Brazil Georgia Russia
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ontology:release . ?u property:country_of_origin resource:United_Kingdom } } . FILTER ( ?g < ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q2426939
P17
Q15617994
USER
How many administrative territories are United Kingdom or Sami Parliament of Finland a part of ?
(Q145,P17,c(Q15617994)) (Q2426939,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q2426939
relation P17
type Q15617994
['Q145', 'P17', {'concept': 'Q15617994'}] ['Q2426939', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:P17 ?w . VALUES ( ?k ) { ( resource:Q145 ) ( resource:Q2426939 ) } }
United Kingdom Sami Parliament of Finland
action count
action union
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sami Parliament of Finland
relation country
type designation for an administrative territorial entity
['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sami Parliament of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:country ?w . VALUES ( ?k ) { ( resource:United_Kingdom ) ( resource:Sami_Parliament_of_Finland ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q33 Q145
(Q145,P17,c(Q15617994)) (Q2426939,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q2426939
relation P17
type Q15617994
[ANSWER]
['Q145', 'P17', {'concept': 'Q15617994'}] ['Q2426939', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:P17 ?w . VALUES ( ?k ) { ( resource:Q145 ) ( resource:Q2426939 ) } }
Finland United Kingdom
2
action count
action union
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sami Parliament of Finland
relation country
type designation for an administrative territorial entity
['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sami Parliament of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:country ?w . VALUES ( ?k ) { ( resource:United_Kingdom ) ( resource:Sami_Parliament_of_Finland ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q376896
P180
Q15617994 Q11060274 Q340169
USER
How many administrative territories are expressed in around the same number of prints and medias as Grenelle ?
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q376896
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q11060274 } UNION { ?e property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q340169 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } } . ?n property:P180 resource:Q376896 } } . FILTER ( ?i = ?l ) }
Grenelle
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Grenelle
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:print } UNION { ?e property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:media } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:print ) ( ontology:media ) } } . ?n property:depicts resource:Grenelle } } . FILTER ( ?i = ?l ) }
[]
designation for an administrative territorial entity print media
SYSTEM
8
Q674904 Q145 Q47505 Q131596 Q17 Q13320 Q376896 Q34876
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q376896
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q11060274 } UNION { ?e property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q340169 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } } . ?n property:P180 resource:Q376896 } } . FILTER ( ?i = ?l ) }
Krumau am Kamp United Kingdom Dolo farm Japan Savona Grenelle province
8
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Grenelle
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:print } UNION { ?e property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:media } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:print ) ( ontology:media ) } } . ?n property:depicts resource:Grenelle } } . FILTER ( ?i = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q822
P180
Q15617994 Q11060274 Q340169
USER
And how about Lebanon?
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q822
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P180 resource:Q822 . { { ?c rdf:type ontology:Q11060274 } UNION { ?c rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?z WHERE { { ?j property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 } UNION { ?j property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q340169 } } GROUP BY ?z } }
Lebanon
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Lebanon
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:depicts resource:Lebanon . { { ?c rdf:type ontology:print } UNION { ?c rdf:type ontology:media } } } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?z WHERE { { ?j property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?j property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:media } } GROUP BY ?z } }
[]
designation for an administrative territorial entity print media
SYSTEM
82
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 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 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q822
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P180 resource:Q822 . { { ?c rdf:type ontology:Q11060274 } UNION { ?c rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?z WHERE { { ?j property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 } UNION { ?j property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q340169 } } GROUP BY ?z } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio 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 Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
82
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Lebanon
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:depicts resource:Lebanon . { { ?c rdf:type ontology:print } UNION { ?c rdf:type ontology:media } } } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?z WHERE { { ?j property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?j property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:media } } GROUP BY ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q822
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Russia and Lebanon ?
(Q159,P530,c(Q15617994)) (Q822,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q159
relation P530
type Q15617994
action filter_type
action find
entity Q822
relation P530
type Q15617994
['Q159', 'P530', {'concept': 'Q15617994'}] ['Q822', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q159 property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . resource:Q822 property:P530 ?m }
Russia Lebanon
action count
action intersection
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Lebanon
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lebanon', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Russia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lebanon property:diplomatic_relation ?m }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q801
(Q159,P530,c(Q15617994)) (Q822,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q159
relation P530
type Q15617994
action filter_type
action find
entity Q822
relation P530
type Q15617994
[ANSWER]
['Q159', 'P530', {'concept': 'Q15617994'}] ['Q822', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q159 property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . resource:Q822 property:P530 ?m }
Brazil Italy Israel
3
action count
action intersection
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Lebanon
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lebanon', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Russia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lebanon property:diplomatic_relation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P361
Q2221906
USER
Which geographic locations are Russia a portion of ?
action filter_type
action find
entity Q159
relation P361
type Q2221906
SELECT DISTINCT ?i WHERE { resource:Q159 property:P361 ?i . ?i rdf:type ontology:Q2221906 }
Russia
action filter_type
action find
entity Russia
relation part of
type geographic location
SELECT DISTINCT ?i WHERE { resource:Russia property:part_of ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q5401 Q27468
SYSTEM
Eurasia, Eastern Europe
Q5401 Q27468
action filter_type
action find
entity Q159
relation P361
type Q2221906
[ANSWERS]
SELECT DISTINCT ?i WHERE { resource:Q159 property:P361 ?i . ?i rdf:type ontology:Q2221906 }
Eurasia Eastern Europe
Which geographic locations are Russia a portion of
Eurasia Eastern Europe
action filter_type
action find
entity Russia
relation part of
type geographic location
SELECT DISTINCT ?i WHERE { resource:Russia property:part_of ?i . ?i rdf:type ontology:geographic_location }
[]