Simple Question (Direct)
Simple Question
Q1528147
P734
Q82799
USER
Who is associated with Giuseppe Barbieri ?
(Q1528147,P734,c(Q82799))
action filter_type
action find
entity Q1528147
relation P734
type Q82799
['Q1528147', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q1528147 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Giuseppe Barbieri
action filter_type
action find
entity Giuseppe Barbieri
relation family name
type name
['Giuseppe Barbieri', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Giuseppe_Barbieri property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q16531101
SYSTEM
Barbieri
Q16531101
(Q1528147,P734,c(Q82799))
action filter_type
action find
entity Q1528147
relation P734
type Q82799
[ANSWER] is associated with Giuseppe [ANSWER]
['Q1528147', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q1528147 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Barbieri
Barbieri is associated with Giuseppe Barbieri
Barbieri
action filter_type
action find
entity Giuseppe Barbieri
relation family name
type name
['Giuseppe Barbieri', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Giuseppe_Barbieri property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1528147
P19
Q15617994
USER
Which administrative territory was Giuseppe Barbieri born at ?
(Q1528147,P19,c(Q15617994))
action filter_type
action find
entity Q1528147
relation P19
type Q15617994
['Q1528147', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1528147 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Giuseppe Barbieri
action filter_type
action find
entity Giuseppe Barbieri
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Barbieri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Giuseppe_Barbieri property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q47094
SYSTEM
Bassano del Grappa
Q47094
(Q1528147,P19,c(Q15617994))
action filter_type
action find
entity Q1528147
relation P19
type Q15617994
Giuseppe Barbieri was born in [ANSWER]
['Q1528147', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1528147 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Bassano del Grappa
Giuseppe Barbieri was born in Bassano del Grappa
Bassano del Grappa
action filter_type
action find
entity Giuseppe Barbieri
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Barbieri', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Giuseppe_Barbieri property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q47094 Q38
P17
Q15617994
USER
Is that one situated in Italy ?
(Q47094,P17,Q38)
action is_in
entity Q38
action find
entity Q47094
relation P17
['Q47094', 'P17', 'Q38']
ASK WHERE { resource:Q47094 property:P17 resource:Q38 }
Bassano del Grappa Italy
action is_in
entity Italy
action find
entity Bassano del Grappa
relation country
['Bassano del Grappa', 'country', 'Italy']
ASK WHERE { resource:Bassano_del_Grappa property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q47094,P17,Q38)
action is_in
entity Q38
action find
entity Q47094
relation P17
[ANSWER]
['Q47094', 'P17', 'Q38']
ASK WHERE { resource:Q47094 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Bassano del Grappa
relation country
['Bassano del Grappa', 'country', 'Italy']
ASK WHERE { resource:Bassano_del_Grappa property:country resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q2088357 Q337567
USER
How many administrative territories are approximately 1 musical ensembles or still waterss named after ?
(c(Q2088357)|c(Q337567),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
value 1
[[{'concept': 'Q2088357'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?x WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q337567 ) } } GROUP BY ?x } }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 1
[[{'concept': 'musical ensemble'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?x WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:still_waters ) } } GROUP BY ?x } }
[]
designation for an administrative territorial entity musical ensemble still waters
SYSTEM
5
Q519157 Q80599 Q681329 Q629664 Q631654
(c(Q2088357)|c(Q337567),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
value 1
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?x WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q337567 ) } } GROUP BY ?x } }
Templin Auletta Dümmer Arbesbach Selent
5
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 1
[[{'concept': 'musical ensemble'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?x WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:still_waters ) } } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47094
P47
Q15617994
USER
Who share the border with Bassano del Grappa ?
(Q47094,P47,c(Q15617994))
action filter_type
action find
entity Q47094
relation P47
type Q15617994
['Q47094', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q47094 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Bassano del Grappa
action filter_type
action find
entity Bassano del Grappa
relation shares border with
type designation for an administrative territorial entity
['Bassano del Grappa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bassano_del_Grappa property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q48090 Q46589 Q46842
SYSTEM
Marostica, Rosà, Conco
Q46842 Q48090 Q46277 Q46727 Q46290 Q47438 Q46380 Q46457 Q46589 Q47236
(Q47094,P47,c(Q15617994))
action filter_type
action find
entity Q47094
relation P47
type Q15617994
[ANSWERS] share the border with Bassano del Grappa
['Q47094', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q47094 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Conco Marostica Romano d'Ezzelino Cassola Campolongo sul Brenta Solagna Cartigliano Pove del Grappa Rosà Nove
Marostica, Rosà and Conco share the border with Bassano del Grappa
Marostica Rosà Conco
action filter_type
action find
entity Bassano del Grappa
relation shares border with
type designation for an administrative territorial entity
['Bassano del Grappa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bassano_del_Grappa property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18222835 Q1528147
P20
Q56061
USER
Which administrative territories did Giuseppe Barbieri and Baldo de' Bonafarii expire ?
AND((Q1528147,P20,c(Q56061)), (Q18222835,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1528147
relation P20
action find
entity Q18222835
relation P20
type Q56061
{'AND': [['Q1528147', 'P20', {'concept': 'Q56061'}], ['Q18222835', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q1528147 property:P20 ?q . resource:Q18222835 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Baldo de' Bonafarii Giuseppe Barbieri
action filter_type
action intersection
action find
entity Giuseppe Barbieri
relation place of death
action find
entity Baldo de' Bonafarii
relation place of death
type administrative territorial entity
{'AND': [['Giuseppe Barbieri', 'place of death', {'concept': 'administrative territorial entity'}], ["Baldo de' Bonafarii", 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Giuseppe_Barbieri property:place_of_death ?q . resource:Baldo_de'_Bonafarii property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q617
SYSTEM
Padua
Q617
AND((Q1528147,P20,c(Q56061)), (Q18222835,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1528147
relation P20
action find
entity Q18222835
relation P20
type Q56061
Giuseppe Barbieri and Baldo de ' Bonafarii expired in [ANSWER]
{'AND': [['Q1528147', 'P20', {'concept': 'Q56061'}], ['Q18222835', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q1528147 property:P20 ?q . resource:Q18222835 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Padua
Giuseppe Barbieri and Baldo de ' Bonafarii expired in Padua
Padua
action filter_type
action intersection
action find
entity Giuseppe Barbieri
relation place of death
action find
entity Baldo de' Bonafarii
relation place of death
type administrative territorial entity
{'AND': [['Giuseppe Barbieri', 'place of death', {'concept': 'administrative territorial entity'}], ["Baldo de' Bonafarii", 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Giuseppe_Barbieri property:place_of_death ?q . resource:Baldo_de'_Bonafarii property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P840
Q15850590 Q2342494
USER
How many theatrical genres and collectables have a setting location of that administrative territory ?
(c(Q15850590),P840,Q617) (c(Q2342494),P840,Q617) (c(Q15850590),P840,Q617) (c(Q2342494),P840,Q617)
action count
action union
action filter_type
action find_reverse
entity Q617
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q617
relation P840
type Q2342494
[{'concept': 'Q15850590'}, 'P840', 'Q617'] [{'concept': 'Q2342494'}, 'P840', 'Q617'] [{'concept': 'Q15850590'}, 'P840', 'Q617'] [{'concept': 'Q2342494'}, 'P840', 'Q617']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } }
action count
action union
action filter_type
action find_reverse
entity Padua
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Padua
relation narrative location
type collectable
[{'concept': 'theatrical genre'}, 'narrative location', 'Padua'] [{'concept': 'collectable'}, 'narrative location', 'Padua'] [{'concept': 'theatrical genre'}, 'narrative location', 'Padua'] [{'concept': 'collectable'}, 'narrative location', 'Padua']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } }
[]
theatrical genre collectable
SYSTEM
1 theatrical genres and 1 collectables
Q3028007 Q455305
(c(Q15850590),P840,Q617) (c(Q2342494),P840,Q617) (c(Q15850590),P840,Q617) (c(Q2342494),P840,Q617)
action count
action union
action filter_type
action find_reverse
entity Q617
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q617
relation P840
type Q2342494
[ANSWER]
[{'concept': 'Q15850590'}, 'P840', 'Q617'] [{'concept': 'Q2342494'}, 'P840', 'Q617'] [{'concept': 'Q15850590'}, 'P840', 'Q617'] [{'concept': 'Q2342494'}, 'P840', 'Q617']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } }
Le docteur Miracle Italian Journey
1 theatrical genres and 1 collectables
action count
action union
action filter_type
action find_reverse
entity Padua
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Padua
relation narrative location
type collectable
[{'concept': 'theatrical genre'}, 'narrative location', 'Padua'] [{'concept': 'collectable'}, 'narrative location', 'Padua'] [{'concept': 'theatrical genre'}, 'narrative location', 'Padua'] [{'concept': 'collectable'}, 'narrative location', 'Padua']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } }
[]