Simple Question (Direct)
Simple Question
Q1212160
P921
Q198
USER
What topic was discussed in Gravity's Rainbow ?
(Q1212160,P921,c(Q198))
action filter_type
action find
entity Q1212160
relation P921
type Q198
['Q1212160', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q198 . resource:Q1212160 property:P921 ?f }
Gravity's Rainbow
action filter_type
action find
entity Gravity's Rainbow
relation main subject
type war
["Gravity's Rainbow", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:war . resource:Gravity's_Rainbow property:main_subject ?f }
[]
war
Q362
SYSTEM
World War II
Q362
(Q1212160,P921,c(Q198))
action filter_type
action find
entity Q1212160
relation P921
type Q198
In [ANSWER] was discussed in Gravity's Rainbow
['Q1212160', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q198 . resource:Q1212160 property:P921 ?f }
World War II
In World War II was discussed in Gravity's Rainbow
World War II
action filter_type
action find
entity Gravity's Rainbow
relation main subject
type war
["Gravity's Rainbow", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:war . resource:Gravity's_Rainbow property:main_subject ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q39546 Q5962346 Q2342494
USER
How many collectables express atleast 1 tools and classification schemes ?
(c(Q2342494),P180,c(Q39546)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q2342494
type Q39546
action find_tuple_counts
relation P180
type Q2342494
type Q5962346
value 1
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q39546'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?w WHERE { { ?w property:P180 ?a . ?w rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q39546 } UNION { ?w property:P180 ?a . ?w rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q5962346 } } GROUP BY ?w } . FILTER ( ?f >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation depicts
type collectable
type tool
action find_tuple_counts
relation depicts
type collectable
type classification scheme
value 1
[{'concept': 'collectable'}, 'depicts', [{'concept': 'tool'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?w WHERE { { ?w property:depicts ?a . ?w rdf:type ontology:collectable . ?a rdf:type ontology:tool } UNION { ?w property:depicts ?a . ?w rdf:type ontology:collectable . ?a rdf:type ontology:classification_scheme } } GROUP BY ?w } . FILTER ( ?f >= 1 ) }
[]
tool classification scheme collectable
SYSTEM
2
Q15060469 Q688996
(c(Q2342494),P180,c(Q39546)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q2342494
type Q39546
action find_tuple_counts
relation P180
type Q2342494
type Q5962346
value 1
[ANSWER]
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q39546'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?w WHERE { { ?w property:P180 ?a . ?w rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q39546 } UNION { ?w property:P180 ?a . ?w rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q5962346 } } GROUP BY ?w } . FILTER ( ?f >= 1 ) }
Weapons of Mass Destruction Double Geneva
2
action count
action atleast
action union
action find_tuple_counts
relation depicts
type collectable
type tool
action find_tuple_counts
relation depicts
type collectable
type classification scheme
value 1
[{'concept': 'collectable'}, 'depicts', [{'concept': 'tool'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?w WHERE { { ?w property:depicts ?a . ?w rdf:type ontology:collectable . ?a rdf:type ontology:tool } UNION { ?w property:depicts ?a . ?w rdf:type ontology:collectable . ?a rdf:type ontology:classification_scheme } } GROUP BY ?w } . FILTER ( ?f >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1212160
P364
Q34770
USER
Which language was used originally for the creation of Gravity's Rainbow ?
(Q1212160,P364,c(Q34770))
action filter_type
action find
entity Q1212160
relation P364
type Q34770
['Q1212160', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q1212160 property:P364 ?j . ?j rdf:type ontology:Q34770 }
Gravity's Rainbow
action filter_type
action find
entity Gravity's Rainbow
relation original language of work
type language
["Gravity's Rainbow", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Gravity's_Rainbow property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1212160,P364,c(Q34770))
action filter_type
action find
entity Q1212160
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Gravity's Rainbow
['Q1212160', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q1212160 property:P364 ?j . ?j rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Gravity's Rainbow
English
action filter_type
action find
entity Gravity's Rainbow
relation original language of work
type language
["Gravity's Rainbow", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Gravity's_Rainbow property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q490648 Q1860
P361 P136
Q5962346
USER
Which classification schemes are English a part of or can be considered as genre of Hong Gil Dong ?
OR((Q1860,P361,c(Q5962346)), (Q490648,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q490648
relation P136
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q490648', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1860 property:P361 ?r } UNION { resource:Q490648 property:P136 ?r } } . ?r rdf:type ontology:Q5962346 }
Hong Gil Dong English
action filter_type
action union
action find
entity English
relation part of
action find
entity Hong Gil Dong
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Hong Gil Dong', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?r WHERE { { { resource:English property:part_of ?r } UNION { resource:Hong_Gil_Dong property:genre ?r } } . ?r rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q1366112 Q5329170
SYSTEM
Anglic languages, television drama, Anglo-Frisian languages
Q1346342 Q1366112 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q490648,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q490648
relation P136
type Q5962346
[ANSWERS] are English a part of or can be considered as genre of Hong Gil Dong
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q490648', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1860 property:P361 ?r } UNION { resource:Q490648 property:P136 ?r } } . ?r rdf:type ontology:Q5962346 }
Anglic languages television drama Anglo-Frisian languages
Anglic languages, television drama and Anglo-Frisian languages are English a part of or can be considered as genre of Hong Gil Dong
Anglic languages television drama Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Hong Gil Dong
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Hong Gil Dong', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?r WHERE { { { resource:English property:part_of ?r } UNION { resource:Hong_Gil_Dong property:genre ?r } } . ?r rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q336 Q1914636 Q5962346
USER
How many classification schemes are a part of more number of sciences or activities than that classification scheme ?
(c(Q5962346),P361,c(Q336)|c(Q1914636))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q423229 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'science'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:science . ?x rdf:type ontology:activity }
[]
science activity classification scheme
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1346342
SYSTEM
Did you mean Anglic languages ?
(c(Q5962346),P361,c(Q336)|c(Q1914636))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q423229 }
Did you mean Anglic languages ?
Anglic languages
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'science'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:science . ?x rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q5962346),P361,c(Q336)|c(Q1914636))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q1914636'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'science'}, {'concept': 'activity'}]]
[]
SYSTEM
26
Q220131 Q165838 Q2654422 Q715396 Q42250 Q15614122 Q183257 Q853422 Q831873 Q2056514 Q381496 Q15783860 Q41217 Q930752 Q1908419 Q193870 Q1434048 Q349479 Q290578 Q735602 Q184793 Q870895 Q15841889 Q184274 Q192625 Q1413942
(c(Q5962346),P361,c(Q336)|c(Q1914636))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q336 . ?x rdf:type ontology:Q423229 }
zoo architecture limnology sector of archives Solid-state physics hydrology measure theory psychotherapy Paleomagnetism Betriebsfestigkeit Active safety Aero climatology sociology of work mechanics medical specialty mathematical geography tribology Aircraft construction building industry Radiophysics quantum optics computer-aided design health informatics computer engineering celestial mechanics linguistic typology material handling
26
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'science'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:science . ?x rdf:type ontology:activity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q188 Q1346342
P361
Q5962346
USER
Which classification schemes are Anglic languages and German a portion of ?
AND((Q1346342,P361,c(Q5962346)), (Q188,P361,c(Q5962346)))
action filter_type
action intersection
action find
entity Q1346342
relation P361
action find
entity Q188
relation P361
type Q5962346
{'AND': [['Q1346342', 'P361', {'concept': 'Q5962346'}], ['Q188', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1346342 property:P361 ?n . resource:Q188 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
German Anglic languages
action filter_type
action intersection
action find
entity Anglic languages
relation part of
action find
entity German
relation part of
type classification scheme
{'AND': [['Anglic languages', 'part of', {'concept': 'classification scheme'}], ['German', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { resource:Anglic_languages property:part_of ?n . resource:German property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q26721
SYSTEM
West Germanic languages
Q26721
AND((Q1346342,P361,c(Q5962346)), (Q188,P361,c(Q5962346)))
action filter_type
action intersection
action find
entity Q1346342
relation P361
action find
entity Q188
relation P361
type Q5962346
Is [ANSWER] is Anglic languages and German a portion of
{'AND': [['Q1346342', 'P361', {'concept': 'Q5962346'}], ['Q188', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { resource:Q1346342 property:P361 ?n . resource:Q188 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
West Germanic languages
Is West Germanic languages is Anglic languages and German a portion of
West Germanic languages
action filter_type
action intersection
action find
entity Anglic languages
relation part of
action find
entity German
relation part of
type classification scheme
{'AND': [['Anglic languages', 'part of', {'concept': 'classification scheme'}], ['German', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { resource:Anglic_languages property:part_of ?n . resource:German property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q5962346 Q878123 Q2235308
USER
How many classification schemes are greater number of racings and ship types a part of than that classification scheme ?
(c(Q878123)|c(Q2235308),P361,c(Q5962346))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q878123
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q26721
relation P361
type Q878123
type Q2235308
[[{'concept': 'Q878123'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P361 resource:Q26721 . { { ?q rdf:type ontology:Q878123 } UNION { ?q rdf:type ontology:Q2235308 } } } } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q878123 ) ( ontology:Q2235308 ) } . ?n rdf:type ?s } GROUP BY ?v } }
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type classification scheme
type racing
action find_reverse_tuple_counts
relation part of
type classification scheme
type ship type
action count
action filter_multi_types
action find_reverse
entity West Germanic languages
relation part of
type racing
type ship type
[[{'concept': 'racing'}, {'concept': 'ship type'}], 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:part_of resource:West_Germanic_languages . { { ?q rdf:type ontology:racing } UNION { ?q rdf:type ontology:ship_type } } } } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?v WHERE { VALUES ( ?s ) { ( ontology:racing ) ( ontology:ship_type ) } . ?n rdf:type ?s } GROUP BY ?v } }
[]
classification scheme racing ship type
SYSTEM
2
Q22231112 Q5551283
(c(Q878123)|c(Q2235308),P361,c(Q5962346))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q878123
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q26721
relation P361
type Q878123
type Q2235308
[ANSWER]
[[{'concept': 'Q878123'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P361 resource:Q26721 . { { ?q rdf:type ontology:Q878123 } UNION { ?q rdf:type ontology:Q2235308 } } } } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q878123 ) ( ontology:Q2235308 ) } . ?n rdf:type ?s } GROUP BY ?v } }
2.1 Type IXA submarine
2
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type classification scheme
type racing
action find_reverse_tuple_counts
relation part of
type classification scheme
type ship type
action count
action filter_multi_types
action find_reverse
entity West Germanic languages
relation part of
type racing
type ship type
[[{'concept': 'racing'}, {'concept': 'ship type'}], 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:part_of resource:West_Germanic_languages . { { ?q rdf:type ontology:racing } UNION { ?q rdf:type ontology:ship_type } } } } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?v WHERE { VALUES ( ?s ) { ( ontology:racing ) ( ontology:ship_type ) } . ?n rdf:type ?s } GROUP BY ?v } }
[]