Simple Question (Direct)
Simple Question
Q2789837
P344
Q502895
USER
Who is the cinematographer of Tribute to a Bad Man ?
(Q2789837,P344,c(Q502895))
action filter_type
action find
entity Q2789837
relation P344
type Q502895
['Q2789837', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2789837 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Tribute to a Bad Man
action filter_type
action find
entity Tribute to a Bad Man
relation director of photography
type common name
['Tribute to a Bad Man', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Tribute_to_a_Bad_Man property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
common name
Q178115
SYSTEM
Robert L. Surtees
Q178115
(Q2789837,P344,c(Q502895))
action filter_type
action find
entity Q2789837
relation P344
type Q502895
The cinematographer of Tribute to a Bad Man is the [ANSWER]
['Q2789837', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2789837 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Robert L. Surtees
The cinematographer of Tribute to a Bad Man is the Robert L. Surtees
Robert L. Surtees
action filter_type
action find
entity Tribute to a Bad Man
relation director of photography
type common name
['Tribute to a Bad Man', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Tribute_to_a_Bad_Man property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q178115,P27,c(Q15617994))
action count
action filter_type
action find
entity Q178115
relation P27
type Q15617994
['Q178115', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q178115 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Robert L. Surtees
relation country of citizenship
type designation for an administrative territorial entity
['Robert L. Surtees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Robert_L._Surtees property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q178115,P27,c(Q15617994))
action count
action filter_type
action find
entity Q178115
relation P27
type Q15617994
[ANSWER]
['Q178115', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q178115 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Robert L. Surtees
relation country of citizenship
type designation for an administrative territorial entity
['Robert L. Surtees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Robert_L._Surtees property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q6619679 Q15707583
USER
How many works of art feature around 9 fictional humanoids or fictional taxons ?
(c(Q6619679)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
value 9
[[{'concept': 'Q6619679'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?s WHERE { VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q15707583 ) } . ?u rdf:type ?h } GROUP BY ?s } . FILTER ( ?r = 9 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
value 9
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?s WHERE { VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:fictional_taxon ) } . ?u rdf:type ?h } GROUP BY ?s } . FILTER ( ?r = 9 ) }
[]
work of art fictional humanoid fictional taxon
SYSTEM
67
Q204398 Q309289 Q22665878 Q46717 Q388360 Q54274 Q102754 Q158759 Q26154237 Q332368 Q1765358 Q107894 Q5887360 Q64110 Q18031184 Q218458 Q2345 Q20921603 Q161087 Q17509388 Q23010088 Q24272881 Q320423 Q748030 Q106571 Q2363062 Q309366 Q334780 Q165847 Q650063 Q181540 Q107724 Q182218 Q19089 Q217020 Q180279 Q1198611 Q26833 Q106440 Q4941 Q169082 Q107761 Q207916 Q174385 Q23780734 Q272064 Q22000000 Q19481099 Q27204 Q6074 Q19032697 Q753298 Q504697 Q209538 Q275120 Q30931 Q15624215 Q591272 Q1201853 Q151904 Q16857406 Q23781155 Q192724 Q309086 Q183555 Q23780914 Q104123
(c(Q6619679)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
value 9
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?s WHERE { VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q15707583 ) } . ?u rdf:type ?h } GROUP BY ?s } . FILTER ( ?r = 9 ) }
Octopussy The Man with the Golden Gun Thor: Ragnarok Pirates of the Caribbean: The Curse of the Black Pearl National Treasure: Book of Secrets Pirates of the Caribbean: At World's End Dr. No Unknown Descendants 2 A View to a Kill Captain America: The Winter Soldier On Her Majesty's Secret Service Guardians of the Galaxy 20,000 Leagues Under the Sea The Finest Hours 25th Hour 12 Angry Men Queen of Katwe Pirates of the Caribbean: Dead Man's Chest ABCD: Any Body Can Dance 2 Spider-Man: Homecoming Mary Poppins Returns The Spy Who Loved Me The 13th Warrior From Russia with Love 3 Ninjas National Treasure Moonraker 102 Dalmatians The Seagull Quantum of Solace Thunderball The Avengers GoldenEye Thor Never Say Never Again The Absent-Minded Professor Othello Goldfinger Skyfall 10 Things I Hate About You You Only Live Twice Tomorrow Never Dies Alice in Wonderland Black Panther The Living Daylights Circus of Love Jason Bourne Live and Let Die Star Wars: The Force Awakens Peter Pan, or The Boy Who Wouldn't Grow Up Uncle Vanya WarGames Iron Man 3 Captain America: The First Avenger Die Another Day Lucy Casino Royale Thor: The Dark World Casino Royale The Jungle Book Untitled Avengers Movie Iron Man Licence to Kill Pirates of the Caribbean: On Stranger Tides Avengers: Infinity War Pulp Fiction
67
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
value 9
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?s WHERE { VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:fictional_taxon ) } . ?u rdf:type ?h } GROUP BY ?s } . FILTER ( ?r = 9 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6477033 Q178115
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Robert L. Surtees or do Lake Murray belong to ?
OR((Q178115,P27,c(Q15617994)), (Q6477033,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q178115
relation P27
action find
entity Q6477033
relation P17
type Q15617994
{'OR': [['Q178115', 'P27', {'concept': 'Q15617994'}], ['Q6477033', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q178115 property:P27 ?n } UNION { resource:Q6477033 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Lake Murray Robert L. Surtees
action filter_type
action union
action find
entity Robert L. Surtees
relation country of citizenship
action find
entity Lake Murray
relation country
type designation for an administrative territorial entity
{'OR': [['Robert L. Surtees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lake Murray', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Robert_L._Surtees property:country_of_citizenship ?n } UNION { resource:Lake_Murray property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q178115,P27,c(Q15617994)), (Q6477033,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q178115
relation P27
action find
entity Q6477033
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Robert L. Surtees or do Lake Murray belong to
{'OR': [['Q178115', 'P27', {'concept': 'Q15617994'}], ['Q6477033', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q178115 property:P27 ?n } UNION { resource:Q6477033 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Robert L. Surtees or do Lake Murray belong to
United States of America
action filter_type
action union
action find
entity Robert L. Surtees
relation country of citizenship
action find
entity Lake Murray
relation country
type designation for an administrative territorial entity
{'OR': [['Robert L. Surtees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lake Murray', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Robert_L._Surtees property:country_of_citizenship ?n } UNION { resource:Lake_Murray property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P710
Q1190554
USER
What event were that administrative territory a participant of ?
(c(Q1190554),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q30 . ?w rdf:type ontology:Q1190554 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:United_States_of_America . ?w rdf:type ontology:event }
[]
event
Q218678 Q16470 Q750567
SYSTEM
North African Campaign, Normandy landings, Spring Offensive
Q4871186 Q4872216 Q3354826 Q4872357 Q4870748 Q4870881 Q3636553 Q218678 Q1402530 Q714223 Q504347 Q1634629 Q610048 Q2237268 Q1063735 Q1141380 Q856168 Q327052 Q128160 Q2889960 Q2888379 Q4871421 Q609030 Q1934591 Q2026308 Q16470 Q4870165 Q750567 Q1638488 Q214456 Q2888122 Q4872463 Q41894 Q22894201 Q3636251
(c(Q1190554),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
That administrative territory were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q30 . ?w rdf:type ontology:Q1190554 }
Battle of Hampden Battle of Rumaila Operation Red Wings Battle of Setauket Battle of Cieneguilla Battle of Do Ab Battle of Norfolk North African Campaign Battle of 73 Easting Battle for Brest Battle of the Philippine Sea Battle of Medina Ridge Battle of Balikpapan Battle of Umm Qasr Second Battle of the Somme Battle of Wake Island Pastry War Battle of Aachen Cuban Missile Crisis Battle of Shewan Battle of Dahaneh Battle of Khaz Oruzgan Battle of Peleliu Battle of North Borneo Operation Praying Mantis Normandy landings Battle for Jalibah Airfield Spring Offensive Battle of Monmouth Philippine–American War Battle of Basra Battle of Sunset Pass Battle of New Orleans Al-Shaddadi offensive (2016) Battle of Wadi Al-Batin
That administrative territory were the North African Campaign, Normandy landings and Spring Offensive
North African Campaign Normandy landings Spring Offensive
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:United_States_of_America . ?w rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218678
P607
Q21506450
USER
Which military unit size classes did that event take part in ?
(c(Q21506450),P607,Q218678)
action filter_type
action find_reverse
entity Q218678
relation P607
type Q21506450
[{'concept': 'Q21506450'}, 'P607', 'Q218678']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q218678 . ?h rdf:type ontology:Q21506450 }
North African Campaign
action filter_type
action find_reverse
entity North African Campaign
relation conflict
type military unit size class
[{'concept': 'military unit size class'}, 'conflict', 'North African Campaign']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:North_African_Campaign . ?h rdf:type ontology:military_unit_size_class }
[]
military unit size class
Clarification for simple ques.
Q750567
SYSTEM
Did you mean Spring Offensive ?
Q218678 Q16470 Q750567
(c(Q21506450),P607,Q218678) (c(Q21506450),P607,Q16470) (c(Q21506450),P607,Q750567)
[ANSWER]
[{'concept': 'Q21506450'}, 'P607', 'Q218678'] [{'concept': 'Q21506450'}, 'P607', 'Q16470'] [{'concept': 'Q21506450'}, 'P607', 'Q750567']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q218678 . ?h rdf:type ontology:Q21506450 }
North African Campaign Normandy landings Spring Offensive
Did you mean Spring Offensive ?
Spring Offensive
[{'concept': 'military unit size class'}, 'conflict', 'North African Campaign'] [{'concept': 'military unit size class'}, 'conflict', 'Normandy landings'] [{'concept': 'military unit size class'}, 'conflict', 'Spring Offensive']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:North_African_Campaign . ?h rdf:type ontology:military_unit_size_class }
[]
Simple Question (Coreferenced)
USER
No, I meant North African Campaign. Could you tell me the answer for that?
(c(Q21506450),P607,Q218678)
Q218678
[{'concept': 'Q21506450'}, 'P607', 'Q218678']
[{'concept': 'military unit size class'}, 'conflict', 'North African Campaign']
[]
Q161896 Q4597003
SYSTEM
1st (UK) Armoured Division, 2/12th Field Regiment
Q161896 Q4597003
(c(Q21506450),P607,Q218678)
action filter_type
action find_reverse
entity Q218678
relation P607
type Q21506450
[ANSWERS] that event took part in
[{'concept': 'Q21506450'}, 'P607', 'Q218678']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q218678 . ?h rdf:type ontology:Q21506450 }
1st (UK) Armoured Division 2/12th Field Regiment
1st (UK) Armoured Division and 2/12th Field Regiment that event took part in
1st (UK) Armoured Division 2/12th Field Regiment
action filter_type
action find_reverse
entity North African Campaign
relation conflict
type military unit size class
[{'concept': 'military unit size class'}, 'conflict', 'North African Campaign']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:North_African_Campaign . ?h rdf:type ontology:military_unit_size_class }
[]
Clarification
Simple Question|Single Entity|Indirect
Q161896
P241
Q781132
USER
Which military branch is that military unit size class affiliated to ?
(Q161896,P241,c(Q781132))
action filter_type
action find
entity Q161896
relation P241
type Q781132
['Q161896', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q161896 property:P241 ?d . ?d rdf:type ontology:Q781132 }
1st (UK) Armoured Division
action filter_type
action find
entity 1st (UK) Armoured Division
relation military branch
type military branch
['1st (UK) Armoured Division', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:1st_(UK)_Armoured_Division property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
military branch
Clarification for simple ques.
Q161896
SYSTEM
Did you mean 1st (UK) Armoured Division ?
Q161896 Q4597003
(Q161896,P241,c(Q781132)) (Q4597003,P241,c(Q781132))
[ANSWER]
['Q161896', 'P241', {'concept': 'Q781132'}] ['Q4597003', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q161896 property:P241 ?d . ?d rdf:type ontology:Q781132 }
1st (UK) Armoured Division 2/12th Field Regiment
Did you mean 1st (UK) Armoured Division ?
1st (UK) Armoured Division
['1st (UK) Armoured Division', 'military branch', {'concept': 'military branch'}] ['2/12th Field Regiment', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:1st_(UK)_Armoured_Division property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
USER
Yes
(Q161896,P241,c(Q781132))
['Q161896', 'P241', {'concept': 'Q781132'}]
['1st (UK) Armoured Division', 'military branch', {'concept': 'military branch'}]
[]
Q222595
SYSTEM
British Army
Q222595
(Q161896,P241,c(Q781132))
action filter_type
action find
entity Q161896
relation P241
type Q781132
That military unit size class is affiliated with [ANSWER]
['Q161896', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q161896 property:P241 ?d . ?d rdf:type ontology:Q781132 }
British Army
That military unit size class is affiliated with British Army
British Army
action filter_type
action find
entity 1st (UK) Armoured Division
relation military branch
type military branch
['1st (UK) Armoured Division', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:1st_(UK)_Armoured_Division property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1270166
P361
Q838948 Q1190554 Q2031291
USER
How many works of art are around the same number of events and releases a component of as Danish Crown Regalia ?
(c(Q1190554)|c(Q2031291),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1270166
relation P361
type Q1190554
type Q2031291
[[{'concept': 'Q1190554'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P361 resource:Q1270166 . { VALUES ( ?v ) { ( ontology:Q1190554 ) ( ontology:Q2031291 ) } . ?z rdf:type ?v } } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?g WHERE { { ?k property:P361 ?g . ?g rdf:type ontology:Q838948 . ?k rdf:type ontology:Q1190554 } UNION { ?k property:P361 ?g . ?k rdf:type ontology:Q2031291 . ?g rdf:type ontology:Q838948 } } GROUP BY ?g } }
Danish Crown Regalia
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Danish Crown Regalia
relation part of
type event
type release
[[{'concept': 'event'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:part_of resource:Danish_Crown_Regalia . { VALUES ( ?v ) { ( ontology:event ) ( ontology:release ) } . ?z rdf:type ?v } } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?g WHERE { { ?k property:part_of ?g . ?g rdf:type ontology:work_of_art . ?k rdf:type ontology:event } UNION { ?k property:part_of ?g . ?k rdf:type ontology:release . ?g rdf:type ontology:work_of_art } } GROUP BY ?g } }
[]
work of art event release
SYSTEM
118
Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q945138 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q971109 Q1360347 Q632753 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q1190554)|c(Q2031291),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1270166
relation P361
type Q1190554
type Q2031291
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P361 resource:Q1270166 . { VALUES ( ?v ) { ( ontology:Q1190554 ) ( ontology:Q2031291 ) } . ?z rdf:type ?v } } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?g WHERE { { ?k property:P361 ?g . ?g rdf:type ontology:Q838948 . ?k rdf:type ontology:Q1190554 } UNION { ?k property:P361 ?g . ?k rdf:type ontology:Q2031291 . ?g rdf:type ontology:Q838948 } } GROUP BY ?g } }
Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Bedknobs and Broomsticks Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac Inferno Hunnestad Monument Babes in Arms Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
118
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Danish Crown Regalia
relation part of
type event
type release
[[{'concept': 'event'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:part_of resource:Danish_Crown_Regalia . { VALUES ( ?v ) { ( ontology:event ) ( ontology:release ) } . ?z rdf:type ?v } } } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?g WHERE { { ?k property:part_of ?g . ?g rdf:type ontology:work_of_art . ?k rdf:type ontology:event } UNION { ?k property:part_of ?g . ?k rdf:type ontology:release . ?g rdf:type ontology:work_of_art } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q205028
P361
Q838948 Q1190554 Q2031291
USER
And also tell me about Iron Man 2?
(c(Q1190554)|c(Q2031291),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q205028
relation P361
type Q1190554
type Q2031291
[[{'concept': 'Q1190554'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?d WHERE { { ?j property:P361 ?d . ?d rdf:type ontology:Q838948 . ?j rdf:type ontology:Q1190554 } UNION { ?d rdf:type ontology:Q838948 . ?j rdf:type ontology:Q2031291 . ?j property:P361 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P361 resource:Q205028 . { { ?k rdf:type ontology:Q2031291 } UNION { ?k rdf:type ontology:Q1190554 } } } } . FILTER ( ?r = ?y ) }
Iron Man 2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Iron Man 2
relation part of
type event
type release
[[{'concept': 'event'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?d WHERE { { ?j property:part_of ?d . ?d rdf:type ontology:work_of_art . ?j rdf:type ontology:event } UNION { ?d rdf:type ontology:work_of_art . ?j rdf:type ontology:release . ?j property:part_of ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:part_of resource:Iron_Man_2 . { { ?k rdf:type ontology:release } UNION { ?k rdf:type ontology:event } } } } . FILTER ( ?r = ?y ) }
[]
work of art event release
SYSTEM
118
Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q945138 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q971109 Q1360347 Q632753 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q1190554)|c(Q2031291),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q205028
relation P361
type Q1190554
type Q2031291
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?d WHERE { { ?j property:P361 ?d . ?d rdf:type ontology:Q838948 . ?j rdf:type ontology:Q1190554 } UNION { ?d rdf:type ontology:Q838948 . ?j rdf:type ontology:Q2031291 . ?j property:P361 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P361 resource:Q205028 . { { ?k rdf:type ontology:Q2031291 } UNION { ?k rdf:type ontology:Q1190554 } } } } . FILTER ( ?r = ?y ) }
Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Bedknobs and Broomsticks Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac Inferno Hunnestad Monument Babes in Arms Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
118
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type event
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Iron Man 2
relation part of
type event
type release
[[{'concept': 'event'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?d WHERE { { ?j property:part_of ?d . ?d rdf:type ontology:work_of_art . ?j rdf:type ontology:event } UNION { ?d rdf:type ontology:work_of_art . ?j rdf:type ontology:release . ?j property:part_of ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:part_of resource:Iron_Man_2 . { { ?k rdf:type ontology:release } UNION { ?k rdf:type ontology:event } } } } . FILTER ( ?r = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161896
P607
Q1190554
USER
Which events did 1st (UK) Armoured Division take part in ?
(Q161896,P607,c(Q1190554))
action filter_type
action find
entity Q161896
relation P607
type Q1190554
['Q161896', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q161896 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
1st (UK) Armoured Division
action filter_type
action find
entity 1st (UK) Armoured Division
relation conflict
type event
['1st (UK) Armoured Division', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:1st_(UK)_Armoured_Division property:conflict ?g . ?g rdf:type ontology:event }
[]
event
Q151340 Q218678
SYSTEM
Battle of France, North African Campaign
Q151340 Q218678
(Q161896,P607,c(Q1190554))
action filter_type
action find
entity Q161896
relation P607
type Q1190554
1st ( UK ) Armoured Division took in part the [ANSWERS]
['Q161896', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q161896 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
Battle of France North African Campaign
1st ( UK ) Armoured Division took in part the Battle of France and North African Campaign
Battle of France North African Campaign
action filter_type
action find
entity 1st (UK) Armoured Division
relation conflict
type event
['1st (UK) Armoured Division', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:1st_(UK)_Armoured_Division property:conflict ?g . ?g rdf:type ontology:event }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q161896
Q198
USER
And which war?
(Q161896,P607,c(Q198))
action filter_type
action find
entity Q161896
relation P607
type Q198
['Q161896', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q161896 property:P607 ?d . ?d rdf:type ontology:Q198 }
1st (UK) Armoured Division
action filter_type
action find
entity 1st (UK) Armoured Division
relation conflict
type war
['1st (UK) Armoured Division', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:1st_(UK)_Armoured_Division property:conflict ?d . ?d rdf:type ontology:war }
[]
war
Q362 Q545449
SYSTEM
World War II, Iraq War
Q362 Q545449
(Q161896,P607,c(Q198))
action filter_type
action find
entity Q161896
relation P607
type Q198
[ANSWERS]
['Q161896', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q161896 property:P607 ?d . ?d rdf:type ontology:Q198 }
World War II Iraq War
World War II Iraq War
action filter_type
action find
entity 1st (UK) Armoured Division
relation conflict
type war
['1st (UK) Armoured Division', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:1st_(UK)_Armoured_Division property:conflict ?d . ?d rdf:type ontology:war }
[]