Simple Question (Direct)
Simple Question
Q6096168
P54
Q618123
USER
What is Gürsel Aksel a member of ?
(Q6096168,P54,c(Q618123))
action filter_type
action find
entity Q6096168
relation P54
type Q618123
['Q6096168', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?s WHERE { resource:Q6096168 property:P54 ?s . ?s rdf:type ontology:Q618123 }
Gürsel Aksel
action filter_type
action find
entity Gürsel Aksel
relation member of sports team
type geographical object
['Gürsel Aksel', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?s WHERE { resource:Gürsel_Aksel property:member_of_sports_team ?s . ?s rdf:type ontology:geographical_object }
[]
geographical object
Q1423118
SYSTEM
Göztepe S.K.
Q1423118
(Q6096168,P54,c(Q618123))
action filter_type
action find
entity Q6096168
relation P54
type Q618123
Gürsel Aksel a member of is [ANSWER]
['Q6096168', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?s WHERE { resource:Q6096168 property:P54 ?s . ?s rdf:type ontology:Q618123 }
Göztepe S.K.
Gürsel Aksel a member of is Göztepe S.K.
Göztepe S.K.
action filter_type
action find
entity Gürsel Aksel
relation member of sports team
type geographical object
['Gürsel Aksel', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?s WHERE { resource:Gürsel_Aksel property:member_of_sports_team ?s . ?s rdf:type ontology:geographical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6096168
P21
Q290
USER
Which sex does Gürsel Aksel have ?
(Q6096168,P21,c(Q290))
action filter_type
action find
entity Q6096168
relation P21
type Q290
['Q6096168', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q6096168 property:P21 ?s }
Gürsel Aksel
action filter_type
action find
entity Gürsel Aksel
relation gender
type sex
['Gürsel Aksel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Gürsel_Aksel property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6096168,P21,c(Q290))
action filter_type
action find
entity Q6096168
relation P21
type Q290
Gürsel Aksel has 1 [ANSWER]
['Q6096168', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q6096168 property:P21 ?s }
male
Gürsel Aksel has 1 male
male
action filter_type
action find
entity Gürsel Aksel
relation gender
type sex
['Gürsel Aksel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Gürsel_Aksel property:gender ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q1194206 Q6096168
P21
Q290
USER
And also Huiyuan
AND((Q6096168,P21,c(Q290)), (Q1194206,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6096168
relation P21
action find
entity Q1194206
relation P21
type Q290
{'AND': [['Q6096168', 'P21', {'concept': 'Q290'}], ['Q1194206', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q6096168 property:P21 ?o . resource:Q1194206 property:P21 ?o }
Huiyuan Gürsel Aksel
action filter_type
action intersection
action find
entity Gürsel Aksel
relation gender
action find
entity Huiyuan
relation gender
type sex
{'AND': [['Gürsel Aksel', 'gender', {'concept': 'sex'}], ['Huiyuan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Gürsel_Aksel property:gender ?o . resource:Huiyuan property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q6096168,P21,c(Q290)), (Q1194206,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6096168
relation P21
action find
entity Q1194206
relation P21
type Q290
[ANSWER]
{'AND': [['Q6096168', 'P21', {'concept': 'Q290'}], ['Q1194206', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q6096168 property:P21 ?o . resource:Q1194206 property:P21 ?o }
male
male
action filter_type
action intersection
action find
entity Gürsel Aksel
relation gender
action find
entity Huiyuan
relation gender
type sex
{'AND': [['Gürsel Aksel', 'gender', {'concept': 'sex'}], ['Huiyuan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Gürsel_Aksel property:gender ?o . resource:Huiyuan property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1194206
P106
Q12737077
USER
What is the profession of Huiyuan ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1194206
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1194206 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Huiyuan
action filter_type
action find
entity Huiyuan
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Huiyuan property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q333634
SYSTEM
translator
Q333634
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1194206
relation P106
type Q12737077
The profession of Huiyuan is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1194206 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
translator
The profession of Huiyuan is a translator
translator
action filter_type
action find
entity Huiyuan
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Huiyuan property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4762888
Q12737077
USER
And also tell me about Angelo Geraldini?
(Q4762888,P106,c(Q12737077))
action filter_type
action find
entity Q4762888
relation P106
type Q12737077
['Q4762888', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4762888 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Angelo Geraldini
action filter_type
action find
entity Angelo Geraldini
relation occupation
type occupation
['Angelo Geraldini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Angelo_Geraldini property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955 Q42603
SYSTEM
diplomat, politician, priest
Q193391 Q82955 Q42603
(Q4762888,P106,c(Q12737077))
action filter_type
action find
entity Q4762888
relation P106
type Q12737077
[ANSWERS]
['Q4762888', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4762888 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
diplomat politician priest
diplomat politician priest
action filter_type
action find
entity Angelo Geraldini
relation occupation
type occupation
['Angelo Geraldini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Angelo_Geraldini property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q3516658
USER
How many occupations are expressed in exactly 2 medias or heraldic symbols ?
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 2
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?h WHERE { { ?d property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 . ?d property:P180 ?h } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 2
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?h WHERE { { ?d property:depicts ?h . ?h rdf:type ontology:occupation . ?d rdf:type ontology:media } UNION { ?h rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol . ?d property:depicts ?h } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
[]
occupation media heraldic symbol
SYSTEM
2
Q4991371 Q639669
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 2
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?h WHERE { { ?d property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 . ?d property:P180 ?h } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
soldier musician
2
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 2
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?h WHERE { { ?d property:depicts ?h . ?h rdf:type ontology:occupation . ?d rdf:type ontology:media } UNION { ?h rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol . ?d property:depicts ?h } } GROUP BY ?h } . FILTER ( ?w = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1423118
P115
Q483110
USER
Which stadium is the ground of Göztepe S.K. ?
(Q1423118,P115,c(Q483110))
action filter_type
action find
entity Q1423118
relation P115
type Q483110
['Q1423118', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?v WHERE { resource:Q1423118 property:P115 ?v . ?v rdf:type ontology:Q483110 }
Göztepe S.K.
action filter_type
action find
entity Göztepe S.K.
relation home venue
type stadium
['Göztepe S.K.', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?v WHERE { resource:Göztepe_S.K. property:home_venue ?v . ?v rdf:type ontology:stadium }
[]
stadium
Q259830
SYSTEM
İzmir Atatürk Stadium
Q259830
(Q1423118,P115,c(Q483110))
action filter_type
action find
entity Q1423118
relation P115
type Q483110
[ANSWER] is the ground of Göztepe S.K.
['Q1423118', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?v WHERE { resource:Q1423118 property:P115 ?v . ?v rdf:type ontology:Q483110 }
İzmir Atatürk Stadium
İzmir Atatürk Stadium is the ground of Göztepe S.K.
İzmir Atatürk Stadium
action filter_type
action find
entity Göztepe S.K.
relation home venue
type stadium
['Göztepe S.K.', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?v WHERE { resource:Göztepe_S.K. property:home_venue ?v . ?v rdf:type ontology:stadium }
[]