Simple Question (Direct)
Simple Question
Q3619866
P641
Q349
USER
What did Antonio Maurizio Schillaci participate in ?
(Q3619866,P641,c(Q349))
action filter_type
action find
entity Q3619866
relation P641
type Q349
['Q3619866', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3619866 property:P641 ?w . ?w rdf:type ontology:Q349 }
Antonio Maurizio Schillaci
action filter_type
action find
entity Antonio Maurizio Schillaci
relation sport
type sport
['Antonio Maurizio Schillaci', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Antonio_Maurizio_Schillaci property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3619866,P641,c(Q349))
action filter_type
action find
entity Q3619866
relation P641
type Q349
Antonio Maurizio Schillaci participated in [ANSWER]
['Q3619866', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3619866 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Antonio Maurizio Schillaci participated in association football
association football
action filter_type
action find
entity Antonio Maurizio Schillaci
relation sport
type sport
['Antonio Maurizio Schillaci', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Antonio_Maurizio_Schillaci property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3619866
P27
Q15617994
USER
Which administrative territory is Antonio Maurizio Schillaci a civilian of ?
(Q3619866,P27,c(Q15617994))
action filter_type
action find
entity Q3619866
relation P27
type Q15617994
['Q3619866', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3619866 property:P27 ?o }
Antonio Maurizio Schillaci
action filter_type
action find
entity Antonio Maurizio Schillaci
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Maurizio Schillaci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Maurizio_Schillaci property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3619866,P27,c(Q15617994))
action filter_type
action find
entity Q3619866
relation P27
type Q15617994
[ANSWER] is Antonio Maurizio Schillaci a civilian of
['Q3619866', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3619866 property:P27 ?o }
Italy
Italy is Antonio Maurizio Schillaci a civilian of
Italy
action filter_type
action find
entity Antonio Maurizio Schillaci
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Maurizio Schillaci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Maurizio_Schillaci property:country_of_citizenship ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3219051
Q15617994
USER
And also tell me about Laurent Bonnevay?
(Q3219051,P27,c(Q15617994))
action filter_type
action find
entity Q3219051
relation P27
type Q15617994
['Q3219051', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q3219051 property:P27 ?b }
Laurent Bonnevay
action filter_type
action find
entity Laurent Bonnevay
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Bonnevay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurent_Bonnevay property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3219051,P27,c(Q15617994))
action filter_type
action find
entity Q3219051
relation P27
type Q15617994
[ANSWER]
['Q3219051', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q3219051 property:P27 ?b }
France
France
action filter_type
action find
entity Laurent Bonnevay
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Bonnevay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurent_Bonnevay property:country_of_citizenship ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19302803 Q3619866
P276 P19
Q56061
USER
Which administrative territories were Antonio Maurizio Schillaci born in or can Klaverstraat be found ?
OR((Q3619866,P19,c(Q56061)), (Q19302803,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3619866
relation P19
action find
entity Q19302803
relation P276
type Q56061
{'OR': [['Q3619866', 'P19', {'concept': 'Q56061'}], ['Q19302803', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . { { resource:Q3619866 property:P19 ?l } UNION { resource:Q19302803 property:P276 ?l } } }
Klaverstraat Antonio Maurizio Schillaci
action filter_type
action union
action find
entity Antonio Maurizio Schillaci
relation place of birth
action find
entity Klaverstraat
relation location
type administrative territorial entity
{'OR': [['Antonio Maurizio Schillaci', 'place of birth', {'concept': 'administrative territorial entity'}], ['Klaverstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . { { resource:Antonio_Maurizio_Schillaci property:place_of_birth ?l } UNION { resource:Klaverstraat property:location ?l } } }
[]
administrative territorial entity
Q2656 Q15881071
SYSTEM
Palermo, Putten
Q2656 Q15881071
OR((Q3619866,P19,c(Q56061)), (Q19302803,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3619866
relation P19
action find
entity Q19302803
relation P276
type Q56061
Antonio Maurizio Schillaci were born in be found in [ANSWERS]
{'OR': [['Q3619866', 'P19', {'concept': 'Q56061'}], ['Q19302803', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . { { resource:Q3619866 property:P19 ?l } UNION { resource:Q19302803 property:P276 ?l } } }
Palermo Putten
Antonio Maurizio Schillaci were born in be found in Palermo and Putten
Palermo Putten
action filter_type
action union
action find
entity Antonio Maurizio Schillaci
relation place of birth
action find
entity Klaverstraat
relation location
type administrative territorial entity
{'OR': [['Antonio Maurizio Schillaci', 'place of birth', {'concept': 'administrative territorial entity'}], ['Klaverstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . { { resource:Antonio_Maurizio_Schillaci property:place_of_birth ?l } UNION { resource:Klaverstraat property:location ?l } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15881071
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q15881071,P17,c(Q15617994))
action filter_type
action find
entity Q15881071
relation P17
type Q15617994
['Q15881071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15881071 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Putten
action filter_type
action find
entity Putten
relation country
type designation for an administrative territorial entity
['Putten', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Putten property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q15881071
SYSTEM
Did you mean Putten ?
Q2656 Q15881071
(Q2656,P17,c(Q15617994)) (Q15881071,P17,c(Q15617994))
[ANSWER]
['Q2656', 'P17', {'concept': 'Q15617994'}] ['Q15881071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15881071 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Palermo Putten
Did you mean Putten ?
Putten
['Palermo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Putten', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Putten property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15881071,P17,c(Q15617994))
['Q15881071', 'P17', {'concept': 'Q15617994'}]
['Putten', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q15881071,P17,c(Q15617994))
action filter_type
action find
entity Q15881071
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q15881071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15881071 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Netherlands
That administrative territory is located in Netherlands
Netherlands
action filter_type
action find
entity Putten
relation country
type designation for an administrative territorial entity
['Putten', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Putten property:country ?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
P840
Q56061 Q166142 Q15416
USER
How many administrative territories are exactly 7 applications and television programs set in ?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 7
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P840 ?u . ?u rdf:type ontology:Q56061 . ?b rdf:type ontology:Q166142 } UNION { ?b property:P840 ?u . ?u rdf:type ontology:Q56061 . ?b rdf:type ontology:Q15416 } } GROUP BY ?u } }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 7
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:application } UNION { ?b property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?u } }
[]
administrative territorial entity application television program
SYSTEM
3
Q174 Q127856 Q34404
(c(Q166142)|c(Q15416),P840,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 7
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P840 ?u . ?u rdf:type ontology:Q56061 . ?b rdf:type ontology:Q166142 } UNION { ?b property:P840 ?u . ?u rdf:type ontology:Q56061 . ?b rdf:type ontology:Q15416 } } GROUP BY ?u } }
São Paulo Beverly Hills New Orleans
3
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 7
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?c = 7 ) . { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:application } UNION { ?b property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?u } }
[]