Simple Question (Direct)
Simple Question
Q61977
P1411
Q618779
USER
Which award was Gershon Kingsley nominated for ?
(Q61977,P1411,c(Q618779))
action filter_type
action find
entity Q61977
relation P1411
type Q618779
['Q61977', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q61977 property:P1411 ?e . ?e rdf:type ontology:Q618779 }
Gershon Kingsley
action filter_type
action find
entity Gershon Kingsley
relation nominated for
type award
['Gershon Kingsley', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Gershon_Kingsley property:nominated_for ?e . ?e rdf:type ontology:award }
[]
award
Q2442442
SYSTEM
Tony Award for Best Conductor and Musical Director
Q2442442
(Q61977,P1411,c(Q618779))
action filter_type
action find
entity Q61977
relation P1411
type Q618779
Gershon Kingsley was nominated for [ANSWER]
['Q61977', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q61977 property:P1411 ?e . ?e rdf:type ontology:Q618779 }
Tony Award for Best Conductor and Musical Director
Gershon Kingsley was nominated for Tony Award for Best Conductor and Musical Director
Tony Award for Best Conductor and Musical Director
action filter_type
action find
entity Gershon Kingsley
relation nominated for
type award
['Gershon Kingsley', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Gershon_Kingsley property:nominated_for ?e . ?e rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61977
P86
Q838948
USER
Which works of art are composed by Gershon Kingsley ?
(c(Q838948),P86,Q61977)
action filter_type
action find_reverse
entity Q61977
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q61977']
SELECT DISTINCT ?s WHERE { ?s property:P86 resource:Q61977 . ?s rdf:type ontology:Q838948 }
Gershon Kingsley
action filter_type
action find_reverse
entity Gershon Kingsley
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Gershon Kingsley']
SELECT DISTINCT ?s WHERE { ?s property:composer resource:Gershon_Kingsley . ?s rdf:type ontology:work_of_art }
[]
work of art
Q7514613 Q1546765 Q7634780
SYSTEM
Silent Night, Bloody Night, Sam's Song, Sugar Cookies
Q7514613 Q1546765 Q7634780
(c(Q838948),P86,Q61977)
action filter_type
action find_reverse
entity Q61977
relation P86
type Q838948
[ANSWERS] are composed by Gershon Kingsley
[{'concept': 'Q838948'}, 'P86', 'Q61977']
SELECT DISTINCT ?s WHERE { ?s property:P86 resource:Q61977 . ?s rdf:type ontology:Q838948 }
Silent Night, Bloody Night Sam's Song Sugar Cookies
Silent Night, Bloody Night, Sam's Song and Sugar Cookies are composed by Gershon Kingsley
Silent Night, Bloody Night Sam's Song Sugar Cookies
action filter_type
action find_reverse
entity Gershon Kingsley
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Gershon Kingsley']
SELECT DISTINCT ?s WHERE { ?s property:composer resource:Gershon_Kingsley . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7514613 Q1546765 Q7634780
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q7514613,P136,c(Q1792379)) (Q1546765,P136,c(Q1792379)) (Q7634780,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q7514613', 'P136', {'concept': 'Q1792379'}] ['Q1546765', 'P136', {'concept': 'Q1792379'}] ['Q7634780', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?m property:P136 ?k . VALUES ( ?m ) { ( resource:Q7514613 ) ( resource:Q1546765 ) ( resource:Q7634780 ) } . ?k rdf:type ontology:Q1792379 }
Silent Night, Bloody Night Sam's Song Sugar Cookies
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Silent Night, Bloody Night', 'genre', {'concept': 'art genre'}] ["Sam's Song", 'genre', {'concept': 'art genre'}] ['Sugar Cookies', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?m property:genre ?k . VALUES ( ?m ) { ( resource:Silent_Night,_Bloody_Night ) ( resource:Sam's_Song ) ( resource:Sugar_Cookies ) } . ?k rdf:type ontology:art_genre }
[]
art genre
Q2439025 Q853630 Q200092
SYSTEM
erotic thriller, slasher film, horror film
Q853630 Q200092 Q130232 Q185529 Q2439025
(Q7514613,P136,c(Q1792379)) (Q1546765,P136,c(Q1792379)) (Q7634780,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS] can be considered as category for those works of art
['Q7514613', 'P136', {'concept': 'Q1792379'}] ['Q1546765', 'P136', {'concept': 'Q1792379'}] ['Q7634780', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?m property:P136 ?k . VALUES ( ?m ) { ( resource:Q7514613 ) ( resource:Q1546765 ) ( resource:Q7634780 ) } . ?k rdf:type ontology:Q1792379 }
slasher film horror film drama film pornographic film erotic thriller
Erotic thriller, slasher film and horror film can be considered as category for those works of art
erotic thriller slasher film horror film
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Silent Night, Bloody Night', 'genre', {'concept': 'art genre'}] ["Sam's Song", 'genre', {'concept': 'art genre'}] ['Sugar Cookies', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?m property:genre ?k . VALUES ( ?m ) { ( resource:Silent_Night,_Bloody_Night ) ( resource:Sam's_Song ) ( resource:Sugar_Cookies ) } . ?k rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1546765
P364
Q34770
USER
Which language was used originally for the creation of Sam's Song ?
(Q1546765,P364,c(Q34770))
action filter_type
action find
entity Q1546765
relation P364
type Q34770
['Q1546765', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1546765 property:P364 ?k }
Sam's Song
action filter_type
action find
entity Sam's Song
relation original language of work
type language
["Sam's Song", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Sam's_Song property:original_language_of_work ?k }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1546765,P364,c(Q34770))
action filter_type
action find
entity Q1546765
relation P364
type Q34770
[ANSWER] was used originally for the creation of Sam's Song
['Q1546765', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1546765 property:P364 ?k }
English
English was used originally for the creation of Sam's Song
English
action filter_type
action find
entity Sam's Song
relation original language of work
type language
["Sam's Song", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Sam's_Song property:original_language_of_work ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q902968
Q34770
USER
And what about Viva Laughlin?
(Q902968,P364,c(Q34770))
action filter_type
action find
entity Q902968
relation P364
type Q34770
['Q902968', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q902968 property:P364 ?s . ?s rdf:type ontology:Q34770 }
Viva Laughlin
action filter_type
action find
entity Viva Laughlin
relation original language of work
type language
['Viva Laughlin', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Viva_Laughlin property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q902968,P364,c(Q34770))
action filter_type
action find
entity Q902968
relation P364
type Q34770
[ANSWER]
['Q902968', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q902968 property:P364 ?s . ?s rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Viva Laughlin
relation original language of work
type language
['Viva Laughlin', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Viva_Laughlin property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q25293 Q5329170
P361
Q5962346
USER
Is that language a portion of Celtic languages and Anglo-Frisian languages ?
(Q1860,P361,Q25293) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q25293
relation P361
action find_reverse
entity Q5329170
relation P361
['Q1860', 'P361', 'Q25293'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q25293 . resource:Q1860 property:P361 resource:Q5329170 }
English Celtic languages Anglo-Frisian languages
action is_in
entity English
action intersection
action find_reverse
entity Celtic languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Celtic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Celtic_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q25293) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q25293
relation P361
action find_reverse
entity Q5329170
relation P361
[ANSWER]
['Q1860', 'P361', 'Q25293'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q25293 . resource:Q1860 property:P361 resource:Q5329170 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Celtic languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Celtic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Celtic_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2439025 Q5585723 Q5771737
P162
Q502895
USER
Has erotic thriller been developed by Gordon Reid and Andreas Grill ?
(Q2439025,P162,Q5585723) (Q2439025,P162,Q5771737)
action is_in
entity Q2439025
action intersection
action find_reverse
entity Q5585723
relation P162
action find_reverse
entity Q5771737
relation P162
['Q2439025', 'P162', 'Q5585723'] ['Q2439025', 'P162', 'Q5771737']
ASK WHERE { resource:Q2439025 property:P162 resource:Q5771737 . resource:Q2439025 property:P162 resource:Q5585723 }
erotic thriller Gordon Reid Andreas Grill
action is_in
entity erotic thriller
action intersection
action find_reverse
entity Gordon Reid
relation producer
action find_reverse
entity Andreas Grill
relation producer
['erotic thriller', 'producer', 'Gordon Reid'] ['erotic thriller', 'producer', 'Andreas Grill']
ASK WHERE { resource:erotic_thriller property:producer resource:Andreas_Grill . resource:erotic_thriller property:producer resource:Gordon_Reid }
[]
common name
SYSTEM
NO
(Q2439025,P162,Q5585723) (Q2439025,P162,Q5771737)
action is_in
entity Q2439025
action intersection
action find_reverse
entity Q5585723
relation P162
action find_reverse
entity Q5771737
relation P162
[ANSWER]
['Q2439025', 'P162', 'Q5585723'] ['Q2439025', 'P162', 'Q5771737']
ASK WHERE { resource:Q2439025 property:P162 resource:Q5771737 . resource:Q2439025 property:P162 resource:Q5585723 }
No
action is_in
entity erotic thriller
action intersection
action find_reverse
entity Gordon Reid
relation producer
action find_reverse
entity Andreas Grill
relation producer
['erotic thriller', 'producer', 'Gordon Reid'] ['erotic thriller', 'producer', 'Andreas Grill']
ASK WHERE { resource:erotic_thriller property:producer resource:Andreas_Grill . resource:erotic_thriller property:producer resource:Gordon_Reid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1071
Q56061 Q15617994 Q838948
USER
How many works of art have exactly 1 administrative territories or administrative territories as their location of final assembly ?
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action count
action equal
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
value 1
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?l rdf:type ?o } GROUP BY ?i } . FILTER ( ?d = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?l rdf:type ?o } GROUP BY ?i } . FILTER ( ?d = 1 ) }
[]
administrative territorial entity designation for an administrative territorial entity work of art
SYSTEM
25
Q18609768 Q6572993 Q18609790 Q18609791 Q18609855 Q20199990 Q3647650 Q20200034 Q17451496 Q9428681 Q23356 Q4785573 Q18609795 Q3555769 Q15123181 Q17347116 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q24178015 Q13105422 Q19776419 Q18609838
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action count
action equal
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?l rdf:type ?o } GROUP BY ?i } . FILTER ( ?d = 1 ) }
cinerary urn lid Amphitrite, the wave and the sea birds cinerary urn sarcophagus sarcophagus lid Female head wearing the polos Bust of Cardinal Richelieu Sphinx Nymph with a Scorpion The Exaltation of the Flower Harbaville Triptych Archangel ivory cinerary group Vercingétorix Proserpina sarcophagus Le Génie de la sculpture dégrossissant le masque de Jupiter sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid The Intruders When the Music's Over My Stuff sarcophagus lid
25
action count
action equal
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
value 1
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?l rdf:type ?o } GROUP BY ?i } . FILTER ( ?d = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7755147 Q1860
P361 P136
Q5962346
USER
Which classification schemes are English a component of or are the genre for The Only Way Is Essex series 2 ?
OR((Q1860,P361,c(Q5962346)), (Q7755147,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q7755147
relation P136
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q7755147', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q7755147 property:P136 ?n } UNION { resource:Q1860 property:P361 ?n } } . ?n rdf:type ontology:Q5962346 }
The Only Way Is Essex series 2 English
action filter_type
action union
action find
entity English
relation part of
action find
entity The Only Way Is Essex series 2
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['The Only Way Is Essex series 2', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { { resource:The_Only_Way_Is_Essex_series_2 property:genre ?n } UNION { resource:English property:part_of ?n } } . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q182415 Q5329170
SYSTEM
Anglic languages, reality television, Anglo-Frisian languages
Q1346342 Q182415 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q7755147,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q7755147
relation P136
type Q5962346
[ANSWERS] are English a component of or are the genre for The Only Way Is Essex series 2
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q7755147', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q7755147 property:P136 ?n } UNION { resource:Q1860 property:P361 ?n } } . ?n rdf:type ontology:Q5962346 }
Anglic languages reality television Anglo-Frisian languages
Anglic languages, reality television and Anglo-Frisian languages are English a component of or are the genre for The Only Way Is Essex series 2
Anglic languages reality television Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity The Only Way Is Essex series 2
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['The Only Way Is Essex series 2', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { { resource:The_Only_Way_Is_Essex_series_2 property:genre ?n } UNION { resource:English property:part_of ?n } } . ?n rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5647996 Q902968
P449
Q4830453
USER
Which business enterprises did Viva Laughlin and Hanging In originally air in ?
AND((Q902968,P449,c(Q4830453)), (Q5647996,P449,c(Q4830453)))
action filter_type
action intersection
action find
entity Q902968
relation P449
action find
entity Q5647996
relation P449
type Q4830453
{'AND': [['Q902968', 'P449', {'concept': 'Q4830453'}], ['Q5647996', 'P449', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?t WHERE { resource:Q902968 property:P449 ?t . resource:Q5647996 property:P449 ?t . ?t rdf:type ontology:Q4830453 }
Hanging In Viva Laughlin
action filter_type
action intersection
action find
entity Viva Laughlin
relation original network
action find
entity Hanging In
relation original network
type business enterprise
{'AND': [['Viva Laughlin', 'original network', {'concept': 'business enterprise'}], ['Hanging In', 'original network', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?t WHERE { resource:Viva_Laughlin property:original_network ?t . resource:Hanging_In property:original_network ?t . ?t rdf:type ontology:business_enterprise }
[]
business enterprise
Q43380
SYSTEM
CBS
Q43380
AND((Q902968,P449,c(Q4830453)), (Q5647996,P449,c(Q4830453)))
action filter_type
action intersection
action find
entity Q902968
relation P449
action find
entity Q5647996
relation P449
type Q4830453
[ANSWER] did Viva Laughlin and Hanging In originally air in
{'AND': [['Q902968', 'P449', {'concept': 'Q4830453'}], ['Q5647996', 'P449', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?t WHERE { resource:Q902968 property:P449 ?t . resource:Q5647996 property:P449 ?t . ?t rdf:type ontology:Q4830453 }
CBS
CBS did Viva Laughlin and Hanging In originally air in
CBS
action filter_type
action intersection
action find
entity Viva Laughlin
relation original network
action find
entity Hanging In
relation original network
type business enterprise
{'AND': [['Viva Laughlin', 'original network', {'concept': 'business enterprise'}], ['Hanging In', 'original network', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?t WHERE { resource:Viva_Laughlin property:original_network ?t . resource:Hanging_In property:original_network ?t . ?t rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q43380 Q950380
P137
Q43229
USER
Does CBS Corporation operate CBS ?
(Q43380,P137,Q950380)
action is_in
entity Q950380
action find
entity Q43380
relation P137
['Q43380', 'P137', 'Q950380']
ASK WHERE { resource:Q43380 property:P137 resource:Q950380 }
CBS CBS Corporation
action is_in
entity CBS Corporation
action find
entity CBS
relation operator
['CBS', 'operator', 'CBS Corporation']
ASK WHERE { resource:CBS property:operator resource:CBS_Corporation }
[]
organization
SYSTEM
YES
(Q43380,P137,Q950380)
action is_in
entity Q950380
action find
entity Q43380
relation P137
[ANSWER]
['Q43380', 'P137', 'Q950380']
ASK WHERE { resource:Q43380 property:P137 resource:Q950380 }
Yes
action is_in
entity CBS Corporation
action find
entity CBS
relation operator
['CBS', 'operator', 'CBS Corporation']
ASK WHERE { resource:CBS property:operator resource:CBS_Corporation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1346342 Q794995 Q545685
P361
Q5962346
USER
Is Anglic languages a part of Sarov-class submarine and Cagni-class submarine ?
(Q1346342,P361,Q794995) (Q1346342,P361,Q545685)
action is_in
entity Q1346342
action intersection
action find_reverse
entity Q794995
relation P361
action find_reverse
entity Q545685
relation P361
['Q1346342', 'P361', 'Q794995'] ['Q1346342', 'P361', 'Q545685']
ASK WHERE { resource:Q1346342 property:P361 resource:Q794995 . resource:Q1346342 property:P361 resource:Q545685 }
Anglic languages Sarov-class submarine Cagni-class submarine
action is_in
entity Anglic languages
action intersection
action find_reverse
entity Sarov-class submarine
relation part of
action find_reverse
entity Cagni-class submarine
relation part of
['Anglic languages', 'part of', 'Sarov-class submarine'] ['Anglic languages', 'part of', 'Cagni-class submarine']
ASK WHERE { resource:Anglic_languages property:part_of resource:Sarov-class_submarine . resource:Anglic_languages property:part_of resource:Cagni-class_submarine }
[]
classification scheme
SYSTEM
NO
(Q1346342,P361,Q794995) (Q1346342,P361,Q545685)
action is_in
entity Q1346342
action intersection
action find_reverse
entity Q794995
relation P361
action find_reverse
entity Q545685
relation P361
[ANSWER]
['Q1346342', 'P361', 'Q794995'] ['Q1346342', 'P361', 'Q545685']
ASK WHERE { resource:Q1346342 property:P361 resource:Q794995 . resource:Q1346342 property:P361 resource:Q545685 }
No
action is_in
entity Anglic languages
action intersection
action find_reverse
entity Sarov-class submarine
relation part of
action find_reverse
entity Cagni-class submarine
relation part of
['Anglic languages', 'part of', 'Sarov-class submarine'] ['Anglic languages', 'part of', 'Cagni-class submarine']
ASK WHERE { resource:Anglic_languages property:part_of resource:Sarov-class_submarine . resource:Anglic_languages property:part_of resource:Cagni-class_submarine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1346342 Q207892
P361
Q5962346
USER
How many classification schemes are a component of Anglic languages or public law ?
(c(Q5962346),P361,Q1346342) (c(Q5962346),P361,Q207892)
action count
action union
action filter_type
action find_reverse
entity Q1346342
relation P361
type Q5962346
action filter_type
action find_reverse
entity Q207892
relation P361
type Q5962346
[{'concept': 'Q5962346'}, 'P361', 'Q1346342'] [{'concept': 'Q5962346'}, 'P361', 'Q207892']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P361 resource:Q1346342 . ?z rdf:type ontology:Q5962346 } UNION { ?z rdf:type ontology:Q5962346 . ?z property:P361 resource:Q207892 } }
Anglic languages public law
action count
action union
action filter_type
action find_reverse
entity Anglic languages
relation part of
type classification scheme
action filter_type
action find_reverse
entity public law
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'Anglic languages'] [{'concept': 'classification scheme'}, 'part of', 'public law']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:part_of resource:Anglic_languages . ?z rdf:type ontology:classification_scheme } UNION { ?z rdf:type ontology:classification_scheme . ?z property:part_of resource:public_law } }
[]
classification scheme
SYSTEM
2
Q2520728 Q2520723
(c(Q5962346),P361,Q1346342) (c(Q5962346),P361,Q207892)
action count
action union
action filter_type
action find_reverse
entity Q1346342
relation P361
type Q5962346
action filter_type
action find_reverse
entity Q207892
relation P361
type Q5962346
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', 'Q1346342'] [{'concept': 'Q5962346'}, 'P361', 'Q207892']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P361 resource:Q1346342 . ?z rdf:type ontology:Q5962346 } UNION { ?z rdf:type ontology:Q5962346 . ?z property:P361 resource:Q207892 } }
Administrative Law in Germany Administrative Procedure Law
2
action count
action union
action filter_type
action find_reverse
entity Anglic languages
relation part of
type classification scheme
action filter_type
action find_reverse
entity public law
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'Anglic languages'] [{'concept': 'classification scheme'}, 'part of', 'public law']
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:part_of resource:Anglic_languages . ?z rdf:type ontology:classification_scheme } UNION { ?z rdf:type ontology:classification_scheme . ?z property:part_of resource:public_law } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q95593 Q1546765
P20 P915
Q56061
USER
Which administrative territories were Sam's Song filmed or did the demise of Ottilie of Katzenelnbogen occur ?
OR((Q1546765,P915,c(Q56061)), (Q95593,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1546765
relation P915
action find
entity Q95593
relation P20
type Q56061
{'OR': [['Q1546765', 'P915', {'concept': 'Q56061'}], ['Q95593', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1546765 property:P915 ?x } UNION { resource:Q95593 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Ottilie of Katzenelnbogen Sam's Song
action filter_type
action union
action find
entity Sam's Song
relation filming location
action find
entity Ottilie of Katzenelnbogen
relation place of death
type administrative territorial entity
{'OR': [["Sam's Song", 'filming location', {'concept': 'administrative territorial entity'}], ['Ottilie of Katzenelnbogen', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sam's_Song property:filming_location ?x } UNION { resource:Ottilie_of_Katzenelnbogen property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4100 Q60
SYSTEM
Baden-Baden, New York City
Q4100 Q60
OR((Q1546765,P915,c(Q56061)), (Q95593,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1546765
relation P915
action find
entity Q95593
relation P20
type Q56061
[ANSWERS] were Sam's Song filmed or did the demise of Ottilie of Katzenelnbogen occur
{'OR': [['Q1546765', 'P915', {'concept': 'Q56061'}], ['Q95593', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1546765 property:P915 ?x } UNION { resource:Q95593 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Baden-Baden New York City
Baden-Baden and New York City were Sam's Song filmed or did the demise of Ottilie of Katzenelnbogen occur
Baden-Baden New York City
action filter_type
action union
action find
entity Sam's Song
relation filming location
action find
entity Ottilie of Katzenelnbogen
relation place of death
type administrative territorial entity
{'OR': [["Sam's Song", 'filming location', {'concept': 'administrative territorial entity'}], ['Ottilie of Katzenelnbogen', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sam's_Song property:filming_location ?x } UNION { resource:Ottilie_of_Katzenelnbogen property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]