Simple Question (Direct)
Simple Question
Q2881529
P178
Q28640
USER
Who produced Spider-Man and Captain America in Doctor Doom's Revenge ?
(Q2881529,P178,c(Q28640))
action filter_type
action find
entity Q2881529
relation P178
type Q28640
['Q2881529', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { resource:Q2881529 property:P178 ?s . ?s rdf:type ontology:Q28640 }
Spider-Man and Captain America in Doctor Doom's Revenge
action filter_type
action find
entity Spider-Man and Captain America in Doctor Doom's Revenge
relation developer
type profession
["Spider-Man and Captain America in Doctor Doom's Revenge", 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { resource:Spider-Man_and_Captain_America_in_Doctor_Doom's_Revenge property:developer ?s . ?s rdf:type ontology:profession }
[]
profession
Q7134604
SYSTEM
Paragon Software
Q7134604
(Q2881529,P178,c(Q28640))
action filter_type
action find
entity Q2881529
relation P178
type Q28640
[ANSWER] produced Spider-Man and Captain America in Doctor Doom's Revenge
['Q2881529', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { resource:Q2881529 property:P178 ?s . ?s rdf:type ontology:Q28640 }
Paragon Software
Paragon Software produced Spider-Man and Captain America in Doctor Doom's Revenge
Paragon Software
action filter_type
action find
entity Spider-Man and Captain America in Doctor Doom's Revenge
relation developer
type profession
["Spider-Man and Captain America in Doctor Doom's Revenge", 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { resource:Spider-Man_and_Captain_America_in_Doctor_Doom's_Revenge property:developer ?s . ?s rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7134604
P123
Q166142
USER
Which applications produced that profession ?
(c(Q166142),P123,Q7134604)
action filter_type
action find_reverse
entity Q7134604
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q7134604']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q166142 . ?m property:P123 resource:Q7134604 }
Paragon Software
action filter_type
action find_reverse
entity Paragon Software
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Paragon Software']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:application . ?m property:publisher resource:Paragon_Software }
[]
application
Q2234957 Q1751705 Q6808059
SYSTEM
X-Men: Madness in Murderworld, The Amazing Spider-Man, MegaTraveller 1: The Zhodani Conspiracy
Q2234957 Q1751705 Q6808059
(c(Q166142),P123,Q7134604)
action filter_type
action find_reverse
entity Q7134604
relation P123
type Q166142
[ANSWERS] produced that profession
[{'concept': 'Q166142'}, 'P123', 'Q7134604']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q166142 . ?m property:P123 resource:Q7134604 }
X-Men: Madness in Murderworld The Amazing Spider-Man MegaTraveller 1: The Zhodani Conspiracy
X-Men: Madness in Murderworld, The Amazing Spider-Man and MegaTraveller 1: The Zhodani Conspiracy produced that profession
X-Men: Madness in Murderworld The Amazing Spider-Man MegaTraveller 1: The Zhodani Conspiracy
action filter_type
action find_reverse
entity Paragon Software
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Paragon Software']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:application . ?m property:publisher resource:Paragon_Software }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2234957
P306
Q676202
USER
Which system software is linked with X-Men: Madness in Murderworld ?
(Q2234957,P306,c(Q676202))
action filter_type
action find
entity Q2234957
relation P306
type Q676202
['Q2234957', 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q676202 . resource:Q2234957 property:P306 ?n }
X-Men: Madness in Murderworld
action filter_type
action find
entity X-Men: Madness in Murderworld
relation operating system
type system software
['X-Men: Madness in Murderworld', 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:system_software . resource:X-Men:_Madness_in_Murderworld property:operating_system ?n }
[]
system software
Q170434
SYSTEM
DOS
Q170434
(Q2234957,P306,c(Q676202))
action filter_type
action find
entity Q2234957
relation P306
type Q676202
[ANSWER] is linked with X-Men: Madness in Murderworld
['Q2234957', 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q676202 . resource:Q2234957 property:P306 ?n }
DOS
DOS is linked with X-Men: Madness in Murderworld
DOS
action filter_type
action find
entity X-Men: Madness in Murderworld
relation operating system
type system software
['X-Men: Madness in Murderworld', 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:system_software . resource:X-Men:_Madness_in_Murderworld property:operating_system ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2234957
P400
Q676202
USER
What is the computing platform for which X-Men: Madness in Murderworld was specifically designed ?
(Q2234957,P400,c(Q676202))
action filter_type
action find
entity Q2234957
relation P400
type Q676202
['Q2234957', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?n WHERE { resource:Q2234957 property:P400 ?n . ?n rdf:type ontology:Q676202 }
X-Men: Madness in Murderworld
action filter_type
action find
entity X-Men: Madness in Murderworld
relation platform
type system software
['X-Men: Madness in Murderworld', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?n WHERE { resource:X-Men:_Madness_in_Murderworld property:platform ?n . ?n rdf:type ontology:system_software }
[]
system software
Q170434
SYSTEM
DOS
Q170434
(Q2234957,P400,c(Q676202))
action filter_type
action find
entity Q2234957
relation P400
type Q676202
[ANSWER]
['Q2234957', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?n WHERE { resource:Q2234957 property:P400 ?n . ?n rdf:type ontology:Q676202 }
DOS
DOS
DOS
action filter_type
action find
entity X-Men: Madness in Murderworld
relation platform
type system software
['X-Men: Madness in Murderworld', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?n WHERE { resource:X-Men:_Madness_in_Murderworld property:platform ?n . ?n rdf:type ontology:system_software }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18758127
Q676202
USER
And what about Rugby League Live 3?
(Q18758127,P400,c(Q676202))
action filter_type
action find
entity Q18758127
relation P400
type Q676202
['Q18758127', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?q WHERE { resource:Q18758127 property:P400 ?q . ?q rdf:type ontology:Q676202 }
Rugby League Live 3
action filter_type
action find
entity Rugby League Live 3
relation platform
type system software
['Rugby League Live 3', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?q WHERE { resource:Rugby_League_Live_3 property:platform ?q . ?q rdf:type ontology:system_software }
[]
system software
Q1406
SYSTEM
Microsoft Windows
Q1406
(Q18758127,P400,c(Q676202))
action filter_type
action find
entity Q18758127
relation P400
type Q676202
[ANSWER]
['Q18758127', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?q WHERE { resource:Q18758127 property:P400 ?q . ?q rdf:type ontology:Q676202 }
Microsoft Windows
Microsoft Windows
action filter_type
action find
entity Rugby League Live 3
relation platform
type system software
['Rugby League Live 3', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?q WHERE { resource:Rugby_League_Live_3 property:platform ?q . ?q rdf:type ontology:system_software }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P306
Q676202 Q155972 Q341
USER
Which system software are used for around 12 tablet computers and free software ?
(c(Q155972)|c(Q341),P306,c(Q676202))
action approx
action union
action find_reverse_tuple_counts
relation P306
type Q676202
type Q155972
action find_reverse_tuple_counts
relation P306
type Q676202
type Q341
value 12
[[{'concept': 'Q155972'}, {'concept': 'Q341'}], 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:Q341 ) ( ontology:Q155972 ) } . ?t rdf:type ?d } GROUP BY ?i } . FILTER ( ?c = 12 ) }
action approx
action union
action find_reverse_tuple_counts
relation operating system
type system software
type tablet computer
action find_reverse_tuple_counts
relation operating system
type system software
type free software
value 12
[[{'concept': 'tablet computer'}, {'concept': 'free software'}], 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:free_software ) ( ontology:tablet_computer ) } . ?t rdf:type ?d } GROUP BY ?i } . FILTER ( ?c = 12 ) }
[]
system software tablet computer free software
Q14656 Q14646
SYSTEM
Unix-like, Solaris
Q14656 Q14646
(c(Q155972)|c(Q341),P306,c(Q676202))
action approx
action union
action find_reverse_tuple_counts
relation P306
type Q676202
type Q155972
action find_reverse_tuple_counts
relation P306
type Q676202
type Q341
value 12
[ANSWERS] are used for around 12 tablet computers and free software
[[{'concept': 'Q155972'}, {'concept': 'Q341'}], 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:Q341 ) ( ontology:Q155972 ) } . ?t rdf:type ?d } GROUP BY ?i } . FILTER ( ?c = 12 ) }
Unix-like Solaris
Unix-like and Solaris are used for around 12 tablet computers and free software
Unix-like Solaris
action approx
action union
action find_reverse_tuple_counts
relation operating system
type system software
type tablet computer
action find_reverse_tuple_counts
relation operating system
type system software
type free software
value 12
[[{'concept': 'tablet computer'}, {'concept': 'free software'}], 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:free_software ) ( ontology:tablet_computer ) } . ?t rdf:type ?d } GROUP BY ?i } . FILTER ( ?c = 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2234957
P123
Q28640
USER
How many professions published X-Men: Madness in Murderworld ?
(Q2234957,P123,c(Q28640))
action count
action filter_type
action find
entity Q2234957
relation P123
type Q28640
['Q2234957', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q2234957 property:P123 ?z . ?z rdf:type ontology:Q28640 }
X-Men: Madness in Murderworld
action count
action filter_type
action find
entity X-Men: Madness in Murderworld
relation publisher
type profession
['X-Men: Madness in Murderworld', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:X-Men:_Madness_in_Murderworld property:publisher ?z . ?z rdf:type ontology:profession }
[]
profession
SYSTEM
1
Q7134604
(Q2234957,P123,c(Q28640))
action count
action filter_type
action find
entity Q2234957
relation P123
type Q28640
[ANSWER]
['Q2234957', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q2234957 property:P123 ?z . ?z rdf:type ontology:Q28640 }
Paragon Software
1
action count
action filter_type
action find
entity X-Men: Madness in Murderworld
relation publisher
type profession
['X-Men: Madness in Murderworld', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:X-Men:_Madness_in_Murderworld property:publisher ?z . ?z rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7809781
P123
Q28640
USER
And also tell me about Titan Wars?
(Q7809781,P123,c(Q28640))
action count
action filter_type
action find
entity Q7809781
relation P123
type Q28640
['Q7809781', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q7809781 property:P123 ?b . ?b rdf:type ontology:Q28640 }
Titan Wars
action count
action filter_type
action find
entity Titan Wars
relation publisher
type profession
['Titan Wars', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Titan_Wars property:publisher ?b . ?b rdf:type ontology:profession }
[]
profession
SYSTEM
1
Q928122
(Q7809781,P123,c(Q28640))
action count
action filter_type
action find
entity Q7809781
relation P123
type Q28640
[ANSWER]
['Q7809781', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q7809781 property:P123 ?b . ?b rdf:type ontology:Q28640 }
Crystal Dynamics
1
action count
action filter_type
action find
entity Titan Wars
relation publisher
type profession
['Titan Wars', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Titan_Wars property:publisher ?b . ?b rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20125373
Q28640
USER
And also tell me about Gears of War 4?
(Q20125373,P123,c(Q28640))
action count
action filter_type
action find
entity Q20125373
relation P123
type Q28640
['Q20125373', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:Q28640 . resource:Q20125373 property:P123 ?n }
Gears of War 4
action count
action filter_type
action find
entity Gears of War 4
relation publisher
type profession
['Gears of War 4', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:profession . resource:Gears_of_War_4 property:publisher ?n }
[]
profession
SYSTEM
1
(Q20125373,P123,c(Q28640))
action count
action filter_type
action find
entity Q20125373
relation P123
type Q28640
[ANSWER]
['Q20125373', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:Q28640 . resource:Q20125373 property:P123 ?n }
1
action count
action filter_type
action find
entity Gears of War 4
relation publisher
type profession
['Gears of War 4', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:profession . resource:Gears_of_War_4 property:publisher ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20125373
P136
Q483394
USER
What can be considered as category for that application ?
action filter_type
action find
entity Q20125373
relation P136
type Q483394
SELECT DISTINCT ?y WHERE { resource:Q20125373 property:P136 ?y . ?y rdf:type ontology:Q483394 }
Gears of War 4
action filter_type
action find
entity Gears of War 4
relation genre
type genre
SELECT DISTINCT ?y WHERE { resource:Gears_of_War_4 property:genre ?y . ?y rdf:type ontology:genre }
[]
genre
Q380266
SYSTEM
third-person shooter
Q380266
action filter_type
action find
entity Q20125373
relation P136
type Q483394
A [ANSWER] can be considered as category for that application
SELECT DISTINCT ?y WHERE { resource:Q20125373 property:P136 ?y . ?y rdf:type ontology:Q483394 }
third-person shooter
A third-person shooter can be considered as category for that application
third-person shooter
action filter_type
action find
entity Gears of War 4
relation genre
type genre
SELECT DISTINCT ?y WHERE { resource:Gears_of_War_4 property:genre ?y . ?y rdf:type ontology:genre }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P306
Q676202 Q66221 Q68
USER
Which system software manage min number of computer data storages and Computers ?
(c(Q66221)|c(Q68),P306,c(Q676202))
action argmin
action union
action find_reverse_tuple_counts
relation P306
type Q676202
type Q66221
action find_reverse_tuple_counts
relation P306
type Q676202
type Q68
[[{'concept': 'Q66221'}, {'concept': 'Q68'}], 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?b ) { ( ontology:Q66221 ) ( ontology:Q68 ) } . ?g rdf:type ?b } GROUP BY ?p } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P306 ?o . ?o rdf:type ontology:Q676202 . ?c rdf:type ontology:Q66221 } UNION { ?c property:P306 ?o . ?o rdf:type ontology:Q676202 . ?c rdf:type ontology:Q68 } } GROUP BY ?o } } }
action argmin
action union
action find_reverse_tuple_counts
relation operating system
type system software
type computer data storage
action find_reverse_tuple_counts
relation operating system
type system software
type Computer
[[{'concept': 'computer data storage'}, {'concept': 'Computer'}], 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?b ) { ( ontology:computer_data_storage ) ( ontology:Computer ) } . ?g rdf:type ?b } GROUP BY ?p } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:operating_system ?o . ?o rdf:type ontology:system_software . ?c rdf:type ontology:computer_data_storage } UNION { ?c property:operating_system ?o . ?o rdf:type ontology:system_software . ?c rdf:type ontology:Computer } } GROUP BY ?o } } }
[]
system software computer data storage Computer
Q16973176 Q13426339 Q486487
SYSTEM
iOS 8, iOS 7, Windows NT
Q908615 Q2160367 Q5968751 Q14581 Q16973176 Q43627 Q1574899 Q5289795 Q14656 Q11222 Q751067 Q11226 Q486487 Q296818 Q170434 Q11368 Q2712090 Q34264 Q1343889 Q20033286 Q3300674 Q7005105 Q289345 Q1690495 Q473751 Q781443 Q22808416 Q904519 Q204214 Q7072968 Q847593 Q1670222 Q1406 Q20056454 Q589680 Q62563 Q307677 Q483318 Q14646 Q627611 Q3569290 Q4646465 Q429168 Q283705 Q1290448 Q3919641 Q237580 Q3487917 Q4674556 Q13426339 Q2008085 Q1103226 Q338229 Q7039149 Q17048762 Q15628543 Q3382499 Q1970127 Q577303 Q19754851 Q1185591 Q14623435 Q18012472 Q15222398 Q1726891 Q1481861
(c(Q66221)|c(Q68),P306,c(Q676202))
action argmin
action union
action find_reverse_tuple_counts
relation P306
type Q676202
type Q66221
action find_reverse_tuple_counts
relation P306
type Q676202
type Q68
[ANSWERS] manage min number of computer data storages and Computers
[[{'concept': 'Q66221'}, {'concept': 'Q68'}], 'P306', {'concept': 'Q676202'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?b ) { ( ontology:Q66221 ) ( ontology:Q68 ) } . ?g rdf:type ?b } GROUP BY ?p } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P306 ?o . ?o rdf:type ontology:Q676202 . ?c rdf:type ontology:Q66221 } UNION { ?c property:P306 ?o . ?o rdf:type ontology:Q676202 . ?c rdf:type ontology:Q68 } } GROUP BY ?o } } }
Inferno BlackBerry Tablet OS IBM Academic Operating System Darwin iOS 8 Mac OS Atari TOS Domain/OS Unix-like Windows Server 2012 DragonFly BSD Windows Server 2008 R2 Windows NT AROS Research Operating System DOS Unix Sinclair QDOS Berkeley Software Distribution Mac OS 8 iOS 9 AmigaOS 4 NewDos/80 VSE OS/360 FreeDOS MVS Computer System Operating System Mac OS 9 Tru64 UNIX OS/VS2 HP-UX TOPS-10 Microsoft Windows OS X El Capitan Xenix BeOS iOS 6 Symbian Solaris IRIX Windows 8.1 9front Syllable Desktop z/OS KolibriOS iOS 5 OpenSolaris DOS/360 Acorn MOS iOS 7 OS-9 Xbox 360 system software BS2000 Nintendo DSi system software Xbox One system software Wii U system software Pick operating system OpenIndiana AMSDOS Windows Server 2016 Newton OS Nokia Asha platform WatchOS Windows Server 2012 R2 OS/390 TOPS-20
IOS 8, iOS 7 and Windows NT manage min number of computer data storages and Computers
iOS 8 iOS 7 Windows NT
action argmin
action union
action find_reverse_tuple_counts
relation operating system
type system software
type computer data storage
action find_reverse_tuple_counts
relation operating system
type system software
type Computer
[[{'concept': 'computer data storage'}, {'concept': 'Computer'}], 'operating system', {'concept': 'system software'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?b ) { ( ontology:computer_data_storage ) ( ontology:Computer ) } . ?g rdf:type ?b } GROUP BY ?p } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:operating_system ?o . ?o rdf:type ontology:system_software . ?c rdf:type ontology:computer_data_storage } UNION { ?c property:operating_system ?o . ?o rdf:type ontology:system_software . ?c rdf:type ontology:Computer } } GROUP BY ?o } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P277
Q9143 Q676202
USER
How many system software are coded in around the same number of programming languages as that system software ?
(c(Q676202),P277,c(Q9143))
[{'concept': 'Q676202'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q9143 ?y . ?z rdf:type ontology:Q676202 . ?y rdf:type ontology:Q9143 }
[{'concept': 'system software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:programming_language ?y . ?z rdf:type ontology:system_software . ?y rdf:type ontology:programming_language }
[]
programming language system software
Comparative|Count over More/Less|Single entity type|Clarification
Q16973176
SYSTEM
Did you mean iOS 8 ?
(c(Q676202),P277,c(Q9143))
[ANSWER]
[{'concept': 'Q676202'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q9143 ?y . ?z rdf:type ontology:Q676202 . ?y rdf:type ontology:Q9143 }
Did you mean iOS 8 ?
iOS 8
[{'concept': 'system software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:programming_language ?y . ?z rdf:type ontology:system_software . ?y rdf:type ontology:programming_language }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Windows NT. Could you tell me the answer for that?
(c(Q676202),P277,c(Q9143))
Q486487
[{'concept': 'Q676202'}, 'P277', {'concept': 'Q9143'}]
[{'concept': 'system software'}, 'programming language', {'concept': 'programming language'}]
[]
SYSTEM
52
Q819563 Q5968682 Q164036 Q34264 Q1160552 Q3786996 Q4038980 Q486487 Q4053331 Q5183024 Q4052546 Q19961543 Q1684163 Q17027431 Q7490287 Q3300674 Q2579122 Q1046732 Q497014 Q646795 Q473751 Q5968743 Q2560413 Q7242451 Q2140719 Q1413437 Q277515 Q7936631 Q21597544 Q5289795 Q2008085 Q808858 Q23665359 Q770573 Q11368 Q187906 Q1406 Q281222 Q283705 Q739186 Q1290448 Q237580 Q4034611 Q728978 Q4674556 Q209563 Q219528 Q3100483 Q1660989 Q1185591 Q380526 Q1326534
(c(Q676202),P277,c(Q9143))
[ANSWER]
[{'concept': 'Q676202'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q9143 ?y . ?z rdf:type ontology:Q676202 . ?y rdf:type ontology:Q9143 }
Compiz IBM 4690 OS Sawfish Berkeley Software Distribution Metacity House FreeSpacer Windows NT XP Tweaker Cray Time Sharing System ICL VME TempleOS JavaOS PDOS SharpOS AmigaOS 4 Box2D Window Maker CCleaner MorphOS FreeDOS IBM 8100 DPPX FlexOS Prex TRIPOS LUnix 9wm Visualization Library MIDIbox Operating System Domain/OS OS-9 Barrelfish Redox MINIX 3 Unix MINIX Microsoft Windows ARX z/OS Multics KolibriOS OpenSolaris Autoruns Openbox Acorn MOS Berkeley Open Infrastructure for Network Computing CP/M Genera Incompatible Timesharing System Newton OS AmigaOS Burroughs MCP
52
[{'concept': 'system software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:programming_language ?y . ?z rdf:type ontology:system_software . ?y rdf:type ontology:programming_language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q14646
P306
Q1668024 Q271680
USER
How many services on internet or software frameworks have Solaris as the operating system ?
(c(Q1668024),P306,Q14646) (c(Q271680),P306,Q14646)
action count
action union
action filter_type
action find_reverse
entity Q14646
relation P306
type Q1668024
action filter_type
action find_reverse
entity Q14646
relation P306
type Q271680
[{'concept': 'Q1668024'}, 'P306', 'Q14646'] [{'concept': 'Q271680'}, 'P306', 'Q14646']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { ?e property:P306 resource:Q14646 . ?e rdf:type ontology:Q1668024 } UNION { ?e property:P306 resource:Q14646 . ?e rdf:type ontology:Q271680 } }
Solaris
action count
action union
action filter_type
action find_reverse
entity Solaris
relation operating system
type service on internet
action filter_type
action find_reverse
entity Solaris
relation operating system
type software framework
[{'concept': 'service on internet'}, 'operating system', 'Solaris'] [{'concept': 'software framework'}, 'operating system', 'Solaris']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { ?e property:operating_system resource:Solaris . ?e rdf:type ontology:service_on_internet } UNION { ?e property:operating_system resource:Solaris . ?e rdf:type ontology:software_framework } }
[]
service on internet software framework
SYSTEM
2
Q756100 Q71380
(c(Q1668024),P306,Q14646) (c(Q271680),P306,Q14646)
action count
action union
action filter_type
action find_reverse
entity Q14646
relation P306
type Q1668024
action filter_type
action find_reverse
entity Q14646
relation P306
type Q271680
[ANSWER]
[{'concept': 'Q1668024'}, 'P306', 'Q14646'] [{'concept': 'Q271680'}, 'P306', 'Q14646']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { ?e property:P306 resource:Q14646 . ?e rdf:type ontology:Q1668024 } UNION { ?e property:P306 resource:Q14646 . ?e rdf:type ontology:Q271680 } }
Node.js Pidgin
2
action count
action union
action filter_type
action find_reverse
entity Solaris
relation operating system
type service on internet
action filter_type
action find_reverse
entity Solaris
relation operating system
type software framework
[{'concept': 'service on internet'}, 'operating system', 'Solaris'] [{'concept': 'software framework'}, 'operating system', 'Solaris']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { ?e property:operating_system resource:Solaris . ?e rdf:type ontology:service_on_internet } UNION { ?e property:operating_system resource:Solaris . ?e rdf:type ontology:software_framework } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q486487
P277
Q629206
USER
Which computer languages are used to create Windows NT ?
(Q486487,P277,c(Q629206))
action filter_type
action find
entity Q486487
relation P277
type Q629206
['Q486487', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?l WHERE { resource:Q486487 property:P277 ?l . ?l rdf:type ontology:Q629206 }
Windows NT
action filter_type
action find
entity Windows NT
relation programming language
type computer language
['Windows NT', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?l WHERE { resource:Windows_NT property:programming_language ?l . ?l rdf:type ontology:computer_language }
[]
computer language
Q2407 Q15777 Q165436
SYSTEM
C++, C, assembly language
Q2407 Q15777 Q165436
(Q486487,P277,c(Q629206))
action filter_type
action find
entity Q486487
relation P277
type Q629206
C [ANSWERS] are used to create Windows NT
['Q486487', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?l WHERE { resource:Q486487 property:P277 ?l . ?l rdf:type ontology:Q629206 }
C++ C assembly language
C C++, C and assembly language are used to create Windows NT
C++ C assembly language
action filter_type
action find
entity Windows NT
relation programming language
type computer language
['Windows NT', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?l WHERE { resource:Windows_NT property:programming_language ?l . ?l rdf:type ontology:computer_language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14643
Q629206
USER
And what about Mach?
(Q14643,P277,c(Q629206))
action filter_type
action find
entity Q14643
relation P277
type Q629206
['Q14643', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?t WHERE { resource:Q14643 property:P277 ?t . ?t rdf:type ontology:Q629206 }
Mach
action filter_type
action find
entity Mach
relation programming language
type computer language
['Mach', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?t WHERE { resource:Mach property:programming_language ?t . ?t rdf:type ontology:computer_language }
[]
computer language
Q15777 Q165436
SYSTEM
C, assembly language
Q15777 Q165436
(Q14643,P277,c(Q629206))
action filter_type
action find
entity Q14643
relation P277
type Q629206
[ANSWERS]
['Q14643', 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ?t WHERE { resource:Q14643 property:P277 ?t . ?t rdf:type ontology:Q629206 }
C assembly language
C assembly language
action filter_type
action find
entity Mach
relation programming language
type computer language
['Mach', 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ?t WHERE { resource:Mach property:programming_language ?t . ?t rdf:type ontology:computer_language }
[]