Simple Question (Direct)
Simple Question
Q16146672
P641
Q349
USER
What was the sport that Goran Antunovič was a part of ?
(Q16146672,P641,c(Q349))
action filter_type
action find
entity Q16146672
relation P641
type Q349
['Q16146672', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q16146672 property:P641 ?b . ?b rdf:type ontology:Q349 }
Goran Antunovič
action filter_type
action find
entity Goran Antunovič
relation sport
type sport
['Goran Antunovič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Goran_Antunovič property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16146672,P641,c(Q349))
action filter_type
action find
entity Q16146672
relation P641
type Q349
The sport that Goran Antunovič was a part of was the [ANSWER]
['Q16146672', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q16146672 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
The sport that Goran Antunovič was a part of was the association football
association football
action filter_type
action find
entity Goran Antunovič
relation sport
type sport
['Goran Antunovič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Goran_Antunovič property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16146672
P106
Q12737077
USER
What is the profession of Goran Antunovič ?
(Q16146672,P106,c(Q12737077))
action filter_type
action find
entity Q16146672
relation P106
type Q12737077
['Q16146672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16146672 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Goran Antunovič
action filter_type
action find
entity Goran Antunovič
relation occupation
type occupation
['Goran Antunovič', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Goran_Antunovič property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16146672,P106,c(Q12737077))
action filter_type
action find
entity Q16146672
relation P106
type Q12737077
The profession of Goran Antunovič is an [ANSWER]
['Q16146672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16146672 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The profession of Goran Antunovič is an association football player
association football player
action filter_type
action find
entity Goran Antunovič
relation occupation
type occupation
['Goran Antunovič', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Goran_Antunovič property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27667428
Q12737077
USER
And how about ONSOHO?
(Q27667428,P106,c(Q12737077))
action filter_type
action find
entity Q27667428
relation P106
type Q12737077
['Q27667428', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q27667428 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
ONSOHO
action filter_type
action find
entity ONSOHO
relation occupation
type occupation
['ONSOHO', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:ONSOHO property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q1028181 Q33231 Q639669
SYSTEM
painter, photographer, musician
Q1028181 Q639669 Q4220920 Q33231
(Q27667428,P106,c(Q12737077))
action filter_type
action find
entity Q27667428
relation P106
type Q12737077
[ANSWERS]
['Q27667428', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q27667428 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
painter musician filmmaking occupation photographer
painter photographer musician
action filter_type
action find
entity ONSOHO
relation occupation
type occupation
['ONSOHO', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:ONSOHO property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P641
Q341830 Q853614
USER
How many qualifications and identifiers are known to play association football ?
(c(Q341830),P641,Q2736) (c(Q853614),P641,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P641
type Q341830
action filter_type
action find_reverse
entity Q2736
relation P641
type Q853614
[{'concept': 'Q341830'}, 'P641', 'Q2736'] [{'concept': 'Q853614'}, 'P641', 'Q2736']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d rdf:type ontology:Q853614 . ?d property:P641 resource:Q2736 } UNION { ?d property:P641 resource:Q2736 . ?d rdf:type ontology:Q341830 } }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation sport
type qualification
action filter_type
action find_reverse
entity association football
relation sport
type identifier
[{'concept': 'qualification'}, 'sport', 'association football'] [{'concept': 'identifier'}, 'sport', 'association football']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d rdf:type ontology:identifier . ?d property:sport resource:association_football } UNION { ?d property:sport resource:association_football . ?d rdf:type ontology:qualification } }
[]
qualification identifier
SYSTEM
1 qualifications and 1 identifiers
Q18785177 Q2057868
(c(Q341830),P641,Q2736) (c(Q853614),P641,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P641
type Q341830
action filter_type
action find_reverse
entity Q2736
relation P641
type Q853614
[ANSWER]
[{'concept': 'Q341830'}, 'P641', 'Q2736'] [{'concept': 'Q853614'}, 'P641', 'Q2736']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d rdf:type ontology:Q853614 . ?d property:P641 resource:Q2736 } UNION { ?d property:P641 resource:Q2736 . ?d rdf:type ontology:Q341830 } }
2018 FIFA World Cup qualification (CONCACAF) Royal Belgian Football Association association football club ID
1 qualifications and 1 identifiers
action count
action union
action filter_type
action find_reverse
entity association football
relation sport
type qualification
action filter_type
action find_reverse
entity association football
relation sport
type identifier
[{'concept': 'qualification'}, 'sport', 'association football'] [{'concept': 'identifier'}, 'sport', 'association football']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d rdf:type ontology:identifier . ?d property:sport resource:association_football } UNION { ?d property:sport resource:association_football . ?d rdf:type ontology:qualification } }
[]