Simple Question (Direct)
Simple Question
Q15970114
P21
Q290
USER
Which sex does Jules Assézat have ?
(Q15970114,P21,c(Q290))
action filter_type
action find
entity Q15970114
relation P21
type Q290
['Q15970114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15970114 property:P21 ?o . ?o rdf:type ontology:Q290 }
Jules Assézat
action filter_type
action find
entity Jules Assézat
relation gender
type sex
['Jules Assézat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Jules_Assézat property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15970114,P21,c(Q290))
action filter_type
action find
entity Q15970114
relation P21
type Q290
Jules Assézat has a [ANSWER]
['Q15970114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15970114 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Jules Assézat has a male
male
action filter_type
action find
entity Jules Assézat
relation gender
type sex
['Jules Assézat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Jules_Assézat property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15970114
P19
Q56061
USER
Which administrative territory was Jules Assézat born in ?
(Q15970114,P19,c(Q56061))
action filter_type
action find
entity Q15970114
relation P19
type Q56061
['Q15970114', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q15970114 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Jules Assézat
action filter_type
action find
entity Jules Assézat
relation place of birth
type administrative territorial entity
['Jules Assézat', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jules_Assézat property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q15970114,P19,c(Q56061))
action filter_type
action find
entity Q15970114
relation P19
type Q56061
Jules Assézat was born in [ANSWER]
['Q15970114', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q15970114 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Paris
Jules Assézat was born in Paris
Paris
action filter_type
action find
entity Jules Assézat
relation place of birth
type administrative territorial entity
['Jules Assézat', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jules_Assézat property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15970114 Q1675033
P21
Q290
USER
How many sexes do Jules Assézat or Itako possess ?
(Q15970114,P21,c(Q290)) (Q1675033,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q15970114
relation P21
type Q290
action filter_type
action find
entity Q1675033
relation P21
type Q290
['Q15970114', 'P21', {'concept': 'Q290'}] ['Q1675033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { resource:Q15970114 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { resource:Q1675033 property:P21 ?u . ?u rdf:type ontology:Q290 } }
Jules Assézat Itako
action count
action union
action filter_type
action find
entity Jules Assézat
relation gender
type sex
action filter_type
action find
entity Itako
relation gender
type sex
['Jules Assézat', 'gender', {'concept': 'sex'}] ['Itako', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { resource:Jules_Assézat property:gender ?u . ?u rdf:type ontology:sex } UNION { resource:Itako property:gender ?u . ?u rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q15970114,P21,c(Q290)) (Q1675033,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q15970114
relation P21
type Q290
action filter_type
action find
entity Q1675033
relation P21
type Q290
[ANSWER]
['Q15970114', 'P21', {'concept': 'Q290'}] ['Q1675033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { resource:Q15970114 property:P21 ?u . ?u rdf:type ontology:Q290 } UNION { resource:Q1675033 property:P21 ?u . ?u rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Jules Assézat
relation gender
type sex
action filter_type
action find
entity Itako
relation gender
type sex
['Jules Assézat', 'gender', {'concept': 'sex'}] ['Itako', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { resource:Jules_Assézat property:gender ?u . ?u rdf:type ontology:sex } UNION { resource:Itako property:gender ?u . ?u rdf:type ontology:sex } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q732577 Q1002697
USER
How many administrative territories were around 63 publications or periodical literatures issued ?
(c(Q732577)|c(Q1002697),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
value 63
[[{'concept': 'Q732577'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { FILTER ( ?a = 63 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?r WHERE { { ?f property:P291 ?r . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q732577 } UNION { ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1002697 . ?f property:P291 ?r } } GROUP BY ?r } }
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
value 63
[[{'concept': 'publication'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { FILTER ( ?a = 63 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?r WHERE { { ?f property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:publication } UNION { ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:periodical_literature . ?f property:place_of_publication ?r } } GROUP BY ?r } }
[]
administrative territorial entity publication periodical literature
SYSTEM
2
Q90 Q1492
(c(Q732577)|c(Q1002697),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
value 63
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { FILTER ( ?a = 63 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?r WHERE { { ?f property:P291 ?r . ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q732577 } UNION { ?r rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1002697 . ?f property:P291 ?r } } GROUP BY ?r } }
Paris Barcelona
2
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
value 63
[[{'concept': 'publication'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { FILTER ( ?a = 63 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?r WHERE { { ?f property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:publication } UNION { ?r rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:periodical_literature . ?f property:place_of_publication ?r } } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3605712 Q15970114
P20
Q56061
USER
Which administrative territories did the demise of Jules Assézat or Adriano Cavanna occur ?
OR((Q15970114,P20,c(Q56061)), (Q3605712,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15970114
relation P20
action find
entity Q3605712
relation P20
type Q56061
{'OR': [['Q15970114', 'P20', {'concept': 'Q56061'}], ['Q3605712', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3605712 property:P20 ?x } UNION { resource:Q15970114 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Adriano Cavanna Jules Assézat
action filter_type
action union
action find
entity Jules Assézat
relation place of death
action find
entity Adriano Cavanna
relation place of death
type administrative territorial entity
{'OR': [['Jules Assézat', 'place of death', {'concept': 'administrative territorial entity'}], ['Adriano Cavanna', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Adriano_Cavanna property:place_of_death ?x } UNION { resource:Jules_Assézat property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q90
SYSTEM
Milan, Paris
Q490 Q90
OR((Q15970114,P20,c(Q56061)), (Q3605712,P20,c(Q56061)))
action filter_type
action union
action find
entity Q15970114
relation P20
action find
entity Q3605712
relation P20
type Q56061
The demise of Jules Assézat or Adriano Cavan na occurred in [ANSWERS]
{'OR': [['Q15970114', 'P20', {'concept': 'Q56061'}], ['Q3605712', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3605712 property:P20 ?x } UNION { resource:Q15970114 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Milan Paris
The demise of Jules Assézat or Adriano Cavan na occurred in Milan and Paris
Milan Paris
action filter_type
action union
action find
entity Jules Assézat
relation place of death
action find
entity Adriano Cavanna
relation place of death
type administrative territorial entity
{'OR': [['Jules Assézat', 'place of death', {'concept': 'administrative territorial entity'}], ['Adriano Cavanna', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Adriano_Cavanna property:place_of_death ?x } UNION { resource:Jules_Assézat property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P127
Q3947 Q21711025
USER
How many houses or sculpture techniques are owned by Paris ?
(c(Q3947),P127,Q90) (c(Q21711025),P127,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P127
type Q3947
action filter_type
action find_reverse
entity Q90
relation P127
type Q21711025
[{'concept': 'Q3947'}, 'P127', 'Q90'] [{'concept': 'Q21711025'}, 'P127', 'Q90']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P127 resource:Q90 . ?h rdf:type ontology:Q3947 } UNION { ?h rdf:type ontology:Q21711025 . ?h property:P127 resource:Q90 } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation owned by
type house
action filter_type
action find_reverse
entity Paris
relation owned by
type sculpture technique
[{'concept': 'house'}, 'owned by', 'Paris'] [{'concept': 'sculpture technique'}, 'owned by', 'Paris']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:owned_by resource:Paris . ?h rdf:type ontology:house } UNION { ?h rdf:type ontology:sculpture_technique . ?h property:owned_by resource:Paris } }
[]
house sculpture technique
SYSTEM
2
Q15921401 Q19832938
(c(Q3947),P127,Q90) (c(Q21711025),P127,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P127
type Q3947
action filter_type
action find_reverse
entity Q90
relation P127
type Q21711025
[ANSWER]
[{'concept': 'Q3947'}, 'P127', 'Q90'] [{'concept': 'Q21711025'}, 'P127', 'Q90']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P127 resource:Q90 . ?h rdf:type ontology:Q3947 } UNION { ?h rdf:type ontology:Q21711025 . ?h property:P127 resource:Q90 } }
La Fraternité hôtel Dodun
2
action count
action union
action filter_type
action find_reverse
entity Paris
relation owned by
type house
action filter_type
action find_reverse
entity Paris
relation owned by
type sculpture technique
[{'concept': 'house'}, 'owned by', 'Paris'] [{'concept': 'sculpture technique'}, 'owned by', 'Paris']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:owned_by resource:Paris . ?h rdf:type ontology:house } UNION { ?h rdf:type ontology:sculpture_technique . ?h property:owned_by resource:Paris } }
[]