Simple Question (Direct)
Simple Question
Q1084969
P106
Q12737077
USER
Which occupation is the profession of Christoph Gerdes ?
(Q1084969,P106,c(Q12737077))
action filter_type
action find
entity Q1084969
relation P106
type Q12737077
['Q1084969', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q1084969 property:P106 ?d }
Christoph Gerdes
action filter_type
action find
entity Christoph Gerdes
relation occupation
type occupation
['Christoph Gerdes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Christoph_Gerdes property:occupation ?d }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1084969,P106,c(Q12737077))
action filter_type
action find
entity Q1084969
relation P106
type Q12737077
The [ANSWER] is the profession of Christoph Gerdes
['Q1084969', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q1084969 property:P106 ?d }
politician
The politician is the profession of Christoph Gerdes
politician
action filter_type
action find
entity Christoph Gerdes
relation occupation
type occupation
['Christoph Gerdes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Christoph_Gerdes property:occupation ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1084969
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q82955,P27,c(Q1048835))
action filter_type
action find
entity Q1084969
relation P27
type Q1048835
['Q82955', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1084969 property:P27 ?k }
Christoph Gerdes
action filter_type
action find
entity Christoph Gerdes
relation country of citizenship
type political territorial entity
['politician', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Christoph_Gerdes property:country_of_citizenship ?k }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q82955,P27,c(Q1048835))
action filter_type
action find
entity Q1084969
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q82955', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1084969 property:P27 ?k }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Christoph Gerdes
relation country of citizenship
type political territorial entity
['politician', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Christoph_Gerdes property:country_of_citizenship ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q56061
USER
How many administrative territories and administrative territories holds diplomatic relationship with that political territory ?
(Q183,P530,c(Q15617994)) (Q183,P530,c(Q56061)) (Q183,P530,c(Q15617994)) (Q183,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q183
relation P530
type Q56061
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q56061'}] ['Q183', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Q183 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q183 property:P530 ?w . ?w rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Germany property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Germany property:diplomatic_relation ?w . ?w rdf:type ontology:administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
126
Q804 Q217 Q801 Q800 Q843 Q184 Q1029 Q1028 Q419 Q265 Q668 Q96 Q228 Q414 Q142 Q225 Q224 Q55 Q222 Q145 Q115 Q262 Q148 Q783 Q786 Q347 Q17 Q1011 Q902 Q1036 Q833 Q711 Q1008 Q717 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q237 Q252 Q114 Q117 Q403 Q657 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q214 Q41 Q155 Q218 Q215 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q916 Q986 Q219 Q1007 Q1006 Q1005 Q1037 Q1009 Q974 Q948 Q971 Q241 Q242 Q1032 Q983 Q189 Q229 Q774 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q79 Q34 Q77 Q929 Q39 Q38 Q1016 Q878 Q739 Q227 Q423 Q810 Q1019 Q851 Q733 Q734 Q736 Q869 Q730 Q945 Q912 Q230 Q232 Q233 Q334 Q238 Q20 Q1045 Q917 Q1041 Q27 Q28 Q29 Q953 Q1049
(Q183,P530,c(Q15617994)) (Q183,P530,c(Q56061)) (Q183,P530,c(Q15617994)) (Q183,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q183
relation P530
type Q56061
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q56061'}] ['Q183', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Q183 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q183 property:P530 ?w . ?w rdf:type ontology:Q56061 } }
Panama Republic of Moldova Israel Costa Rica Pakistan Belarus Mozambique Morocco Peru Uzbekistan India Mexico Andorra Argentina France Bosnia and Herzegovina Croatia Netherlands Albania United Kingdom Ethiopia Algeria People's Republic of China Honduras Dominican Republic Liechtenstein Japan Cape Verde Bangladesh Uganda Malaysia Mongolia Côte d'Ivoire Venezuela Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Vatican City Indonesia Kenya Ghana Serbia Chad South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Slovakia Greece Brazil Romania Slovenia Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Angola Eritrea Bulgaria Guinea-Bissau Guinea Gambia Rwanda Cameroon Democratic Republic of the Congo Tunisia Republic of the Congo Cuba Belize Niger Equatorial Guinea Iceland Cyprus Guatemala Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Egypt Sweden Uruguay Central African Republic Switzerland Italy Libya United Arab Emirates Colombia Azerbaijan North Korea Jordan Madagascar Saudi Arabia Paraguay Guyana Ecuador Thailand Suriname Togo Mali Georgia Kazakhstan Malta Singapore San Marino Norway Somalia Bhutan Senegal Ireland Hungary Spain Zambia Sudan
126
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { resource:Germany property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Germany property:diplomatic_relation ?w . ?w rdf:type ontology:administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2657689 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are the native countriesof Sergio Olhovich ?
AND((Q183,P530,c(Q15617994)), (Q2657689,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q2657689
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q2657689', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q183 property:P530 ?y . resource:Q2657689 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Sergio Olhovich Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Sergio Olhovich
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sergio Olhovich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Germany property:diplomatic_relation ?y . resource:Sergio_Olhovich property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
AND((Q183,P530,c(Q15617994)), (Q2657689,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q2657689
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Germany and are the native countriesof Sergio Olhovich
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q2657689', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q183 property:P530 ?y . resource:Q2657689 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Mexico
Mexico have diplomatic relationships with Germany and are the native countriesof Sergio Olhovich
Mexico
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Sergio Olhovich
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sergio Olhovich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Germany property:diplomatic_relation ?y . resource:Sergio_Olhovich property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q96 Q183
P530
Q1048835
USER
Does Germany have diplomatic relationships with that administrative territory ?
(Q96,P530,Q183)
action is_in
entity Q183
action find
entity Q96
relation P530
['Q96', 'P530', 'Q183']
ASK WHERE { resource:Q96 property:P530 resource:Q183 }
Mexico Germany
action is_in
entity Germany
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q96,P530,Q183)
action is_in
entity Q183
action find
entity Q96
relation P530
[ANSWER]
['Q96', 'P530', 'Q183']
ASK WHERE { resource:Q96 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Mexico
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q7686669
P530
Q15617994
USER
Does Tarrant Rawston have diplomatic relationships with Germany ?
(Q183,P530,Q7686669)
action is_in
entity Q7686669
action find
entity Q183
relation P530
['Q183', 'P530', 'Q7686669']
ASK WHERE { resource:Q183 property:P530 resource:Q7686669 }
Germany Tarrant Rawston
action is_in
entity Tarrant Rawston
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Tarrant Rawston']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Tarrant_Rawston }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q7686669)
action is_in
entity Q7686669
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q7686669']
ASK WHERE { resource:Q183 property:P530 resource:Q7686669 }
No
action is_in
entity Tarrant Rawston
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Tarrant Rawston']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Tarrant_Rawston }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23014683 Q1084969
P551 P20
Q486972
USER
Which human settlements are the places of death of Christoph Gerdes or were the places of residence of Tim Pappas ?
OR((Q1084969,P20,c(Q486972)), (Q23014683,P551,c(Q486972)))
action filter_type
action union
action find
entity Q1084969
relation P20
action find
entity Q23014683
relation P551
type Q486972
{'OR': [['Q1084969', 'P20', {'concept': 'Q486972'}], ['Q23014683', 'P551', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1084969 property:P20 ?p } UNION { resource:Q23014683 property:P551 ?p } } . ?p rdf:type ontology:Q486972 }
Tim Pappas Christoph Gerdes
action filter_type
action union
action find
entity Christoph Gerdes
relation place of death
action find
entity Tim Pappas
relation residence
type human settlement
{'OR': [['Christoph Gerdes', 'place of death', {'concept': 'human settlement'}], ['Tim Pappas', 'residence', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Christoph_Gerdes property:place_of_death ?p } UNION { resource:Tim_Pappas property:residence ?p } } . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q2843 Q859012
SYSTEM
Lübeck, Big Lake
Q2843 Q859012
OR((Q1084969,P20,c(Q486972)), (Q23014683,P551,c(Q486972)))
action filter_type
action union
action find
entity Q1084969
relation P20
action find
entity Q23014683
relation P551
type Q486972
[ANSWERS] are the places of death of Christoph Gerdes or were the places of residence of Tim Pappas
{'OR': [['Q1084969', 'P20', {'concept': 'Q486972'}], ['Q23014683', 'P551', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1084969 property:P20 ?p } UNION { resource:Q23014683 property:P551 ?p } } . ?p rdf:type ontology:Q486972 }
Lübeck Big Lake
Lübeck and Big Lake are the places of death of Christoph Gerdes or were the places of residence of Tim Pappas
Lübeck Big Lake
action filter_type
action union
action find
entity Christoph Gerdes
relation place of death
action find
entity Tim Pappas
relation residence
type human settlement
{'OR': [['Christoph Gerdes', 'place of death', {'concept': 'human settlement'}], ['Tim Pappas', 'residence', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Christoph_Gerdes property:place_of_death ?p } UNION { resource:Tim_Pappas property:residence ?p } } . ?p rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q23014683
P551
Q486972 Q852446
USER
How many human settlements or US administrative territories were Tim Pappas a resident of ?
(Q23014683,P551,c(Q486972)) (Q23014683,P551,c(Q852446))
action count
action union
action filter_type
action find
entity Q23014683
relation P551
type Q486972
action filter_type
action find
entity Q23014683
relation P551
type Q852446
['Q23014683', 'P551', {'concept': 'Q486972'}] ['Q23014683', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q852446 ) } }
Tim Pappas
action count
action union
action filter_type
action find
entity Tim Pappas
relation residence
type human settlement
action filter_type
action find
entity Tim Pappas
relation residence
type administrative territorial entity of the United States
['Tim Pappas', 'residence', {'concept': 'human settlement'}] ['Tim Pappas', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity_of_the_United_States ) } }
[]
human settlement administrative territorial entity of the United States
SYSTEM
3
Q859012 Q29445 Q1214
(Q23014683,P551,c(Q486972)) (Q23014683,P551,c(Q852446))
action count
action union
action filter_type
action find
entity Q23014683
relation P551
type Q486972
action filter_type
action find
entity Q23014683
relation P551
type Q852446
[ANSWER]
['Q23014683', 'P551', {'concept': 'Q486972'}] ['Q23014683', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q852446 ) } }
Big Lake Juneau Wyoming
3
action count
action union
action filter_type
action find
entity Tim Pappas
relation residence
type human settlement
action filter_type
action find
entity Tim Pappas
relation residence
type administrative territorial entity of the United States
['Tim Pappas', 'residence', {'concept': 'human settlement'}] ['Tim Pappas', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity_of_the_United_States ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2843
P840
Q7725634
USER
Which literary work has its narrative set in Lübeck ?
(c(Q7725634),P840,Q2843)
action filter_type
action find_reverse
entity Q2843
relation P840
type Q7725634
[{'concept': 'Q7725634'}, 'P840', 'Q2843']
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q2843 . ?b rdf:type ontology:Q7725634 }
Lübeck
action filter_type
action find_reverse
entity Lübeck
relation narrative location
type literary work
[{'concept': 'literary work'}, 'narrative location', 'Lübeck']
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Lübeck . ?b rdf:type ontology:literary_work }
[]
literary work
Q1758876
SYSTEM
The Fall of the King
Q1758876
(c(Q7725634),P840,Q2843)
action filter_type
action find_reverse
entity Q2843
relation P840
type Q7725634
[ANSWER] has its narrative set in Lübeck
[{'concept': 'Q7725634'}, 'P840', 'Q2843']
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q2843 . ?b rdf:type ontology:Q7725634 }
The Fall of the King
The Fall of the King has its narrative set in Lübeck
The Fall of the King
action filter_type
action find_reverse
entity Lübeck
relation narrative location
type literary work
[{'concept': 'literary work'}, 'narrative location', 'Lübeck']
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Lübeck . ?b rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2843
P1071
Q234460
USER
Which text has Lübeck as its finally place of assembly ?
(c(Q234460),P1071,Q2843)
action filter_type
action find_reverse
entity Q2843
relation P1071
type Q234460
[{'concept': 'Q234460'}, 'P1071', 'Q2843']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P1071 resource:Q2843 }
Lübeck
action filter_type
action find_reverse
entity Lübeck
relation location of final assembly
type text
[{'concept': 'text'}, 'location of final assembly', 'Lübeck']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:location_of_final_assembly resource:Lübeck }
[]
text
Q23900974
SYSTEM
Bardewik codex
Q23900974
(c(Q234460),P1071,Q2843)
action filter_type
action find_reverse
entity Q2843
relation P1071
type Q234460
[ANSWER] has Lübeck as its finally place of assembly
[{'concept': 'Q234460'}, 'P1071', 'Q2843']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P1071 resource:Q2843 }
Bardewik codex
Bardewik codex has Lübeck as its finally place of assembly
Bardewik codex
action filter_type
action find_reverse
entity Lübeck
relation location of final assembly
type text
[{'concept': 'text'}, 'location of final assembly', 'Lübeck']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:location_of_final_assembly resource:Lübeck }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23900974
P88
Q502895
USER
Which person was commissioned by that text ?
(c(Q502895),P88,Q23900974)
action filter_type
action find
entity Q23900974
relation P88
type Q502895
[{'concept': 'Q502895'}, 'P88', 'Q23900974']
SELECT DISTINCT ?c WHERE { resource:Q23900974 property:P88 ?c . ?c rdf:type ontology:Q502895 }
Bardewik codex
action filter_type
action find
entity Bardewik codex
relation commissioned by
type common name
[{'concept': 'common name'}, 'commissioned by', 'Bardewik codex']
SELECT DISTINCT ?c WHERE { resource:Bardewik_codex property:commissioned_by ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1527009
SYSTEM
Albert von Bardewik
Q1527009
(c(Q502895),P88,Q23900974)
action filter_type
action find
entity Q23900974
relation P88
type Q502895
[ANSWER] was commissioned by that text
[{'concept': 'Q502895'}, 'P88', 'Q23900974']
SELECT DISTINCT ?c WHERE { resource:Q23900974 property:P88 ?c . ?c rdf:type ontology:Q502895 }
Albert von Bardewik
Albert von Bardewik was commissioned by that text
Albert von Bardewik
action filter_type
action find
entity Bardewik codex
relation commissioned by
type common name
[{'concept': 'common name'}, 'commissioned by', 'Bardewik codex']
SELECT DISTINCT ?c WHERE { resource:Bardewik_codex property:commissioned_by ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P915
Q15416 Q201658
USER
How many television programs and film genres were filmed at Mexico ?
(c(Q15416),P915,Q96) (c(Q201658),P915,Q96)
action count
action union
action filter_type
action find_reverse
entity Q96
relation P915
type Q15416
action filter_type
action find_reverse
entity Q96
relation P915
type Q201658
[{'concept': 'Q15416'}, 'P915', 'Q96'] [{'concept': 'Q201658'}, 'P915', 'Q96']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P915 resource:Q96 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P915 resource:Q96 . ?c rdf:type ontology:Q201658 } }
Mexico
action count
action union
action filter_type
action find_reverse
entity Mexico
relation filming location
type television program
action filter_type
action find_reverse
entity Mexico
relation filming location
type film genre
[{'concept': 'television program'}, 'filming location', 'Mexico'] [{'concept': 'film genre'}, 'filming location', 'Mexico']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:filming_location resource:Mexico . ?c rdf:type ontology:television_program } UNION { ?c property:filming_location resource:Mexico . ?c rdf:type ontology:film_genre } }
[]
television program film genre
SYSTEM
6 television programs and 8 film genres
Q431093 Q3988004 Q650822 Q7775483 Q3520386 Q267096 Q6412306 Q5535466 Q5303849 Q4832948 Q1163818 Q2049232 Q7755573 Q159870
(c(Q15416),P915,Q96) (c(Q201658),P915,Q96)
action count
action union
action filter_type
action find_reverse
entity Q96
relation P915
type Q15416
action filter_type
action find_reverse
entity Q96
relation P915
type Q201658
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q96'] [{'concept': 'Q201658'}, 'P915', 'Q96']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P915 resource:Q96 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P915 resource:Q96 . ?c rdf:type ontology:Q201658 } }
Sunrise: A Song of Two Humans The Life of General Villa Una Maid en Manhattan The Woman Hunter The Conqueror Samson and Delilah King of Texas Geometria Doña Lupe Aztec Massacre Tepeyac And Starring Pancho Villa as Himself The Other Side of the Door Rambo
6 television programs and 8 film genres
action count
action union
action filter_type
action find_reverse
entity Mexico
relation filming location
type television program
action filter_type
action find_reverse
entity Mexico
relation filming location
type film genre
[{'concept': 'television program'}, 'filming location', 'Mexico'] [{'concept': 'film genre'}, 'filming location', 'Mexico']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:filming_location resource:Mexico . ?c rdf:type ontology:television_program } UNION { ?c property:filming_location resource:Mexico . ?c rdf:type ontology:film_genre } }
[]