Simple Question (Direct)
Simple Question
Q17439649
P407
Q34770
USER
Which language is SCP Foundation in ?
(Q17439649,P407,c(Q34770))
action filter_type
action find
entity Q17439649
relation P407
type Q34770
['Q17439649', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q17439649 property:P407 ?y . ?y rdf:type ontology:Q34770 }
SCP Foundation
action filter_type
action find
entity SCP Foundation
relation language of work or name
type language
['SCP Foundation', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:SCP_Foundation property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q17439649,P407,c(Q34770))
action filter_type
action find
entity Q17439649
relation P407
type Q34770
Which language is SCP Foundation in
['Q17439649', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q17439649 property:P407 ?y . ?y rdf:type ontology:Q34770 }
English
Which language is SCP Foundation in
English
action filter_type
action find
entity SCP Foundation
relation language of work or name
type language
['SCP Foundation', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:SCP_Foundation property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17439649
P275
Q3943414
USER
Which free software license is used to prevent the piracy of that text ?
(Q1860,P275,c(Q3943414))
action filter_type
action find
entity Q17439649
relation P275
type Q3943414
['Q1860', 'P275', {'concept': 'Q3943414'}]
SELECT DISTINCT ?e WHERE { resource:Q17439649 property:P275 ?e . ?e rdf:type ontology:Q3943414 }
SCP Foundation
action filter_type
action find
entity SCP Foundation
relation license
type free software license
['English', 'license', {'concept': 'free software license'}]
SELECT DISTINCT ?e WHERE { resource:SCP_Foundation property:license ?e . ?e rdf:type ontology:free_software_license }
[]
free software license
Q14946043
SYSTEM
Creative Commons Attribution-ShareAlike 3.0 Unported
Q14946043
(Q1860,P275,c(Q3943414))
action filter_type
action find
entity Q17439649
relation P275
type Q3943414
[ANSWER] is used to prevent the piracy of that text
['Q1860', 'P275', {'concept': 'Q3943414'}]
SELECT DISTINCT ?e WHERE { resource:Q17439649 property:P275 ?e . ?e rdf:type ontology:Q3943414 }
Creative Commons Attribution-ShareAlike 3.0 Unported
Creative Commons Attribution-ShareAlike 3.0 Unported is used to prevent the piracy of that text
Creative Commons Attribution-ShareAlike 3.0 Unported
action filter_type
action find
entity SCP Foundation
relation license
type free software license
['English', 'license', {'concept': 'free software license'}]
SELECT DISTINCT ?e WHERE { resource:SCP_Foundation property:license ?e . ?e rdf:type ontology:free_software_license }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14946043 Q311550
P275
Q8513
USER
Is eXist safeguarded against piracy with that free software license ?
(Q311550,P275,Q14946043)
action is_in
entity Q311550
action find
entity Q14946043
relation P275
['Q311550', 'P275', 'Q14946043']
ASK WHERE { resource:Q14946043 property:P275 resource:Q311550 }
Creative Commons Attribution-ShareAlike 3.0 Unported eXist
action is_in
entity eXist
action find
entity Creative Commons Attribution-ShareAlike 3.0 Unported
relation license
['eXist', 'license', 'Creative Commons Attribution-ShareAlike 3.0 Unported']
ASK WHERE { resource:Creative_Commons_Attribution-ShareAlike_3.0_Unported property:license resource:eXist }
[]
database
SYSTEM
NO
(Q311550,P275,Q14946043)
action is_in
entity Q311550
action find
entity Q14946043
relation P275
[ANSWER]
['Q311550', 'P275', 'Q14946043']
ASK WHERE { resource:Q14946043 property:P275 resource:Q311550 }
No
action is_in
entity eXist
action find
entity Creative Commons Attribution-ShareAlike 3.0 Unported
relation license
['eXist', 'license', 'Creative Commons Attribution-ShareAlike 3.0 Unported']
ASK WHERE { resource:Creative_Commons_Attribution-ShareAlike_3.0_Unported property:license resource:eXist }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q234460 Q234460 Q11424
USER
Which texts inspired approximately 1 texts and films ?
(c(Q234460)|c(Q11424),P941,c(Q234460))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q234460
action find_reverse_tuple_counts
relation P941
type Q234460
type Q11424
value 1
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ontology:Q11424 . ?q rdf:type ontology:Q234460 . ?g property:P941 ?q } UNION { ?q rdf:type ontology:Q234460 . ?g rdf:type ontology:Q234460 . ?g property:P941 ?q } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type text
action find_reverse_tuple_counts
relation inspired by
type text
type film
value 1
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ontology:film . ?q rdf:type ontology:text . ?g property:inspired_by ?q } UNION { ?q rdf:type ontology:text . ?g rdf:type ontology:text . ?g property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
[]
text text film
Q9184 Q8065468 Q918060
SYSTEM
Genesis, The Adventures of Pinocchio, The Fox and the Hound
Q918060 Q16639772 Q9184 Q8065468 Q1136104 Q1155892 Q27134782 Q2002867 Q27104919
(c(Q234460)|c(Q11424),P941,c(Q234460))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q234460
action find_reverse_tuple_counts
relation P941
type Q234460
type Q11424
value 1
[ANSWERS] inspired approximately 1 texts and films
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ontology:Q11424 . ?q rdf:type ontology:Q234460 . ?g property:P941 ?q } UNION { ?q rdf:type ontology:Q234460 . ?g rdf:type ontology:Q234460 . ?g property:P941 ?q } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
The Fox and the Hound The Rescuers Genesis The Adventures of Pinocchio Le Morte d'Arthur Ab urbe condita libri The Beauty Sleeping in the Wood Sun, Moon, and Talia Happy Dan, The Whistling Dog
Genesis, The Adventures of Pinocchio and The Fox and the Hound inspired approximately 1 texts and films
Genesis The Adventures of Pinocchio The Fox and the Hound
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type text
action find_reverse_tuple_counts
relation inspired by
type text
type film
value 1
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ontology:film . ?q rdf:type ontology:text . ?g property:inspired_by ?q } UNION { ?q rdf:type ontology:text . ?g rdf:type ontology:text . ?g property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9184
P674
Q502895
USER
How many people appear as a character in Genesis ?
(Q9184,P674,c(Q502895))
action count
action filter_type
action find
entity Q9184
relation P674
type Q502895
['Q9184', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q9184 property:P674 ?c . ?c rdf:type ontology:Q502895 }
Genesis
action count
action filter_type
action find
entity Genesis
relation characters
type common name
['Genesis', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Genesis property:characters ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q830183 Q107626 Q205365 Q200902 Q313421 Q9181 Q6323112 Q671872 Q200637 Q81422 Q460763 Q229702 Q145746
(Q9184,P674,c(Q502895))
action count
action filter_type
action find
entity Q9184
relation P674
type Q502895
[ANSWER]
['Q9184', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q9184 property:P674 ?c . ?c rdf:type ontology:Q502895 }
Eve Seth Cain Shem Abel Abraham Nahor Isaac Japheth Noah Benjamin Ham Joseph
13
action count
action filter_type
action find
entity Genesis
relation characters
type common name
['Genesis', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Genesis property:characters ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q40185
P674
Q502895
USER
And also tell me about The Divine Comedy?
(Q40185,P674,c(Q502895))
action count
action filter_type
action find
entity Q40185
relation P674
type Q502895
['Q40185', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q40185 property:P674 ?l . ?l rdf:type ontology:Q502895 }
The Divine Comedy
action count
action filter_type
action find
entity The Divine Comedy
relation characters
type common name
['The Divine Comedy', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:The_Divine_Comedy property:characters ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
105
Q33923 Q2521377 Q1398 Q9458 Q207370 Q367387 Q1541 Q2054 Q170335 Q166876 Q48305 Q172916 Q2755054 Q244912 Q1067 Q7198 Q188646 Q8778 Q1133523 Q6197 Q172248 Q223440 Q9077 Q134646 Q188411 Q83041 Q43706 Q8747 Q118081 Q36724 Q1093574 Q9438 Q83375 Q549041 Q34943 Q170859 Q81018 Q232913 Q8011 Q5264 Q60059 Q8018 Q859 Q635 Q41370 Q152717 Q8409 Q203792 Q451516 Q426862 Q154938 Q359237 Q102851 Q1048 Q706003 Q6691 Q59180 Q207535 Q243203 Q130221 Q4344 Q5254 Q39837 Q172353 Q36303 Q258369 Q676555 Q43939 Q131463 Q41155 Q355903 Q1425 Q310686 Q316876 Q267733 Q8581 Q913 Q44265 Q785250 Q43746 Q40662 Q317554 Q205365 Q448586 Q211246 Q315347 Q234533 Q366270 Q41980 Q41866 Q332750 Q111559 Q297776 Q199991 Q132786 Q2254800 Q665165 Q2721219 Q76721 Q466048 Q247137 Q160441 Q7734 Q311456 Q868
(Q40185,P674,c(Q502895))
action count
action filter_type
action find
entity Q40185
relation P674
type Q502895
[ANSWER]
['Q40185', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q40185 property:P674 ?l . ?l rdf:type ontology:Q502895 }
Peter Ottaviano degli Ubaldini Virgil Muhammad Gaius Cassius Longinus William II of Sicily Cicero Seneca Constance, Queen of Sicily Isidore of Seville Euripides John XXI Guido I da Montefeltro Hezekiah Dante Alighieri Ovid Lucan Galen Jephthah Horace Marcus Junius Brutus Lucius Junius Brutus Moses Boniface VIII Bernard of Clairvaux Anaxagoras John Chrysostom Euclid Pope Celestine V Attila the Hun Ruggieri degli Ubaldini Thomas Aquinas Empedocles Graciano Ptolemy Nicholas III Judas Iscariot Beatrice Portinari Avicenna Hippocrates Albertus Magnus Augustine of Hippo Plato Cleopatra David Henry VII, Holy Roman Emperor Alexander the Great Robert Guiscard Gaius Scribonius Curio Guido Bonatti Bede Charles Martel of Anjou Boethius Julius Caesar Ugolino della Gherardesca Homer Diogenes of Sinope Roland Publius Papinius Statius Frederick II, Holy Roman Emperor Arnaut Daniel Folquet de Marselha Averroes Pyrrhus Thales Peter Damian Francis of Assisi Anselm of Canterbury Clement V Heraclitus Siger of Brabant Trajan Dionysius the Areopagite Guido Cavalcanti Thaïs Saladin Socrates Benedict of Nursia Petrus Comestor Bonaventure John the Baptist Hugh of Saint Victor Cain Fra Dolcino Caiaphas Peter Lombard Cornelia Africana Guido Guinizelli Democritus Justinian I Dionysius I of Syracuse Judah Maccabee Pedanius Dioscorides Joachim of Fiore Anastasius II Cunizza da Romano Sordello Farinata degli Uberti Godfrey of Bouillon Francesca da Rimini Aelius Donatus Rabanus Maurus Joshua Orosius Aristotle
105
action count
action filter_type
action find
entity The Divine Comedy
relation characters
type common name
['The Divine Comedy', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:The_Divine_Comedy property:characters ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5287908
Q502895
USER
And also tell me about Dodger?
(Q5287908,P674,c(Q502895))
action count
action filter_type
action find
entity Q5287908
relation P674
type Q502895
['Q5287908', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q5287908 property:P674 ?t . ?t rdf:type ontology:Q502895 }
Dodger
action count
action filter_type
action find
entity Dodger
relation characters
type common name
['Dodger', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Dodger property:characters ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
7
(Q5287908,P674,c(Q502895))
action count
action filter_type
action find
entity Q5287908
relation P674
type Q502895
[ANSWER]
['Q5287908', 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q5287908 property:P674 ?t . ?t rdf:type ontology:Q502895 }
7
action count
action filter_type
action find
entity Dodger
relation characters
type common name
['Dodger', 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Dodger property:characters ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q234460 Q502895
USER
Which people appear in exactly 3 texts ?
(c(Q502895),P1441,c(Q234460))
action equal
action find_tuple_counts
relation P1441
type Q502895
type Q234460
value 3
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?q ) WHERE { ?c property:P1441 ?j . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q234460 } GROUP BY ?c } . FILTER ( ?q = 3 ) }
action equal
action find_tuple_counts
relation present in work
type common name
type text
value 3
[{'concept': 'common name'}, 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?q ) WHERE { ?c property:present_in_work ?j . ?c rdf:type ontology:common_name . ?j rdf:type ontology:text } GROUP BY ?c } . FILTER ( ?q = 3 ) }
[]
text common name
Q41370 Q81422
SYSTEM
David, Noah
Q41370 Q81422
(c(Q502895),P1441,c(Q234460))
action equal
action find_tuple_counts
relation P1441
type Q502895
type Q234460
value 3
[ANSWERS] appear in exactly 3 texts
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?q ) WHERE { ?c property:P1441 ?j . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q234460 } GROUP BY ?c } . FILTER ( ?q = 3 ) }
David Noah
David and Noah appear in exactly 3 texts
David Noah
action equal
action find_tuple_counts
relation present in work
type common name
type text
value 3
[{'concept': 'common name'}, 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?q ) WHERE { ?c property:present_in_work ?j . ?c rdf:type ontology:common_name . ?j rdf:type ontology:text } GROUP BY ?c } . FILTER ( ?q = 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q14946043
P275 P364
Q2342494
USER
Which collectables are protected under Creative Commons Attribution-ShareAlike 3.0 Unported and have English as their original language of creation ?
AND((c(Q2342494),P275,Q14946043), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q14946043
relation P275
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P275', 'Q14946043'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?w WHERE { ?w property:P275 resource:Q14946043 . ?w property:P364 resource:Q1860 . ?w rdf:type ontology:Q2342494 }
English Creative Commons Attribution-ShareAlike 3.0 Unported
action filter_type
action intersection
action find_reverse
entity Creative Commons Attribution-ShareAlike 3.0 Unported
relation license
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'license', 'Creative Commons Attribution-ShareAlike 3.0 Unported'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?w WHERE { ?w property:license resource:Creative_Commons_Attribution-ShareAlike_3.0_Unported . ?w property:original_language_of_work resource:English . ?w rdf:type ontology:collectable }
[]
collectable
Q27777485
SYSTEM
Open Digital Projects: NMW Collections and Wikipedia
Q27777485
AND((c(Q2342494),P275,Q14946043), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q14946043
relation P275
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWER] is protected under Creative Commons Attribution-ShareAlike 3.0 Unported and have English as their original language of creation
{'AND': [[{'concept': 'Q2342494'}, 'P275', 'Q14946043'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?w WHERE { ?w property:P275 resource:Q14946043 . ?w property:P364 resource:Q1860 . ?w rdf:type ontology:Q2342494 }
Open Digital Projects: NMW Collections and Wikipedia
Open Digital Projects: NMW Collections and Wikipedia is protected under Creative Commons Attribution-ShareAlike 3.0 Unported and have English as their original language of creation
Open Digital Projects: NMW Collections and Wikipedia
action filter_type
action intersection
action find_reverse
entity Creative Commons Attribution-ShareAlike 3.0 Unported
relation license
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'license', 'Creative Commons Attribution-ShareAlike 3.0 Unported'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?w WHERE { ?w property:license resource:Creative_Commons_Attribution-ShareAlike_3.0_Unported . ?w property:original_language_of_work resource:English . ?w rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1453575 Q311550
P277
Q188267
USER
Which programming paradigms are used to code eXist or Freemake Video Converter ?
OR((Q311550,P277,c(Q188267)), (Q1453575,P277,c(Q188267)))
action filter_type
action union
action find
entity Q311550
relation P277
action find
entity Q1453575
relation P277
type Q188267
{'OR': [['Q311550', 'P277', {'concept': 'Q188267'}], ['Q1453575', 'P277', {'concept': 'Q188267'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:P277 ?j . VALUES ( ?a ) { ( resource:Q311550 ) ( resource:Q1453575 ) } } . ?j rdf:type ontology:Q188267 }
Freemake Video Converter eXist
action filter_type
action union
action find
entity eXist
relation programming language
action find
entity Freemake Video Converter
relation programming language
type programming paradigm
{'OR': [['eXist', 'programming language', {'concept': 'programming paradigm'}], ['Freemake Video Converter', 'programming language', {'concept': 'programming paradigm'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:programming_language ?j . VALUES ( ?a ) { ( resource:eXist ) ( resource:Freemake_Video_Converter ) } } . ?j rdf:type ontology:programming_paradigm }
[]
programming paradigm
Q2370 Q251
SYSTEM
C♯, Java
Q2370 Q251
OR((Q311550,P277,c(Q188267)), (Q1453575,P277,c(Q188267)))
action filter_type
action union
action find
entity Q311550
relation P277
action find
entity Q1453575
relation P277
type Q188267
[ANSWERS] are used to code eXist or Freemake Video Converter
{'OR': [['Q311550', 'P277', {'concept': 'Q188267'}], ['Q1453575', 'P277', {'concept': 'Q188267'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:P277 ?j . VALUES ( ?a ) { ( resource:Q311550 ) ( resource:Q1453575 ) } } . ?j rdf:type ontology:Q188267 }
C♯ Java
C♯ and Java are used to code eXist or Freemake Video Converter
C♯ Java
action filter_type
action union
action find
entity eXist
relation programming language
action find
entity Freemake Video Converter
relation programming language
type programming paradigm
{'OR': [['eXist', 'programming language', {'concept': 'programming paradigm'}], ['Freemake Video Converter', 'programming language', {'concept': 'programming paradigm'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:programming_language ?j . VALUES ( ?a ) { ( resource:eXist ) ( resource:Freemake_Video_Converter ) } } . ?j rdf:type ontology:programming_paradigm }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2370
P737
Q629206
USER
Who were that programming paradigm an influence for ?
(c(Q629206),P737,Q2370)
action filter_type
action find_reverse
entity Q2370
relation P737
type Q629206
[{'concept': 'Q629206'}, 'P737', 'Q2370']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q629206 . ?l property:P737 resource:Q2370 }
C♯
action filter_type
action find_reverse
entity C♯
relation influenced by
type computer language
[{'concept': 'computer language'}, 'influenced by', 'C♯']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:computer_language . ?l property:influenced_by resource:C♯ }
[]
computer language
Clarification for simple ques.
Q251
SYSTEM
Did you mean Java ?
Q2370 Q251
(c(Q629206),P737,Q2370) (c(Q629206),P737,Q251)
[ANSWER]
[{'concept': 'Q629206'}, 'P737', 'Q2370'] [{'concept': 'Q629206'}, 'P737', 'Q251']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q629206 . ?l property:P737 resource:Q2370 }
C♯ Java
Did you mean Java ?
Java
[{'concept': 'computer language'}, 'influenced by', 'C♯'] [{'concept': 'computer language'}, 'influenced by', 'Java']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:computer_language . ?l property:influenced_by resource:C♯ }
[]
Simple Question (Coreferenced)
USER
No, I meant C♯. Could you tell me the answer for that?
(c(Q629206),P737,Q2370)
Q2370
[{'concept': 'Q629206'}, 'P737', 'Q2370']
[{'concept': 'computer language'}, 'influenced by', 'C♯']
[]
Q575650 Q20080327 Q17118377
SYSTEM
Rust, Nim, Swift
Q575650 Q20080327 Q1138939 Q15971618 Q17118377
(c(Q629206),P737,Q2370)
action filter_type
action find_reverse
entity Q2370
relation P737
type Q629206
[ANSWERS] were that programming paradigm an influence for
[{'concept': 'Q629206'}, 'P737', 'Q2370']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q629206 . ?l property:P737 resource:Q2370 }
Rust Nim Vala Hack Swift
Rust, Nim and Swift were that programming paradigm an influence for
Rust Nim Swift
action filter_type
action find_reverse
entity C♯
relation influenced by
type computer language
[{'concept': 'computer language'}, 'influenced by', 'C♯']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:computer_language . ?l property:influenced_by resource:C♯ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q251 Q2370
P737
Q629206
USER
How many computer languages acted as an inflence on Java and C♯ ?
(Q251,P737,c(Q629206)) (Q2370,P737,c(Q629206))
action count
action intersection
action filter_type
action find
entity Q251
relation P737
type Q629206
action filter_type
action find
entity Q2370
relation P737
type Q629206
['Q251', 'P737', {'concept': 'Q629206'}] ['Q2370', 'P737', {'concept': 'Q629206'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q251 property:P737 ?g . ?g rdf:type ontology:Q629206 . resource:Q2370 property:P737 ?g . ?g rdf:type ontology:Q629206 }
Java C♯
action count
action intersection
action filter_type
action find
entity Java
relation influenced by
type computer language
action filter_type
action find
entity C♯
relation influenced by
type computer language
['Java', 'influenced by', {'concept': 'computer language'}] ['C♯', 'influenced by', {'concept': 'computer language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Java property:influenced_by ?g . ?g rdf:type ontology:computer_language . resource:C♯ property:influenced_by ?g . ?g rdf:type ontology:computer_language }
[]
computer language
SYSTEM
2
Q2407 Q15777
(Q251,P737,c(Q629206)) (Q2370,P737,c(Q629206))
action count
action intersection
action filter_type
action find
entity Q251
relation P737
type Q629206
action filter_type
action find
entity Q2370
relation P737
type Q629206
[ANSWER]
['Q251', 'P737', {'concept': 'Q629206'}] ['Q2370', 'P737', {'concept': 'Q629206'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q251 property:P737 ?g . ?g rdf:type ontology:Q629206 . resource:Q2370 property:P737 ?g . ?g rdf:type ontology:Q629206 }
C++ C
2
action count
action intersection
action filter_type
action find
entity Java
relation influenced by
type computer language
action filter_type
action find
entity C♯
relation influenced by
type computer language
['Java', 'influenced by', {'concept': 'computer language'}] ['C♯', 'influenced by', {'concept': 'computer language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Java property:influenced_by ?g . ?g rdf:type ontology:computer_language . resource:C♯ property:influenced_by ?g . ?g rdf:type ontology:computer_language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q251 Q161053
P277
Q7397
USER
How many software are programmed using Java and Ruby ?
(c(Q7397),P277,Q251) (c(Q7397),P277,Q161053)
action count
action intersection
action filter_type
action find_reverse
entity Q251
relation P277
type Q7397
action filter_type
action find_reverse
entity Q161053
relation P277
type Q7397
[{'concept': 'Q7397'}, 'P277', 'Q251'] [{'concept': 'Q7397'}, 'P277', 'Q161053']
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:P277 resource:Q251 . ?h rdf:type ontology:Q7397 . ?h property:P277 resource:Q161053 . ?h rdf:type ontology:Q7397 }
Java Ruby
action count
action intersection
action filter_type
action find_reverse
entity Java
relation programming language
type software
action filter_type
action find_reverse
entity Ruby
relation programming language
type software
[{'concept': 'software'}, 'programming language', 'Java'] [{'concept': 'software'}, 'programming language', 'Ruby']
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:programming_language resource:Java . ?h rdf:type ontology:software . ?h property:programming_language resource:Ruby . ?h rdf:type ontology:software }
[]
software
SYSTEM
2
Q2190596 Q1164484
(c(Q7397),P277,Q251) (c(Q7397),P277,Q161053)
action count
action intersection
action filter_type
action find_reverse
entity Q251
relation P277
type Q7397
action filter_type
action find_reverse
entity Q161053
relation P277
type Q7397
[ANSWER]
[{'concept': 'Q7397'}, 'P277', 'Q251'] [{'concept': 'Q7397'}, 'P277', 'Q161053']
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:P277 resource:Q251 . ?h rdf:type ontology:Q7397 . ?h property:P277 resource:Q161053 . ?h rdf:type ontology:Q7397 }
Tuxedo OpenNebula
2
action count
action intersection
action filter_type
action find_reverse
entity Java
relation programming language
type software
action filter_type
action find_reverse
entity Ruby
relation programming language
type software
[{'concept': 'software'}, 'programming language', 'Java'] [{'concept': 'software'}, 'programming language', 'Ruby']
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h property:programming_language resource:Java . ?h rdf:type ontology:software . ?h property:programming_language resource:Ruby . ?h rdf:type ontology:software }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P277
Q629206 Q40056 Q341
USER
How many computer languages are used to create atmost 103 computer programs and free software ?
(c(Q40056)|c(Q341),P277,c(Q629206))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P277
type Q629206
type Q40056
action find_reverse_tuple_counts
relation P277
type Q629206
type Q341
value 103
[[{'concept': 'Q40056'}, {'concept': 'Q341'}], 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { FILTER ( ?m <= 103 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?i WHERE { VALUES ( ?u ) { ( ontology:Q40056 ) ( ontology:Q341 ) } . ?k rdf:type ?u } GROUP BY ?i } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation programming language
type computer language
type computer program
action find_reverse_tuple_counts
relation programming language
type computer language
type free software
value 103
[[{'concept': 'computer program'}, {'concept': 'free software'}], 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { FILTER ( ?m <= 103 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?i WHERE { VALUES ( ?u ) { ( ontology:computer_program ) ( ontology:free_software ) } . ?k rdf:type ?u } GROUP BY ?i } }
[]
computer language computer program free software
SYSTEM
70
Q234657 Q51798 Q4050584 Q7388288 Q188531 Q319268 Q165436 Q620464 Q978185 Q961543 Q17118377 Q20870804 Q1138939 Q37227 Q83303 Q223433 Q212587 Q11605828 Q188436 Q81571 Q166074 Q3816639 Q42478 Q42979 Q849146 Q47607 Q22696099 Q504453 Q2877155 Q22695923 Q1275955 Q2438046 Q810009 Q1141484 Q3493421 Q1106819 Q2160963 Q460584 Q575650 Q3411311 Q2115 Q259138 Q5301 Q3317751 Q685820 Q8811 Q2407 Q34010 Q1486175 Q959549 Q187432 Q6953629 Q975594 Q334879 Q972868 Q2044345 Q1691212 Q1334586 Q22709094 Q1942241 Q132874 Q50077 Q762464 Q1882973 Q2613697 Q187560 Q131140 Q539268 Q380523 Q2378
(c(Q40056)|c(Q341),P277,c(Q629206))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P277
type Q629206
type Q40056
action find_reverse_tuple_counts
relation P277
type Q629206
type Q341
value 103
[ANSWER]
[[{'concept': 'Q40056'}, {'concept': 'Q341'}], 'P277', {'concept': 'Q629206'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { FILTER ( ?m <= 103 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?i WHERE { VALUES ( ?u ) { ( ontology:Q40056 ) ( ontology:Q341 ) } . ?k rdf:type ?u } GROUP BY ?i } }
ActionScript Clojure THINK C S3 Objective-C D assembly language G-code TypeScript QML Swift RPython Vala Go Fortran PL/I OCaml BlitzMax ALGOL Pascal XHTML Kotlin Perl BASIC Common Lisp SQL Programming Language for Distributed Systems Groovy BLISS PL/X Executive Systems Problem Oriented Language Arc BCPL Web Spice Lisp CoffeeScript PL/M Scala Rust Pyrex XML ECMAScript TeX Mocklisp REXX HTML C++ Haskell GNU Assembler shell script scripting language NEWP Cython Erlang Accent PL/pgSQL XML Binding Language Emacs Lisp HolyC Modula-2+ Lisp Visual Basic .NET Squeak Maclisp Julia Scheme COBOL Inform ABAP Visual Basic
70
action count
action atmost
action union
action find_reverse_tuple_counts
relation programming language
type computer language
type computer program
action find_reverse_tuple_counts
relation programming language
type computer language
type free software
value 103
[[{'concept': 'computer program'}, {'concept': 'free software'}], 'programming language', {'concept': 'computer language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { FILTER ( ?m <= 103 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?i WHERE { VALUES ( ?u ) { ( ontology:computer_program ) ( ontology:free_software ) } . ?k rdf:type ?u } GROUP BY ?i } }
[]