Simple Question (Direct)
Simple Question
Q1675600
P27
Q15617994
USER
Which administrative territory is Ivan Prijatelj a civilian of ?
(Q1675600,P27,c(Q15617994))
action filter_type
action find
entity Q1675600
relation P27
type Q15617994
['Q1675600', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1675600 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Ivan Prijatelj
action filter_type
action find
entity Ivan Prijatelj
relation country of citizenship
type designation for an administrative territorial entity
['Ivan Prijatelj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Prijatelj property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q215
SYSTEM
Slovenia
Q215
(Q1675600,P27,c(Q15617994))
action filter_type
action find
entity Q1675600
relation P27
type Q15617994
[ANSWER] is Ivan Prijatelj a civilian of
['Q1675600', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1675600 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Slovenia
Slovenia is Ivan Prijatelj a civilian of
Slovenia
action filter_type
action find
entity Ivan Prijatelj
relation country of citizenship
type designation for an administrative territorial entity
['Ivan Prijatelj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Prijatelj property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q215,P36,c(Q56061))
action filter_type
action find
entity Q215
relation P36
type Q56061
['Q215', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q215 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Slovenia
action filter_type
action find
entity Slovenia
relation capital
type administrative territorial entity
['Slovenia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Slovenia property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q437
SYSTEM
Ljubljana
Q437
(Q215,P36,c(Q56061))
action filter_type
action find
entity Q215
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q215', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q215 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Ljubljana
Ljubljana is known as the capital of that administrative territory
Ljubljana
action filter_type
action find
entity Slovenia
relation capital
type administrative territorial entity
['Slovenia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Slovenia property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q215 Q1185115
P194
Q1752346
USER
How many assemblies represent Slovenia or City of Cape Town ?
(Q215,P194,c(Q1752346)) (Q1185115,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q215
relation P194
type Q1752346
action filter_type
action find
entity Q1185115
relation P194
type Q1752346
['Q215', 'P194', {'concept': 'Q1752346'}] ['Q1185115', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?w ) { ( resource:Q215 ) ( resource:Q1185115 ) } . ?w property:P194 ?u }
Slovenia City of Cape Town
action count
action union
action filter_type
action find
entity Slovenia
relation legislative body
type assembly
action filter_type
action find
entity City of Cape Town
relation legislative body
type assembly
['Slovenia', 'legislative body', {'concept': 'assembly'}] ['City of Cape Town', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?w ) { ( resource:Slovenia ) ( resource:City_of_Cape_Town ) } . ?w property:legislative_body ?u }
[]
assembly
SYSTEM
2
Q5035091 Q1288169
(Q215,P194,c(Q1752346)) (Q1185115,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q215
relation P194
type Q1752346
action filter_type
action find
entity Q1185115
relation P194
type Q1752346
[ANSWER]
['Q215', 'P194', {'concept': 'Q1752346'}] ['Q1185115', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?w ) { ( resource:Q215 ) ( resource:Q1185115 ) } . ?w property:P194 ?u }
Cape Town City Council Slovenian Parliament
2
action count
action union
action filter_type
action find
entity Slovenia
relation legislative body
type assembly
action filter_type
action find
entity City of Cape Town
relation legislative body
type assembly
['Slovenia', 'legislative body', {'concept': 'assembly'}] ['City of Cape Town', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?w ) { ( resource:Slovenia ) ( resource:City_of_Cape_Town ) } . ?w property:legislative_body ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P137
Q2424752
USER
Which product can be described as service operator of Slovenia ?
(c(Q2424752),P137,Q215)
action filter_type
action find_reverse
entity Q215
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q215']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q215 . ?g rdf:type ontology:Q2424752 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Slovenia']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Slovenia . ?g rdf:type ontology:product }
[]
product
Q666994
SYSTEM
PC-9
Q666994
(c(Q2424752),P137,Q215)
action filter_type
action find_reverse
entity Q215
relation P137
type Q2424752
[ANSWER] can be described as service operator of Slovenia
[{'concept': 'Q2424752'}, 'P137', 'Q215']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q215 . ?g rdf:type ontology:Q2424752 }
PC-9
PC-9 can be described as service operator of Slovenia
PC-9
action filter_type
action find_reverse
entity Slovenia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Slovenia']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Slovenia . ?g rdf:type ontology:product }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P610
Q14524493
USER
Which terrain is the highest point of Slovenia ?
(Q215,P610,c(Q14524493))
action filter_type
action find
entity Q215
relation P610
type Q14524493
['Q215', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q14524493 . resource:Q215 property:P610 ?o }
Slovenia
action filter_type
action find
entity Slovenia
relation highest point
type terrain
['Slovenia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:terrain . resource:Slovenia property:highest_point ?o }
[]
terrain
Q1024
SYSTEM
Triglav
Q1024
(Q215,P610,c(Q14524493))
action filter_type
action find
entity Q215
relation P610
type Q14524493
[ANSWER] is the highest point of Slovenia
['Q215', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q14524493 . resource:Q215 property:P610 ?o }
Triglav
Triglav is the highest point of Slovenia
Triglav
action filter_type
action find
entity Slovenia
relation highest point
type terrain
['Slovenia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:terrain . resource:Slovenia property:highest_point ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P277
Q188267 Q9143 Q2424752
USER
How many products are written in approximately 2 programming paradigms or programming languages ?
(c(Q2424752),P277,c(Q188267)|c(Q9143))
action count
action approx
action union
action find_tuple_counts
relation P277
type Q2424752
type Q188267
action find_tuple_counts
relation P277
type Q2424752
type Q9143
value 2
[{'concept': 'Q2424752'}, 'P277', [{'concept': 'Q188267'}, {'concept': 'Q9143'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?h WHERE { VALUES ( ?z ) { ( ontology:Q9143 ) ( ontology:Q188267 ) } . ?c rdf:type ?z } GROUP BY ?h } }
action count
action approx
action union
action find_tuple_counts
relation programming language
type product
type programming paradigm
action find_tuple_counts
relation programming language
type product
type programming language
value 2
[{'concept': 'product'}, 'programming language', [{'concept': 'programming paradigm'}, {'concept': 'programming language'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?h WHERE { VALUES ( ?z ) { ( ontology:programming_language ) ( ontology:programming_paradigm ) } . ?c rdf:type ?z } GROUP BY ?h } }
[]
programming paradigm programming language product
SYSTEM
2
Q1050751 Q6029699
(c(Q2424752),P277,c(Q188267)|c(Q9143))
action count
action approx
action union
action find_tuple_counts
relation P277
type Q2424752
type Q188267
action find_tuple_counts
relation P277
type Q2424752
type Q9143
value 2
[ANSWER]
[{'concept': 'Q2424752'}, 'P277', [{'concept': 'Q188267'}, {'concept': 'Q9143'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?h WHERE { VALUES ( ?z ) { ( ontology:Q9143 ) ( ontology:Q188267 ) } . ?c rdf:type ?z } GROUP BY ?h } }
Sub7 Infinit
2
action count
action approx
action union
action find_tuple_counts
relation programming language
type product
type programming paradigm
action find_tuple_counts
relation programming language
type product
type programming language
value 2
[{'concept': 'product'}, 'programming language', [{'concept': 'programming paradigm'}, {'concept': 'programming language'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?h WHERE { VALUES ( ?z ) { ( ontology:programming_language ) ( ontology:programming_paradigm ) } . ?c rdf:type ?z } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q437 Q13298
P190
Q56061
USER
How many administrative territories are sister town of Ljubljana and Graz ?
(c(Q56061),P190,Q437) (c(Q56061),P190,Q13298)
action count
action intersection
action filter_type
action find_reverse
entity Q437
relation P190
type Q56061
action filter_type
action find_reverse
entity Q13298
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q437'] [{'concept': 'Q56061'}, 'P190', 'Q13298']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P190 resource:Q13298 . ?o rdf:type ontology:Q56061 . ?o property:P190 resource:Q437 . ?o rdf:type ontology:Q56061 }
Ljubljana Graz
action count
action intersection
action filter_type
action find_reverse
entity Ljubljana
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Graz
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ljubljana'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Graz']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:sister_city resource:Graz . ?o rdf:type ontology:administrative_territorial_entity . ?o property:sister_city resource:Ljubljana . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q546 Q185289
(c(Q56061),P190,Q437) (c(Q56061),P190,Q13298)
action count
action intersection
action filter_type
action find_reverse
entity Q437
relation P190
type Q56061
action filter_type
action find_reverse
entity Q13298
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q437'] [{'concept': 'Q56061'}, 'P190', 'Q13298']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P190 resource:Q13298 . ?o rdf:type ontology:Q56061 . ?o property:P190 resource:Q437 . ?o rdf:type ontology:Q56061 }
Trieste Pernik
2
action count
action intersection
action filter_type
action find_reverse
entity Ljubljana
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Graz
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ljubljana'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Graz']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:sister_city resource:Graz . ?o rdf:type ontology:administrative_territorial_entity . ?o property:sister_city resource:Ljubljana . ?o rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21697623
P144
Q2424752 Q3084961 Q2424752
USER
How many products are less number of product linings or products adapted from than SBW-1 Helldiver ?
(c(Q3084961)|c(Q2424752),P144,c(Q2424752))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q3084961
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q21697623
relation P144
type Q3084961
type Q2424752
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { VALUES ( ?l ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } . ?h rdf:type ?l } . ?h property:P144 resource:Q21697623 } } . FILTER ( ?j < ?e ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P144 ?n . ?n rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q3084961 } UNION { ?y property:P144 ?n . ?n rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q2424752 } } GROUP BY ?n } }
SBW-1 Helldiver
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type product
type product lining
action find_reverse_tuple_counts
relation based on
type product
type product
action count
action filter_multi_types
action find_reverse
entity SBW-1 Helldiver
relation based on
type product lining
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'based on', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { VALUES ( ?l ) { ( ontology:product_lining ) ( ontology:product ) } . ?h rdf:type ?l } . ?h property:based_on resource:SBW-1_Helldiver } } . FILTER ( ?j < ?e ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:based_on ?n . ?n rdf:type ontology:product . ?y rdf:type ontology:product_lining } UNION { ?y property:based_on ?n . ?n rdf:type ontology:product . ?y rdf:type ontology:product } } GROUP BY ?n } }
[]
product product lining product
SYSTEM
52
Q20806067 Q18173036 Q18117167 Q17979337 Q18640827 Q18520476 Q19058994 Q1734726 Q1645574 Q21822469 Q971787 Q814074 Q1164636 Q18052258 Q18541957 Q18068961 Q17909228 Q343566 Q9384384 Q1071312 Q18050799 Q746261 Q170484 Q20011145 Q21822472 Q21822475 Q20972134 Q681360 Q18640808 Q7913069 Q21698418 Q21683484 Q18383545 Q2497482 Q18173070 Q18173077 Q3940675 Q21694232 Q18084668 Q19358903 Q19358900 Q18130365 Q20011152 Q21822442 Q18196400 Q18015716 Q18542398 Q18012875 Q21034527 Q18070695 Q21694008 Q21693908
(c(Q3084961)|c(Q2424752),P144,c(Q2424752))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q3084961
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q21697623
relation P144
type Q3084961
type Q2424752
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { VALUES ( ?l ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } . ?h rdf:type ?l } . ?h property:P144 resource:Q21697623 } } . FILTER ( ?j < ?e ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P144 ?n . ?n rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q3084961 } UNION { ?y property:P144 ?n . ?n rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q2424752 } } GROUP BY ?n } }
Premier IA Puma HC1 B-17G Flying Fortress EMB 820C Navajo Cessna P337H Pressurized Skymaster F11C-2 Goshawk Ford 4-AT-A AGO C.IV Protocol Buffers RA-3B Skywarrior COMMAND.COM Beep Media Player tambura Bell 47J Ranger Hurricane I S-2E Tracker BT-14 action figure Boeing 747-100 My Little Pony YR-13 Sioux LabVIEW Lego Sunderland III EA-3B Skywarrior TA-3B Skywarrior SSLeay OpenCL Cessna 337B Super Skymaster RV-12 SB2C-4 Helldiver TBD-1 Devastator Q400 OpenWindows SA 330J Puma SA 330L Puma Felixstowe F5L A-1G Skyraider HU-16B Albatross RV-9A RV-8A TO-1D Bird Dog Sunderland V A-3A Skywarrior DL-2A PA-34-220T Seneca III Beaufighter TF X Beech 18S Boeing Model 40A C-1A Trader A-1E Skyraider A-1D Skyraider
52
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type product
type product lining
action find_reverse_tuple_counts
relation based on
type product
type product
action count
action filter_multi_types
action find_reverse
entity SBW-1 Helldiver
relation based on
type product lining
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'based on', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { VALUES ( ?l ) { ( ontology:product_lining ) ( ontology:product ) } . ?h rdf:type ?l } . ?h property:based_on resource:SBW-1_Helldiver } } . FILTER ( ?j < ?e ) . { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:based_on ?n . ?n rdf:type ontology:product . ?y rdf:type ontology:product_lining } UNION { ?y property:based_on ?n . ?n rdf:type ontology:product . ?y rdf:type ontology:product } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q17417553
P144
Q2424752 Q3084961 Q2424752
USER
And also tell me about JJ-7?
(c(Q3084961)|c(Q2424752),P144,c(Q2424752))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q3084961
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q17417553
relation P144
type Q3084961
type Q2424752
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?v WHERE { { ?y property:P144 ?v . ?y rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q2424752 } UNION { ?y property:P144 ?v . ?v rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P144 resource:Q17417553 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?c < ?r ) }
JJ-7
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type product
type product lining
action find_reverse_tuple_counts
relation based on
type product
type product
action count
action filter_multi_types
action find_reverse
entity JJ-7
relation based on
type product lining
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'based on', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?v WHERE { { ?y property:based_on ?v . ?y rdf:type ontology:product . ?v rdf:type ontology:product } UNION { ?y property:based_on ?v . ?v rdf:type ontology:product . ?y rdf:type ontology:product_lining } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:based_on resource:JJ-7 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:product_lining ) ( ontology:product ) } } } } . FILTER ( ?c < ?r ) }
[]
product product lining product
SYSTEM
52
Q20806067 Q18173036 Q18117167 Q17979337 Q18640827 Q18520476 Q19058994 Q1734726 Q1645574 Q21822469 Q971787 Q814074 Q1164636 Q18052258 Q18541957 Q18068961 Q17909228 Q343566 Q9384384 Q1071312 Q18050799 Q746261 Q170484 Q20011145 Q21822472 Q21822475 Q20972134 Q681360 Q18640808 Q7913069 Q21698418 Q21683484 Q18383545 Q2497482 Q18173070 Q18173077 Q3940675 Q21694232 Q18084668 Q19358903 Q19358900 Q18130365 Q20011152 Q21822442 Q18196400 Q18015716 Q18542398 Q18012875 Q21034527 Q18070695 Q21694008 Q21693908
(c(Q3084961)|c(Q2424752),P144,c(Q2424752))
action count
action less
action union
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q3084961
action find_reverse_tuple_counts
relation P144
type Q2424752
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q17417553
relation P144
type Q3084961
type Q2424752
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?v WHERE { { ?y property:P144 ?v . ?y rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q2424752 } UNION { ?y property:P144 ?v . ?v rdf:type ontology:Q2424752 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P144 resource:Q17417553 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?c < ?r ) }
Premier IA Puma HC1 B-17G Flying Fortress EMB 820C Navajo Cessna P337H Pressurized Skymaster F11C-2 Goshawk Ford 4-AT-A AGO C.IV Protocol Buffers RA-3B Skywarrior COMMAND.COM Beep Media Player tambura Bell 47J Ranger Hurricane I S-2E Tracker BT-14 action figure Boeing 747-100 My Little Pony YR-13 Sioux LabVIEW Lego Sunderland III EA-3B Skywarrior TA-3B Skywarrior SSLeay OpenCL Cessna 337B Super Skymaster RV-12 SB2C-4 Helldiver TBD-1 Devastator Q400 OpenWindows SA 330J Puma SA 330L Puma Felixstowe F5L A-1G Skyraider HU-16B Albatross RV-9A RV-8A TO-1D Bird Dog Sunderland V A-3A Skywarrior DL-2A PA-34-220T Seneca III Beaufighter TF X Beech 18S Boeing Model 40A C-1A Trader A-1E Skyraider A-1D Skyraider
52
action count
action less
action union
action find_reverse_tuple_counts
relation based on
type product
type product lining
action find_reverse_tuple_counts
relation based on
type product
type product
action count
action filter_multi_types
action find_reverse
entity JJ-7
relation based on
type product lining
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'based on', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?v WHERE { { ?y property:based_on ?v . ?y rdf:type ontology:product . ?v rdf:type ontology:product } UNION { ?y property:based_on ?v . ?v rdf:type ontology:product . ?y rdf:type ontology:product_lining } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:based_on resource:JJ-7 . { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:product_lining ) ( ontology:product ) } } } } . FILTER ( ?c < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P275
Q2424752 Q312466 Q3251801
USER
How many products are used to protect atmost 4 utility software and GNU/Linuxes against piracy ?
(c(Q312466)|c(Q3251801),P275,c(Q2424752))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P275
type Q2424752
type Q312466
action find_reverse_tuple_counts
relation P275
type Q2424752
type Q3251801
value 4
[[{'concept': 'Q312466'}, {'concept': 'Q3251801'}], 'P275', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?r ) { ( ontology:Q312466 ) ( ontology:Q3251801 ) } . ?q rdf:type ?r } GROUP BY ?h } . FILTER ( ?u <= 4 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation license
type product
type utility software
action find_reverse_tuple_counts
relation license
type product
type GNU/Linux
value 4
[[{'concept': 'utility software'}, {'concept': 'GNU/Linux'}], 'license', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?r ) { ( ontology:utility_software ) ( ontology:GNU/Linux ) } . ?q rdf:type ?r } GROUP BY ?h } . FILTER ( ?u <= 4 ) }
[]
product utility software GNU/Linux
SYSTEM
2
Q1130645 Q1340793
(c(Q312466)|c(Q3251801),P275,c(Q2424752))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P275
type Q2424752
type Q312466
action find_reverse_tuple_counts
relation P275
type Q2424752
type Q3251801
value 4
[ANSWER]
[[{'concept': 'Q312466'}, {'concept': 'Q3251801'}], 'P275', {'concept': 'Q2424752'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?r ) { ( ontology:Q312466 ) ( ontology:Q3251801 ) } . ?q rdf:type ?r } GROUP BY ?h } . FILTER ( ?u <= 4 ) }
open-source software commercial software
2
action count
action atmost
action union
action find_reverse_tuple_counts
relation license
type product
type utility software
action find_reverse_tuple_counts
relation license
type product
type GNU/Linux
value 4
[[{'concept': 'utility software'}, {'concept': 'GNU/Linux'}], 'license', {'concept': 'product'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?r ) { ( ontology:utility_software ) ( ontology:GNU/Linux ) } . ?q rdf:type ?r } GROUP BY ?h } . FILTER ( ?u <= 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q1292279
USER
Which administrative territories come under the supervision of exactly 1 positions or political borders ?
(c(Q4164871)|c(Q1292279),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 1
[[{'concept': 'Q4164871'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:P1001 ?n . ?k rdf:type ontology:Q1292279 . ?n rdf:type ontology:Q15617994 } UNION { ?k property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q4164871 } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 1
[[{'concept': 'position'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:applies_to_jurisdiction ?n . ?k rdf:type ontology:political_border . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:position } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]
designation for an administrative territorial entity position political border
Q1013 Q238 Q921
SYSTEM
Lesotho, San Marino, Brunei
Q4628 Q921 Q1013 Q238 Q223 Q154547 Q1231
(c(Q4164871)|c(Q1292279),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 1
[ANSWERS] come under the supervision of exactly 1 positions or political borders
[[{'concept': 'Q4164871'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:P1001 ?n . ?k rdf:type ontology:Q1292279 . ?n rdf:type ontology:Q15617994 } UNION { ?k property:P1001 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q4164871 } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
Faroe Islands Brunei Lesotho San Marino Greenland duchy Kosovo Region
Lesotho, San Marino and Brunei come under the supervision of exactly 1 positions or political borders
Lesotho San Marino Brunei
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 1
[[{'concept': 'position'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:applies_to_jurisdiction ?n . ?k rdf:type ontology:political_border . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:position } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]